Browse Source

诊断带入初始值

360view
bianyaqi 2 years ago
parent
commit
bf72904214
  1. 8
      src/page-subspecialty/views/modules/formList/laserSurgery.vue

8
src/page-subspecialty/views/modules/formList/laserSurgery.vue

@ -221,6 +221,13 @@ export default {
this.$store.commit('initPlugin') this.$store.commit('initPlugin')
}, },
methods: { methods: {
queryDiagnostic() {
this.$http.get('/mzbl/getLastDiagnostic', { params: {
patientId: this.patientDetail.patientId
}}).then(data => {
this.confirmData.diagnostic = data.data.data
})
},
signClick(index) { signClick(index) {
this.$store.commit('beginSign', index) this.$store.commit('beginSign', index)
}, },
@ -268,6 +275,7 @@ export default {
if (detail.jzNumber) { if (detail.jzNumber) {
this.confirmData = { ...detail } this.confirmData = { ...detail }
} else { } else {
this.queryDiagnostic()
this.confirmData.patientName = this.patientDetail.patientName this.confirmData.patientName = this.patientDetail.patientName
this.confirmData.patientAge = this.patientDetail.patientAge this.confirmData.patientAge = this.patientDetail.patientAge
this.confirmData.patientSex = this.patientDetail.patientSex this.confirmData.patientSex = this.patientDetail.patientSex

Loading…
Cancel
Save