Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 year ago
parent
commit
b35ca0c879

+ 14 - 3
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue View File

807
             var anticoagulantList = []
807
             var anticoagulantList = []
808
             
808
             
809
             if(arrDateOne > arrDateTwo){
809
             if(arrDateOne > arrDateTwo){
810
+              console.log("简单阿凡达2332322332")
810
               if(list!=null && list.length>0){
811
               if(list!=null && list.length>0){
811
                   for(let i=0;i<list.length;i++){
812
                   for(let i=0;i<list.length;i++){
812
                     list[i].dialysis_dialyszers_arr = []
813
                     list[i].dialysis_dialyszers_arr = []
871
             }
872
             }
872
 
873
 
873
             if(arrDateOne <= arrDateTwo){
874
             if(arrDateOne <= arrDateTwo){
874
-            
875
+               console.log("简哈哈哈发232我")
875
 
876
 
876
               if(list!=null && list.length>0){
877
               if(list!=null && list.length>0){
877
                 for(let i=0;i<list.length;i++){
878
                 for(let i=0;i<list.length;i++){
935
                   }
936
                   }
936
               }
937
               }
937
             }
938
             }
939
+            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)
938
           
947
           
939
-            console.log("anticoagulantList",anticoagulantList)
948
+         
940
            this.tableList = []
949
            this.tableList = []
941
            if(anticoagulantList!=null && anticoagulantList.length > 0){
950
            if(anticoagulantList!=null && anticoagulantList.length > 0){
942
                 let dataInfoOne = {}
951
                 let dataInfoOne = {}
967
               this.tableList.push(hisarr[i])
976
               this.tableList.push(hisarr[i])
968
             }
977
             }
969
             console.log("hisarr",hisarr)
978
             console.log("hisarr",hisarr)
979
+
970
            }
980
            }
971
             var dialysisDialyszersArr = []
981
             var dialysisDialyszersArr = []
972
             var dialyzerPerfusionApparaArr = []
982
             var dialyzerPerfusionApparaArr = []
987
               dialysisStrainerArr.push(list[i].dialysis_strainer_arr[p])
997
               dialysisStrainerArr.push(list[i].dialysis_strainer_arr[p])
988
              }
998
              }
989
             }
999
             }
1000
+          console.log("dialysisDialyszersArrooo2oo2o2o2o2",dialysisDialyszersArr)
990
            let obj = {}
1001
            let obj = {}
991
            let objOne = {}
1002
            let objOne = {}
992
            let objTwo = {}
1003
            let objTwo = {}
1071
               Arr.push(a);
1082
               Arr.push(a);
1072
             }
1083
             }
1073
 
1084
 
1074
-
1085
+            console.log("Arrowowwwwwwwwwww",Arr)
1075
             if(Arr.length >0){
1086
             if(Arr.length >0){
1076
               for(let i=0;i<Arr.length;i++){
1087
               for(let i=0;i<Arr.length;i++){
1077
                  this.tableList.push(Arr[i])
1088
                  this.tableList.push(Arr[i])

+ 2 - 2
src/xt_pages/role/admin.vue View File

225
           @click="toAutoDrug">自动生成</el-button> -->
225
           @click="toAutoDrug">自动生成</el-button> -->
226
 
226
 
227
 
227
 
228
-          <!-- <el-button
228
+         <el-button
229
           type="primary"
229
           type="primary"
230
           size="small"
230
           size="small"
231
           icon="el-icon-circle-plus-outline"
231
           icon="el-icon-circle-plus-outline"
232
           style="float:left"
232
           style="float:left"
233
-          @click="toAutoDiagnose">自动脚本</el-button> -->
233
+          @click="toAutoDiagnose">自动脚本</el-button> 
234
      </div>
234
      </div>
235
 
235
 
236
 
236
 

+ 4 - 1
src/xt_pages/user/components/PatientSidebar.vue View File

408
           if(this.org_id ==10191){
408
           if(this.org_id ==10191){
409
              var patients = response.data.data.patients
409
              var patients = response.data.data.patients
410
              for(let i=0;i<patients.length;i++){
410
              for(let i=0;i<patients.length;i++){
411
-               this.patientsList.push(patients[i])
411
+               if(patients[i].lapseto ==1){
412
+                this.patientsList.push(patients[i])
413
+               }
414
+             
412
              }
415
              }
413
           }else{
416
           }else{
414
             this.patientsList = response.data.data.patients
417
             this.patientsList = response.data.data.patients