|
|
@ -536,6 +536,21 @@ export default { |
|
|
|
} |
|
|
|
this.tableData = this.originTableData |
|
|
|
}, |
|
|
|
async getPatientData() { |
|
|
|
const { data: res } = await this.$http.get( |
|
|
|
'/patient/view/getPatientData', |
|
|
|
{ |
|
|
|
params: { |
|
|
|
patientId: this.patientId |
|
|
|
} |
|
|
|
} |
|
|
|
) |
|
|
|
if (res.code === 0) { |
|
|
|
this.dataForm = res.data |
|
|
|
} else { |
|
|
|
this.$message.error(res.msg) |
|
|
|
} |
|
|
|
}, |
|
|
|
queryData() { |
|
|
|
const ws = new WebSocket('ws://192.168.4.24:8036/xiangan-crf/websocket/0071') |
|
|
|
ws.onopen = function() { |
|
|
|