Browse Source

新分支

28169 1 year ago
parent
commit
1deea451ed

+ 9 - 8
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue View File

889
                     if(list[i].dialysis_prescription.dialysis_irrigation!=""){
889
                     if(list[i].dialysis_prescription.dialysis_irrigation!=""){
890
                       list[i].dialysis_irrigation_arr = list[i].dialysis_prescription.dialysis_irrigation.split(",")
890
                       list[i].dialysis_irrigation_arr = list[i].dialysis_prescription.dialysis_irrigation.split(",")
891
                     }
891
                     }
892
+                    console.log("list[i].dialysis_prescription.dialysis_strainer",list[i].dialysis_prescription.dialysis_strainer)
892
                     if(list[i].dialysis_prescription.dialysis_strainer!=""){
893
                     if(list[i].dialysis_prescription.dialysis_strainer!=""){
893
                         list[i].dialysis_strainer_arr = list[i].dialysis_prescription.dialysis_strainer.split(",")
894
                         list[i].dialysis_strainer_arr = list[i].dialysis_prescription.dialysis_strainer.split(",")
894
                     }
895
                     }
937
               }
938
               }
938
             }
939
             }
939
             console.log("listoope2233232",list)
940
             console.log("listoope2233232",list)
940
-            var NewAllList=[]
941
-            for(let i=0;i<list.length;i++){
942
-               if(list[i].dialysis_machine_name =="OCI18M"){
943
-                    NewAllList.push(list[i]) 
944
-               }
945
-            }
946
-            console.log("NewAllList",NewAllList)
941
+            // var NewAllList=[]
942
+            // for(let i=0;i<list.length;i++){
943
+            //    if(list[i].dialysis_machine_name =="OCI150"){
944
+            //         NewAllList.push(list[i]) 
945
+            //    }
946
+            // }
947
+            // console.log("NewAllList",NewAllList)
947
           
948
           
948
          
949
          
949
            this.tableList = []
950
            this.tableList = []
997
               dialysisStrainerArr.push(list[i].dialysis_strainer_arr[p])
998
               dialysisStrainerArr.push(list[i].dialysis_strainer_arr[p])
998
              }
999
              }
999
             }
1000
             }
1000
-          console.log("dialysisDialyszersArrooo2oo2o2o2o2",dialysisDialyszersArr)
1001
+          console.log("dialysisDialyszersArrooo2oo2o2o2o2",dialysisStrainerArr)
1001
            let obj = {}
1002
            let obj = {}
1002
            let objOne = {}
1003
            let objOne = {}
1003
            let objTwo = {}
1004
            let objTwo = {}

+ 3 - 2
src/xt_pages/user/components/PatientSidebar.vue View File

71
   data() {
71
   data() {
72
     return {
72
     return {
73
       thedefaultActive: 1,
73
       thedefaultActive: 1,
74
-      patientsList: null,
74
+      patientsList: [],
75
       currentPatient: {},
75
       currentPatient: {},
76
       selectID: 0,
76
       selectID: 0,
77
       keyword: '',
77
       keyword: '',
405
     getList() {
405
     getList() {
406
       fetchAllList().then(response => {
406
       fetchAllList().then(response => {
407
         if (response.data.state == 1) {
407
         if (response.data.state == 1) {
408
-          if(this.org_id ==10191){
408
+          if(this.org_id ==10191 || this.org_id == 0){
409
              var patients = response.data.data.patients
409
              var patients = response.data.data.patients
410
+             console.log("patients",patients)
410
              for(let i=0;i<patients.length;i++){
411
              for(let i=0;i<patients.length;i++){
411
                if(patients[i].lapseto ==1){
412
                if(patients[i].lapseto ==1){
412
                 this.patientsList.push(patients[i])
413
                 this.patientsList.push(patients[i])