From 1dd2eaa7f869bbe79d971088821e56a5758a9ccc Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Wed, 8 May 2024 11:39:46 +0800
Subject: [PATCH] djseo
---
.../doctorCheck/RegisterCheckList.vue | 27 +--
.../patientRegister/PatientRegisterEdit.vue | 164 +++++++++++++-----
src/utlis/proFunc.js | 4 +-
3 files changed, 136 insertions(+), 59 deletions(-)
diff --git a/src/components/doctorCheck/RegisterCheckList.vue b/src/components/doctorCheck/RegisterCheckList.vue
index 1a1fea0..0c6bf29 100644
--- a/src/components/doctorCheck/RegisterCheckList.vue
+++ b/src/components/doctorCheck/RegisterCheckList.vue
@@ -67,11 +67,7 @@ export default {
components: {},
data() {
return {
- activeNames:['0','1','2','3'],
- registerCheckList0:[],
- registerCheckList1:[],
- registerCheckList2:[],
- registerCheckList3:[],
+ activeNames:['0','1','2','3'],
};
},
@@ -87,7 +83,21 @@ export default {
tableHeight() {
return this.window.pageHeight < 600 ? 400 : this.window.pageHeight - 200
- }
+ },
+
+ registerCheckList0(){
+ return this.doctorCheck.RegisterCheckList.filter(e => { return e.checkTypeFlag == '0'})
+ },
+ registerCheckList1(){
+ return this.doctorCheck.RegisterCheckList.filter(e => { return e.checkTypeFlag == '1'})
+ },
+ registerCheckList2(){
+ return this.doctorCheck.RegisterCheckList.filter(e => { return e.checkTypeFlag == '2'})
+ },
+ registerCheckList3(){
+ return this.doctorCheck.RegisterCheckList.filter(e => { return e.checkTypeFlag == '3'})
+ },
+
},
methods: {
@@ -173,10 +183,7 @@ export default {
handleRegisterCheckList(registerCheckList){
this.doctorCheck.RegisterCheckList = listOrderBy(registerCheckList, [{ colName: 'checkTypeFlag', sortType: 'A' }, { colName: 'itemTypeDisplayOrder', sortType: 'A' }, { colName: 'asbitemDisplayOrder', sortType: 'A' }])
- this.registerCheckList0 = this.doctorCheck.RegisterCheckList.filter(e => { return e.checkTypeFlag == '0'})
- this.registerCheckList1 = this.doctorCheck.RegisterCheckList.filter(e => { return e.checkTypeFlag == '1'})
- this.registerCheckList2 = this.doctorCheck.RegisterCheckList.filter(e => { return e.checkTypeFlag == '2'})
- this.registerCheckList3 = this.doctorCheck.RegisterCheckList.filter(e => { return e.checkTypeFlag == '3'})
+
}
},
diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue
index ad04205..9811fde 100644
--- a/src/components/patientRegister/PatientRegisterEdit.vue
+++ b/src/components/patientRegister/PatientRegisterEdit.vue
@@ -316,58 +316,58 @@
-
+