From 088baa63108acb3183bf7fb87ec3bf79f57aba0e Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Sat, 15 Nov 2025 19:00:59 +0800 Subject: [PATCH] align="center" --- .../patientRegister/PatientRegisterList.vue | 30 +++++++------------ .../PatientRegisterRecoverList.vue | 17 +++++------ 2 files changed, 17 insertions(+), 30 deletions(-) diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue index 5375446..4a9bf89 100644 --- a/src/components/patientRegister/PatientRegisterList.vue +++ b/src/components/patientRegister/PatientRegisterList.vue @@ -1189,7 +1189,7 @@ export default { // if (lfind > -1) { // 弹出编辑框,只有在编辑框显示时,才去触发获取数据 this.clickTime1 = new Date().getTime() - + setTimeout(() => { if (this.clickTime1 > this.clickTime2) { this.dataTransOpts.tableS.patient_register = deepCopy(row); @@ -1211,7 +1211,7 @@ export default { this.dataTransOpts.tableS.patient_register = deepCopy(row); this.tableDataCurrentRow = deepCopy(row); this.dataTransOpts.refresh.register_check_asbitem.M++; //触发所选组合项目刷新 - + }, // 导入企业(青藏公司)数据 @@ -2498,32 +2498,22 @@ export default { //按条码号查个人数据 signByPatientRegisterNo() { - let patientRegisterNo = this.patientRegisterNo + + let patientRegisterNos = [this.patientRegisterNo] let body = { - sType: 1, - patientRegisterNo + patientRegisterNos } //console.log(`/api/app/patientregister/getpatientregisterorpatient`, body) - postapi('/api/app/patientregister/getpatientregisterorpatient', body) + postapi('/api/app/PatientRegister/BatchRecoverGuideByPatientRegisterNo', body) .then((res) => { - if (res.code != -1) { - if (res.data) { - this.recoverCore([res.data.id]) - this.patientRegisterNo = '' - } + if (res.code > -1) { + this.patientRegisterNo = '' + this.$message.success({ showClose: true, message: '操作成功!' }) } }); }, - // 回收表提交 - recoverCore(body) { - postapi(`/api/app/patientregister/updaterecoverguidemany`, body) - .then((res) => { - if (res.code > -1) { - this.$message.success({ showClose: true, message: "操作成功!" }); - } - }) - }, + btnDragColDesign() { this.dragColDesign = deepCopy(this.dragCol); diff --git a/src/components/patientRegister/PatientRegisterRecoverList.vue b/src/components/patientRegister/PatientRegisterRecoverList.vue index 8089de9..cb189ab 100644 --- a/src/components/patientRegister/PatientRegisterRecoverList.vue +++ b/src/components/patientRegister/PatientRegisterRecoverList.vue @@ -4,7 +4,7 @@ - + @@ -233,19 +233,16 @@ export default { //按条码号查个人数据 signByPatientRegisterNo() { - let patientRegisterNo = this.patientRegisterNo + let patientRegisterNos = [this.patientRegisterNo] let body = { - sType: 1, - patientRegisterNo + patientRegisterNos } //console.log(`/api/app/patientregister/getpatientregisterorpatient`, body) - postapi('/api/app/patientregister/getpatientregisterorpatient', body) + postapi('/api/app/PatientRegister/BatchRecoverGuideByPatientRegisterNo', body) .then((res) => { - if (res.code != -1) { - if (res.data) { - this.recoverCore([res.data.id]) - this.patientRegisterNo = '' - } + if (res.code > -1) { + this.patientRegisterNo = '' + this.$message.success({ showClose: true, message: '操作成功!' }) } }); },