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列表