From 8130697445bbbb49615b369ce804df148cc3ad37 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Wed, 24 Dec 2025 12:20:14 +0800 Subject: [PATCH] seo --- .../patientRegister/PatientRegisterEdit.vue | 40 +++++++--- .../patientRegister/PatientRegisterList.vue | 74 +++++++++++++------ .../PatientRegisterRecoverList.vue | 5 +- src/views/fee-settings/cardRegister.vue | 64 +++++++++------- 4 files changed, 123 insertions(+), 60 deletions(-) diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index f6af7d1..a519b56 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -2319,18 +2319,8 @@ export default { console.log('filterMethod', this.poison) }, - // 人员新增 - btnAdd() { - this.dataTransOpts.tableS.patient_register.id = '' - this.dataTransOpts.refresh.patient_register.S++ - }, - - //将现有的数据,复制并展现,但未保存 - rdCopy() { - if (!this.form.id) { - this.$message.info({ showClose: true, message: "该信息尚未保存,不可执行此操作!" }); - return; - } + // 当前面点新增时,清部份信息 + clearPerson(){ this.dataTransOpts.tableS.patient_register.id = '' this.peoplePhoto = '/pic/Photo.jpg' this.patientRegister.patientRegisterId = ''; @@ -2343,6 +2333,32 @@ export default { this.form.photo = ''; this.form.completeFlag = '1'; // this.form.planuserid = '' //清除青藏公司的计划ID + this.form.idNo = ''; // + this.form.age = null; // + this.form.sexId = null; // + this.form.birthDate = null; // + this.form.mobileTelephone = ''; // + this.form.telephone = ''; // + this.form.address = ''; // + }, + + // 人员新增 + btnAdd() { + // 当前面点新增时,清部份信息 + this.clearPerson() + this.dataTransOpts.tableS.patient_register.id = '' + this.dataTransOpts.refresh.patient_register.S++ + }, + + //将现有的数据,复制并展现,但未保存 + rdCopy() { + if (!this.form.id) { + this.$message.info({ showClose: true, message: "该信息尚未保存,不可执行此操作!" }); + return; + } + // 当前面点新增时,清部份信息 + this.clearPerson() + // this.patientRegister.patientRegisterAbs.forEach(e => { // e.id = ''; diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue index 68fa720..4d12477 100644 --- a/src/components/patientRegister/PatientRegisterList.vue +++ b/src/components/patientRegister/PatientRegisterList.vue @@ -624,15 +624,19 @@
{{ qrCode.barcodeNo + ' ' + qrCode.patientName }}
- -
- 条码号 - +
+ +
@@ -833,7 +837,7 @@ export default { { label: "职害", prop: "qztlIsWh", minWidth: 50, align: "center" }, { label: "复检", prop: "qztlIsFj", minWidth: 50, align: "center" }, { label: "标准金额", prop: "standardAmount", minWidth: 80, align: "center" }, - { label: "应收金额", prop: "receivableAmount", minWidth: 80, align: "center" }, + { label: "应收金额", prop: "receivableAmount", minWidth: 80, align: "center" }, { label: "实收金额", prop: "chargeAmount", minWidth: 80, align: "center" }, { label: "支付方式", prop: "chargePayMode", minWidth: 80, align: "center" }, ], @@ -947,8 +951,13 @@ export default { }, // 体检表回收 - dialogRecover: false, - patientRegisterNo: '', + recover: { + dialog: false, + recoverType: '0', //回收类型 0-条码号 1-档案号 + barcode: '', // 条码号或档案号 + barcodes: [], // 条码号或档案号集合 + isRecoverGuide: 'Y', //状态 Y-回收,N-取消回收 + }, // 避免单击事件与双击事件冲突 clickTime1: 0, @@ -2151,8 +2160,6 @@ export default { }, }); } - - if (checkPagePriv(this.pagePriv.privs, "修改体检日期")) items.push({ label: "修改体检日期", @@ -2161,6 +2168,20 @@ export default { }, }); + if (checkPagePriv(this.pagePriv.privs, "删除照片")) + items.push({ + label: "删除照片", + onClick: () => { + postapi(`/api/app/patient-register/update-photo`, { + patientRegisterId: row.id, + photo: '' + }) + .then(res => { + if (res.code > -1) this.$message.success({ showClose: true, message: '操作成功!' }) + }) + }, + }); + if ( checkPagePriv(this.pagePriv.privs, "分诊排队") && row.completeFlag != "0" @@ -2815,7 +2836,7 @@ export default { // 点击扫码回收体检表按钮 btnScanRecover() { this.patientRegisterNo = '' - this.dialogRecover = true + this.recover.dialog = true this.$nextTick(() => { this.$refs['tmh'].focus(); //打开光标定位到条码栏里 }); @@ -2824,18 +2845,27 @@ export default { //按条码号查个人数据 signByPatientRegisterNo() { - let patientRegisterNos = [this.patientRegisterNo] - let body = { - patientRegisterNos - } - //console.log(`/api/app/patientregister/getpatientregisterorpatient`, body) - postapi('/api/app/PatientRegister/BatchRecoverGuideByPatientRegisterNo', body) + // let patientRegisterNos = [this.patientRegisterNo] + // let body = { + // patientRegisterNos + // } + // //console.log(`/api/app/patientregister/getpatientregisterorpatient`, body) + // postapi('/api/app/PatientRegister/BatchRecoverGuideByPatientRegisterNo', body) + // .then((res) => { + // if (res.code > -1) { + // this.patientRegisterNo = '' + // this.$message.success({ showClose: true, message: '操作成功!' }) + // } + // }); + this.recover.barcodes = [this.recover.barcode] + postapi('/api/app/PatientRegister/BatchRecoverGuide', this.recover) .then((res) => { if (res.code > -1) { - this.patientRegisterNo = '' + this.recover.barcode = '' this.$message.success({ showClose: true, message: '操作成功!' }) } }); + }, @@ -2871,16 +2901,16 @@ export default { //合计 getSummaries(param) { - console.log('getSummaries param',param) + console.log('getSummaries param', param) // if(!param){ // param = { // columns:[{}, {}, {}, {}, {}, {}, {property: 'asbitemMoney'},{property: 'customerOrgGroupDetailMoney'}], // data:this.customerOrgGroupAsbitems // } // } - + const { columns, data } = param; - const sumCol = [2,3,4, 7,8] //需合计的列 + const sumCol = [2, 3, 4, 7, 8] //需合计的列 const sums = []; columns.forEach((column, index) => { //console.log('column, index,data',column, index,data) @@ -2902,7 +2932,7 @@ export default { }) sums[index] = sums[index].toFixed(2) //+ ' 元'; - }); + }); return sums; }, }, diff --git a/src/components/patientRegister/PatientRegisterRecoverList.vue b/src/components/patientRegister/PatientRegisterRecoverList.vue index d4efded..65a35f6 100644 --- a/src/components/patientRegister/PatientRegisterRecoverList.vue +++ b/src/components/patientRegister/PatientRegisterRecoverList.vue @@ -103,7 +103,10 @@
- 回收表单 + 回收表单 +
+
+ 取消回收
扫码回收 diff --git a/src/views/fee-settings/cardRegister.vue b/src/views/fee-settings/cardRegister.vue index cdf17b8..91ed9a6 100644 --- a/src/views/fee-settings/cardRegister.vue +++ b/src/views/fee-settings/cardRegister.vue @@ -73,11 +73,12 @@ margin-bottom: 10px; "> - - + ? 210 + : Math.floor((window.pageHeight - 340) / 2) + " row-key="id" highlight-current-row @selection-change="handleSelectionChange" @row-click="rowClick" + :row-class-name="tableRowClassName" :row-style="{height:'28px'}" border> + + - - - - + + + + - - - - - + + + + + - - - + + + - - + +