Browse Source

peter

360view
newPeter7 2 years ago
parent
commit
ac4dac2ea8
  1. 4
      src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue
  2. 17
      src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue

4
src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue

@ -304,7 +304,9 @@ export default {
list.push({ id: item.id, porjectCode: item.porjectCode })
})
}
this.receiveTreat(scopeRow)
if (index === 1) {
this.receiveTreat(scopeRow)
}
this.onlyRead = index !== 1
this.detailViewVisible = true
this.patientId = scopeRow.patientId

17
src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue

@ -261,8 +261,25 @@ export default {
this.dataForm.patientStatus = value
this.getDataListInitial()
},
async receiveTreat(item) {
const { data: res } = await this.$http.get('/patient/updateSGDoctorAndJzStatus', {
params: {
isAppoint: item.isAppoint,
patientId: item.patientId,
jzNumber: item.jzNumber,
platform: 2
}
})
if (res.code === 0) {
} else {
this.$message.error(res.msg)
}
},
//
showDetail(scopeRow, index) {
if (index === 1) {
this.receiveTreat(scopeRow)
}
this.onlyRead = index !== 1
this.detailViewVisible = true
this.patientId = scopeRow.patientId

Loading…
Cancel
Save