Selaa lähdekoodia

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 4 vuotta sitten
vanhempi
commit
d6bef709b3

+ 29 - 29
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Näytä tiedosto

@@ -139,7 +139,7 @@
139 139
               </el-select>
140 140
             </el-form-item>
141 141
           </el-col>
142
-          
142
+
143 143
 
144 144
          <el-col :span="8" v-if="isShows('抗凝剂商品名称')">
145 145
             <el-form-item label="抗凝剂商品名称:">
@@ -350,7 +350,7 @@
350 350
             </el-form-item>
351 351
           </el-col>
352 352
 
353
-      
353
+
354 354
 
355 355
           <el-col :span="8" v-if="isShows('透析器/灌流器')">
356 356
             <el-form-item label="透析器/灌流器">
@@ -1307,27 +1307,27 @@
1307 1307
         this.InnerDialogProps.visibility = true
1308 1308
         switch (val) {
1309 1309
           case '5': // 透析器/灌流器
1310
-             var arr = this.dialysisPrescription.dialyzer_perfusion_apparatus
1311
-             var newArr =  arr.split(",")
1312
-            console.log("透析器/灌流器",newArr)
1313
-            var Arr = []
1314
-            for(let i=0;i<newArr.length;i++){
1315
-              for(let j=0;j<this.dialyzerPerfusionApparatus.length;j++){
1316
-                 var newarr = newArr[i].toUpperCase()
1317
-
1318
-                 var dialy = this.dialyzerPerfusionApparatus[j].name.toUpperCase()
1319
-
1320
-                 if(newarr == dialy){
1321
-                    Arr.push(this.dialyzerPerfusionApparatus[j].name)
1322
-                 }
1323
-              }
1324
-            }
1325
-            var arrtwo = Arr.join(",")
1326
-            console.log("Arr",arrtwo)
1310
+            //  var arr = this.dialysisPrescription.dialyzer_perfusion_apparatus
1311
+            //  var newArr =  arr.split(",")
1312
+            // console.log("透析器/灌流器",newArr)
1313
+            // var Arr = []
1314
+            // for(let i=0;i<newArr.length;i++){
1315
+            //   for(let j=0;j<this.dialyzerPerfusionApparatus.length;j++){
1316
+            //      var newarr = newArr[i].toUpperCase()
1317
+            //
1318
+            //      var dialy = this.dialyzerPerfusionApparatus[j].name.toUpperCase()
1319
+            //
1320
+            //      if(newarr == dialy){
1321
+            //         Arr.push(this.dialyzerPerfusionApparatus[j].name)
1322
+            //      }
1323
+            //   }
1324
+            // }
1325
+            // var arrtwo = Arr.join(",")
1326
+            // console.log("Arr",arrtwo)
1327 1327
             this.InnerDialogProps.values = this.dialyzerPerfusionApparatus
1328 1328
             this.InnerDialogProps.titles = '透析器/灌流器'
1329 1329
             this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
1330
-            this.InnerDialogProps.selected = arrtwo
1330
+            this.InnerDialogProps.selected = this.dialysisPrescription.dialyzer_perfusion_apparatus
1331 1331
             this.InnerDialogProps.isShowTextArea = false
1332 1332
             break
1333 1333
 
@@ -1337,10 +1337,10 @@
1337 1337
             this.InnerDialogProps.titles = '抽血'
1338 1338
             this.InnerDialogProps.type = 'blood'
1339 1339
             this.InnerDialogProps.selected = this.dialysisPrescription.blood
1340
-            this.InnerDialogProps.isShowTextArea = false    
1341
-          
1340
+            this.InnerDialogProps.isShowTextArea = false
1341
+
1342 1342
            case '7': // 透析器
1343
-          
1343
+
1344 1344
         }
1345 1345
       },
1346 1346
       innerDialogComfirm: function(val) {
@@ -1919,7 +1919,7 @@
1919 1919
         this.isVisibility = false
1920 1920
       },
1921 1921
       changeThisAnticoagulant: function(val) {
1922
-        
1922
+
1923 1923
         var thismode = val
1924 1924
         if (isNaN(thismode) || thismode <= 0) {
1925 1925
           return false
@@ -3197,9 +3197,9 @@
3197 3197
         const res = new Map();
3198 3198
         return arr.filter((arr) => !res.has(arr.name) && res.set(arr.name, 1));
3199 3199
       },
3200
-     
3200
+
3201 3201
     },
3202
-  
3202
+
3203 3203
     watch: {
3204 3204
       'dialysisPrescription.dialysis_duration_hour': function() {
3205 3205
         let dialysis_duration_minute = 0
@@ -3254,7 +3254,7 @@
3254 3254
           this.dialysisPrescription.anticoagulant_zongliang = ''
3255 3255
         }
3256 3256
 
3257
-       
3257
+
3258 3258
       },
3259 3259
       'dialysisPrescription.anticoagulant_shouji': function() {
3260 3260
         let dialysis_duration_minute = 0
@@ -3286,7 +3286,7 @@
3286 3286
           this.dialysisPrescription.anticoagulant_zongliang = ''
3287 3287
         }
3288 3288
 
3289
-        
3289
+
3290 3290
       },
3291 3291
       'dialysisPrescription.anticoagulant_weichi': function() {
3292 3292
         let dialysis_duration_minute = 0
@@ -3313,7 +3313,7 @@
3313 3313
           this.dialysisPrescription.anticoagulant_zongliang = ''
3314 3314
         }
3315 3315
 
3316
-      
3316
+
3317 3317
       },
3318 3318
       'prescription.id': {
3319 3319
         immediate: true,

+ 5 - 0
src/xt_pages/qcd/officesControlAnalysis/project.vue Näytä tiedosto

@@ -598,6 +598,11 @@ export default {
598 598
         const  decStart = moment().month(11).startOf('month').format("YYYY-MM-DD")
599 599
         const decEnd = moment().month(11).endOf('month').format("YYYY-MM-DD")
600 600
 
601
+        for(let i=0;i<this.normdata.length;i++){
602
+          if(this.normdata[i].inspection_minor == this.mode_type){
603
+            this.range_type = this.normdata[i].range_type
604
+          }
605
+        }
601 606
 
602 607
         const params = {
603 608
           lapseto:this.lapseto,