|
@@ -1,5 +1,6 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div id="dialysis-print-box-1">
|
|
3
|
+ <el-button type="primary" @click="checkData">一键核对</el-button>
|
3
|
4
|
<div id="dialysis-print-box-1-1" class="dialysis-print-order print-template-two print_page_main_content" >
|
4
|
5
|
<div style="display:inline-block;width:100%;text-align:center;">
|
5
|
6
|
<div class="order-yy-name" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">{{orgname}}</div>
|
|
@@ -176,7 +177,7 @@
|
176
|
177
|
|
177
|
178
|
</div>
|
178
|
179
|
</div>
|
179
|
|
- <div class="row" style="padding: 2px 0;line-height:23px;display:flex;" >
|
|
180
|
+ <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
|
180
|
181
|
<div class="inline_block" style="flex: 1;">
|
181
|
182
|
血管通路:
|
182
|
183
|
<div class="under_line" style="width: 200px; text-align: center">
|
|
@@ -187,7 +188,7 @@
|
187
|
188
|
<div class="inline_block" style="flex: 1;">
|
188
|
189
|
内瘘:
|
189
|
190
|
<div class="under_line" style="
|
190
|
|
- width: 150px;
|
|
191
|
+ width: 80%;
|
191
|
192
|
text-align: center;
|
192
|
193
|
white-space: normal;
|
193
|
194
|
">
|
|
@@ -200,7 +201,7 @@
|
200
|
201
|
</div>
|
201
|
202
|
<div class="inline_block" style="flex: 1">
|
202
|
203
|
导管:
|
203
|
|
- <div class="under_line" style="width: 150px; text-align: center">
|
|
204
|
+ <div class="under_line" style="width: 80%; text-align: center">
|
204
|
205
|
{{ predialysis.catheter ? predialysis.catheter : "/" }}
|
205
|
206
|
</div>
|
206
|
207
|
</div>
|
|
@@ -602,10 +603,11 @@
|
602
|
603
|
: "mmHg"
|
603
|
604
|
}})
|
604
|
605
|
</td>
|
605
|
|
- <td width="70">透析液温度(°C)</td>
|
|
606
|
+ <td width="70">体温<br/>(°C)</td>
|
606
|
607
|
<td width="50">电导度<br/>(ms/cm)</td>
|
607
|
608
|
<td width="50">超滤量<br/>(ml)</td>
|
608
|
609
|
<td width="200">病情变化及处理</td>
|
|
610
|
+ <td width="80">护士签名</td>
|
609
|
611
|
</tr>
|
610
|
612
|
|
611
|
613
|
<tr v-for="(monitor, monindex) in monitors" :key="monindex">
|
|
@@ -656,8 +658,8 @@
|
656
|
658
|
}}
|
657
|
659
|
</span>
|
658
|
660
|
</td>
|
659
|
|
- <td v-if="org_id != 9919 && org_id != 9671 && org_id != 9836 && org_id != 10644">
|
660
|
|
- {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
|
|
661
|
+ <td>
|
|
662
|
+ {{ monitor.temperature ? monitor.temperature : "" }}
|
661
|
663
|
</td>
|
662
|
664
|
<td>{{monitor.conductivity ? monitor.conductivity : "" }}</td>
|
663
|
665
|
<td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume: ""}}</td>
|
|
@@ -691,6 +693,13 @@
|
691
|
693
|
</span>
|
692
|
694
|
</div>
|
693
|
695
|
</td>
|
|
696
|
+ <td>
|
|
697
|
+ <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{
|
|
698
|
+ getAdminUser(monitor.monitoring_nurse) }}
|
|
699
|
+ </span>
|
|
700
|
+ <img style="height: 30px" :src="setAdminUserES(monitor.monitoring_nurse)" alt="" srcset=""
|
|
701
|
+ v-else />
|
|
702
|
+ </td>
|
694
|
703
|
</tr>
|
695
|
704
|
<tr v-for="(monitor,monindex) in monitors2" :key="monindex">
|
696
|
705
|
<td> </td>
|
|
@@ -1182,6 +1191,7 @@ import { getDataConfig } from '@/utils/data'
|
1182
|
1191
|
import { jsGetAge, uParseTime, uParseTimeOne } from '@/utils/tools'
|
1183
|
1192
|
import LabelBox from '../printItem/LabelBox'
|
1184
|
1193
|
import { EasyScroller } from 'easyscroller'
|
|
1194
|
+import {Toast,Dialog} from 'vant'
|
1185
|
1195
|
// import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
|
1186
|
1196
|
// import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
|
1187
|
1197
|
import print from 'print-js'
|
|
@@ -1309,6 +1319,289 @@ export default {
|
1309
|
1319
|
}
|
1310
|
1320
|
},
|
1311
|
1321
|
methods: {
|
|
1322
|
+ checkData() {
|
|
1323
|
+ var checkDate =[]
|
|
1324
|
+ if(this.predialysis.befor_symptoms ==''){
|
|
1325
|
+ const obj='透前症状'
|
|
1326
|
+ checkDate.push(obj)
|
|
1327
|
+ }if(this.predialysis.temperature == ""){
|
|
1328
|
+ const obj1='透前体温'
|
|
1329
|
+ checkDate.push(obj1)
|
|
1330
|
+ }if(this.predialysis.pulse_frequency == ""){
|
|
1331
|
+ const obj2='透前脉搏'
|
|
1332
|
+ checkDate.push(obj2)
|
|
1333
|
+ }if(this.predialysis.breathing_rate == ""){
|
|
1334
|
+ const obj3='透前呼吸频率'
|
|
1335
|
+ checkDate.push(obj3)
|
|
1336
|
+ }if(this.predialysis.systolic_blood_pressure == 0 ||
|
|
1337
|
+ this.predialysis.diastolic_blood_pressure == 0
|
|
1338
|
+ ){
|
|
1339
|
+ const obj4='透前血压未填完整'
|
|
1340
|
+ checkDate.push(obj4)
|
|
1341
|
+ }if(this.predialysis.puncture_needle ==''){
|
|
1342
|
+ const obj5='穿刺针'
|
|
1343
|
+ checkDate.push(obj5)
|
|
1344
|
+ }if(this.predialysis.puncture_way ==''){
|
|
1345
|
+ const obj6='穿刺方式'
|
|
1346
|
+ checkDate.push(obj6)
|
|
1347
|
+ }if(this.predialysis.blood_access_part_opera_name == '' &&
|
|
1348
|
+ this.predialysis.blood_access_part_id == ""
|
|
1349
|
+ ){
|
|
1350
|
+ const obj7='血管通路'
|
|
1351
|
+ checkDate.push(obj7)
|
|
1352
|
+ }if(this.predialysis.internal_fistula == "" && this.predialysis.catheter == ""){
|
|
1353
|
+ const obj8='透前内瘘,导管'
|
|
1354
|
+ checkDate.push(obj8)
|
|
1355
|
+ }if(this.prescription.mode_id == ""){
|
|
1356
|
+ const obj10='透析方式'
|
|
1357
|
+ checkDate.push(obj10)
|
|
1358
|
+ }if(this.prescription.displace_liqui_part == 0 &&
|
|
1359
|
+ this.prescription.mode_id == 2
|
|
1360
|
+ ){
|
|
1361
|
+ const obj11 ='置换方式'
|
|
1362
|
+ checkDate.push(obj11)
|
|
1363
|
+ }if (
|
|
1364
|
+ this.prescription.displace_liqui_value == 0 &&
|
|
1365
|
+ this.prescription.mode_id == 2
|
|
1366
|
+ ) {
|
|
1367
|
+ const obj12 ='置换量'
|
|
1368
|
+ checkDate.push(obj12)
|
|
1369
|
+ }if (
|
|
1370
|
+ this.prescription.dialysis_duration_hour == 0 &&
|
|
1371
|
+ this.prescription.dialysis_duration_minute == 0
|
|
1372
|
+ ) {
|
|
1373
|
+ const obj13 ='透析时间'
|
|
1374
|
+ checkDate.push(obj13)
|
|
1375
|
+ }if (
|
|
1376
|
+ this.prescription.dialyzer_perfusion_apparatus == "" &&
|
|
1377
|
+ this.prescription.dialysis_dialyszers == ""
|
|
1378
|
+ ) {
|
|
1379
|
+ const obj14 ='透析(滤)器'
|
|
1380
|
+ checkDate.push(obj14)
|
|
1381
|
+ }if(this.prescription.dialysis_irrigation ==''){
|
|
1382
|
+ const obj15='灌流器'
|
|
1383
|
+ checkDate.push(obj15)
|
|
1384
|
+ }if(this.prescription.blood_flow_volume == 0){
|
|
1385
|
+ const obj16='血流量'
|
|
1386
|
+ checkDate.push(obj16)
|
|
1387
|
+ }if(this.lastWeight.weight_after ==0){
|
|
1388
|
+ const obj17='上次透后体重'
|
|
1389
|
+ checkDate.push(obj17)
|
|
1390
|
+ }if (this.predialysis.weight_before == 0) {
|
|
1391
|
+ const obj18='透前体重'
|
|
1392
|
+ checkDate.push(obj18)
|
|
1393
|
+ }if(this.prescription.target_ultrafiltration == 0){
|
|
1394
|
+ const obj19='计划超滤量'
|
|
1395
|
+ checkDate.push(obj19)
|
|
1396
|
+ }if (this.predialysis.dry_weight == 0) {
|
|
1397
|
+ const obj20='干体重'
|
|
1398
|
+ checkDate.push(obj20)
|
|
1399
|
+ }if(this.prescription.kalium ==0){
|
|
1400
|
+ const obj21='钾'
|
|
1401
|
+ checkDate.push(obj21)
|
|
1402
|
+ }if(this.prescription.sodium ==0){
|
|
1403
|
+ const obj22='钠'
|
|
1404
|
+ checkDate.push(obj22)
|
|
1405
|
+ }if(this.prescription.calcium ==0){
|
|
1406
|
+ const obj23='钙'
|
|
1407
|
+ checkDate.push(obj23)
|
|
1408
|
+ }if(this.prescription.bicarbonate == 0){
|
|
1409
|
+ const obj24='碳酸氢根'
|
|
1410
|
+ checkDate.push(obj24)
|
|
1411
|
+ }if(this.prescription.dialysate_flow == 0){
|
|
1412
|
+ const obj25='流量'
|
|
1413
|
+ checkDate.push(obj25)
|
|
1414
|
+ }if(this.prescription.anticoagulant == 0){
|
|
1415
|
+ const obj26='抗凝剂'
|
|
1416
|
+ checkDate.push(obj26)
|
|
1417
|
+ }if (
|
|
1418
|
+ this.prescription.anticoagulant_gaimingcheng == "" &&
|
|
1419
|
+ this.prescription.anticoagulant == 5
|
|
1420
|
+ ) {
|
|
1421
|
+ const obj27='钙名称'
|
|
1422
|
+ checkDate.push(obj27)
|
|
1423
|
+ }if (
|
|
1424
|
+ this.prescription.anticoagulant_gaijiliang == "" &&
|
|
1425
|
+ this.prescription.anticoagulant == 5
|
|
1426
|
+ ) {
|
|
1427
|
+ const obj28='钙剂量'
|
|
1428
|
+ checkDate.push(obj28)
|
|
1429
|
+ }if(this.prescription.anticoagulant_shouji == ''){
|
|
1430
|
+ const obj29='首剂'
|
|
1431
|
+ checkDate.push(obj29)
|
|
1432
|
+ }if(this.prescription.anticoagulant_zongliang == ''){
|
|
1433
|
+ const obj30='总量'
|
|
1434
|
+ checkDate.push(obj30)
|
|
1435
|
+ }if(this.dialysisOrder &&this.dialysisOrder.DeviceNumber.number==0 &&
|
|
1436
|
+ this.patientInfo.DialysisSchedule.device_number.number ==0
|
|
1437
|
+ ){
|
|
1438
|
+ const obj31='透析机号'
|
|
1439
|
+ checkDate.push(obj31)
|
|
1440
|
+ }if(this.predialysis.remark ==0){
|
|
1441
|
+ const obj32 = '备注'
|
|
1442
|
+ checkDate.push(obj32)
|
|
1443
|
+ }if (this.afterdialysis.temperature == 0) {
|
|
1444
|
+ const obj33 = '透后体温'
|
|
1445
|
+ checkDate.push(obj33)
|
|
1446
|
+ }if (this.afterdialysis.temperature == 0) {
|
|
1447
|
+ const obj33 = '透后体温'
|
|
1448
|
+ checkDate.push(obj33)
|
|
1449
|
+ }if(this.afterdialysis.pulse_frequency == ""){
|
|
1450
|
+ const obj34='透后脉搏'
|
|
1451
|
+ checkDate.push(obj34)
|
|
1452
|
+ }if(this.afterdialysis.breathing_rate == ""){
|
|
1453
|
+ const obj35='透后呼吸频率'
|
|
1454
|
+ checkDate.push(obj35)
|
|
1455
|
+ }if(this.afterdialysis.systolic_blood_pressure == 0 ||
|
|
1456
|
+ this.afterdialysis.diastolic_blood_pressure == 0
|
|
1457
|
+ ){
|
|
1458
|
+ const obj36='透前血压未填完整'
|
|
1459
|
+ checkDate.push(obj36)
|
|
1460
|
+ }if (
|
|
1461
|
+ this.afterdialysis.actual_treatment_hour == 0 &&
|
|
1462
|
+ this.afterdialysis.actual_treatment_minute == 0
|
|
1463
|
+ ) {
|
|
1464
|
+ const obj37='实际治疗时间'
|
|
1465
|
+ checkDate.push(obj37)
|
|
1466
|
+ }if(this.afterdialysis.cruor == ""){
|
|
1467
|
+ const obj38='透析器凝血'
|
|
1468
|
+ checkDate.push(obj38)
|
|
1469
|
+ }if (this.afterdialysis.internal_fistula == ""&&this.afterdialysis.catheter == "") {
|
|
1470
|
+ const obj39='透后内瘘,导管'
|
|
1471
|
+ checkDate.push(obj39)
|
|
1472
|
+ }if (this.afterdialysis.weight_after == 0) {
|
|
1473
|
+ const obj40='透后体重'
|
|
1474
|
+ checkDate.push(obj40)
|
|
1475
|
+ }if (this.afterdialysis.weight_loss == 0) {
|
|
1476
|
+ const obj41='透后体重减少'
|
|
1477
|
+ checkDate.push(obj41)
|
|
1478
|
+ }if (this.afterdialysis.dialysis_intakes == 0) {
|
|
1479
|
+ const obj42='透析中入量'
|
|
1480
|
+ checkDate.push(obj42)
|
|
1481
|
+ }if (this.afterdialysis.actual_ultrafiltration == 0) {
|
|
1482
|
+ const obj42='实际超滤量'
|
|
1483
|
+ checkDate.push(obj42)
|
|
1484
|
+ }if (this.summary.dialysis_summary == "") {
|
|
1485
|
+ const obj43='透析小结'
|
|
1486
|
+ checkDate.push(obj43)
|
|
1487
|
+ }if(this.summary.mission ==''){
|
|
1488
|
+ const obj44='宣教知识'
|
|
1489
|
+ checkDate.push(obj44)
|
|
1490
|
+ }if(this.afterdialysis.remark ==''){
|
|
1491
|
+ const obj45='备注'
|
|
1492
|
+ checkDate.push(obj45)
|
|
1493
|
+ }if (
|
|
1494
|
+ this.dialysisOrder == null ||
|
|
1495
|
+ this.dialysisOrder.puncture_nurse == 0
|
|
1496
|
+ ) {
|
|
1497
|
+ const obj46='穿刺护士'
|
|
1498
|
+ checkDate.push(obj46)
|
|
1499
|
+ }if (
|
|
1500
|
+ this.dialysisOrder == null ||
|
|
1501
|
+ this.dialysisOrder.start_nurse == 0
|
|
1502
|
+ ) {
|
|
1503
|
+ const obj47='治疗护士'
|
|
1504
|
+ checkDate.push(obj47)
|
|
1505
|
+ }if (this.dialysisOrder == null && this.check.creater == 0) {
|
|
1506
|
+ const obj48='核对人员'
|
|
1507
|
+ checkDate.push(obj48)
|
|
1508
|
+ } else if (
|
|
1509
|
+ this.dialysisOrder != null &&
|
|
1510
|
+ this.dialysisOrder.start_nurse == this.check.modifier &&
|
|
1511
|
+ this.check.creater == 0
|
|
1512
|
+ ) {
|
|
1513
|
+ const obj48='核对人员'
|
|
1514
|
+ checkDate.push(obj48)
|
|
1515
|
+ } else if (
|
|
1516
|
+ this.dialysisOrder != null &&
|
|
1517
|
+ this.dialysisOrder.start_nurse == this.check.creater &&
|
|
1518
|
+ this.check.modifier == 0
|
|
1519
|
+ ) {
|
|
1520
|
+ const obj48='核对人员'
|
|
1521
|
+ checkDate.push(obj48)
|
|
1522
|
+ } else if (
|
|
1523
|
+ this.dialysisOrder != null &&
|
|
1524
|
+ this.dialysisOrder.start_nurse != this.check.creater &&
|
|
1525
|
+ this.dialysisOrder.start_nurse != this.check.modifier &&
|
|
1526
|
+ this.check.creater == 0
|
|
1527
|
+ ) {
|
|
1528
|
+ const obj48='核对人员'
|
|
1529
|
+ checkDate.push(obj48)
|
|
1530
|
+ }if (
|
|
1531
|
+ this.dialysisOrder == null ||
|
|
1532
|
+ this.dialysisOrder.finish_nurse == 0
|
|
1533
|
+ ) {
|
|
1534
|
+ const obj49='下机护士'
|
|
1535
|
+ checkDate.push(obj49)
|
|
1536
|
+ }if (this.prescription.creater == 0) {
|
|
1537
|
+ const obj50='医生签名'
|
|
1538
|
+ checkDate.push(obj50)
|
|
1539
|
+ }if (this.doctor_advices.length > 0) {
|
|
1540
|
+
|
|
1541
|
+ this.doctor_advices.map((item) => {
|
|
1542
|
+ if(item.id > 0 && (item.created_time || item.start_time)){
|
|
1543
|
+ if(item.execution_staff ==0 || item.advice_doctor ==0){
|
|
1544
|
+ const obj51 = '执行人员,医生签名'
|
|
1545
|
+ checkDate.push(obj51)
|
|
1546
|
+ }
|
|
1547
|
+ }
|
|
1548
|
+ });
|
|
1549
|
+ }if(this.monitors.length >0){
|
|
1550
|
+ for(let i in this.monitors){
|
|
1551
|
+ if(this.monitors[i].systolic_blood_pressure ==0 ||
|
|
1552
|
+ this.monitors.diastolic_blood_pressure==0){
|
|
1553
|
+ const obj52 = '监测第'+((i*1)+1)+'行血压'
|
|
1554
|
+ checkDate.push(obj52)
|
|
1555
|
+ } if(this.monitors[i].pulse_frequency ==0){
|
|
1556
|
+ const obj53 = '监测第'+((i*1)+1)+'行脉搏'
|
|
1557
|
+ checkDate.push(obj53)
|
|
1558
|
+ } if(this.monitors[i].breathing_rate ==0){
|
|
1559
|
+ const obj54 = '监测第'+((i*1)+1)+'行呼吸'
|
|
1560
|
+ checkDate.push(obj54)
|
|
1561
|
+ }
|
|
1562
|
+ if(this.monitors[i].blood_flow_volume ==0){
|
|
1563
|
+ const obj55 = '监测第'+((i*1)+1)+'行血流量'
|
|
1564
|
+ checkDate.push(obj55)
|
|
1565
|
+ } if(this.monitors[i].venous_pressure ==0 ){
|
|
1566
|
+ const obj56 = '监测第'+((i*1)+1)+'行静脉压'
|
|
1567
|
+ checkDate.push(obj56)
|
|
1568
|
+ } if(this.monitors[i].transmembrane_pressure ==0){
|
|
1569
|
+ const obj57= '监测第'+((i*1)+1)+'行跨膜压'
|
|
1570
|
+ checkDate.push(obj57)
|
|
1571
|
+ } if(this.monitors[i].dialysate_temperature == 0){
|
|
1572
|
+ const obj58 = '监测第'+((i*1)+1)+'行透析液温度温度'
|
|
1573
|
+ checkDate.push(obj58)
|
|
1574
|
+ }if(this.monitors[i].conductivity ==0){
|
|
1575
|
+ const obj59 = '监测第'+((i*1)+1)+'行电导度'
|
|
1576
|
+ checkDate.push(obj59)
|
|
1577
|
+ }
|
|
1578
|
+
|
|
1579
|
+ // if(this.monitors[i].ultrafiltration_rate ==0){
|
|
1580
|
+ // const obj57 = '监测第'+((i*1)+1)+'行超滤率'
|
|
1581
|
+ // monearr.push(obj57)
|
|
1582
|
+ // }
|
|
1583
|
+ if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
|
|
1584
|
+ const obj60 = '监测第'+((i*1)+1)+'行超滤量'
|
|
1585
|
+ checkDate.push(obj60)
|
|
1586
|
+ }
|
|
1587
|
+ // if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'
|
|
1588
|
+ // ){
|
|
1589
|
+ // const obj58 = '监测第'+((i*1)+1)+'行置换率'
|
|
1590
|
+ // monearr.push(obj58)
|
|
1591
|
+ // }
|
|
1592
|
+ // if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
|
|
1593
|
+ // const obj54 = '监测第'+((i*1)+1)+'行置换量'
|
|
1594
|
+ // monearr.push(obj54)
|
|
1595
|
+ // }
|
|
1596
|
+ // if(this.monitors[i].sodium_concentration ==0 ){
|
|
1597
|
+ // // this.monitors[i].temperature == 0
|
|
1598
|
+ // const obj59 = '监测第'+((i*1)+1)+'行钠浓度'
|
|
1599
|
+ // monearr.push(obj59)
|
|
1600
|
+ // }
|
|
1601
|
+ }
|
|
1602
|
+ }
|
|
1603
|
+ this.getcheckData(checkDate)
|
|
1604
|
+ },
|
1312
|
1605
|
getDisplaceLiquiPart: function (val) {
|
1313
|
1606
|
let displace_liqui_part_name = '/'
|
1314
|
1607
|
let displace_liqui_part = this.displaceLiquiPartOptions
|
|
@@ -1790,6 +2083,24 @@ export default {
|
1790
|
2083
|
return 'ml'
|
1791
|
2084
|
break
|
1792
|
2085
|
}
|
|
2086
|
+ },
|
|
2087
|
+ getcheckData(val){
|
|
2088
|
+ if(val.length >0){
|
|
2089
|
+ let message = `记录单未填数据:\n${val.join("\n")}`;
|
|
2090
|
+ Dialog.confirm({
|
|
2091
|
+ allowHtml:true,
|
|
2092
|
+ message:message,
|
|
2093
|
+ }).then(() => {
|
|
2094
|
+
|
|
2095
|
+ })
|
|
2096
|
+ .catch(() => {
|
|
2097
|
+
|
|
2098
|
+ });
|
|
2099
|
+
|
|
2100
|
+ return message
|
|
2101
|
+ }else{
|
|
2102
|
+ this.$toast('核对完成');
|
|
2103
|
+ }
|
1793
|
2104
|
}
|
1794
|
2105
|
},
|
1795
|
2106
|
watch: {
|