Browse Source

25 2月21检验检查

yq1 1 month ago
parent
commit
39de8cf46c

File diff suppressed because it is too large
+ 1987 - 1772
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue


File diff suppressed because it is too large
+ 1220 - 865
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue


+ 238 - 164
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue View File

@@ -794,7 +794,7 @@
794 794
                                   <span v-if="prescription.anticoagulant == '肝素钠'">&nbsp;肝素钠</span>
795 795
                                 </div>
796 796
                               </td>
797
-                             
797
+
798 798
 
799 799
                               <td width="50">首剂量</td>
800 800
                               <td width="60">
@@ -843,7 +843,7 @@
843 843
                                   <span v-if="prescription.anticoagulant == '低分子量肝素钙'">mg</span>
844 844
                                   <span v-if="prescription.anticoagulant == '肝素钠'">mg</span>
845 845
                               </td>
846
-                             
846
+
847 847
                             </tr>
848 848
                           </tbody>
849 849
                         </table>
@@ -1175,10 +1175,6 @@
1175 1175
           </tbody>
1176 1176
         </table>
1177 1177
         <div style="page-break-after: always;"></div>
1178
-
1179
-
1180
-
1181
-
1182 1178
       </div>
1183 1179
       <div id='new-dialysis-2' class="dialysis-print-order">
1184 1180
         <!-- <div class="order-yy-name"></div> -->
@@ -1425,168 +1421,234 @@ export default {
1425 1421
   },
1426 1422
   methods: {
1427 1423
     checkData(){
1424
+      var checkdata=[]
1428 1425
       if(this.receiverTreatmentAccess.way == 0){
1429
-        this.$message.error('入科方式未填')
1430
-      }else if(this.receiverTreatmentAccess.consciousness == 0){
1431
-        this.$message.error('意识未填')
1432
-      }else if(this.predialysis.is_hemorrhage == 0){
1433
-        this.$message.error('出血未填')
1434
-      }else if(this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == ""){
1435
-        this.$message.error('出血选项未填')
1436
-      }else if(this.prescription.body_fluid == 0 || this.predialysis.humor_excessive_symptom == ""){
1437
-        this.$message.error('体液过多症状未填')
1438
-      }else if(this.predialysis.special_medicine == 0){
1439
-        this.$message.error('透析前使用特殊药物未填')
1440
-      }else if(this.predialysis.blood_access_part_opera_name == ''){
1441
-        this.$message.error('通路类型未填')
1442
-      }else if(this.predialysis.puncture_way == ''){
1443
-        this.$message.error('穿刺方法未填')
1444
-      }else if(this.predialysis.catheter == ''){
1445
-        this.$message.error('导管或导管出口处未填')
1446
-      }else if(this.predialysis.internal_fistula == ''){
1447
-        this.$message.error('内瘘震颤未填')
1448
-      }else if(this.predialysis.internal_fistula_skin == ''){
1449
-        this.$message.error('内瘘皮肤情况未填')
1450
-      }else if(this.predialysis.venous_catheterization == 0){
1451
-        this.$message.error('中心静脉置管未填')
1452
-      }else if(this.predialysis.blood_access_part_id == ''){
1453
-        this.$message.error('血管通路位置未填')
1454
-      }else if(this.predialysis.thromubus_type == 0){
1455
-        this.$message.error('血栓未填')
1456
-      }else if(this.predialysis.thrombus_av == ''){
1457
-        this.$message.error('导管AV端未填')
1458
-      }else if(this.predialysis.thromubus_a == ''){
1459
-        this.$message.error('a端未填')
1460
-      }else if(this.predialysis.thromubus_v == ''){
1461
-        this.$message.error('v端未填')
1462
-      }else if(this.predialysis.temperature == ""){
1463
-        this.$message.error('透前体温未填')
1464
-      }else if(this.predialysis.pulse_frequency == ""){
1465
-        this.$message.error('透前脉搏未填')
1466
-      }else if(this.predialysis.breathing_rate == ""){
1467
-        this.$message.error('透前呼吸频率未填')
1468
-      }else if(this.predialysis.systolic_blood_pressure == 0){
1469
-        this.$message.error('收缩压未填完整')
1470
-      }else if(this.predialysis.diastolic_blood_pressure == 0){
1471
-        this.$message.error('舒张压未填完整')
1472
-      }else if(this.predialysis.weight_before == 0){
1473
-        this.$message.error('本次透前体重未填')
1474
-      }else if(this.predialysis.dry_weight == 0){
1475
-        this.$message.error('干体重未填')
1476
-      }else if(this.assessmentafter.weight_after == 0){
1477
-        this.$message.error('上次透后体重未填')
1478
-      }else if(this.afterdialysis.weight_after == 0){
1479
-        this.$message.error('本次透后体重未填')
1480
-      }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1481
-        this.$message.error('计划时间未填')
1482
-      }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
1483
-        this.$message.error('机面治疗时间未填')
1484
-      }else if(this.prescription.target_ultrafiltration == 0){
1485
-        this.$message.error('预设超滤量未填')
1486
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
1487
-        this.$message.error('机面超滤量未填')
1488
-      }else if(this.prescription.mode_id == ""){
1489
-        this.$message.error('治疗方式未填')
1490
-      }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
1491
-        this.$message.error('透析器或灌流器未填')
1492
-      }else if(this.prescription.anticoagulant == 0){
1493
-        this.$message.error('抗凝方式未填')
1494
-      }else if(this.prescription.dialysate_formulation_name == ""){
1495
-        this.$message.error('透析液配方未填')
1496
-      }else if(this.afterdialysis.return_blood == 0){
1497
-        this.$message.error('回血未填')
1498
-      }else if(this.afterdialysis.rehydration_volume == 0){
1499
-        this.$message.error('补液量未填')
1500
-      }else if(this.afterdialysis.dialysis_during == 0){
1501
-        this.$message.error('透析中进食量未填')
1502
-      }else if(this.afterdialysis.stroke_volume == 0){
1503
-        this.$message.error('出量未填')
1504
-      }else if(this.prescription.prescription_doctor == 0){
1505
-        this.$message.error('主管医生未填')
1506
-      }else if(this.dialysisOrder.puncture_nurse == 0){
1507
-        this.$message.error('穿刺/开管护士未填')
1508
-      }else if(this.check.modifier == 0){
1509
-        this.$message.error('核对护士未填')
1510
-      }else if(this.afterdialysis.internal_fistula == ''){
1511
-        this.$message.error('透后内瘘震颤未填')
1512
-      }else if(this.afterdialysis.catheter == ''){
1513
-        this.$message.error('置管口未填')
1514
-      }else if(this.afterdialysis.blood_flow == 0){
1515
-        this.$message.error('血流量未填')
1516
-      }else if(this.afterdialysis.sealing_fluid_dispose == ""){
1517
-        this.$message.error('封管液配置未填')
1518
-      }else if(this.afterdialysis.cvc_a == 0){
1519
-        this.$message.error('封管量A端未填')
1520
-      }else if(this.afterdialysis.cvc_v == 0){
1521
-        this.$message.error('封管量V端未填')
1522
-      }else if(this.afterdialysis.catheter == ""){
1523
-        this.$message.error('打折和吸壁未填')
1524
-      }else if(this.afterdialysis.catheter != "" && this.afterdialysis.catheter.indexOf('打折') == -1){
1525
-        this.$message.error('打折未填')
1526
-      }else if(this.afterdialysis.catheter != "" && this.afterdialysis.catheter.indexOf('吸壁') == -1){
1527
-        this.$message.error('吸壁未填')
1528
-      }else if(this.afterdialysis.cruor == ""){
1529
-        this.$message.error('透析器凝血未填')
1530
-      }else if(this.afterdialysis.arterial_tube == 0){
1531
-        this.$message.error('动脉管道未填')
1532
-      }else if(this.afterdialysis.intravenous_tube == 0){
1533
-        this.$message.error('静脉管道未填')
1534
-      }else if(this.afterdialysis.complication == ""){
1535
-        this.$message.error('透后并发症未填')
1536
-      }else if(this.summary.special_record == ""){
1537
-        this.$message.error('特殊记录未填')
1538
-      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1539
-        this.$message.error('当班责任护士未填')
1540
-      }else if(this.dialysisOrder.finish_nurse == 0){
1541
-        this.$message.error('下机护士未填')
1542
-      }else if(this.tableAdvice.length > 0){
1543
-        let num = 0
1544
-        if(this.tableAdvice.length > 0){
1545
-          this.tableAdvice.map(item => {
1546
-            if(item.id > 0 && (item.created_time || item.start_time)){
1547
-              this.users.map(it => {
1548
-                if(it.id == item.advice_doctor){
1549
-                  if(it.user_type == 3){
1550
-                    num++
1551
-                    this.$message.closeAll()
1552
-                    this.$message.error('存在不是医生保存的医嘱')
1553
-                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
1554
-                    if(it.user_type == 2){
1555
-                      num++
1556
-                      this.$message.closeAll()
1557
-                      this.$message.error('存在不是护士执行的医嘱')
1558
-                    }
1559
-                  }else if(it.id == item.checker && item.checker > 0){
1560
-                    if(it.user_type == 2){
1561
-                      num++
1562
-                      this.$message.closeAll()
1563
-                      this.$message.error('存在不是护士核对的医嘱')
1564
-                    }
1565
-                  }
1566
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
1567
-                  if(it.user_type == 2){
1568
-                    num++
1569
-                    this.$message.closeAll()
1570
-                    this.$message.error('存在不是护士执行的医嘱')
1571
-                  }
1572
-                }else if(it.id == item.checker && item.checker > 0){
1573
-                  if(it.user_type == 2){
1574
-                    num++
1575
-                    this.$message.closeAll()
1576
-                    this.$message.error('存在不是护士核对的医嘱')
1577
-                  }
1578
-                }
1579
-              })
1580
-            }
1581
-        })
1582
-        }
1426
+        const obj='入科方式'
1427
+        checkdata.push(obj)
1428
+      } if(this.receiverTreatmentAccess.consciousness == 0){
1429
+        const obj0='意识'
1430
+        checkdata.push(obj0)
1431
+      } if(this.predialysis.is_hemorrhage == 0){
1432
+        const obj1='出血'
1433
+        checkdata.push(obj1)
1434
+      } if(this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == ""){
1435
+        const obj2='出血选项'
1436
+        checkdata.push(obj2)
1437
+      } if(this.prescription.body_fluid == 0 || this.predialysis.humor_excessive_symptom == ""){
1438
+        const obj3='体液过多症状'
1439
+        checkdata.push(obj3)
1440
+      } if(this.predialysis.special_medicine == 0){
1441
+        const obj4='透析前使用特殊药物'
1442
+        checkdata.push(obj4)
1443
+      } if(this.predialysis.blood_access_part_opera_name == ''){
1444
+        const obj5='通路类型'
1445
+        checkdata.push(obj5)
1446
+      } if(this.predialysis.puncture_way == ''){
1447
+        const obj6='穿刺方法'
1448
+        checkdata.push(obj6)
1449
+      } if(this.predialysis.catheter == ''){
1450
+        const obj7='导管'
1451
+        checkdata.push(obj7)
1452
+      } if(this.predialysis.internal_fistula == ''){
1453
+        const obj8='内瘘震颤'
1454
+        checkdata.push(obj8)
1455
+      } if(this.predialysis.internal_fistula_skin == ''){
1456
+        const obj9='内瘘皮肤情况'
1457
+        checkdata.push(obj9)
1458
+      } if(this.predialysis.venous_catheterization == 0){
1459
+        const obj10='中心静脉置管'
1460
+        checkdata.push(obj10)
1461
+      } if(this.predialysis.blood_access_part_id == ''){
1462
+        const obj11='血管通路位置'
1463
+        checkdata.push(obj11)
1464
+      } if(this.predialysis.thromubus_type == 0){
1465
+        const obj12='血栓'
1466
+        checkdata.push(obj12)
1467
+      } if(this.predialysis.thrombus_av == ''){
1468
+        const obj13='导管AV端'
1469
+        checkdata.push(obj13)
1470
+      } if(this.predialysis.thromubus_a == ''){
1471
+        const obj14='a端'
1472
+        checkdata.push(obj14)
1473
+      } if(this.predialysis.thromubus_v == ''){
1474
+        const obj15='v端'
1475
+        checkdata.push(obj15)
1476
+      } if(this.predialysis.temperature == ""){
1477
+        const obj16='透前体温'
1478
+        checkdata.push(obj16)
1479
+      } if(this.predialysis.pulse_frequency == ""){
1480
+        const obj17='透前脉搏'
1481
+        checkdata.push(obj17)
1482
+      } if(this.predialysis.breathing_rate == ""){
1483
+        const obj18='透前呼吸频率'
1484
+        checkdata.push(obj18)
1485
+      } if(this.predialysis.systolic_blood_pressure == 0){
1486
+        const obj19='收缩压'
1487
+        checkdata.push(obj19)
1488
+      } if(this.predialysis.diastolic_blood_pressure == 0){
1489
+        const obj20='舒张压'
1490
+        checkdata.push(obj20)
1491
+      } if(this.predialysis.weight_before == 0){
1492
+        const obj21='本次透前体重'
1493
+        checkdata.push(obj21)
1494
+      } if(this.predialysis.dry_weight == 0){
1495
+        const obj22='干体重'
1496
+        checkdata.push(obj22)
1497
+      } if(this.assessmentafter.weight_after == 0){
1498
+        const obj23='上次透后体重'
1499
+        checkdata.push(obj23)
1500
+      } if(this.afterdialysis.weight_after == 0){
1501
+        const obj24='本次透后体重'
1502
+        checkdata.push(obj24)
1503
+      } if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1504
+        const obj25='计划时间'
1505
+        checkdata.push(obj25)
1506
+      } if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
1507
+        const obj26='机面治疗时间'
1508
+        checkdata.push(obj26)
1509
+      } if(this.prescription.target_ultrafiltration == 0){
1510
+        const obj27='预设超滤量'
1511
+        checkdata.push(obj27)
1512
+      } if(this.afterdialysis.actual_ultrafiltration == 0){
1513
+        const obj28='机面超滤量'
1514
+        checkdata.push(obj28)
1515
+      } if(this.prescription.mode_id == ""){
1516
+        const obj29='治疗方式'
1517
+        checkdata.push(obj29)
1518
+      } if(this.prescription.dialyzer_perfusion_apparatus == ""){
1519
+        const obj30='透析器或灌流器'
1520
+        checkdata.push(obj30)
1521
+      } if(this.prescription.anticoagulant == 0){
1522
+        const obj31='抗凝方式'
1523
+        checkdata.push(obj31)
1524
+      } if(this.prescription.dialysate_formulation_name == ""){
1525
+        const obj32='透析液配方'
1526
+        checkdata.push(obj32)
1527
+      } if(this.afterdialysis.return_blood == 0){
1528
+        const obj33='回血'
1529
+        checkdata.push(obj33)
1530
+      } if(this.afterdialysis.rehydration_volume == 0){
1531
+        const obj34='补液量'
1532
+        checkdata.push(obj34)
1533
+      } if(this.afterdialysis.dialysis_during == 0){
1534
+        const obj35='透析中进食量'
1535
+        checkdata.push(obj35)
1536
+      } if(this.afterdialysis.stroke_volume == 0){
1537
+        const obj36='出量'
1538
+        checkdata.push(obj36)
1539
+      } if(this.prescription.prescription_doctor == 0){
1540
+        const obj37='主管医生'
1541
+        checkdata.push(obj37)
1542
+      } if( this.dialysisOrder ==null || this.dialysisOrder.puncture_nurse == 0){
1543
+        const obj38='穿刺/开管护士'
1544
+        checkdata.push(obj38)
1545
+      } if(this.check.modifier == 0){
1546
+        const obj39='核对护士'
1547
+        checkdata.push(obj39)
1548
+      } if(this.afterdialysis.internal_fistula == ''){
1549
+        const obj40='透后内瘘震颤'
1550
+        checkdata.push(obj40)
1551
+      } if(this.afterdialysis.catheter == ''){
1552
+        const obj41='置管口'
1553
+        checkdata.push(obj41)
1554
+      } if(this.afterdialysis.blood_flow == 0){
1555
+        const obj42='血流量'
1556
+        checkdata.push(obj42)
1557
+      } if(this.afterdialysis.sealing_fluid_dispose == ""){
1558
+        const obj43='封管液配置'
1559
+        checkdata.push(obj43)
1560
+      } if(this.afterdialysis.cvc_a == 0){
1561
+        const obj44='A端'
1562
+        checkdata.push(obj44)
1563
+      } if(this.afterdialysis.cvc_v == 0){
1564
+        const obj45='V端'
1565
+        checkdata.push(obj45)
1566
+      } if(this.afterdialysis.catheter == ""){
1567
+        const obj46='打折和吸壁'
1568
+        checkdata.push(obj46)
1569
+      } if(this.afterdialysis.catheter != "" && this.afterdialysis.catheter.indexOf('打折') == -1){
1570
+        const obj46='打折'
1571
+        checkdata.push(obj46)
1572
+      } if(this.afterdialysis.catheter != "" && this.afterdialysis.catheter.indexOf('吸壁') == -1){
1573
+        const obj47='吸壁'
1574
+        checkdata.push(obj47)
1575
+      } if(this.afterdialysis.cruor == ""){
1576
+        const obj48='透析器堵塞'
1577
+        checkdata.push(obj48)
1578
+      } if(this.afterdialysis.arterial_tube == 0){
1579
+        const obj49='动脉管道'
1580
+        checkdata.push(obj49)
1581
+      } if(this.afterdialysis.intravenous_tube == 0){
1582
+        const obj50='静脉管道'
1583
+        checkdata.push(obj50)
1584
+      } if(this.afterdialysis.complication == ""){
1585
+        const obj51='透后并发症'
1586
+        checkdata.push(obj51)
1587
+      } if(this.summary.special_record == ""){
1588
+        const obj52='特殊记录'
1589
+        checkdata.push(obj52)
1590
+      } if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1591
+        const obj53='当班责任护士'
1592
+        checkdata.push(obj53)
1593
+      } if(this.dialysisOrder.finish_nurse == 0){
1594
+        const obj54='下机护士'
1595
+        checkdata.push(obj54)
1596
+      } if(this.monitors.length > 0){
1597
+        for(let i in this.monitors){
1598
+          if(this.monitors[i].temperature==''){
1599
+           const obj55= '监测第'+((i*1)+1)+'行体温'
1600
+            checkdata.push(obj55)
1601
+          }
1602
+          if(this.monitors[i].systolic_blood_pressure=='' || this.monitors[i].diastolic_blood_pressure==''){
1603
+            const obj56='监测第'+((i*1)+1)+'行血压'
1604
+            checkdata.push(obj56)
1605
+          }
1606
+          if(this.monitors[i].pulse_frequency==''){
1607
+            const obj57='监测第'+((i*1)+1)+'行脉搏'
1608
+            checkdata.push(obj57)
1609
+          }
1610
+          if(this.monitors[i].breathing_rate==''){
1611
+            const obj58='监测第'+((i*1)+1)+'行呼吸'
1612
+            checkdata.push(obj58)
1613
+          }
1614
+          if(this.monitors[i].arterial_pressure==''){
1615
+            const obj59='监测第'+((i*1)+1)+'行动脉压'
1616
+            checkdata.push(obj59)
1617
+          }
1618
+          if(this.monitors[i].venous_pressure==''){
1619
+            const obj60='监测第'+((i*1)+1)+'行静脉压'
1620
+            checkdata.push(obj60)
1621
+          }
1622
+          if(this.monitors[i].transmembrane_pressure==''){
1623
+            const obj61='监测第'+((i*1)+1)+'行跨膜压'
1624
+            checkdata.push(obj61)
1625
+          }
1626
+          if(this.monitors[i].ultrafiltration_volume==''){
1627
+            const obj62='监测第'+((i*1)+1)+'行超滤量'
1628
+            checkdata.push(obj62)
1629
+          }if(this.monitors[i].sodium_concentration==''){
1630
+            const obj63='监测第'+((i*1)+1)+'行钠浓度'
1631
+            checkdata.push(obj63)
1632
+          }if(this.monitors[i].conductivity==''){
1633
+            const obj64='监测第'+((i*1)+1)+'行电导度'
1634
+            checkdata.push(obj64)
1635
+          }
1636
+          if(this.monitors[i].blood_flow_volume==''){
1637
+            const obj65='监测第'+((i*1)+1)+'行血流量'
1638
+            checkdata.push(obj65)
1639
+          }
1583 1640
 
1584
-        if(num == 0){
1585
-          this.$message.success('核对完成')
1641
+          if(this.monitors[i].dialysate_temperature==''){
1642
+            const obj66='监测第'+((i*1)+1)+'行液温'
1643
+            checkdata.push(obj66)
1644
+          }
1645
+          if(this.monitors[i].displacement_quantity==''){
1646
+            const obj67='监测第'+((i*1)+1)+'行置换量'
1647
+            checkdata.push(obj67)
1648
+          }
1586 1649
         }
1587
-      }else{
1588
-        this.$message.success('核对完成')
1589 1650
       }
1651
+      this.getcheckData(checkdata)
1590 1652
     },
1591 1653
     getComplication(complication){
1592 1654
       if(complication.indexOf(',') == -1){
@@ -2449,6 +2511,18 @@ export default {
2449 2511
           // checker: 0,
2450 2512
         }
2451 2513
       )
2514
+    },
2515
+    getcheckData(val){
2516
+      if(val.length >0){
2517
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
2518
+        this.$alert(message, '提示', {
2519
+          confirmButtonText: '确定',
2520
+          type: 'warning',
2521
+          dangerouslyUseHTMLString: true,
2522
+        });
2523
+      }else{
2524
+        this.$message.success('核对完成')
2525
+      }
2452 2526
     }
2453 2527
   },
2454 2528
   watch: {

+ 162 - 123
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySix.vue View File

@@ -193,7 +193,7 @@
193 193
             <tr style="text-align:left">
194 194
               <td colspan="11" style="padding-left:5px">
195 195
                 血管通路:
196
-                <label-box :isChecked="predialysis.blood_access_part_opera_name == '内瘘' ? true : false" showValue="内瘘"></label-box>&nbsp;
196
+                <label-box :isChecked="predialysis.blood_access_part_opera_name=='内瘘' ? true : false" showValue="内瘘"></label-box>&nbsp;
197 197
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('长期静脉导管') > -1 ? true : false" showValue="长期静脉导管"></label-box>&nbsp;
198 198
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1 ? true : false" showValue="临时颈内静脉导管"></label-box>&nbsp;
199 199
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="临时股静脉导管"></label-box>&nbsp;
@@ -1256,137 +1256,163 @@ export default {
1256 1256
   },
1257 1257
   methods: {
1258 1258
     checkData(){
1259
+      var checkdata=[]
1259 1260
       if(this.predialysis.temperature == ""){
1260
-        this.$message.error('透前体温未填')
1261
-      }else if(this.predialysis.pulse_frequency == ""){
1262
-        this.$message.error('透前脉搏未填')
1263
-      }else if(this.predialysis.breathing_rate == ""){
1264
-        this.$message.error('透前呼吸频率未填')
1265
-      }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
1266
-        this.$message.error('透前血压未填完整')
1267
-      }else if(this.predialysis.symptom_before_dialysis == ""){
1268
-        this.$message.error('上机前病情未填')
1269
-      }else if(this.prescription.mode_id == ""){
1270
-        this.$message.error('治疗方式未填')
1271
-      }else if(this.prescription.displace_liqui_part == 0 && this.prescription.mode_id == 2){
1272
-        this.$message.error('置换方式未填')
1273
-      }else if(this.prescription.displace_liqui_value == 0 && this.prescription.mode_id == 2){
1274
-        this.$message.error('置换量未填')
1275
-      }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1276
-        this.$message.error('治疗时间未填')
1277
-      }else if(this.prescription.anticoagulant == 0){
1278
-        this.$message.error('治疗抗凝未填')
1279
-      }else if(this.prescription.target_ultrafiltration == 0){
1280
-        this.$message.error('处方脱水量未填')
1281
-      }else if(this.prescription.dialysate_flow == 0){
1282
-        this.$message.error('透析液流量未填')
1283
-      }else if(this.prescription.blood_flow_volume == 0){
1284
-        this.$message.error('血流量未填')
1285
-      }else if(this.prescription.prescription_doctor == 0){
1286
-        this.$message.error('医师签名未填')
1287
-      }else if(this.predialysis.machine_type == ""){
1288
-        this.$message.error('透析机未填')
1289
-      }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
1290
-        this.$message.error('透析(滤)器未填')
1291
-      }else if(this.prescription.calcium == 0){
1292
-        this.$message.error('钙未填')
1293
-      }else if(this.prescription.sodium == 0){
1294
-        this.$message.error('钠未填')
1295
-      }else if(this.prescription.bicarbonate == 0){
1296
-        this.$message.error('碳酸氢根未填')
1297
-      }else if(this.predialysis.blood_access_part_opera_name == ''){
1298
-        this.$message.error('血管通路未填')
1299
-      }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
1300
-        this.$message.error('穿刺者未填')
1301
-      }else if(this.predialysis.weight_before == 0){
1302
-        this.$message.error('透前体重未填')
1303
-      }else if(this.predialysis.dry_weight == 0){
1304
-        this.$message.error('干体重未填')
1305
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
1306
-        this.$message.error('实际脱水量未填')
1307
-      }else if(this.afterdialysis.weight_after == 0){
1308
-        this.$message.error('透后体重未填')
1309
-      }else if(this.afterdialysis.cruor == ""){
1310
-        this.$message.error('透析器凝血未填')
1311
-      }else if(this.afterdialysis.internal_fistula == ''){
1312
-        this.$message.error('透后内瘘未填')
1313
-      }else if(this.afterdialysis.catheter == ''){
1314
-        this.$message.error('透后导管未填')
1315
-      }else if(this.summary.dialysis_summary == ""){
1316
-        this.$message.error('治疗小结未填')
1317
-      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1318
-        this.$message.error('护士签名未填')
1319
-      }else if (this.dialysisOrder == null && this.check.creater == 0) {
1320
-        this.$message.error('核对护士未填')
1261
+        const obj='透前体温'
1262
+        checkdata.push(obj)
1263
+      } if(this.predialysis.pulse_frequency == ""){
1264
+        const obj1='透前脉搏'
1265
+        checkdata.push(obj1)
1266
+      } if(this.predialysis.breathing_rate == ""){
1267
+        const obj2='透前呼吸频率'
1268
+        checkdata.push(obj2)
1269
+      } if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
1270
+        const obj3='透前血压'
1271
+        checkdata.push(obj3)
1272
+      } if(this.predialysis.symptom_before_dialysis == ""){
1273
+        const obj4='上机前病情'
1274
+        checkdata.push(obj4)
1275
+      } if(this.prescription.mode_id == ""){
1276
+        const obj5='治疗方式'
1277
+        checkdata.push(obj5)
1278
+      } if(this.prescription.displace_liqui_part == 0 && this.prescription.mode_id == 2){
1279
+        const obj6='置换方式'
1280
+        checkdata.push(obj6)
1281
+      } if(this.prescription.displace_liqui_value == 0 && this.prescription.mode_id == 2){
1282
+        const obj7='置换量'
1283
+        checkdata.push(obj7)
1284
+      } if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1285
+        const obj8='治疗时间'
1286
+        checkdata.push(obj8)
1287
+      } if(this.prescription.anticoagulant == 0){
1288
+        const obj9='治疗抗凝'
1289
+        checkdata.push(obj9)
1290
+      } if(this.prescription.target_ultrafiltration == 0){
1291
+        const obj10='处方脱水量'
1292
+        checkdata.push(obj10)
1293
+      } if(this.prescription.dialysate_flow == 0){
1294
+        const obj11='透析液流量'
1295
+        checkdata.push(obj11)
1296
+      } if(this.prescription.blood_flow_volume == 0){
1297
+        const obj12='血流量'
1298
+        checkdata.push(obj12)
1299
+      } if(this.prescription.prescription_doctor == 0){
1300
+        const obj13='医师签名'
1301
+        checkdata.push(obj13)
1302
+      } if(this.predialysis.machine_type == ""){
1303
+        const obj14='透析机'
1304
+        checkdata.push(obj14)
1305
+      } if(this.prescription.dialyzer_perfusion_apparatus == ""){
1306
+        const obj15='透析(滤)器'
1307
+        checkdata.push(obj15)
1308
+      } if(this.prescription.calcium == 0){
1309
+        const obj16='钙'
1310
+        checkdata.push(obj16)
1311
+      } if(this.prescription.sodium == 0){
1312
+        const obj17='钠'
1313
+        checkdata.push(obj17)
1314
+      } if(this.prescription.bicarbonate == 0){
1315
+        const obj18='碳酸氢根'
1316
+        checkdata.push(obj18)
1317
+      } if(this.predialysis.blood_access_part_opera_name == ''){
1318
+        const obj19='血管通路'
1319
+        checkdata.push(obj19)
1320
+      } if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
1321
+        const obj20='穿刺者'
1322
+        checkdata.push(obj20)
1323
+      } if(this.predialysis.weight_before == 0){
1324
+        const obj21='透前体重'
1325
+        checkdata.push(obj21)
1326
+      } if(this.predialysis.dry_weight == 0){
1327
+        const obj22='干体重'
1328
+        checkdata.push(obj22)
1329
+      } if(this.afterdialysis.actual_ultrafiltration == 0){
1330
+        const obj23='实际脱水量'
1331
+        checkdata.push(obj23)
1332
+      } if(this.afterdialysis.weight_after == 0){
1333
+        const obj24='透后体重'
1334
+        checkdata.push(obj24)
1335
+      } if(this.afterdialysis.cruor == ""){
1336
+        const obj25='透析器凝血'
1337
+        checkdata.push(obj25)
1338
+      } if(this.afterdialysis.internal_fistula == ''){
1339
+        const obj26='透后内瘘'
1340
+        checkdata.push(obj26)
1341
+      } if(this.afterdialysis.catheter == ''){
1342
+        const obj27='透后导管'
1343
+        checkdata.push(obj27)
1344
+      } if(this.summary.dialysis_summary == ""){
1345
+        const obj28='治疗小结'
1346
+        checkdata.push(obj28)
1347
+      } if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1348
+        const obj29='护士签名'
1349
+        checkdata.push(obj29)
1350
+      } if (this.dialysisOrder == null && this.check.creater == 0) {
1351
+        const obj30='核对护士'
1352
+        checkdata.push(obj30)
1321 1353
       }else if (this.dialysisOrder != null && this.check.creater == 0) {
1322
-        this.$message.error('核对护士未填')
1354
+        const obj30='核对护士'
1355
+        checkdata.push(obj30)
1323 1356
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
1324
-        this.$message.error('核对护士未填')
1357
+        const obj30='核对护士'
1358
+        checkdata.push(obj30)
1325 1359
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
1326
-        this.$message.error('核对护士未填')
1327
-      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
1328
-        let num = 0
1360
+        const obj30='核对护士'
1361
+        checkdata.push(obj30)
1362
+      } 
1329 1363
         if(this.monitors.length > 0){
1330
-          this.monitors.map(item => {
1331
-            if(item.id > 0 && item.operate_time){
1332
-              this.users.map(it => {
1333
-                if(it.id == item.monitoring_nurse){
1334
-                  if(it.user_type == 2){
1335
-                    num++
1336
-                    this.$message.closeAll()
1337
-                    this.$message.error('存在不是护士保存的监测')
1338
-                  }
1339
-                }
1340
-              })
1364
+          for(let i in this.monitors){
1365
+            if(this.monitors[i].venous_pressure==''){
1366
+              const obj31='监测第'+((i*1)+1)+'行静脉压'
1367
+              checkdata.push(obj31)
1341 1368
             }
1342
-          })
1369
+            if(this.monitors[i].replacement_rate=='' && this.prescription.mode_id==2){
1370
+              const obj32='监测第'+((i*1)+1)+'行置换率'
1371
+              checkdata.push(obj32)
1372
+            }
1373
+
1374
+            if(this.monitors[i].ultrafiltration_rate==''){
1375
+              const obj33='监测第'+((i*1)+1)+'行超滤率'
1376
+              checkdata.push(obj33)
1377
+            }
1378
+            if(this.monitors[i].blood_flow_volume==''){
1379
+              const obj34='监测第'+((i*1)+1)+'行血流量'
1380
+              checkdata.push(obj34)
1381
+            }
1382
+            if(this.monitors[i].ultrafiltration_volume==''){
1383
+              const obj35='监测第'+((i*1)+1)+'行脱水量'
1384
+              checkdata.push(obj35)
1385
+            }
1386
+            if(this.monitors[i].temperature==''){
1387
+            const obj36= '监测第'+((i*1)+1)+'行T'
1388
+              checkdata.push(obj36)
1389
+            }
1390
+            if(this.monitors[i].systolic_blood_pressure=='' || this.monitors[i].diastolic_blood_pressure==''){
1391
+              const obj37='监测第'+((i*1)+1)+'行Bp'
1392
+              checkdata.push(obj37)
1393
+            }
1394
+            if(this.monitors[i].pulse_frequency==''){
1395
+              const obj38='监测第'+((i*1)+1)+'行P'
1396
+              checkdata.push(obj38)
1397
+            }
1398
+            if(this.monitors[i].breathing_rate==''){
1399
+              const obj39='监测第'+((i*1)+1)+'行R'
1400
+              checkdata.push(obj39)
1401
+            }
1402
+          }
1343 1403
         }
1344 1404
         if(this.tableAdvice.length > 0){
1345
-          this.tableAdvice.map(item => {
1405
+          this.tableAdvice.map((item) =>{
1346 1406
             if(item.id > 0 && (item.created_time || item.start_time)){
1347
-              this.users.map(it => {
1348
-                if(it.id == item.advice_doctor){
1349
-                  if(it.user_type == 3){
1350
-                    num++
1351
-                    this.$message.closeAll()
1352
-                    this.$message.error('存在不是医生保存的医嘱')
1353
-                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
1354
-                    if(it.user_type == 2){
1355
-                      num++
1356
-                      this.$message.closeAll()
1357
-                      this.$message.error('存在不是护士执行的医嘱')
1358
-                    }
1359
-                  }else if(it.id == item.checker && item.checker > 0){
1360
-                    if(it.user_type == 2){
1361
-                      num++
1362
-                      this.$message.closeAll()
1363
-                      this.$message.error('存在不是护士核对的医嘱')
1364
-                    }
1365
-                  }
1366
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
1367
-                  if(it.user_type == 2){
1368
-                    num++
1369
-                    this.$message.closeAll()
1370
-                    this.$message.error('存在不是护士执行的医嘱')
1371
-                  }
1372
-                }else if(it.id == item.checker && item.checker > 0){
1373
-                  if(it.user_type == 2){
1374
-                    num++
1375
-                    this.$message.closeAll()
1376
-                    this.$message.error('存在不是护士核对的医嘱')
1377
-                  }
1378
-                }
1379
-              })
1407
+              if(item.execution_staff ==0 || item.advice_doctor==0){
1408
+                const obj40 = '执行人员,核对人员,医生签名'
1409
+                checkdata.push(obj40)
1410
+              }
1380 1411
             }
1381
-        })
1382
-        }
1383
-        
1384
-        if(num == 0){
1385
-          this.$message.success('核对完成')
1412
+          })
1386 1413
         }
1387
-      }else{
1388
-        this.$message.success('核对完成')
1389
-      }
1414
+      
1415
+      this.getcheckData(checkdata)
1390 1416
     },
1391 1417
     getNewAge(UUserCard) {
1392 1418
       if (UUserCard != null && UUserCard != '') {
@@ -1525,7 +1551,7 @@ export default {
1525 1551
           if (patientInfo.gender === 2) {
1526 1552
             patientInfo.gender = "女";
1527 1553
           }
1528
-          // console.log("patientInfo", patientInfo);
1554
+          console.log("response.data.data", response.data.data);
1529 1555
           this.patientInfo = patientInfo;
1530 1556
           this.patientInfo.birth = uParseTime(
1531 1557
             this.patientInfo.birthday,
@@ -2015,7 +2041,7 @@ export default {
2015 2041
       if (id in this.bloodAccessParOpera) {
2016 2042
         return this.bloodAccessParOpera[id].name;
2017 2043
       }
2018
-      return "";
2044
+      return ''
2019 2045
     },
2020 2046
     dialysateFormulationName(id) {
2021 2047
       if (id in this.dialysateFormulationOptions) {
@@ -2060,6 +2086,18 @@ export default {
2060 2086
           // checker: 0,
2061 2087
         }
2062 2088
       );
2089
+    },
2090
+    getcheckData(val){
2091
+      if(val.length >0){
2092
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
2093
+        this.$alert(message, '提示', {
2094
+          confirmButtonText: '确定',
2095
+          type: 'warning',
2096
+          dangerouslyUseHTMLString: true,
2097
+        });
2098
+      }else{
2099
+        this.$message.success('核对完成')
2100
+      }
2063 2101
     }
2064 2102
   },
2065 2103
   watch: {
@@ -2112,6 +2150,7 @@ export default {
2112 2150
       "hemodialysis",
2113 2151
       "vascular_access_desc"
2114 2152
     );
2153
+
2115 2154
     for (var key in bloodAccessParOpera) {
2116 2155
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
2117 2156
         bloodAccessParOpera[key];

+ 8 - 11
src/xt_pages/user/inspection.vue View File

@@ -154,15 +154,16 @@
154 154
                         <span v-if="parseFloat(scope.row.value) < parseFloat(getrange(scope.row.range_min)) ">
155 155
                           {{ scope.row.value }} <span style="color: blue;" v-if="scope.row.value>0">↓</span>
156 156
                         </span>
157
-                        <span v-if="parseFloat(getrange(scope.row.range_min))<= parseFloat( scope.row.value) && parseFloat(scope.row.value)<= parseFloat(getrange(scope.row.range_max)) ">
157
+                        <span v-else-if="parseFloat(getrange(scope.row.range_min))<= parseFloat( scope.row.value) && parseFloat(scope.row.value)<= parseFloat(getrange(scope.row.range_max)) ">
158 158
                           {{ scope.row.value }}
159 159
                         </span>
160
-                        <span v-if="parseFloat(scope.row.value) >parseFloat(getrange(scope.row.range_max)) ">
160
+                        <span v-else-if="parseFloat(scope.row.value) >parseFloat(getrange(scope.row.range_max)) ">
161 161
                           {{ scope.row.value }} <span style="color: red;" v-if="scope.row.value>0">↑</span>
162 162
                         </span>
163
-                        <span v-if ="scope.row.range_max ==''||scope.row.range_min ==''">
163
+                        <span v-else-if ="scope.row.range_max ==''||scope.row.range_min ==''">
164 164
                           {{ scope.row.value }}
165 165
                         </span>
166
+                        <span v-else>{{ scope.row.value }}</span>
166 167
                       </span>
167 168
                       <!-- <span v-if="scope.row.value =='阳性'" style="color:red">{{ scope.row.value }}</span> -->
168 169
                       <!-- <span v-else>{{ scope.row.value }}</span> -->
@@ -1409,7 +1410,6 @@ export default {
1409 1410
                 this.is_open = true
1410 1411
               }else{
1411 1412
                 this.is_open = false
1412
-
1413 1413
               }
1414 1414
             }else{
1415 1415
               this.is_open = false
@@ -1458,7 +1458,7 @@ export default {
1458 1458
                   }else{
1459 1459
                     console.log('执行1');
1460 1460
 
1461
-                    if(this.org_id == 10702 || this.org_id == 0){
1461
+                    if(this.org_id == 10702){
1462 1462
                       if(item.project_name == '血常规'|| item.project_name == '透后肾功能' ||
1463 1463
                           item.project_name == '肝功能' || item.project_name == '电解质' || item.project_name == '透前肾功能' ||
1464 1464
                           item.project_name == '传染病检查'
@@ -1500,7 +1500,7 @@ export default {
1500 1500
               // item["inspect_type"] = inspectionsMap[items[index].id].inspect_type
1501 1501
               item.value_direction = ''
1502 1502
               if (item.range_type == 1) {
1503
-                console.log('执行5',parseFloat(item.value));
1503
+                console.log('执行5',item.value);
1504 1504
                 var value = parseFloat(item.value)
1505 1505
                 var range_min = parseFloat(item.range_min)
1506 1506
                 var range_max = parseFloat(item.range_max)
@@ -1519,12 +1519,9 @@ export default {
1519 1519
               // }
1520 1520
 
1521 1521
               console.log('fffff',this.items);
1522
-              if(item.value.indexOf("http") <0){
1523
-                this.isPic = true
1524
-              }
1522
+              if(item.value.indexOf("http") !=-1){
1525 1523
 
1526
-              if(this.org_id!=10503){
1527
-                this.isPic = false
1524
+                this.isPic = true
1528 1525
               }
1529 1526
 
1530 1527
               console.log("woowwoow",this.isPic)