|
@@ -1,47 +1,48 @@
|
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" style="margin-left: 10px;">
|
4
|
5
|
<div style="display:inline-block;width:100%;text-align:center;">
|
5
|
|
- <div class="order-yy-name" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">{{orgname}}</div>
|
6
|
|
- <div class="order-title" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">
|
|
6
|
+ <div class="order-yy-name" style="letter-spacing: 0;font-weight:600;font-size:25px;">{{orgname}}</div>
|
|
7
|
+ <div class="order-title" style="letter-spacing: 0;font-weight:600;font-size:25px;">
|
7
|
8
|
<span>血液净化治疗记录单</span>
|
8
|
9
|
</div>
|
9
|
10
|
</div>
|
10
|
|
- <div class="row">
|
11
|
|
- <div class="inline_block">
|
12
|
|
- 姓名:
|
|
11
|
+ <div class="row" style="display: flex">
|
|
12
|
+ <div class="inline_block" style="flex: 1;">
|
|
13
|
+ 姓名:
|
13
|
14
|
<div class="under_line" style="width: 50px; text-align: center">
|
14
|
15
|
{{ patientInfo.name }}
|
15
|
16
|
</div>
|
16
|
17
|
</div>
|
17
|
|
- <div class="inline_block" style="margin-left: 10px">
|
18
|
|
- 性别:
|
|
18
|
+ <div class="inline_block" style="flex: 1;">
|
|
19
|
+ 性别:
|
19
|
20
|
<div class="under_line" style="width: 30px; text-align: center">
|
20
|
21
|
{{ patientInfo_gender_1 ? "男" : "女" }}
|
21
|
22
|
</div>
|
22
|
23
|
</div>
|
23
|
|
- <div class="inline_block" style="margin-left: 10px">
|
24
|
|
- 年龄:
|
|
24
|
+ <div class="inline_block" style="flex: 1;">
|
|
25
|
+ 年龄:
|
25
|
26
|
<div class="under_line" style="width: 30px; text-align: center">
|
26
|
27
|
<!-- {{ getAge(patientInfo.age) }} -->
|
27
|
28
|
{{ patientInfo.age }}
|
28
|
29
|
</div>
|
29
|
30
|
岁
|
30
|
31
|
</div>
|
31
|
|
- <div class="inline_block" v-if="receiverTreatmentAccess.condition!=1">
|
32
|
|
- 门诊:
|
|
32
|
+ <div class="inline_block" v-if="receiverTreatmentAccess.condition!=1" style="flex: 1;">
|
|
33
|
+ 门诊:
|
33
|
34
|
<div class="under_line" style="width: 30px; text-align: center">
|
34
|
35
|
<check-box :checked="patientInfo_source_1"></check-box>
|
35
|
36
|
</div>
|
36
|
37
|
</div>
|
37
|
|
- <div class="inline_block" v-if="receiverTreatmentAccess.condition==1">
|
38
|
|
- 住院:
|
|
38
|
+ <div class="inline_block" v-if="receiverTreatmentAccess.condition==1" style="flex: 1;">
|
|
39
|
+ 住院:
|
39
|
40
|
<div class="under_line" style="width: 30px; text-align: center">
|
40
|
41
|
<check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
|
41
|
42
|
</div>
|
42
|
43
|
</div>
|
43
|
|
- <div class="inline_block">
|
44
|
|
- 病区:
|
|
44
|
+ <div class="inline_block" style="flex: 1;">
|
|
45
|
+ 病区:
|
45
|
46
|
<div class="under_line" style="width: 50px; text-align: center">
|
46
|
47
|
<span v-if="receiverTreatmentAccess.condition != 1">{{
|
47
|
48
|
patientInfo.DialysisSchedule.device_zone.name
|
|
@@ -50,8 +51,8 @@
|
50
|
51
|
}}</span>
|
51
|
52
|
</div>
|
52
|
53
|
</div>
|
53
|
|
- <div class="inline_block">
|
54
|
|
- 床号:
|
|
54
|
+ <div class="inline_block" style="flex: 1;">
|
|
55
|
+ 床号:
|
55
|
56
|
<div class="under_line" style="width: 50px; text-align: center">
|
56
|
57
|
<span>{{
|
57
|
58
|
dialysisOrder &&
|
|
@@ -62,14 +63,14 @@
|
62
|
63
|
}}</span>
|
63
|
64
|
</div>
|
64
|
65
|
</div>
|
65
|
|
- <div class="inline_block">
|
66
|
|
- 透析号:
|
|
66
|
+ <div class="inline_block" style="flex: 1;">
|
|
67
|
+ 透析号:
|
67
|
68
|
<div class="under_line" style="width: 70px; text-align: center">
|
68
|
69
|
{{ patientInfo.dialysis_no }}
|
69
|
70
|
</div>
|
70
|
71
|
</div>
|
71
|
|
- <div class="inline_block" style="margin-left: 5px;">
|
72
|
|
- 住院号:
|
|
72
|
+ <div class="inline_block" style="flex: 1;">
|
|
73
|
+ 住院号:
|
73
|
74
|
<div class="under_line" style="width: 70px;text-align: left">
|
74
|
75
|
{{ receiverTreatmentAccess.admission_number ? receiverTreatmentAccess.admission_number :'/' }}
|
75
|
76
|
</div>
|
|
@@ -77,7 +78,7 @@
|
77
|
78
|
</div>
|
78
|
79
|
<div class="row">
|
79
|
80
|
<div class="inline_block" style="width: 100%;">
|
80
|
|
- 诊断:
|
|
81
|
+ 诊断:
|
81
|
82
|
<div class="under_line"
|
82
|
83
|
style=" width:95%; text-align: left;word-wrap: break-word;white-space: inherit;"
|
83
|
84
|
>
|
|
@@ -1048,7 +1049,7 @@
|
1048
|
1049
|
<div class="inline_block" style="flex: 1">
|
1049
|
1050
|
上机时间
|
1050
|
1051
|
<div class="under_line"
|
1051
|
|
- style="width: 80px; text-align: center"
|
|
1052
|
+ style="width: 65%; text-align: center"
|
1052
|
1053
|
>
|
1053
|
1054
|
<span style="height: 30px;display: inline-block;">
|
1054
|
1055
|
|
|
@@ -1063,7 +1064,7 @@
|
1063
|
1064
|
<div class="inline_block" style="flex: 1">
|
1064
|
1065
|
下机时间:
|
1065
|
1066
|
<div class="under_line"
|
1066
|
|
- style="width: 80px; text-align: center"
|
|
1067
|
+ style="width: 65%; text-align: center"
|
1067
|
1068
|
>
|
1068
|
1069
|
<span style="height: 30px; display: inline-block">
|
1069
|
1070
|
</span>
|
|
@@ -1084,7 +1085,6 @@
|
1084
|
1085
|
</div>
|
1085
|
1086
|
|
1086
|
1087
|
</div>
|
1087
|
|
-
|
1088
|
1088
|
</template>
|
1089
|
1089
|
|
1090
|
1090
|
<script>
|
|
@@ -1222,6 +1222,219 @@ export default {
|
1222
|
1222
|
}
|
1223
|
1223
|
},
|
1224
|
1224
|
methods: {
|
|
1225
|
+ checkData() {
|
|
1226
|
+ var checkDate =[]
|
|
1227
|
+ if(this.dialysisOrder && this.dialysisOrder.bed_id == 0 &&
|
|
1228
|
+ this.patientInfo.DialysisSchedule.bed_id == 0
|
|
1229
|
+ ){
|
|
1230
|
+ const obj = "透析机型号"
|
|
1231
|
+ checkDate.push(obj)
|
|
1232
|
+ }
|
|
1233
|
+ if (this.predialysis.temperature == '') {
|
|
1234
|
+ const obj1 = "透前体温"
|
|
1235
|
+ checkDate.push(obj1)
|
|
1236
|
+ } if (this.predialysis.pulse_frequency == "") {
|
|
1237
|
+ const obj2 = "透前脉搏"
|
|
1238
|
+ checkDate.push(obj2)
|
|
1239
|
+ } if (this.predialysis.breathing_rate == "") {
|
|
1240
|
+ const obj3 = "透前呼吸"
|
|
1241
|
+ checkDate.push(obj3)
|
|
1242
|
+ } if (
|
|
1243
|
+ this.predialysis.systolic_blood_pressure == 0 ||
|
|
1244
|
+ this.predialysis.diastolic_blood_pressure == 0
|
|
1245
|
+ ) {
|
|
1246
|
+ const obj4 = "透前血压"
|
|
1247
|
+ checkDate.push(obj4)
|
|
1248
|
+ } if (this.prescription.dialysis_duration_hour == 0 &&
|
|
1249
|
+ this.prescription.dialysis_duration_minute ==0
|
|
1250
|
+ ) {
|
|
1251
|
+ const obj5 = "透析时间"
|
|
1252
|
+ checkDate.push(obj5)
|
|
1253
|
+ } if (this.prescription.mode == "") {
|
|
1254
|
+ const obj6 = "透析方式"
|
|
1255
|
+ checkDate.push(obj6)
|
|
1256
|
+ } if (this.predialysis.blood_access_part_opera_name =='' ) {
|
|
1257
|
+ const obj7 = "血管通路"
|
|
1258
|
+ checkDate.push(obj7)
|
|
1259
|
+ } if (this.predialysis.catheter == '' ) {
|
|
1260
|
+ const obj8 = "导管"
|
|
1261
|
+ checkDate.push(obj8)
|
|
1262
|
+ } if (this.prescription.dialyzer_perfusion_apparatus == '' &&
|
|
1263
|
+ this.prescription.dialysis_dialyszers ==''
|
|
1264
|
+ ) {
|
|
1265
|
+ const obj9 = "透析(滤)器"
|
|
1266
|
+ checkDate.push(obj9)
|
|
1267
|
+ } if (this.prescription.dialysis_irrigation == '') {
|
|
1268
|
+ const obj10 = "灌流器"
|
|
1269
|
+ checkDate.push(obj10)
|
|
1270
|
+ } if (this.prescription.displace_liqui_part == ""&&
|
|
1271
|
+ (this.prescription.mode_id ==2 || this.prescription.mode_id ==12)
|
|
1272
|
+ ) {
|
|
1273
|
+ const obj11 = "置换方式"
|
|
1274
|
+ checkDate.push(obj11)
|
|
1275
|
+ } if (this.prescription.replacement_total == "" &&
|
|
1276
|
+ (this.prescription.mode_id ==2 || this.prescription.mode_id ==12)
|
|
1277
|
+ ) {
|
|
1278
|
+ const obj12 = "置换量"
|
|
1279
|
+ checkDate.push(obj12)
|
|
1280
|
+ } if ( this.prescription.blood_flow_volume == '') {
|
|
1281
|
+ const obj13 = "血流量"
|
|
1282
|
+ checkDate.push(obj13)
|
|
1283
|
+ } if (this.predialysis.dry_weight == "") {
|
|
1284
|
+ const obj14 = "干体重"
|
|
1285
|
+ checkDate.push(obj14)
|
|
1286
|
+ } if (this.lastWeight.weight_after == "") {
|
|
1287
|
+ const obj15 = "上次透后体重"
|
|
1288
|
+ checkDate.push(obj15)
|
|
1289
|
+ } if (this.predialysis.weight_before == "" ) {
|
|
1290
|
+ const obj16 = "透前体重"
|
|
1291
|
+ checkDate.push(obj16)
|
|
1292
|
+ } if (this.prescription.target_ultrafiltration == 0) {
|
|
1293
|
+ const obj17 = "计划超滤量"
|
|
1294
|
+ checkDate.push(obj17)
|
|
1295
|
+ } if (this.prescription.dialysate_flow == 0 ) {
|
|
1296
|
+ const obj18 = "透析液流量"
|
|
1297
|
+ checkDate.push(obj18)
|
|
1298
|
+ } if (this.prescription.kalium == 0) {
|
|
1299
|
+ const obj19 = "钾"
|
|
1300
|
+ checkDate.push(obj19)
|
|
1301
|
+ } if (this.prescription.calcium == 0) {
|
|
1302
|
+ const obj20 = "钙"
|
|
1303
|
+ checkDate.push(obj20)
|
|
1304
|
+ } if (this.prescription.sodium == 0) {
|
|
1305
|
+ const obj21 = "钠"
|
|
1306
|
+ checkDate.push(obj21)
|
|
1307
|
+ }if (this.prescription.bicarbonate == 0) {
|
|
1308
|
+ const obj22 = "碳酸氢根"
|
|
1309
|
+ checkDate.push(obj22)
|
|
1310
|
+ } if (this.prescription.anticoagulant_name == 0) {
|
|
1311
|
+ const obj23 = "抗凝剂"
|
|
1312
|
+ checkDate.push(obj23)
|
|
1313
|
+ } if (this.prescription.anticoagulant_shouji == 0 &&
|
|
1314
|
+ this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
|
|
1315
|
+ ) {
|
|
1316
|
+ const obj24 = "首剂"
|
|
1317
|
+ checkDate.push(obj24)
|
|
1318
|
+ }if (this.prescription.anticoagulant_zongliang == 0 &&
|
|
1319
|
+ this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !='' && prescription.anticoagulant != 5
|
|
1320
|
+ ) {
|
|
1321
|
+ const obj25 = "总量"
|
|
1322
|
+ checkDate.push(obj25)
|
|
1323
|
+ } if (
|
|
1324
|
+ this.prescription.anticoagulant_gaimingcheng == "" &&
|
|
1325
|
+ this.prescription.anticoagulant == 5
|
|
1326
|
+ ) {
|
|
1327
|
+ const obj26 = "钙名称"
|
|
1328
|
+ checkDate.push(obj26)
|
|
1329
|
+ } if (
|
|
1330
|
+ this.prescription.anticoagulant_gaijiliang == "" &&
|
|
1331
|
+ this.prescription.anticoagulant == 5
|
|
1332
|
+ ) {
|
|
1333
|
+ const obj27 = "钙剂量"
|
|
1334
|
+ checkDate.push(obj27)
|
|
1335
|
+ } if (this.afterdialysis.temperature == ''){
|
|
1336
|
+ const obj28 = "透后温度"
|
|
1337
|
+ checkDate.push(obj28)
|
|
1338
|
+ } if (this.afterdialysis.pulse_frequency == 0) {
|
|
1339
|
+ const obj29 = "透后脉搏"
|
|
1340
|
+ checkDate.push(obj29)
|
|
1341
|
+ } if (
|
|
1342
|
+ this.afterdialysis.systolic_blood_pressure == '' &&
|
|
1343
|
+ this.afterdialysis.diastolic_blood_pressure == ''
|
|
1344
|
+ ){
|
|
1345
|
+ const obj30 = "透后血压"
|
|
1346
|
+ checkDate.push(obj30)
|
|
1347
|
+ } if (this.afterdialysis.breathing_rate == 0) {
|
|
1348
|
+ const obj31 = "透后呼吸"
|
|
1349
|
+ checkDate.push(obj31)
|
|
1350
|
+ } if (this.afterdialysis.cruor == '') {
|
|
1351
|
+ const obj32 = "透析器凝血"
|
|
1352
|
+ checkDate.push(obj32)
|
|
1353
|
+ } if (this.afterdialysis.internal_fistula == '') {
|
|
1354
|
+ const obj33 = "透后内瘘"
|
|
1355
|
+ checkDate.push(obj33)
|
|
1356
|
+ } if (this.afterdialysis.catheter =='') {
|
|
1357
|
+ const obj34 = "透后导管"
|
|
1358
|
+ checkDate.push(obj34)
|
|
1359
|
+ } if (this.afterdialysis.actual_treatment_hour == 0 &&
|
|
1360
|
+ this.afterdialysis.actual_treatment_minute == 0
|
|
1361
|
+ ) {
|
|
1362
|
+ const obj35 = "实际治疗时间"
|
|
1363
|
+ checkDate.push(obj35)
|
|
1364
|
+ } if (this.afterdialysis.weight_after == 0) {
|
|
1365
|
+ const obj36 = "透后体重"
|
|
1366
|
+ checkDate.push(obj36)
|
|
1367
|
+ } if (this.afterdialysis.dialysis_intakes_unit == 0) {
|
|
1368
|
+ const obj37 = "透析中入量"
|
|
1369
|
+ checkDate.push(obj37)
|
|
1370
|
+ } if (this.afterdialysis.actual_ultrafiltration == 0) {
|
|
1371
|
+ const obj38 = "实际超滤量"
|
|
1372
|
+ checkDate.push(obj38)
|
|
1373
|
+ } if (this.summary.dialysis_summary == '') {
|
|
1374
|
+ const obj39 = "治疗小结"
|
|
1375
|
+ checkDate.push(obj39)
|
|
1376
|
+ } if (this.summary.mission == 0) {
|
|
1377
|
+ const obj40 = "宣教知识"
|
|
1378
|
+ checkDate.push(obj40)
|
|
1379
|
+ } if (
|
|
1380
|
+ this.dialysisOrder == null ||
|
|
1381
|
+ this.dialysisOrder.start_nurse == 0
|
|
1382
|
+ ) {
|
|
1383
|
+ const obj41 = "上机护士"
|
|
1384
|
+ checkDate.push(obj41)
|
|
1385
|
+ } if (this.dialysisOrder == null && this.check.creater == 0) {
|
|
1386
|
+ const obj42 = "核对人员"
|
|
1387
|
+ checkDate.push(obj42)
|
|
1388
|
+ } else if (
|
|
1389
|
+ this.dialysisOrder != null &&
|
|
1390
|
+ this.dialysisOrder.start_nurse == this.check.modifier &&
|
|
1391
|
+ this.check.creater == 0
|
|
1392
|
+ ) {
|
|
1393
|
+ const obj42 = "核对人员"
|
|
1394
|
+ checkDate.push(obj42)
|
|
1395
|
+ } else if (
|
|
1396
|
+ this.dialysisOrder != null &&
|
|
1397
|
+ this.dialysisOrder.start_nurse == this.check.creater &&
|
|
1398
|
+ this.check.modifier == 0
|
|
1399
|
+ ) {
|
|
1400
|
+ const obj42 = "核对人员"
|
|
1401
|
+ checkDate.push(obj42)
|
|
1402
|
+ } else if (
|
|
1403
|
+ this.dialysisOrder != null &&
|
|
1404
|
+ this.dialysisOrder.start_nurse != this.check.creater &&
|
|
1405
|
+ this.dialysisOrder.start_nurse != this.check.modifier &&
|
|
1406
|
+ this.check.creater == 0
|
|
1407
|
+ ) {
|
|
1408
|
+ const obj42 = "核对人员"
|
|
1409
|
+ checkDate.push(obj42)
|
|
1410
|
+ } if (
|
|
1411
|
+ this.dialysisOrder == null ||
|
|
1412
|
+ this.dialysisOrder.finish_nurse == 0
|
|
1413
|
+ ) {
|
|
1414
|
+ const obj43 = "下机护士"
|
|
1415
|
+ checkDate.push(obj43)
|
|
1416
|
+ } if (this.prescription.creater == 0) {
|
|
1417
|
+ const obj44 = "医生签名"
|
|
1418
|
+ checkDate.push(obj44)
|
|
1419
|
+ } if (this.dialysisOrder.start_time == '' && this.dialysisOrder != null) {
|
|
1420
|
+ const obj45 = "上机时间"
|
|
1421
|
+ checkDate.push(obj45)
|
|
1422
|
+ } if (this.dialysisOrder.end_time == "" && this.dialysisOrder != null) {
|
|
1423
|
+ const obj46 = "下机时间"
|
|
1424
|
+ checkDate.push(obj46)
|
|
1425
|
+ } if(this.doctor_advices.length > 0){
|
|
1426
|
+ this.doctor_advices.map((item) =>{
|
|
1427
|
+ if(item.id > 0 && (item.created_time || item.start_time)){
|
|
1428
|
+ if(item.execution_staff ==0 && item.advice_doctor ==0){
|
|
1429
|
+ const obj47 = '执行人员,医生签名'
|
|
1430
|
+ checkDate.push(obj47)
|
|
1431
|
+ }
|
|
1432
|
+ }
|
|
1433
|
+ })
|
|
1434
|
+ }
|
|
1435
|
+
|
|
1436
|
+ this.getcheckData(checkDate)
|
|
1437
|
+ },
|
1225
|
1438
|
getDisplaceLiquiPart: function (val) {
|
1226
|
1439
|
let displace_liqui_part_name = '/'
|
1227
|
1440
|
let displace_liqui_part = this.displaceLiquiPartOptions
|
|
@@ -1829,6 +2042,16 @@ export default {
|
1829
|
2042
|
return options[i].number_type
|
1830
|
2043
|
}
|
1831
|
2044
|
}
|
|
2045
|
+ },
|
|
2046
|
+ getcheckData(val){
|
|
2047
|
+ if(val.length >0){
|
|
2048
|
+ const a = val.join(',')
|
|
2049
|
+ console.log('a',a);
|
|
2050
|
+ this.$toast(a +" 未填");
|
|
2051
|
+ return a
|
|
2052
|
+ }else{
|
|
2053
|
+ this.$toast('核对完成');
|
|
2054
|
+ }
|
1832
|
2055
|
}
|
1833
|
2056
|
},
|
1834
|
2057
|
watch: {
|