From 35f720e151a7bb5e5a86a1ebbfc2cd4c3975f492 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Mon, 8 May 2023 17:30:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=AD=97=E9=97=AE=E9=A2=98=E8=A7=A3?= =?UTF-8?q?=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page-subspecialty/store/modules/sign.js | 25 ++++- .../modules/formList/InformedConsent.vue | 36 +++++- .../views/modules/formList/laserSurgery.vue | 106 ++++++++++-------- .../views/modules/formList/mraOrder.vue | 1 - 4 files changed, 117 insertions(+), 51 deletions(-) diff --git a/src/page-subspecialty/store/modules/sign.js b/src/page-subspecialty/store/modules/sign.js index de89647..3796072 100644 --- a/src/page-subspecialty/store/modules/sign.js +++ b/src/page-subspecialty/store/modules/sign.js @@ -22,7 +22,10 @@ export default { optomSign2: '', doctorSign2: '', patientSign2: '', - guardianSign2: '' + guardianSign2: '', + operator: '', + informedDocSign: '', + informPatientSign: '' }, getters: { doctorSignImg: state => state.doctorSignImg, @@ -33,7 +36,10 @@ export default { optomSign2: state => state.optomSign2, doctorSign2: state => state.doctorSign2, patientSign2: state => state.patientSign2, - guardianSign2: state => state.guardianSign2 + guardianSign2: state => state.guardianSign2, + operator: state => state.operator, + informedDocSign: state => state.informedDocSign, + informPatientSign: state => state.informPatientSign }, mutations: { // 销毁签字笔 @@ -170,6 +176,12 @@ export default { this.commit('patientSign2', img_base64) } else if (state.type === 8) { this.commit('guardianSign2', img_base64) + } else if (state.type === 9) { + this.commit('operator', img_base64) + } else if (state.type === 10) { + this.commit('informedDocSign', img_base64) + } else if (state.type === 11) { + this.commit('informPatientSign', img_base64) } } else { // debugPrint("saveSignToBase64 error,description:" + args[0]); @@ -204,5 +216,14 @@ export default { guardianSign2(state, val) { state.guardianSign2 = val }, + operator(state, val) { + state.operator = val + }, + informedDocSign(state, val) { + state.informedDocSign = val + }, + informPatientSign(state, val) { + state.informPatientSign = val + } } } diff --git a/src/page-subspecialty/views/modules/formList/InformedConsent.vue b/src/page-subspecialty/views/modules/formList/InformedConsent.vue index c5bbfca..a8f3c27 100644 --- a/src/page-subspecialty/views/modules/formList/InformedConsent.vue +++ b/src/page-subspecialty/views/modules/formList/InformedConsent.vue @@ -91,7 +91,11 @@
-
主诊/谈话医生签名:
+
主诊/谈话医生签名: +
+ + +
日期:
@@ -104,7 +108,12 @@
-
患者或直系亲属签名:
+
+
患者或直系亲属签名:
+
+ + +
日期:
@@ -312,6 +321,20 @@ export default { postoperative: ['暂时性眼压升高', '损伤人工晶体', '角膜内皮损伤', '虹膜炎症反应', '玻璃体前界膜破裂', '视功能损伤', '渗出性视网膜脱离', '黄斑水肿', '脉络膜脱离', '虹膜(视网膜、脉络膜)出血', '其他'] } }, + computed: { + informedDocSign: { + get() { + return this.$store.getters.informedDocSign + }, + set(val) {} + }, + informPatientSign: { + get() { + return this.$store.getters.informPatientSign + }, + set(val) {} + } + }, watch: { caseId(val) { if (val) { @@ -325,8 +348,13 @@ export default { this.confirmData.patientAge = this.patientDetail.patientAge this.confirmData.patientGender = this.patientDetail.patientSex this.getInfoDetail() + this.queryProject() + this.$store.commit('initPlugin') }, methods: { + signClick(index) { + this.$store.commit('beginSign', index) + }, getInfoDetail() { this.$http.get('/mzbl/getMzblJgshzqtysInfo', { params: { caseId: this.caseId, @@ -342,6 +370,8 @@ export default { const jgshAreaList = detail.jgshArea && detail.jgshArea.split('/') || [] this.handleDetail(bnzList, qgyList, ydbList, swmList, detail.coats, mzfsList, jgshList, jgshAreaList) this.confirmData.other = detail.other || '' + this.$store.commit('informedDocSign', detail.operationSign) + this.$store.commit('informPatientSign', detail.patientSign) }) }, // 获取详情数据并展示在页面中 @@ -492,6 +522,8 @@ export default { this.handleList() this.handleNarcotism() this.handleMode() + this.confirmData.operationSign = this.informedDocSign + this.confirmData.patientSign = this.informPatientSign this.confirmData.jzNumber = window.localStorage.getItem('jzNumber') this.$http.post('/mzbl/saveMzblJgshzqtys', { caseId: this.caseId, diff --git a/src/page-subspecialty/views/modules/formList/laserSurgery.vue b/src/page-subspecialty/views/modules/formList/laserSurgery.vue index b77b0d2..eb818e2 100644 --- a/src/page-subspecialty/views/modules/formList/laserSurgery.vue +++ b/src/page-subspecialty/views/modules/formList/laserSurgery.vue @@ -65,10 +65,10 @@ - + - + @@ -86,7 +86,7 @@ 次数 - + @@ -94,7 +94,7 @@ 曝光时间 - + @@ -102,7 +102,7 @@ 光斑大小 - + @@ -110,7 +110,7 @@ 功率 - + @@ -118,29 +118,29 @@ 点数 - +
示意图
- +
操作人:
- - + +
操作时间:
{ const detail = data.data.data - this.confirmData.diagnostic = detail.diagnostic || '' - // 治疗前 - this.confirmData.zlqSlOd = detail.zlqSlOd || '' - this.confirmData.zlqJbfqOd = detail.zlqJbfqOd || '' - this.confirmData.zlqSytOd = detail.zlqSytOd || '' - this.confirmData.zlqSlOs = detail.zlqSlOs || '' - this.confirmData.zlqJbfqOs = detail.zlqJbfqOs || '' - this.confirmData.zlqSytOs = detail.zlqSytOs || '' + this.confirmData = { ...detail } + this.$store.commit('operator', detail.operateSign) }) }, // 保存传值处理 @@ -282,6 +295,7 @@ export default { handleSaveTable() { this.confirmData.jzNumber = window.localStorage.getItem('jzNumber') this.handleConfirmData() + this.confirmData.operateSign = this.operator this.$http.post('/mzbl/saveMzblJgshzl', { caseId: this.caseId, ...this.confirmData diff --git a/src/page-subspecialty/views/modules/formList/mraOrder.vue b/src/page-subspecialty/views/modules/formList/mraOrder.vue index ab7ad3c..27fc93b 100644 --- a/src/page-subspecialty/views/modules/formList/mraOrder.vue +++ b/src/page-subspecialty/views/modules/formList/mraOrder.vue @@ -229,7 +229,6 @@ export default { } }, created() { - console.log(this.patientDetail) this.origin = JSON.parse(JSON.stringify(this.formData)) // 患者信息带入 this.formData.patientName = this.patientDetail.patientName