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 @@
-
+