Procházet zdrojové kódy

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

See999 před 4 roky
rodič
revize
195768d143

+ 7 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Zobrazit soubor

@@ -694,6 +694,13 @@
694 694
         if(this.lastPredialysisEvaluation.catheter_bend == 2){
695 695
             this.lastPredialysisEvaluation.catheter_bend = "2"
696 696
         }
697
+        if(this.lastPredialysisEvaluation.is_infect == 1){
698
+          this.lastPredialysisEvaluation.is_infect ="1"
699
+        }
700
+        if(this.lastPredialysisEvaluation.is_infect == 2){
701
+         this.lastPredialysisEvaluation.is_infect = "2"
702
+        }
703
+
697 704
          console.log("22222222",this.lastPredialysisEvaluation)
698 705
         // console.log("乐行",typeof(this.lastPredialysisEvaluation.is_hemorrhage))
699 706
         this.assessment = assessment

+ 16 - 5
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

@@ -1187,7 +1187,7 @@
1187 1187
             this.InnerDialogProps.values = this.dialyzerPerfusionApparatus
1188 1188
             this.InnerDialogProps.titles = '透析器/灌流器'
1189 1189
             this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
1190
-            this.InnerDialogProps.selected = this.dialysisPrescription.dialyzer_perfusion_apparatus
1190
+            this.InnerDialogProps.selected = this.dialysisPrescription.dialyzer_perfusion_apparatus.toUpperCase()
1191 1191
             this.InnerDialogProps.isShowTextArea = false
1192 1192
             break
1193 1193
         }
@@ -1300,12 +1300,19 @@
1300 1300
           'vascular_access_desc'
1301 1301
         )
1302 1302
 
1303
-        // console.log('血管通路', this.blood_access_option)
1304
-        this.dialyzerPerfusionApparatus = getDataConfig(
1303
+         console.log('血管通路', this.blood_access_option)
1304
+         var  dialyzerPerfusionApparatus = getDataConfig(
1305 1305
           'hemodialysis',
1306 1306
           'dialyzer_perfusion_apparatus'
1307 1307
         )
1308
-       console.log('灌流器', this.dialyzerPerfusionApparatus)
1308
+       
1309
+       dialyzerPerfusionApparatus.map(item => {
1310
+         item.name = item.name.toUpperCase()
1311
+       })
1312
+       //去重
1313
+        var arr = this.unique(dialyzerPerfusionApparatus)
1314
+       this.dialyzerPerfusionApparatus = arr
1315
+       console.log('灌流器', arr)
1309 1316
 
1310 1317
         if (this.$route.query && this.$route.query.date) {
1311 1318
           var date = this.$route.query && this.$route.query.date
@@ -3024,7 +3031,11 @@
3024 3031
               }
3025 3032
             }
3026 3033
           })
3027
-      }
3034
+      },
3035
+      unique(arr) {
3036
+        const res = new Map();
3037
+        return arr.filter((arr) => !res.has(arr.name) && res.set(arr.name, 1));
3038
+      },
3028 3039
     },
3029 3040
 
3030 3041
     watch: {

+ 7 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue Zobrazit soubor

@@ -45,7 +45,7 @@
45 45
             <td width="10">床</td>
46 46
             <td></td>
47 47
 
48
-            
48
+
49 49
           </tr>
50 50
         </tbody>
51 51
       </table>
@@ -140,7 +140,7 @@
140 140
                     </td>
141 141
                     <td width="35">℃</td>
142 142
                     <td width='10'></td>
143
-                    
143
+
144 144
                     <td></td>
145 145
                   </tr>
146 146
                 </tbody>
@@ -494,7 +494,7 @@
494 494
                         <label-box :isChecked="false" showValue="3.0mmol/L"></label-box>
495 495
                       )
496 496
                     </td>
497
-                    
497
+
498 498
                     <td></td>
499 499
                   </tr>
500 500
                 </tbody>
@@ -503,7 +503,7 @@
503 503
               <table class="table-box">
504 504
                 <tbody>
505 505
                   <tr>
506
-                    
506
+
507 507
                     <td width="70">治疗方式:</td>
508 508
                     <td width="50">
509 509
                       <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>
@@ -1223,7 +1223,7 @@ export default {
1223 1223
             this.dialysisOrder.DeviceNumber.number
1224 1224
           );
1225 1225
         }
1226
-        
1226
+
1227 1227
       } else {
1228 1228
         if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
1229 1229
           return (
@@ -1236,7 +1236,7 @@ export default {
1236 1236
             this.patientInfo.DialysisSchedule.device_number.number
1237 1237
           );
1238 1238
         }
1239
-        
1239
+
1240 1240
       }
1241 1241
     },
1242 1242
 
@@ -1304,7 +1304,7 @@ export default {
1304 1304
             this.predialysis.blood_access_part_opera_id
1305 1305
           )
1306 1306
           this.afterdialysis = response.data.data.AssessmentAfterDislysis
1307
-          console.log('透后评估数据', this.afterdialysis)
1307
+          // console.log('透后评估数据', this.afterdialysis)
1308 1308
           this.operators = response.data.data.operators
1309 1309
           this.dialysisOrder =
1310 1310
             response.data.data.dialysisOrder === null