浏览代码

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

see999 4 年前
父节点
当前提交
204f33776e

文件差异内容过多而无法显示
+ 21 - 18231
package-lock.json


+ 29 - 29
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

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

+ 5 - 0
src/xt_pages/qcd/officesControlAnalysis/project.vue 查看文件

598
         const  decStart = moment().month(11).startOf('month').format("YYYY-MM-DD")
598
         const  decStart = moment().month(11).startOf('month').format("YYYY-MM-DD")
599
         const decEnd = moment().month(11).endOf('month').format("YYYY-MM-DD")
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
         const params = {
607
         const params = {
603
           lapseto:this.lapseto,
608
           lapseto:this.lapseto,