From 615ce4d7d58dd252d20eb24c98455c865412721b Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Sat, 27 Apr 2024 20:32:05 +0800 Subject: [PATCH] SUM --- .../patientRegister/PatientRegisterEdit.vue | 24 +++++++++++++++++-- .../sumDoctorCheck/SumAsbItemStatus.vue | 16 ++++++------- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index ffb5bfb..ec3b960 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -120,7 +120,7 @@ - @@ -157,8 +157,9 @@ - + @@ -638,6 +639,7 @@ export default { prAsbGroup: 0, //触发分组更换 prAsbPackage: 0, //触发套餐更换 }, + nation:[], // }; }, @@ -765,6 +767,7 @@ export default { getapi("/api/app/nation/in-filter").then((res) => { if (res.code != -1) { this.dict.nation = res.data; + this.nation = deepCopy(res.data) } }); @@ -832,6 +835,23 @@ export default { }, + + //快速选择组合项目时,调整可按拼间简码及简称查找 + filterMethod(keyWords) { + //console.log('filterMethod',this.asbItemQuick) + if (keyWords) { + this.nation = []; + this.dict.nation.forEach(item => { + if (item.displayName.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1 + || item.simpleCode.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1) { + this.nation.push(item); + } + }); + } else { + this.nation = deepCopy(this.dict.nation); + } + }, + //选择单位 async changeCustomerOrgId(v) { // console.log('changeCustomerOrgId',v) diff --git a/src/components/sumDoctorCheck/SumAsbItemStatus.vue b/src/components/sumDoctorCheck/SumAsbItemStatus.vue index 84da54d..4e59ee8 100644 --- a/src/components/sumDoctorCheck/SumAsbItemStatus.vue +++ b/src/components/sumDoctorCheck/SumAsbItemStatus.vue @@ -1,30 +1,30 @@