Browse Source

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

28169 1 month ago
parent
commit
0100d08912

+ 4 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_eightyfour.vue View File

367
                   <div style="flex: 1;">
367
                   <div style="flex: 1;">
368
                     <div style="display: inline-block;margin-right: 120px;">
368
                     <div style="display: inline-block;margin-right: 120px;">
369
                       <span style="display: inline-block;">医生签名:</span>杨能华/
369
                       <span style="display: inline-block;">医生签名:</span>杨能华/
370
-                      <span v-if="record.advices.length>0">
371
-                        <span v-if="setAdminUserES(record.advices[0][0],'advice_doctor') == ''">
372
-                          {{ getAdminUser(record.advices[0][0],'advice_doctor') }}
370
+                      <span>
371
+                        <span v-if="setAdminUserES(record.prescription,'creater') == ''">
372
+                          {{ getAdminUser(record.prescription,'creater') }}
373
                         </span>
373
                         </span>
374
-                        <img class="es-img" :src="setAdminUserES(record.advices[0][0],'advice_doctor')" alt=""
374
+                        <img class="es-img" :src="setAdminUserES(record.prescription,'creater')" alt=""
375
                           srcset="" v-else style="height: 30px;" />
375
                           srcset="" v-else style="height: 30px;" />
376
                       </span>
376
                       </span>
377
                     </div>
377
                     </div>

+ 4 - 4
src/xt_pages/dialysis/template/DialysisPrintOrdereightyfour.vue View File

323
             <div style="flex: 1;">
323
             <div style="flex: 1;">
324
               <div style="display: inline-block;margin-right: 120px;">
324
               <div style="display: inline-block;margin-right: 120px;">
325
                 <span style="display: inline-block;">医生签名:</span>杨能华/
325
                 <span style="display: inline-block;">医生签名:</span>杨能华/
326
-                <span v-if="tableAdvice.length>0">
327
-                  <span style="display: inline-block;" v-if="setAdminUserES(tableAdvice[0].advice_doctor) == ''">
328
-                    {{ getAdminUser(tableAdvice[0].advice_doctor)}}
326
+                <span>
327
+                  <span style="display: inline-block;" v-if="setAdminUserES(prescription.creater) == ''">
328
+                    {{ getAdminUser(prescription.creater)}}
329
                   </span>
329
                   </span>
330
                   <span style="display: inline-block;" v-else>
330
                   <span style="display: inline-block;" v-else>
331
-                    <img style="height:30px;" :src="setAdminUserES(tableAdvice[0].advice_doctor)" alt srcset />
331
+                    <img style="height:30px;" :src="setAdminUserES(prescription.creater)" alt srcset />
332
                   </span>
332
                   </span>
333
                 </span>
333
                 </span>
334
               </div>
334
               </div>

+ 128 - 72
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue View File

117
                       首次透析时间:
117
                       首次透析时间:
118
                       <div class="under_line" style="width: 70px; text-align: center">
118
                       <div class="under_line" style="width: 70px; text-align: center">
119
                         {{
119
                         {{
120
-                          patientInfo.first_treatment_date ? getTime(patientInfo.first_treatment_date, "{y}-{m}-{d}") : '/'
120
+                          patientInfo.first_treatment_date ? getTime(patientInfo.first_treatment_date, "{y}-{m}-{d}") :
121
+                            '/'
121
                         }}
122
                         }}
122
                       </div>
123
                       </div>
123
                     </div>
124
                     </div>
363
                         <!-- {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}} -->
364
                         <!-- {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}} -->
364
 
365
 
365
 
366
 
366
-                        <span
367
-                          v-if="lastafterdialysis.weight_after > 0">{{ lastafterdialysis.weight_after ? lastafterdialysis.weight_after : "未称重" }}</span>
368
-                        <span
369
-                          v-if="lastafterdialysis.weight_after <= 0">{{ afterdialysis.last_after_weight ? afterdialysis.last_after_weight : "未称重" }}</span>
367
+                        <span v-if="lastafterdialysis.weight_after > 0">{{ lastafterdialysis.weight_after ?
368
+                          lastafterdialysis.weight_after : "未称重" }}</span>
369
+                        <span v-if="lastafterdialysis.weight_after <= 0">{{ afterdialysis.last_after_weight ?
370
+                          afterdialysis.last_after_weight : "未称重" }}</span>
370
                       </div>
371
                       </div>
371
                       kg
372
                       kg
372
                     </div>
373
                     </div>
391
                         <span>
392
                         <span>
392
                           <!-- {{ (predialysis.weight_before - lastafterdialysis.weight_after).toFixed(2)}} -->
393
                           <!-- {{ (predialysis.weight_before - lastafterdialysis.weight_after).toFixed(2)}} -->
393
                           <span v-if="lastafterdialysis.weight_after > 0">{{ (predialysis.weight_before -
394
                           <span v-if="lastafterdialysis.weight_after > 0">{{ (predialysis.weight_before -
394
-                            predialysis.additional_weight - lastafterdialysis.weight_after).toFixed(2)}}
395
+                            predialysis.additional_weight - lastafterdialysis.weight_after).toFixed(2) }}
395
                           </span>
396
                           </span>
396
                           <span v-if="lastafterdialysis.weight_after <= 0 && afterdialysis.last_after_weight > 0">
397
                           <span v-if="lastafterdialysis.weight_after <= 0 && afterdialysis.last_after_weight > 0">
397
                             {{ (predialysis.weight_before - predialysis.additional_weight
398
                             {{ (predialysis.weight_before - predialysis.additional_weight
398
-                              - afterdialysis.last_after_weight).toFixed(2)}}
399
+                              - afterdialysis.last_after_weight).toFixed(2) }}
399
                           </span>
400
                           </span>
400
                           <span v-if="lastafterdialysis.weight_after <= 0 && afterdialysis.last_after_weight == 0">
401
                           <span v-if="lastafterdialysis.weight_after <= 0 && afterdialysis.last_after_weight == 0">
401
                             /
402
                             /
468
                       抗凝剂:
469
                       抗凝剂:
469
                       <div class="under_line" style="width: 60%; text-align: center">
470
                       <div class="under_line" style="width: 60%; text-align: center">
470
                         <span v-if="prescription.anticoagulant_name == '低分子肝素钙'">低分子量肝素钙</span>
471
                         <span v-if="prescription.anticoagulant_name == '低分子肝素钙'">低分子量肝素钙</span>
471
-                        <span
472
-                          v-if="prescription.anticoagulant_name != '低分子肝素钙'">{{ prescription.anticoagulant_name }}</span>
472
+                        <span v-if="prescription.anticoagulant_name != '低分子肝素钙'">{{ prescription.anticoagulant_name
473
+                          }}</span>
473
                       </div>
474
                       </div>
474
                     </div>
475
                     </div>
475
                     <div class="inline_block" style="flex: 1;" v-if="prescription.anticoagulant != 5">
476
                     <div class="inline_block" style="flex: 1;" v-if="prescription.anticoagulant != 5">
610
                         <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</td>
611
                         <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</td>
611
                         <td>
612
                         <td>
612
                           <span v-if="monitor.systolic_blood_pressure > 0">{{ monitor.replacement_rate ?
613
                           <span v-if="monitor.systolic_blood_pressure > 0">{{ monitor.replacement_rate ?
613
-                            monitor.replacement_rate : '/'}}</span>
614
+                            monitor.replacement_rate : '/' }}</span>
614
                           <span v-if="monitor.systolic_blood_pressure == 0">{{ monitor.replacement_rate ?
615
                           <span v-if="monitor.systolic_blood_pressure == 0">{{ monitor.replacement_rate ?
615
-                            monitor.replacement_rate : ''}}</span>
616
+                            monitor.replacement_rate : '' }}</span>
616
                         </td>
617
                         </td>
617
                         <td>
618
                         <td>
618
                           <span v-if="monitor.systolic_blood_pressure > 0">{{ monitor.ultrafiltration_rate ?
619
                           <span v-if="monitor.systolic_blood_pressure > 0">{{ monitor.ultrafiltration_rate ?
622
                         </td>
623
                         </td>
623
                         <td>
624
                         <td>
624
                           <span v-if="monitor.systolic_blood_pressure > 0"> {{ monitor.ultrafiltration_volume ?
625
                           <span v-if="monitor.systolic_blood_pressure > 0"> {{ monitor.ultrafiltration_volume ?
625
-                            monitor.ultrafiltration_volume: "0"}}</span>
626
+                            monitor.ultrafiltration_volume : "0" }}</span>
626
                           <span v-if="monitor.systolic_blood_pressure == 0"> {{ monitor.ultrafiltration_volume ?
627
                           <span v-if="monitor.systolic_blood_pressure == 0"> {{ monitor.ultrafiltration_volume ?
627
-                            monitor.ultrafiltration_volume: ""}}</span>
628
+                            monitor.ultrafiltration_volume : "" }}</span>
628
                         </td>
629
                         </td>
629
                         <td>
630
                         <td>
630
                           <span v-if="monitor.systolic_blood_pressure > 0"> {{ monitor.venous_pressure ?
631
                           <span v-if="monitor.systolic_blood_pressure > 0"> {{ monitor.venous_pressure ?
631
-                            monitor.venous_pressure : "/"}}</span>
632
+                            monitor.venous_pressure : "/" }}</span>
632
                           <span v-if="monitor.systolic_blood_pressure == 0"> {{ monitor.venous_pressure ?
633
                           <span v-if="monitor.systolic_blood_pressure == 0"> {{ monitor.venous_pressure ?
633
-                            monitor.venous_pressure : ""}}</span>
634
+                            monitor.venous_pressure : "" }}</span>
634
                         </td>
635
                         </td>
635
                         <td>{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}</td>
636
                         <td>{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}</td>
636
                         <td>{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</td>
637
                         <td>{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</td>
747
                           <span v-if="advice != null && advice.execution_staff > 0">
748
                           <span v-if="advice != null && advice.execution_staff > 0">
748
                             <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
749
                             <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
749
                               getAdminUser(advice.execution_staff)
750
                               getAdminUser(advice.execution_staff)
750
-                              }}</span>
751
+                            }}</span>
751
                             <img style="height: 30px" :src="setAdminUserES(advice.execution_staff)" alt="" srcset=""
752
                             <img style="height: 30px" :src="setAdminUserES(advice.execution_staff)" alt="" srcset=""
752
                               v-else />
753
                               v-else />
753
                           </span>
754
                           </span>
978
                       <div class="under_line" style="width: 90px; text-align: center"
979
                       <div class="under_line" style="width: 90px; text-align: center"
979
                         v-if="predialysis.internal_fistula != ''">
980
                         v-if="predialysis.internal_fistula != ''">
980
                         <span style="height: 30px; display: inline-block" v-if="
981
                         <span style="height: 30px; display: inline-block" v-if="
981
-                          setAdminUserES( dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''
982
+                          setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''
982
                         ">
983
                         ">
983
                           {{
984
                           {{
984
                             getAdminUser(
985
                             getAdminUser(
1437
       if (this.predialysis.symptom_before_dialysis == "") {
1438
       if (this.predialysis.symptom_before_dialysis == "") {
1438
         const obj = '透前症状'
1439
         const obj = '透前症状'
1439
         checkDate.push(obj)
1440
         checkDate.push(obj)
1440
-      } if (this.predialysis.temperature == "") {
1441
+      } if (this.predialysis.temperature == "" ||
1442
+        this.predialysis.temperature < 36 ||
1443
+        this.predialysis.temperature > 37
1444
+      ) {
1441
         const obj1 = '透前体温'
1445
         const obj1 = '透前体温'
1442
         checkDate.push(obj1)
1446
         checkDate.push(obj1)
1443
-      } if (this.predialysis.pulse_frequency == "") {
1447
+      } if (this.predialysis.pulse_frequency == "" ||
1448
+        this.predialysis.pulse_frequency < 60 ||
1449
+        this.predialysis.pulse_frequency > 100
1450
+      ) {
1444
         const obj2 = '透前脉搏'
1451
         const obj2 = '透前脉搏'
1445
         checkDate.push(obj2)
1452
         checkDate.push(obj2)
1446
-      } if (this.predialysis.breathing_rate == "") {
1453
+      } if (this.predialysis.breathing_rate == "" ||
1454
+        this.predialysis.breathing_rate < 12 ||
1455
+        this.predialysis.breathing_rate > 20
1456
+      ) {
1447
         const obj3 = '透前呼吸'
1457
         const obj3 = '透前呼吸'
1448
         checkDate.push(obj3)
1458
         checkDate.push(obj3)
1449
       } if (this.predialysis.systolic_blood_pressure == 0 ||
1459
       } if (this.predialysis.systolic_blood_pressure == 0 ||
1450
-        this.predialysis.diastolic_blood_pressure == 0
1460
+        this.predialysis.systolic_blood_pressure < 90 ||
1461
+        this.predialysis.systolic_blood_pressure > 180 ||
1462
+        this.predialysis.diastolic_blood_pressure == 0 ||
1463
+        this.predialysis.diastolic_blood_pressure < 60 ||
1464
+        this.predialysis.diastolic_blood_pressure > 120
1451
       ) {
1465
       ) {
1452
         const obj4 = '透前血压'
1466
         const obj4 = '透前血压'
1453
         checkDate.push(obj4)
1467
         checkDate.push(obj4)
1481
       ) {
1495
       ) {
1482
         const obj12 = '置换量'
1496
         const obj12 = '置换量'
1483
         checkDate.push(obj12)
1497
         checkDate.push(obj12)
1484
-      } if (this.prescription.blood_flow_volume == 0) {
1498
+      } if (this.prescription.blood_flow_volume == 0 ||
1499
+        this.prescription.blood_flow_volume < 180 ||
1500
+        this.prescription.blood_flow_volume > 300
1501
+      ) {
1485
         const obj13 = '血流量'
1502
         const obj13 = '血流量'
1486
         checkDate.push(obj13)
1503
         checkDate.push(obj13)
1487
       } if (this.prescription.dialysis_duration_hour == '' &&
1504
       } if (this.prescription.dialysis_duration_hour == '' &&
1512
       } if (this.prescription.calcium == 0) {
1529
       } if (this.prescription.calcium == 0) {
1513
         const obj21 = '钙'
1530
         const obj21 = '钙'
1514
         checkDate.push(obj21)
1531
         checkDate.push(obj21)
1515
-      } if (this.prescription.sodium == 0) {
1532
+      } if (this.prescription.sodium == 0 ||
1533
+        this.prescription.sodium != 138
1534
+      ) {
1516
         const obj22 = '钠'
1535
         const obj22 = '钠'
1517
         checkDate.push(obj22)
1536
         checkDate.push(obj22)
1518
       } if (this.prescription.kalium == 0) {
1537
       } if (this.prescription.kalium == 0) {
1553
       ) {
1572
       ) {
1554
         const obj31 = '钙名称'
1573
         const obj31 = '钙名称'
1555
         checkDate.push(obj31)
1574
         checkDate.push(obj31)
1556
-      } else if (
1575
+      } if (
1557
         this.prescription.anticoagulant_gaijiliang == "" &&
1576
         this.prescription.anticoagulant_gaijiliang == "" &&
1558
         this.prescription.anticoagulant == 5
1577
         this.prescription.anticoagulant == 5
1559
       ) {
1578
       ) {
1580
       } if (this.afterdialysis.weight_after == 0) {
1599
       } if (this.afterdialysis.weight_after == 0) {
1581
         const obj38 = '透后体重'
1600
         const obj38 = '透后体重'
1582
         checkDate.push(obj38)
1601
         checkDate.push(obj38)
1583
-      } if (this.afterdialysis.temperature == 0) {
1602
+      } if (this.afterdialysis.temperature == 0 ||
1603
+        this.afterdialysis.temperature < 36 ||
1604
+        this.afterdialysis.temperature > 37
1605
+      ) {
1584
         const obj39 = '透后体温'
1606
         const obj39 = '透后体温'
1585
         checkDate.push(obj39)
1607
         checkDate.push(obj39)
1586
-      } if (this.afterdialysis.pulse_frequency == 0) {
1608
+      } if (this.afterdialysis.pulse_frequency == 0 ||
1609
+        this.afterdialysis.pulse_frequency < 60 ||
1610
+        this.afterdialysis.pulse_frequency > 100
1611
+      ) {
1587
         const obj40 = '透后脉搏'
1612
         const obj40 = '透后脉搏'
1588
         checkDate.push(obj40)
1613
         checkDate.push(obj40)
1589
-      } if (this.afterdialysis.breathing_rate == 0) {
1614
+      } if (this.afterdialysis.breathing_rate == 0 ||
1615
+        this.afterdialysis.breathing_rate < 12 ||
1616
+        this.afterdialysis.breathing_rate > 20
1617
+      ) {
1590
         const obj41 = '透后呼吸频率'
1618
         const obj41 = '透后呼吸频率'
1591
         checkDate.push(obj41)
1619
         checkDate.push(obj41)
1592
       } if (
1620
       } if (
1593
         this.afterdialysis.systolic_blood_pressure == 0 ||
1621
         this.afterdialysis.systolic_blood_pressure == 0 ||
1594
-        this.afterdialysis.diastolic_blood_pressure == 0
1622
+        this.afterdialysis.systolic_blood_pressure < 90 ||
1623
+        this.afterdialysis.systolic_blood_pressure > 180 ||
1624
+        this.afterdialysis.diastolic_blood_pressure == 0 ||
1625
+        this.afterdialysis.diastolic_blood_pressure < 60 ||
1626
+        this.afterdialysis.diastolic_blood_pressure > 120
1595
       ) {
1627
       ) {
1596
         const obj42 = '透后血压'
1628
         const obj42 = '透后血压'
1597
         checkDate.push(obj42)
1629
         checkDate.push(obj42)
1660
       }
1692
       }
1661
       if (this.monitors.length > 0) {
1693
       if (this.monitors.length > 0) {
1662
         for (let i in this.monitors) {
1694
         for (let i in this.monitors) {
1663
-          if (this.monitors[i].blood_flow_volume == 0) {
1664
-            const obj55 = '监测第' + ((i * 1) + 1) + '行血流量'
1665
-            monearr.push(obj55)
1666
-          } if (this.monitors[i].venous_pressure == 0) {
1667
-            const obj56 = '监测第' + ((i * 1) + 1) + '行静脉压'
1668
-            monearr.push(obj56)
1669
-          } if (this.monitors[i].ultrafiltration_rate == 0) {
1670
-            const obj57 = '监测第' + ((i * 1) + 1) + '行超滤率'
1671
-            monearr.push(obj57)
1672
-          } if (this.monitors[i].ultrafiltration_volume == 0 && i != 0) {
1673
-            const obj53 = '监测第' + ((i * 1) + 1) + '行超滤量'
1674
-            monearr.push(obj53)
1675
-          } if (this.monitors[i].replacement_rate == 0 && this.prescription.mode == 'HDF'
1676
-          ) {
1677
-            const obj58 = '监测第' + ((i * 1) + 1) + '行置换率'
1678
-            monearr.push(obj58)
1679
-          }
1680
-          // if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
1681
-          //   const obj54 = '监测第'+((i*1)+1)+'行置换量'
1682
-          //   monearr.push(obj54)
1683
-          // }
1684
-          if (this.monitors[i].sodium_concentration == 0) {
1685
-            // this.monitors[i].temperature == 0
1686
-            const obj59 = '监测第' + ((i * 1) + 1) + '行钠浓度'
1687
-            monearr.push(obj59)
1688
-          } if (this.monitors[i].pulse_frequency == 0) {
1689
-            const obj60 = '监测第' + ((i * 1) + 1) + '行脉搏'
1690
-            monearr.push(obj60)
1691
-          } if (this.monitors[i].breathing_rate == 0) {
1692
-            const obj61 = '监测第' + ((i * 1) + 1) + '行呼吸'
1693
-            monearr.push(obj61)
1694
-          } if (this.monitors[i].systolic_blood_pressure == 0 ||
1695
-            this.monitors.diastolic_blood_pressure == 0) {
1696
-            const obj62 = '监测第' + ((i * 1) + 1) + '行血压'
1697
-            monearr.push(obj62)
1698
-          } if (this.monitors[i].temperature == 0) {
1699
-            const obj51 = '监测第' + ((i * 1) + 1) + '行温度'
1700
-            monearr.push(obj51)
1701
-          } if (this.monitors[i].transmembrane_pressure == 0) {
1702
-            const obj52 = '监测第' + ((i * 1) + 1) + '行跨膜压'
1703
-            monearr.push(obj52)
1695
+          if (this.monitors[i].operate_time != null) {
1696
+            if (this.monitors[i].blood_flow_volume == 0 ||
1697
+              this.prescription.blood_flow_volume < 180 ||
1698
+              this.prescription.blood_flow_volume > 300
1699
+            ) {
1700
+              const obj55 = '监测第' + ((i * 1) + 1) + '行血流量'
1701
+              monearr.push(obj55)
1702
+            } if (this.monitors[i].venous_pressure == 0 ||
1703
+              this.monitors[i].venous_pressure < 20 ||
1704
+              this.monitors[i].venous_pressure > 150
1705
+            ) {
1706
+              const obj56 = '监测第' + ((i * 1) + 1) + '行静脉压'
1707
+              monearr.push(obj56)
1708
+            } if (this.monitors[i].ultrafiltration_rate == 0) {
1709
+              const obj57 = '监测第' + ((i * 1) + 1) + '行超滤率'
1710
+              monearr.push(obj57)
1711
+            } if (this.monitors[i].ultrafiltration_volume == 0 && i != 0) {
1712
+              const obj53 = '监测第' + ((i * 1) + 1) + '行超滤量'
1713
+              monearr.push(obj53)
1714
+            } if (this.monitors[i].replacement_rate == 0 && this.prescription.mode == 'HDF'
1715
+            ) {
1716
+              const obj58 = '监测第' + ((i * 1) + 1) + '行置换率'
1717
+              monearr.push(obj58)
1718
+            }
1719
+            // if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
1720
+            //   const obj54 = '监测第'+((i*1)+1)+'行置换量'
1721
+            //   monearr.push(obj54)
1722
+            // }
1723
+            if (this.monitors[i].sodium_concentration == 0 ||
1724
+              this.monitors[i].sodium_concentration != 138
1725
+            ) {
1726
+              // this.monitors[i].temperature == 0
1727
+              const obj59 = '监测第' + ((i * 1) + 1) + '行钠浓度'
1728
+              monearr.push(obj59)
1729
+            } if (this.monitors[i].pulse_frequency == 0 ||
1730
+              this.monitors[i].pulse_frequency < 60 ||
1731
+              this.monitors[i].pulse_frequency > 100
1732
+            ) {
1733
+              const obj60 = '监测第' + ((i * 1) + 1) + '行脉搏'
1734
+              monearr.push(obj60)
1735
+            } if (this.monitors[i].breathing_rate == 0 ||
1736
+              this.monitors[i].breathing_rate < 12 ||
1737
+              this.monitors[i].breathing_rate > 20
1738
+            ) {
1739
+              const obj61 = '监测第' + ((i * 1) + 1) + '行呼吸'
1740
+              monearr.push(obj61)
1741
+            } if (this.monitors[i].systolic_blood_pressure == 0 ||
1742
+              this.monitors[i].systolic_blood_pressure < 90 ||
1743
+              this.monitors[i].systolic_blood_pressure > 180 ||
1744
+              this.monitors.diastolic_blood_pressure == 0 ||
1745
+              this.monitors[i].diastolic_blood_pressure < 60 ||
1746
+              this.monitors[i].diastolic_blood_pressure > 120
1747
+            ) {
1748
+              const obj62 = '监测第' + ((i * 1) + 1) + '行血压'
1749
+              monearr.push(obj62)
1750
+            } if (this.monitors[i].temperature == 0||
1751
+                  this.monitors[i].temperature < 36 ||
1752
+                  this.monitors[i].temperature > 37
1753
+            ) {
1754
+              const obj51 = '监测第' + ((i * 1) + 1) + '行温度'
1755
+              monearr.push(obj51)
1756
+            } if (this.monitors[i].transmembrane_pressure == 0 ||
1757
+              this.monitors[i].transmembrane_pressure < 20 ||
1758
+              this.monitors[i].transmembrane_pressure > 300
1759
+            ) {
1760
+              const obj52 = '监测第' + ((i * 1) + 1) + '行跨膜压'
1761
+              monearr.push(obj52)
1762
+            }
1704
           }
1763
           }
1705
-
1706
         }
1764
         }
1707
       }
1765
       }
1708
-
1709
-
1710
       if (monearr.length > 0) {
1766
       if (monearr.length > 0) {
1711
         checkDate = checkDate.concat(monearr)
1767
         checkDate = checkDate.concat(monearr)
1712
         console.log('1111', checkDate.concat(monearr));
1768
         console.log('1111', checkDate.concat(monearr));

File diff suppressed because it is too large
+ 294 - 991
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue


+ 1 - 1
src/xt_pages/eleFaPiao/settleDetail.vue View File

443
         "admin_user_id":this.$store.getters.xt_user.user.id,
443
         "admin_user_id":this.$store.getters.xt_user.user.id,
444
       }
444
       }
445
       var that = this;
445
       var that = this;
446
-      axios.get('http://127.0.0.1:9532/api/bwfapiao/query',{params:params}).then(function(response) {
446
+      axios.get('http://127.0.0.1:9532/api/fapiao/query',{params:params}).then(function(response) {
447
         if (response.data.state == 0) {
447
         if (response.data.state == 0) {
448
           that.$message.error(response.data.data.msg);
448
           that.$message.error(response.data.data.msg);
449
           return false
449
           return false

+ 22 - 6
src/xt_pages/outpatientCharges/statementPrint.vue View File

65
       <!-- 广水原生堂 -->
65
       <!-- 广水原生堂 -->
66
       <printfourteen :info="info" v-if="(org_id == 10088 ) && this.paramsObj.balance_accounts_type == 1"></printfourteen>
66
       <printfourteen :info="info" v-if="(org_id == 10088 ) && this.paramsObj.balance_accounts_type == 1"></printfourteen>
67
       <!-- 盱眙恒硕 -->
67
       <!-- 盱眙恒硕 -->
68
-      <printfivetheen :info="info" v-if="org_id == 10633 || org_id == 0"></printfivetheen>
68
+      <printfivetheen :info="info" v-if="org_id == 10633"></printfivetheen>
69
+      <!-- <printningteen  :info="info" v-if="org_id == 10633 || org_id ==0"></printningteen> -->
69
       <!-- 顺有好 -->
70
       <!-- 顺有好 -->
70
       <printSixtheen :info="info" v-if="org_id == 10697"></printSixtheen>
71
       <printSixtheen :info="info" v-if="org_id == 10697"></printSixtheen>
71
       <!-- 杏康 -->
72
       <!-- 杏康 -->
72
       <printSeventheen  :info="info" v-if=" org_id == 10721"></printSeventheen>
73
       <printSeventheen  :info="info" v-if=" org_id == 10721"></printSeventheen>
73
       <printeighteen :info="info" v-if=" org_id == 10726"></printeighteen>
74
       <printeighteen :info="info" v-if=" org_id == 10726"></printeighteen>
74
-      <printOne :info="info" v-if=" org_id != 9990 &&
75
+      <printOne :info="info" v-if=" org_id != 9990 && org_id !=0 &&
75
             org_id != 10138 && org_id != 9504 && org_id != 10028 &&
76
             org_id != 10138 && org_id != 9504 && org_id != 10028 &&
76
             org_id != 10610 && org_id !=10537 && org_id !=10697 &&
77
             org_id != 10610 && org_id !=10537 && org_id !=10697 &&
77
             org_id != 10278 && org_id != 10387 && org_id != 10191 &&
78
             org_id != 10278 && org_id != 10387 && org_id != 10191 &&
78
             org_id != 10210 &&org_id != 10485 &&org_id != 10480 &&
79
             org_id != 10210 &&org_id != 10485 &&org_id != 10480 &&
79
-            org_id != 10510 &&org_id != 10088 && org_id != 10721 &&org_id != 0 &&org_id != 10633 &&org_id != 10731 && org_id != 10726 && this.paramsObj.balance_accounts_type == 1">
80
+            org_id != 10510 &&org_id != 10088 && org_id != 10721 &&org_id != 10633 &&org_id != 10731 && org_id != 10726 && this.paramsObj.balance_accounts_type == 1">
80
       </printOne>
81
       </printOne>
81
-      <privateChargePrint :info="info" v-if="this.paramsObj.balance_accounts_type == 2">
82
+      <privateChargePrint :info="info" v-if="org_id != 9990 && org_id !=0 &&
83
+            org_id != 10138 && org_id != 9504 &&  org_id != 10028 && org_id !=10697 &&
84
+            org_id != 10278 && org_id != 10610 && org_id !=10537 && org_id != 10387 &&
85
+            org_id != 10191 &&org_id != 10210 &&org_id != 10485  &&org_id != 10480 &&
86
+            org_id != 10510 &&org_id != 10633 && org_id != 10721 && org_id != 10726  && this.paramsObj.balance_accounts_type == 2">
82
       </privateChargePrint>
87
       </privateChargePrint>
83
     </div>
88
     </div>
84
   </div>
89
   </div>
108
 import printSixtheen from './statementTemplate/printSixtheen'
113
 import printSixtheen from './statementTemplate/printSixtheen'
109
 import printSeventheen from './statementTemplate/printSeventheen'
114
 import printSeventheen from './statementTemplate/printSeventheen'
110
 import printeighteen from './statementTemplate/printeighteen'
115
 import printeighteen from './statementTemplate/printeighteen'
116
+import printningteen from './statementTemplate/printningteen'
111
 export default {
117
 export default {
112
   name: 'dialysisPrintOrder',
118
   name: 'dialysisPrintOrder',
113
   components: {
119
   components: {
129
     printfivetheen,
135
     printfivetheen,
130
     printSixtheen,
136
     printSixtheen,
131
     printSeventheen,
137
     printSeventheen,
132
-    printeighteen
138
+    printeighteen,
139
+    printningteen
133
   },
140
   },
134
   props: {
141
   props: {
135
     paramsObj: Object
142
     paramsObj: Object
445
           style: style,
452
           style: style,
446
           scanStyles: false
453
           scanStyles: false
447
         })
454
         })
448
-      } else {
455
+      } else if(this.org_id ==0){
456
+        const style ='@media print {#prescription-print{font-size:16px;border:1px solid white}.title{font-size: 22px;text-align: center;font-weight: bold;}.row{display: flex;justify-content: space-between;} .print_page_main_content .proj_table{border-collapse: collapse;width:100%;padding: 2px;border: 1px solid;}.print_page_main_content .proj_table tbody tr td{border: 1px solid;font-size: 16px; padding: 5px 8px;line-height: 30px;}.under_line{border-bottom: 1px solid black;display: inline-block;width: 95%;margin-left: 2px;}.inline_block{display: inline-block;}.print_page_main_content .proj_table .inside_table{width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid;text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;} @media print {html {zoom: 69%;}}}'
457
+        printJS({
458
+            printable: 'prescription-print',
459
+            type: 'html',
460
+            style: style,
461
+            scanStyles: false
462
+          })
463
+      }
464
+      else {
449
         // 医保环境打印格式
465
         // 医保环境打印格式
450
         if (
466
         if (
451
           this.$store.getters.xt_user.org_id == 9919 ||
467
           this.$store.getters.xt_user.org_id == 9919 ||

+ 1 - 1
src/xt_pages/outpatientCharges/statementTemplate/printfivetheen.vue View File

54
           <span v-else></span>
54
           <span v-else></span>
55
         </td>
55
         </td>
56
         <td width="8">状态:</td>
56
         <td width="8">状态:</td>
57
-        <td width="8">院</td>
57
+        <td width="8">院</td>
58
         <td width="14">住院号:</td>
58
         <td width="14">住院号:</td>
59
         <td width="12">{{info.number}}</td>
59
         <td width="12">{{info.number}}</td>
60
         <td width="12">结算日期:</td>
60
         <td width="12">结算日期:</td>