Browse Source

peter

360view
newPeter7 2 years ago
parent
commit
e2f9a571d8
  1. 15
      src/components/360View/commonForm/deveopmentFIle.vue
  2. 15
      src/components/360View/commonForm/optometryForm.vue

15
src/components/360View/commonForm/deveopmentFIle.vue

@ -548,6 +548,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)
}
},
handleDelete() {
this.$emit('del')
},

15
src/components/360View/commonForm/optometryForm.vue

@ -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() {

Loading…
Cancel
Save