diff --git a/src/components/360View/index.vue b/src/components/360View/index.vue index d7bed46..8fff240 100644 --- a/src/components/360View/index.vue +++ b/src/components/360View/index.vue @@ -455,6 +455,7 @@ export default { if (res.code === 0) { if (res.data.length > 0) { this.timeAxisData = res.data.length > 0 ? res.data : [] + this.date = res.data[0].data ? res.data[0].data[0].date : '' } if (!res.data.length) { const year = this.$moment().format('YYYY') diff --git a/src/page-subspecialty/views/modules/formList/childrenLacrimal.vue b/src/page-subspecialty/views/modules/formList/childrenLacrimal.vue index e09fe20..2de16cb 100644 --- a/src/page-subspecialty/views/modules/formList/childrenLacrimal.vue +++ b/src/page-subspecialty/views/modules/formList/childrenLacrimal.vue @@ -176,6 +176,7 @@ export default { this.$store.commit('beginSign', index) }, setData() { + this.queryDiagnostic() const date = this.$moment().format('YYYY-MM-DD') this.confirmData.operateDate = date this.confirmData.operate2Date = date @@ -183,6 +184,13 @@ export default { const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) this.confirmData.operator = userData.signImgBase }, + queryDiagnostic() { + this.$http.get('/mzbl/getLastDiagnostic', { params: { + patientId: this.patientDetail.patientId + }}).then(data => { + this.confirmData.diagnose = data.data.data + }) + }, async getformList() { const { data: res } = await this.$http.get('/case/getCaseById', { params: { diff --git a/src/page-subspecialty/views/modules/formList/conjunctivalOperation.vue b/src/page-subspecialty/views/modules/formList/conjunctivalOperation.vue index 4254e6a..7aa10f8 100644 --- a/src/page-subspecialty/views/modules/formList/conjunctivalOperation.vue +++ b/src/page-subspecialty/views/modules/formList/conjunctivalOperation.vue @@ -15,20 +15,6 @@