Browse Source

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

See999 4 years ago
parent
commit
195768d143

+ 7 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

694
         if(this.lastPredialysisEvaluation.catheter_bend == 2){
694
         if(this.lastPredialysisEvaluation.catheter_bend == 2){
695
             this.lastPredialysisEvaluation.catheter_bend = "2"
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
          console.log("22222222",this.lastPredialysisEvaluation)
704
          console.log("22222222",this.lastPredialysisEvaluation)
698
         // console.log("乐行",typeof(this.lastPredialysisEvaluation.is_hemorrhage))
705
         // console.log("乐行",typeof(this.lastPredialysisEvaluation.is_hemorrhage))
699
         this.assessment = assessment
706
         this.assessment = assessment

+ 16 - 5
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

1187
             this.InnerDialogProps.values = this.dialyzerPerfusionApparatus
1187
             this.InnerDialogProps.values = this.dialyzerPerfusionApparatus
1188
             this.InnerDialogProps.titles = '透析器/灌流器'
1188
             this.InnerDialogProps.titles = '透析器/灌流器'
1189
             this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
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
             this.InnerDialogProps.isShowTextArea = false
1191
             this.InnerDialogProps.isShowTextArea = false
1192
             break
1192
             break
1193
         }
1193
         }
1300
           'vascular_access_desc'
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
           'hemodialysis',
1305
           'hemodialysis',
1306
           'dialyzer_perfusion_apparatus'
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
         if (this.$route.query && this.$route.query.date) {
1317
         if (this.$route.query && this.$route.query.date) {
1311
           var date = this.$route.query && this.$route.query.date
1318
           var date = this.$route.query && this.$route.query.date
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
     watch: {
3041
     watch: {

+ 7 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue View File

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