Browse Source

Merge branch '20230223_pad_vue_new_branch' of http://git.shengws.com/csx/Pad_New into 20230223_pad_vue_new_branch

28169 1 day ago
parent
commit
b835bf3f76

+ 5 - 5
src/pages/main/PrintIndex.vue View File

735
         if (response.data.state == 1) {
735
         if (response.data.state == 1) {
736
             this.childResponse = response;
736
             this.childResponse = response;
737
 
737
 
738
-          if(this.org_id != 10727&&this.org_id !=0){
738
+          // if(this.org_id != 10727){//&&this.org_id !=0
739
             this.org_template_info = response.data.data.org_template_info;
739
             this.org_template_info = response.data.data.org_template_info;
740
-          }else{
741
-            this.org_template_info.template_id = 82
742
-          }
740
+          // }else{
741
+          //   this.org_template_info.template_id = 82
742
+          // }
743
           console.log('responsevvvvvv',response.data.data);
743
           console.log('responsevvvvvv',response.data.data);
744
-          
744
+
745
         } else {
745
         } else {
746
           this.$message.error("请求数据失败");
746
           this.$message.error("请求数据失败");
747
           return false;
747
           return false;

+ 88 - 48
src/pages/main/template/DialysisPrintOrderSeventyeight.vue View File

885
                               >【开始透析】引血 {{ dialysisOrder.blood_drawing }} ml/min
885
                               >【开始透析】引血 {{ dialysisOrder.blood_drawing }} ml/min
886
                               </template>
886
                               </template>
887
 
887
 
888
-                            {{ monitor.end }}  &nbsp;
888
+                              {{ monitor.dispose }}{{ monitor.end }}  &nbsp;
889
                             &nbsp;
889
                             &nbsp;
890
                           </span>
890
                           </span>
891
                         </div>
891
                         </div>
1487
         if(this.dialysisOrder != undefined && this.dialysisOrder.end_time !=0){
1487
         if(this.dialysisOrder != undefined && this.dialysisOrder.end_time !=0){
1488
           if(this.monitors.length >0){
1488
           if(this.monitors.length >0){
1489
             for(let i in this.monitors){
1489
             for(let i in this.monitors){
1490
-              if(this.monitors[i].blood_flow_volume ==0 && this.dialysisOrder.end_time >= this.monitors[i].operate_time){
1491
-                const obj55 = '监测第'+((i*1)+1)+'行血流量'
1492
-                checkDate.push(obj55)
1493
-              } if((this.monitors[i].venous_pressure ==0 ||
1494
-                  this.monitors[i].transmembrane_pressure ==0 ) && this.dialysisOrder.end_time >= this.monitors[i].operate_time
1490
+              if(this.dialysisOrder.end_time >= this.monitors[i].operate_time && 
1491
+                this.monitors[i].dispose.indexOf('停') <=-1 && this.monitors[i].ultrafiltration_rate!=0
1495
               ){
1492
               ){
1496
-                const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
1497
-                checkDate.push(obj56)
1498
-              } if(this.monitors[i].ultrafiltration_rate ==0 && this.dialysisOrder.end_time >= this.monitors[i].operate_time){
1499
-                const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1500
-                checkDate.push(obj57)
1501
-              } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0 && 
1502
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
1503
-              ){
1504
-                const obj53 = '监测第'+((i*1)+1)+'行超滤量'
1505
-                checkDate.push(obj53)
1506
-              } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'&& 
1507
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
1508
-              ){
1509
-                const obj58 = '监测第'+((i*1)+1)+'行置换率'
1510
-                checkDate.push(obj58)
1511
-              } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0
1512
-                  && this.dialysisOrder.end_time >= this.monitors[i].operate_time
1513
-              ){
1514
-                const obj54 = '监测第'+((i*1)+1)+'行置换量'
1515
-                checkDate.push(obj54)
1516
-              } if(this.monitors[i].sodium_concentration ==0 && 
1517
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
1518
-              ){
1519
-                // this.monitors[i].temperature == 0
1520
-                const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
1521
-                checkDate.push(obj59)
1522
-              } if(this.monitors[i].pulse_frequency ==0  && 
1523
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
1524
-              ){
1525
-                const obj60 = '监测第'+((i*1)+1)+'行脉搏'
1526
-                checkDate.push(obj60)
1527
-              } if(this.monitors[i].breathing_rate ==0 && 
1528
-                this.dialysisOrder.end_time >= this.monitors[i].operate_time
1529
-              ){
1530
-                const obj61 = '监测第'+((i*1)+1)+'行呼吸'
1531
-                checkDate.push(obj61)
1532
-              } if((this.monitors[i].systolic_blood_pressure ==0 ||
1533
-                    this.monitors.diastolic_blood_pressure==0) && 
1534
-                    this.dialysisOrder.end_time > this.monitors[i].operate_time
1535
-              ){
1536
-                const obj62 = '监测第'+((i*1)+1)+'行血压'
1537
-                checkDate.push(obj62)
1493
+                  console.log('1111111111',this.dialysisOrder.end_time,this.monitors[i].operate_time);
1494
+                if(this.monitors[i].blood_flow_volume ==0 ){
1495
+                  const obj55 = '监测第'+((i*1)+1)+'行血流量'
1496
+                  checkDate.push(obj55)
1497
+                } if((this.monitors[i].venous_pressure ==0 ||
1498
+                    this.monitors[i].transmembrane_pressure ==0 ) ){
1499
+                  const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
1500
+                  checkDate.push(obj56)
1501
+                } if(this.monitors[i].ultrafiltration_rate ==0 ){
1502
+                  const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1503
+                  checkDate.push(obj57)
1504
+                } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0 ){
1505
+                  const obj53 = '监测第'+((i*1)+1)+'行超滤量'
1506
+                  checkDate.push(obj53)
1507
+                } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'){
1508
+                  const obj58 = '监测第'+((i*1)+1)+'行置换率'
1509
+                  checkDate.push(obj58)
1510
+                } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
1511
+                  const obj54 = '监测第'+((i*1)+1)+'行置换量'
1512
+                  checkDate.push(obj54)
1513
+                } if(this.monitors[i].sodium_concentration ==0 ){
1514
+                  // this.monitors[i].temperature == 0
1515
+                  const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
1516
+                  checkDate.push(obj59)
1517
+                } if(this.monitors[i].pulse_frequency ==0  ){
1518
+                  const obj60 = '监测第'+((i*1)+1)+'行脉搏'
1519
+                  checkDate.push(obj60)
1520
+                } if(this.monitors[i].breathing_rate ==0 ){
1521
+                  const obj61 = '监测第'+((i*1)+1)+'行呼吸'
1522
+                  checkDate.push(obj61)
1523
+                } if((this.monitors[i].systolic_blood_pressure ==0 ||
1524
+                      this.monitors.diastolic_blood_pressure==0) ){
1525
+                  const obj62 = '监测第'+((i*1)+1)+'行血压'
1526
+                  checkDate.push(obj62)
1527
+                }
1538
               }
1528
               }
1539
 
1529
 
1530
+              // if(this.monitors[i].blood_flow_volume ==0 && this.dialysisOrder.end_time >= this.monitors[i].operate_time){
1531
+              //   const obj55 = '监测第'+((i*1)+1)+'行血流量'
1532
+              //   checkDate.push(obj55)
1533
+              // } if((this.monitors[i].venous_pressure ==0 ||
1534
+              //     this.monitors[i].transmembrane_pressure ==0 ) && this.dialysisOrder.end_time >= this.monitors[i].operate_time
1535
+              // ){
1536
+              //   const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
1537
+              //   checkDate.push(obj56)
1538
+              // } if(this.monitors[i].ultrafiltration_rate ==0 && this.dialysisOrder.end_time >= this.monitors[i].operate_time){
1539
+              //   const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1540
+              //   checkDate.push(obj57)
1541
+              // } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0 && 
1542
+              //     this.dialysisOrder.end_time >= this.monitors[i].operate_time
1543
+              // ){
1544
+              //   const obj53 = '监测第'+((i*1)+1)+'行超滤量'
1545
+              //   checkDate.push(obj53)
1546
+              // } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'&& 
1547
+              //     this.dialysisOrder.end_time >= this.monitors[i].operate_time
1548
+              // ){
1549
+              //   const obj58 = '监测第'+((i*1)+1)+'行置换率'
1550
+              //   checkDate.push(obj58)
1551
+              // } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0
1552
+              //     && this.dialysisOrder.end_time >= this.monitors[i].operate_time
1553
+              // ){
1554
+              //   const obj54 = '监测第'+((i*1)+1)+'行置换量'
1555
+              //   checkDate.push(obj54)
1556
+              // } if(this.monitors[i].sodium_concentration ==0 && 
1557
+              //     this.dialysisOrder.end_time >= this.monitors[i].operate_time
1558
+              // ){
1559
+              //   // this.monitors[i].temperature == 0
1560
+              //   const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
1561
+              //   checkDate.push(obj59)
1562
+              // } if(this.monitors[i].pulse_frequency ==0  && 
1563
+              //     this.dialysisOrder.end_time >= this.monitors[i].operate_time
1564
+              // ){
1565
+              //   const obj60 = '监测第'+((i*1)+1)+'行脉搏'
1566
+              //   checkDate.push(obj60)
1567
+              // } if(this.monitors[i].breathing_rate ==0 && 
1568
+              //   this.dialysisOrder.end_time >= this.monitors[i].operate_time
1569
+              // ){
1570
+              //   const obj61 = '监测第'+((i*1)+1)+'行呼吸'
1571
+              //   checkDate.push(obj61)
1572
+              // } if((this.monitors[i].systolic_blood_pressure ==0 ||
1573
+              //       this.monitors.diastolic_blood_pressure==0) && 
1574
+              //       this.dialysisOrder.end_time > this.monitors[i].operate_time
1575
+              // ){
1576
+              //   const obj62 = '监测第'+((i*1)+1)+'行血压'
1577
+              //   checkDate.push(obj62)
1578
+              // }
1579
+
1540
             }
1580
             }
1541
           }
1581
           }
1542
         }
1582
         }

+ 10 - 7
src/pages/main/template/DialysisPrintOrderSixtyeight.vue View File

848
                                       <span>{{
848
                                       <span>{{
849
                                         it.execution_frequency
849
                                         it.execution_frequency
850
                                       }}</span>
850
                                       }}</span>
851
-                                      <!-- {{ it.remark }} -->
852
-                                     <span v-if="it.remark!=''">{{ it.remark }}</span>
851
+                                     <span v-if="it.remark!=''">({{ it.remark }})</span>
853
                               </div> 
852
                               </div> 
854
                             </div>
853
                             </div>
855
                           </div>
854
                           </div>
1966
             let newArr = Object.values(dataInfo)
1965
             let newArr = Object.values(dataInfo)
1967
 
1966
 
1968
             if(newArr!=null && newArr.length >0){
1967
             if(newArr!=null && newArr.length >0){
1969
-            for(let i=0;i<newArr.length;i++){
1970
-              for(let j=0;j<this.doctor_advices.length;j++){
1971
-                if(newArr[i].groupPrescriptionId == this.doctor_advices[j].groupPrescriptionId){
1972
-                    newArr[i].prescriptionChild.push(this.doctor_advices[j])
1968
+              for(let i=0;i<newArr.length;i++){
1969
+                for(let j=0;j<this.doctor_advices.length;j++){
1970
+                  if(newArr[i].groupPrescriptionId == this.doctor_advices[j].groupPrescriptionId){
1971
+                      newArr[i].prescriptionChild.push(this.doctor_advices[j])
1972
+                  }
1973
                 }
1973
                 }
1974
               }
1974
               }
1975
             }
1975
             }
1976
+            for(let i in newArr){
1977
+              if(newArr[i].parent_id == undefined){
1978
+                newArr.splice(i,1)
1979
+              }
1976
             }
1980
             }
1977
-            
1978
             this.doctor_advices = []
1981
             this.doctor_advices = []
1979
             this.doctor_advices = newArr
1982
             this.doctor_advices = newArr
1980
             console.log("newArr",this.doctor_advices)
1983
             console.log("newArr",this.doctor_advices)

+ 42 - 39
src/pages/main/template/DialysisPrintOrdereighty.vue View File

1
 <template>
1
 <template>
2
   <div id="dialysis-print-box-1">
2
   <div id="dialysis-print-box-1">
3
     <el-button type="primary" @click="checkData">一键核对</el-button>
3
     <el-button type="primary" @click="checkData">一键核对</el-button>
4
-    <div id="dialysis-print-box-1-1" class="dialysis-print-order print-template-two print_page_main_content" 
4
+    <div id="dialysis-print-box-1-1" class="dialysis-print-order print-template-two print_page_main_content"
5
       style="margin-left: 10px;font-family: SimSun;"
5
       style="margin-left: 10px;font-family: SimSun;"
6
     >
6
     >
7
       <div style="display:inline-block;width:100%;text-align:center;">
7
       <div style="display:inline-block;width:100%;text-align:center;">
122
                     透析机型号:
122
                     透析机型号:
123
                     <div class="under_line" style="width: 60%; text-align: center">
123
                     <div class="under_line" style="width: 60%; text-align: center">
124
                       <span v-if="dialysisOrder && dialysisOrder.bed_id !=0">
124
                       <span v-if="dialysisOrder && dialysisOrder.bed_id !=0">
125
-                        {{ getnumberlist(dialysisOrder.bed_id) }} 
125
+                        {{ getnumberlist(dialysisOrder.bed_id) }}
126
                       </span>
126
                       </span>
127
                       <span v-else>
127
                       <span v-else>
128
-                        {{ getnumberlist(patientInfo.DialysisSchedule.bed_id) }} 
128
+                        {{ getnumberlist(patientInfo.DialysisSchedule.bed_id) }}
129
                       </span>
129
                       </span>
130
                     </div>
130
                     </div>
131
                   </div>
131
                   </div>
226
                       {{ predialysis.blood_access_part_opera_name }}
226
                       {{ predialysis.blood_access_part_opera_name }}
227
                     </div>
227
                     </div>
228
                   </div>
228
                   </div>
229
-                  
229
+
230
                   <div class="inline_block" style="flex: 1">
230
                   <div class="inline_block" style="flex: 1">
231
                     导管:
231
                     导管:
232
                     <div class="under_line"
232
                     <div class="under_line"
235
                       {{ predialysis.catheter ? predialysis.catheter : "/" }}
235
                       {{ predialysis.catheter ? predialysis.catheter : "/" }}
236
                     </div>
236
                     </div>
237
                   </div>
237
                   </div>
238
-                  
238
+
239
                 </div>
239
                 </div>
240
                 <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
240
                 <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
241
                   <div class="inline_block" style="flex: 1">
241
                   <div class="inline_block" style="flex: 1">
343
                           : "/"
343
                           : "/"
344
                       }}
344
                       }}
345
                     </div>
345
                     </div>
346
-                    kg
346
+                    L
347
                   </div>
347
                   </div>
348
                 </div>
348
                 </div>
349
                 <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;" >
349
                 <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;" >
366
                       style="width: 50px; text-align: center"
366
                       style="width: 50px; text-align: center"
367
                     >
367
                     >
368
                       {{ prescription.kalium ? prescription.kalium : "/" }}
368
                       {{ prescription.kalium ? prescription.kalium : "/" }}
369
-                      
369
+
370
                     </div>
370
                     </div>
371
                     mmol/L
371
                     mmol/L
372
                   </div>
372
                   </div>
382
                     <div class="under_line"
382
                     <div class="under_line"
383
                       style="width: 35px; text-align: center"
383
                       style="width: 35px; text-align: center"
384
                     >
384
                     >
385
-                      <span> {{ prescription.calcium ? prescription.calcium : "/" }}</span>                     
385
+                      <span> {{ prescription.calcium ? prescription.calcium : "/" }}</span>
386
                     </div>
386
                     </div>
387
                     mmol/L
387
                     mmol/L
388
                   </div>
388
                   </div>
396
                         prescription.bicarbonate ? prescription.bicarbonate : "/"
396
                         prescription.bicarbonate ? prescription.bicarbonate : "/"
397
                       }}
397
                       }}
398
                       </span>
398
                       </span>
399
-                      
399
+
400
                     </div>
400
                     </div>
401
                     mmol/L
401
                     mmol/L
402
-                  </div> 
402
+                  </div>
403
                 </div>
403
                 </div>
404
                 <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;" >
404
                 <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;" >
405
                   <div class="inline_block" style="flex: 1;">
405
                   <div class="inline_block" style="flex: 1;">
427
                     <span v-if="prescription.anticoagulant!=''">
427
                     <span v-if="prescription.anticoagulant!=''">
428
                       {{ getshouji(prescription.anticoagulant) }}
428
                       {{ getshouji(prescription.anticoagulant) }}
429
                     </span>
429
                     </span>
430
-                    
430
+
431
                   </div>
431
                   </div>
432
                   <div class="inline_block" style="flex: 1;">
432
                   <div class="inline_block" style="flex: 1;">
433
                     追加:
433
                     追加:
443
                     <span v-if="prescription.anticoagulant!=''">
443
                     <span v-if="prescription.anticoagulant!=''">
444
                       {{ getweichi(prescription.anticoagulant) }}
444
                       {{ getweichi(prescription.anticoagulant) }}
445
                     </span>
445
                     </span>
446
-                    
446
+
447
                   </div>
447
                   </div>
448
                   <div class="inline_block" style="flex: 1;"
448
                   <div class="inline_block" style="flex: 1;"
449
                     v-if="prescription.anticoagulant == 5"
449
                     v-if="prescription.anticoagulant == 5"
492
                     <span v-if="prescription.anticoagulant!=''">
492
                     <span v-if="prescription.anticoagulant!=''">
493
                       {{ getzongliang(prescription.anticoagulant) }}
493
                       {{ getzongliang(prescription.anticoagulant) }}
494
                     </span>
494
                     </span>
495
-                    
495
+
496
                   </div>
496
                   </div>
497
                 </div>
497
                 </div>
498
                 <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
498
                 <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
689
                         <span v-if="advice.parent_id == 0">{{advice.execution_frequency}}</span>
689
                         <span v-if="advice.parent_id == 0">{{advice.execution_frequency}}</span>
690
                         <span v-if="advice.parent_id == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
690
                         <span v-if="advice.parent_id == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
691
                       </td>
691
                       </td>
692
-                      
692
+
693
                       <td height="35px">
693
                       <td height="35px">
694
                         <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
694
                         <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
695
                         <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
695
                         <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
696
                       </td>
696
                       </td>
697
-                
697
+
698
                       <td height="35px">
698
                       <td height="35px">
699
                         <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
699
                         <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
700
                         <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
700
                         <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
785
                   </div>
785
                   </div>
786
                   次/分
786
                   次/分
787
                 </div>
787
                 </div>
788
-                   
788
+
789
               </div>
789
               </div>
790
 
790
 
791
               <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
791
               <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
900
                   <span>
900
                   <span>
901
                       透析中入量(L):
901
                       透析中入量(L):
902
                     </span>
902
                     </span>
903
-                  
903
+
904
                   <div
904
                   <div
905
                     class="under_line"
905
                     class="under_line"
906
                     style="width: 70px; text-align: center"
906
                     style="width: 70px; text-align: center"
982
           <tr>
982
           <tr>
983
             <td>
983
             <td>
984
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
984
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
985
-             
985
+
986
                 <div class="inline_block" style="flex: 1">
986
                 <div class="inline_block" style="flex: 1">
987
                   上机护士:
987
                   上机护士:
988
                   <div  class="under_line"
988
                   <div  class="under_line"
1021
                     />
1021
                     />
1022
                   </div>
1022
                   </div>
1023
                 </div>
1023
                 </div>
1024
-            
1024
+
1025
                 <div class="inline_block" style="flex:1;">
1025
                 <div class="inline_block" style="flex:1;">
1026
                   <span> 核对护士:</span>
1026
                   <span> 核对护士:</span>
1027
                   <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder == null">
1027
                   <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder == null">
1054
                     style="width: 64%; text-align: center"
1054
                     style="width: 64%; text-align: center"
1055
                   >
1055
                   >
1056
                     <span style="height: 30px;display: inline-block;">
1056
                     <span style="height: 30px;display: inline-block;">
1057
-                      
1057
+
1058
                     </span>
1058
                     </span>
1059
                     <span v-if="dialysisOrder!=null">
1059
                     <span v-if="dialysisOrder!=null">
1060
-                      {{getTime(dialysisOrder.start_time, "{y}-{m}-{d} {h}:{i}") ? 
1060
+                      {{getTime(dialysisOrder.start_time, "{y}-{m}-{d} {h}:{i}") ?
1061
                       getTime(dialysisOrder.start_time, "{y}-{m}-{d} {h}:{i}") :''}}
1061
                       getTime(dialysisOrder.start_time, "{y}-{m}-{d} {h}:{i}") :''}}
1062
                     </span>
1062
                     </span>
1063
-                    
1063
+
1064
                   </div>
1064
                   </div>
1065
                 </div>
1065
                 </div>
1066
                 <div class="inline_block" style="flex: 1.1">
1066
                 <div class="inline_block" style="flex: 1.1">
1071
                     <span style="height: 30px; display: inline-block">
1071
                     <span style="height: 30px; display: inline-block">
1072
                     </span>
1072
                     </span>
1073
                     <span v-if="dialysisOrder!=null">
1073
                     <span v-if="dialysisOrder!=null">
1074
-                      {{ getTime(dialysisOrder.end_time, "{y}-{m}-{d} {h}:{i}") ? 
1074
+                      {{ getTime(dialysisOrder.end_time, "{y}-{m}-{d} {h}:{i}") ?
1075
                       getTime(dialysisOrder.end_time, "{y}-{m}-{d} {h}:{i}") : "0" }}
1075
                       getTime(dialysisOrder.end_time, "{y}-{m}-{d} {h}:{i}") : "0" }}
1076
                     </span>
1076
                     </span>
1077
-                    
1077
+
1078
 
1078
 
1079
                   </div>
1079
                   </div>
1080
                 </div>
1080
                 </div>
1095
 import { getDataConfig } from '@/utils/data'
1095
 import { getDataConfig } from '@/utils/data'
1096
 import { jsGetAge, uParseTime, uParseTimeOne } from '@/utils/tools'
1096
 import { jsGetAge, uParseTime, uParseTimeOne } from '@/utils/tools'
1097
 import LabelBox from '../printItem/LabelBox'
1097
 import LabelBox from '../printItem/LabelBox'
1098
-import {Toast} from 'vant'
1098
+import {Dialog} from 'vant'
1099
 // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
1099
 // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
1100
 // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
1100
 // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
1101
 import print from 'print-js'
1101
 import print from 'print-js'
1247
       ) {
1247
       ) {
1248
         const obj4 = "透前血压"
1248
         const obj4 = "透前血压"
1249
         checkDate.push(obj4)
1249
         checkDate.push(obj4)
1250
-      } if (this.prescription.dialysis_duration_hour == 0 && 
1250
+      } if (this.prescription.dialysis_duration_hour == 0 &&
1251
             this.prescription.dialysis_duration_minute ==0
1251
             this.prescription.dialysis_duration_minute ==0
1252
       ) {
1252
       ) {
1253
         const obj5 = "透析时间"
1253
         const obj5 = "透析时间"
1261
       } if (this.predialysis.catheter == '' ) {
1261
       } if (this.predialysis.catheter == '' ) {
1262
         const obj8 = "导管"
1262
         const obj8 = "导管"
1263
         checkDate.push(obj8)
1263
         checkDate.push(obj8)
1264
-      } if (this.prescription.dialyzer_perfusion_apparatus == '' && 
1264
+      } if (this.prescription.dialyzer_perfusion_apparatus == '' &&
1265
             this.prescription.dialysis_dialyszers ==''
1265
             this.prescription.dialysis_dialyszers ==''
1266
       ) {
1266
       ) {
1267
         const obj9 = "透析(滤)器"
1267
         const obj9 = "透析(滤)器"
1318
         const obj24 = "首剂"
1318
         const obj24 = "首剂"
1319
         checkDate.push(obj24)
1319
         checkDate.push(obj24)
1320
       }if (this.prescription.anticoagulant_zongliang == 0 &&
1320
       }if (this.prescription.anticoagulant_zongliang == 0 &&
1321
-        this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !='' && prescription.anticoagulant != 5
1321
+        this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !='' && this.prescription.anticoagulant != 5
1322
       ) {
1322
       ) {
1323
         const obj25 = "总量"
1323
         const obj25 = "总量"
1324
         checkDate.push(obj25)
1324
         checkDate.push(obj25)
1434
             }
1434
             }
1435
           })
1435
           })
1436
       }
1436
       }
1437
- 
1437
+
1438
       this.getcheckData(checkDate)
1438
       this.getcheckData(checkDate)
1439
     },
1439
     },
1440
     getDisplaceLiquiPart: function (val) {
1440
     getDisplaceLiquiPart: function (val) {
1573
       // getDialysisRecord(this.queryParams).then(response => {
1573
       // getDialysisRecord(this.queryParams).then(response => {
1574
       var response = this.childResponse
1574
       var response = this.childResponse
1575
       if (response.data.state == 1) {
1575
       if (response.data.state == 1) {
1576
-        console.log('1234566',response.data.data);  
1576
+        console.log('1234566',response.data.data);
1577
         this.adminUser = response.data.data.users
1577
         this.adminUser = response.data.data.users
1578
         this.users = response.data.data.users
1578
         this.users = response.data.data.users
1579
         this.patientInfo = response.data.data.patientInfo
1579
         this.patientInfo = response.data.data.patientInfo
1741
             if(this.org_id!=10683){
1741
             if(this.org_id!=10683){
1742
               this.monitors[index].end = '【结束透析】'
1742
               this.monitors[index].end = '【结束透析】'
1743
             }
1743
             }
1744
-             
1744
+
1745
               tempmonitorflag = false
1745
               tempmonitorflag = false
1746
             }
1746
             }
1747
             if (tempmonitorflag && index == this.monitors.length - 1) {
1747
             if (tempmonitorflag && index == this.monitors.length - 1) {
1748
               if(this.org_id!=10683){
1748
               if(this.org_id!=10683){
1749
                 this.monitors[index].end = '【结束透析】'
1749
                 this.monitors[index].end = '【结束透析】'
1750
               }
1750
               }
1751
-             
1751
+
1752
             }
1752
             }
1753
           }
1753
           }
1754
         }
1754
         }
1914
         }
1914
         }
1915
         this.totollength = this.doctor_advices.length + this.monitors.length
1915
         this.totollength = this.doctor_advices.length + this.monitors.length
1916
         console.log(this.advice_groups)
1916
         console.log(this.advice_groups)
1917
-       
1917
+
1918
       } else {
1918
       } else {
1919
         this.loading = false
1919
         this.loading = false
1920
         this.$message.error('请求数据失败')
1920
         this.$message.error('请求数据失败')
2004
       if(id != 0){
2004
       if(id != 0){
2005
         for(let i in options){
2005
         for(let i in options){
2006
           if(id == options[i].id){
2006
           if(id == options[i].id){
2007
-            console.log('anticoagulantsConfit11111',id); 
2007
+            console.log('anticoagulantsConfit11111',id);
2008
             return options[i].shouji_unit
2008
             return options[i].shouji_unit
2009
           }
2009
           }
2010
         }
2010
         }
2048
     getcheckData(val){
2048
     getcheckData(val){
2049
       if(val.length >0){
2049
       if(val.length >0){
2050
         let message = `记录单未填数据:\n${val.join("\n")}`;
2050
         let message = `记录单未填数据:\n${val.join("\n")}`;
2051
-        Toast({
2052
-          duration:0,
2051
+        Dialog.confirm({
2052
+          allowHtml:true,
2053
           message:message,
2053
           message:message,
2054
-          closeOnClick:true,
2055
-          closeOnClickOverlay:true,
2056
-        })
2054
+        }).then(() => {
2055
+
2056
+          })
2057
+          .catch(() => {
2058
+
2059
+          });
2057
         return message
2060
         return message
2058
       }else{
2061
       }else{
2059
         this.$toast('核对完成');
2062
         this.$toast('核对完成');