From eccd29a68f0a696db65023c5d8e3539fbeb27d90 Mon Sep 17 00:00:00 2001 From: newPeter7 Date: Fri, 12 May 2023 17:21:44 +0800 Subject: [PATCH] peter --- src/components/360View/index1.vue | 4 +-- .../seeDoctor/informBook/index.vue | 4 +-- .../seeDoctor/informBook/notice-book.vue | 25 +++++++++-------- .../seeDoctor/informBook/rgp-book.vue | 27 ++++++++++--------- 4 files changed, 32 insertions(+), 28 deletions(-) diff --git a/src/components/360View/index1.vue b/src/components/360View/index1.vue index fefd31f..2bd5ff3 100644 --- a/src/components/360View/index1.vue +++ b/src/components/360View/index1.vue @@ -406,8 +406,8 @@ export default { // 360浏览器 handlePacs() { // const baseUrl = 'http://z1.huimucloud.com:8085' - // const baseUrl = 'http://10.80.5.32:8026' - const baseUrl = 'http://192.168.0.85:8001' + const baseUrl = 'http://10.80.5.32:8026' + // const baseUrl = 'http://192.168.0.85:8001' const href = `${baseUrl}/EXAMINE_Report/InterFace?PatID=${this.patientId}&DoctorID=${this.employeeId}&PatIdKey=&ExamNo=` window.open(href, '_blank') // const { href } = this.$router.resolve({ diff --git a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/index.vue b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/index.vue index 9665003..c270e1e 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/index.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/index.vue @@ -2,10 +2,10 @@
- + - +
diff --git a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/notice-book.vue b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/notice-book.vue index 2a1d73d..45194f1 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/notice-book.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/notice-book.vue @@ -115,7 +115,7 @@
日期: { if (res.code !== 0) { return this.$message.error(res.msg) } if (res.data) { - this.$store.commit('optomSign2', res.data.optomSign) + this.doctorSignDate = res.data.doctorSignDate + this.wearerOrGuardianSignDate = res.data.wearerOrGuardianSignDate + this.$store.commit('optomSign2', res.data.ygsSign) this.$store.commit('doctorSign2', res.data.doctorSign) this.$store.commit('patientSign2', res.data.patientSign) this.$store.commit('guardianSign2', res.data.guardianSign) @@ -222,16 +225,16 @@ export default { // 保存、修改告知书 saveEditNotice() { const params = { + noticeType: 1, patientId: this.patientId, - doctorSign: this.doctorSign, - guardianSign: this.guardianSign, - patientSign: this.patientSign, - readerSign: this.readerSign, - wearerOrGuardianSign: this.wearerOrGuardianSign, + doctorSign: this.doctorSign2, + guardianSign: this.guardianSign2, + patientSign: this.patientSign2, + ygsSign: this.optomSign2, doctorSignDate: this.doctorSignDate, wearerOrGuardianSignDate: this.wearerOrGuardianSignDate } - this.$http.post('/hospital/notice', params).then(({ data: res }) => { + this.$http.post('/hospital/notice/saveOrUpdateNoticeSign', params).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } else { diff --git a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/rgp-book.vue b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/rgp-book.vue index 71a2fe1..bd3f853 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/rgp-book.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/informBook/rgp-book.vue @@ -82,7 +82,7 @@ 日期: 日期: { @@ -195,7 +196,9 @@ export default { return this.$message.error(res.msg) } if (res.data) { - this.$store.commit('optomSign', res.data.optomSign) + this.doctorSignDate = res.data.doctorSignDate + this.wearerOrGuardianSignDate = res.data.wearerOrGuardianSignDate + this.$store.commit('optomSign', res.data.ygsSign) this.$store.commit('doctorSign', res.data.doctorSign) this.$store.commit('patientSign', res.data.patientSign) this.$store.commit('guardianSign', res.data.guardianSign) @@ -210,18 +213,16 @@ export default { // 保存、修改告知书 saveEditNotice() { const params = { + noticeType: 2, patientId: this.patientId, - drgsName: window.localStorage.getItem('identity'), doctorSign: this.doctorSign, guardianSign: this.guardianSign, patientSign: this.patientSign, - readerSign: this.readerSign, - wearerOrGuardianSign: this.wearerOrGuardianSign, + ygsSign: this.optomSign, doctorSignDate: this.doctorSignDate, - wearerOrGuardianSignDate: this.wearerOrGuardianSignDate, - isAgree: this.isAgree + wearerOrGuardianSignDate: this.wearerOrGuardianSignDate } - this.$http.post('/hospital/notice', params).then(({ data: res }) => { + this.$http.post('/hospital/notice/saveOrUpdateNoticeSign', params).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } else {