From 8a46de21293bce50dadc3425c3c086524b3b0428 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Mon, 17 Jun 2024 17:56:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E5=8A=9B=E7=AD=9B=E6=9F=A5=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E4=BF=9D=E5=AD=98=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/modules/formList/screenReport.vue | 46 +++++-------------- 1 file changed, 11 insertions(+), 35 deletions(-) diff --git a/src/page-subspecialty/views/modules/formList/screenReport.vue b/src/page-subspecialty/views/modules/formList/screenReport.vue index f792e54..f2ad44d 100644 --- a/src/page-subspecialty/views/modules/formList/screenReport.vue +++ b/src/page-subspecialty/views/modules/formList/screenReport.vue @@ -120,7 +120,7 @@ 备注 - + @@ -128,7 +128,7 @@
检查者: - +
@@ -137,7 +137,7 @@
日期: @@ -209,9 +209,9 @@ export default { ], jgSelect: [], confirmData: { - operator: '', - operateDate: '', - remark: '', + ygsSign: '', + riQi: '', + beiZhu: '', tk: '正常', jg: '', jgOther: '', @@ -264,32 +264,6 @@ export default { this.$message.error(res.msg) } }, - // 获取详情数据展示 - handleResValue(val, change) { - if (!val) { - return - } - change.forEach(item => { - item.isSelect = false - item.remark = '' - }) - const list = val.split('/') - change.forEach(item => { - list.forEach(lis => { - if (lis === item.name) { - item.isSelect = true - } - if (lis.includes('其他') && item.name === '其他:') { - item.isSelect = true - item.remark = lis.split(':')[1] - } - }) - // 如果未选中,默认后面注释不保存 - if (!item.isSelect && item.name === '其他:') { - item.remark = '' - } - }) - }, handlePrint() { if (!this.isCreator) { return @@ -305,7 +279,7 @@ export default { ...this.confirmData }).then(() => { this.getReportInfo() - this.$emit('handleSaveTable') + this.$message.success(this.$t('prompt.success')) }) }, getReportInfo() { @@ -324,8 +298,10 @@ export default { if (!res.jzNumber) { this.getPatientData() const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) - this.confirmData.operator = userData.signImgBase - this.confirmData.operateDate = this.$moment().format('YYYY-MM-DD') + const mzName = window.sessionStorage.getItem('mzDoctorName') + this.confirmData.ygsSign = userData.signImgBase + this.confirmData.ysSign = mzName + this.confirmData.riQi = this.$moment().format('YYYY-MM-DD') } }, // 获取项目id列表