|
@@ -1,6 +1,6 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div>
|
3
|
|
- <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
|
|
3
|
+ <el-button type="primary" @click="checkData">一键核对</el-button>
|
4
|
4
|
<div id="dialysis-print-box-1">
|
5
|
5
|
<div
|
6
|
6
|
id="dialysis-print-box-1-1"
|
|
@@ -219,27 +219,35 @@
|
219
|
219
|
</div>
|
220
|
220
|
|
221
|
221
|
<div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
|
222
|
|
- <div class="inline_block" style="flex:1.4">
|
|
222
|
+ <div class="inline_block">
|
223
|
223
|
血管通路:
|
224
|
|
- <div class="under_line" style="width: 200px;text-align: center;">
|
|
224
|
+ <div class="under_line" style="width: 220px;text-align: center;">
|
225
|
225
|
<!-- {{ QueryPartById(predialysis.blood_access_part_id) }} -->
|
226
|
226
|
{{predialysis.blood_access_part_id}}
|
227
|
227
|
{{ predialysis.blood_access_part_opera_name }}
|
228
|
228
|
</div>
|
229
|
229
|
</div>
|
230
|
|
- <div class="inline_block" style="margin-left:10px;flex:1;">
|
|
230
|
+ <div class="inline_block" style="margin-left:10px;">
|
231
|
231
|
内瘘:
|
232
|
|
- <div class="under_line" style="width: 170px;text-align: center;white-space: normal;">
|
|
232
|
+ <div class="under_line" style="width: 180px;text-align: center;white-space: normal;">
|
233
|
233
|
{{ predialysis.internal_fistula ? predialysis.internal_fistula : "/" }}
|
234
|
234
|
</div>
|
235
|
235
|
</div>
|
236
|
236
|
|
237
|
|
- <div class="inline_block" style="margin-left:10px;flex:1.8;">
|
|
237
|
+ <div class="inline_block" style="margin-left:10px;flex:1.4;">
|
238
|
238
|
导管:
|
239
|
239
|
<div class="under_line" style="width: 150px;text-align: center">
|
240
|
240
|
{{ predialysis.catheter ? predialysis.catheter : "/" }}
|
241
|
241
|
</div>
|
242
|
242
|
</div>
|
|
243
|
+ <div class="inline_block" style="margin-left:10px;flex:1;" v-if="org_id == 10223">
|
|
244
|
+ 导管打折:
|
|
245
|
+ <div class="under_line" style="width: 50px;text-align: center;white-space: normal;">
|
|
246
|
+ <span v-if="predialysis.catheter_bend == 0">/</span>
|
|
247
|
+ <span v-if="predialysis.catheter_bend == 1">有</span>
|
|
248
|
+ <span v-if="predialysis.catheter_bend == 2">无</span>
|
|
249
|
+ </div>
|
|
250
|
+ </div>
|
243
|
251
|
</div>
|
244
|
252
|
<div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
|
245
|
253
|
<div class="inline_block" style="flex:1;">
|
|
@@ -576,8 +584,8 @@
|
576
|
584
|
</td>
|
577
|
585
|
<td v-if="org_id != 9836">{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
|
578
|
586
|
<td v-if="org_id == 9836">{{ monitor.temperature ? monitor.temperature : "" }}</td>
|
579
|
|
- <td>{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}
|
580
|
|
- </td>
|
|
587
|
+ <td v-if="org_id != 9538">{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
|
|
588
|
+ <td v-if="org_id == 9538">{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</td>
|
581
|
589
|
<td v-if="(dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time)">
|
582
|
590
|
{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
|
583
|
591
|
</td>
|
|
@@ -1258,115 +1266,137 @@ export default {
|
1258
|
1266
|
gaimingcheng_unit: '',
|
1259
|
1267
|
gaijiliang_unit: ''
|
1260
|
1268
|
},
|
1261
|
|
- org_id:0,
|
|
1269
|
+ org_id: 0
|
1262
|
1270
|
}
|
1263
|
1271
|
},
|
1264
|
1272
|
methods: {
|
1265
|
|
- checkData(){
|
1266
|
|
- if(this.receiverTreatmentAccess.way == 0){
|
|
1273
|
+ checkData() {
|
|
1274
|
+ if (this.receiverTreatmentAccess.way == 0) {
|
1267
|
1275
|
this.$message.error('入科方式未填')
|
1268
|
|
- }else if(this.predialysis.symptom_before_dialysis == ""){
|
|
1276
|
+ } else if (this.predialysis.symptom_before_dialysis == '') {
|
1269
|
1277
|
this.$message.error('透前症状未填')
|
1270
|
|
- }else if(this.predialysis.temperature == ""){
|
|
1278
|
+ } else if (this.predialysis.temperature == '') {
|
1271
|
1279
|
this.$message.error('透前体温未填')
|
1272
|
|
- }else if(this.predialysis.pulse_frequency == ""){
|
|
1280
|
+ } else if (this.predialysis.pulse_frequency == '') {
|
1273
|
1281
|
this.$message.error('透前脉搏未填')
|
1274
|
|
- }else if(this.predialysis.breathing_rate == ""){
|
|
1282
|
+ } else if (this.predialysis.breathing_rate == '') {
|
1275
|
1283
|
this.$message.error('透前呼吸频率未填')
|
1276
|
|
- }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
|
|
1284
|
+ } else if (this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0) {
|
1277
|
1285
|
this.$message.error('透前血压未填完整')
|
1278
|
|
- }else if(this.predialysis.puncture_way == ''){
|
|
1286
|
+ } else if (this.predialysis.puncture_way == '') {
|
1279
|
1287
|
this.$message.error('穿刺方式未填')
|
1280
|
|
- }else if(this.predialysis.puncture_needle == ''){
|
|
1288
|
+ } else if (this.predialysis.puncture_needle == '') {
|
1281
|
1289
|
this.$message.error('穿刺针未填')
|
1282
|
|
- }else if(this.predialysis.blood_access_part_id == '' && this.predialysis.blood_access_part_opera_name == ''){
|
|
1290
|
+ } else if (this.predialysis.blood_access_part_id == '' && this.predialysis.blood_access_part_opera_name == '') {
|
1283
|
1291
|
this.$message.error('血管通路未填')
|
1284
|
|
- }else if(this.predialysis.internal_fistula == ''){
|
|
1292
|
+ } else if (this.predialysis.internal_fistula == '') {
|
1285
|
1293
|
this.$message.error('透前内瘘未填')
|
1286
|
|
- }else if(this.predialysis.catheter == ''){
|
|
1294
|
+ } else if (this.predialysis.catheter == '') {
|
1287
|
1295
|
this.$message.error('透前导管未填')
|
1288
|
|
- }else if(this.prescription.mode_id == ""){
|
|
1296
|
+ } else if (this.prescription.mode_id == '') {
|
1289
|
1297
|
this.$message.error('透析方式未填')
|
1290
|
|
- }else if(this.prescription.displace_liqui_part == 0){
|
|
1298
|
+ } else if (this.prescription.displace_liqui_part == 0) {
|
1291
|
1299
|
this.$message.error('置换方式未填')
|
1292
|
|
- }else if(this.prescription.displace_liqui_value == 0){
|
|
1300
|
+ } else if (this.prescription.displace_liqui_value == 0) {
|
1293
|
1301
|
this.$message.error('置换量未填')
|
1294
|
|
- }else if(this.prescription.blood_flow_volume == 0){
|
|
1302
|
+ } else if (this.prescription.blood_flow_volume == 0) {
|
1295
|
1303
|
this.$message.error('血流量未填')
|
1296
|
|
- }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
|
|
1304
|
+ } else if (this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0) {
|
1297
|
1305
|
this.$message.error('透析时间未填')
|
1298
|
|
- }else if(this.prescription.dialyzer_perfusion_apparatus == "" && this.prescription.dialysis_dialyszers == ""){
|
|
1306
|
+ } else if (this.prescription.dialyzer_perfusion_apparatus == '' && this.prescription.dialysis_dialyszers == '') {
|
1299
|
1307
|
this.$message.error('透析器未填')
|
1300
|
|
- }else if(this.prescription.dialysis_irrigation == ""){
|
|
1308
|
+ } else if (this.prescription.dialysis_irrigation == '') {
|
1301
|
1309
|
this.$message.error('灌流器未填')
|
1302
|
|
- }else if(this.prescription.plasma_separator == ""){
|
|
1310
|
+ } else if (this.prescription.plasma_separator == '') {
|
1303
|
1311
|
this.$message.error('血浆分离器未填')
|
1304
|
|
- }else if(this.prescription.bilirubin_adsorption_column == ""){
|
|
1312
|
+ } else if (this.prescription.bilirubin_adsorption_column == '') {
|
1305
|
1313
|
this.$message.error('胆红素吸附柱未填')
|
1306
|
|
- }else if(this.predialysis.weight_before == 0){
|
|
1314
|
+ } else if (this.predialysis.weight_before == 0) {
|
1307
|
1315
|
this.$message.error('透前体重未填')
|
1308
|
|
- }else if(this.predialysis.dry_weight == 0){
|
|
1316
|
+ } else if (this.predialysis.dry_weight == 0) {
|
1309
|
1317
|
this.$message.error('干体重未填')
|
1310
|
|
- }else if(this.prescription.target_ultrafiltration == 0){
|
|
1318
|
+ } else if (this.prescription.target_ultrafiltration == 0) {
|
1311
|
1319
|
this.$message.error('计划超滤量未填')
|
1312
|
|
- }else if(this.prescription.calcium == 0){
|
|
1320
|
+ } else if (this.prescription.calcium == 0) {
|
1313
|
1321
|
this.$message.error('钙未填')
|
1314
|
|
- }else if(this.prescription.sodium == 0){
|
|
1322
|
+ } else if (this.prescription.sodium == 0) {
|
1315
|
1323
|
this.$message.error('钠未填')
|
1316
|
|
- }else if(this.prescription.kalium == 0){
|
|
1324
|
+ } else if (this.prescription.kalium == 0) {
|
1317
|
1325
|
this.$message.error('钾未填')
|
1318
|
|
- }else if(this.prescription.bicarbonate == 0){
|
|
1326
|
+ } else if (this.prescription.bicarbonate == 0) {
|
1319
|
1327
|
this.$message.error('碳酸氢根未填')
|
1320
|
|
- }else if(this.prescription.dialysate_flow == 0){
|
|
1328
|
+ } else if (this.prescription.dialysate_flow == 0) {
|
1321
|
1329
|
this.$message.error('透析液流量未填')
|
1322
|
|
- }else if(this.prescription.anticoagulant == 0){
|
|
1330
|
+ } else if (this.prescription.anticoagulant == 0) {
|
1323
|
1331
|
this.$message.error('抗凝剂未填')
|
1324
|
|
- }else if(this.prescription.anticoagulant_gaimingcheng == "" && this.prescription.anticoagulant == 5){
|
|
1332
|
+ } else if (this.prescription.anticoagulant_gaimingcheng == '' && this.prescription.anticoagulant == 5) {
|
1325
|
1333
|
this.$message.error('钙名称未填')
|
1326
|
|
- }else if(this.prescription.anticoagulant_gaijiliang == "" && this.prescription.anticoagulant == 5){
|
|
1334
|
+ } else if (this.prescription.anticoagulant_gaijiliang == '' && this.prescription.anticoagulant == 5) {
|
1327
|
1335
|
this.$message.error('钙剂量未填')
|
1328
|
|
- }else if(this.afterdialysis.temperature == 0){
|
|
1336
|
+ } else if (this.afterdialysis.temperature == 0) {
|
1329
|
1337
|
this.$message.error('透后体温未填')
|
1330
|
|
- }else if(this.afterdialysis.pulse_frequency == 0){
|
|
1338
|
+ } else if (this.afterdialysis.pulse_frequency == 0) {
|
1331
|
1339
|
this.$message.error('透后脉搏未填')
|
1332
|
|
- }else if(this.afterdialysis.breathing_rate == 0){
|
|
1340
|
+ } else if (this.afterdialysis.breathing_rate == 0) {
|
1333
|
1341
|
this.$message.error('透后呼吸频率未填')
|
1334
|
|
- }else if(this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0){
|
|
1342
|
+ } else if (this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0) {
|
1335
|
1343
|
this.$message.error('透后血压未填完整')
|
1336
|
|
- }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
|
|
1344
|
+ } else if (this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0) {
|
1337
|
1345
|
this.$message.error('实际治疗时间未填')
|
1338
|
|
- }else if(this.afterdialysis.cruor == ""){
|
|
1346
|
+ } else if (this.afterdialysis.cruor == '') {
|
1339
|
1347
|
this.$message.error('透析器凝血未填')
|
1340
|
|
- }else if(this.afterdialysis.internal_fistula == ''){
|
|
1348
|
+ } else if (this.afterdialysis.internal_fistula == '') {
|
1341
|
1349
|
this.$message.error('透后内瘘未填')
|
1342
|
|
- }else if(this.afterdialysis.catheter == ''){
|
|
1350
|
+ } else if (this.afterdialysis.catheter == '') {
|
1343
|
1351
|
this.$message.error('透后导管未填')
|
1344
|
|
- }else if(this.afterdialysis.weight_after == 0){
|
|
1352
|
+ } else if (this.afterdialysis.weight_after == 0) {
|
1345
|
1353
|
this.$message.error('透后体重未填')
|
1346
|
|
- }else if(this.afterdialysis.weight_loss == 0){
|
|
1354
|
+ } else if (this.afterdialysis.weight_loss == 0) {
|
1347
|
1355
|
this.$message.error('透后体重减少未填')
|
1348
|
|
- }else if(this.afterdialysis.dialysis_intakes == 0){
|
|
1356
|
+ } else if (this.afterdialysis.dialysis_intakes == 0) {
|
1349
|
1357
|
this.$message.error('透析中入量未填')
|
1350
|
|
- }else if(this.afterdialysis.actual_ultrafiltration == 0){
|
|
1358
|
+ } else if (this.afterdialysis.actual_ultrafiltration == 0) {
|
1351
|
1359
|
this.$message.error('实际超滤量未填')
|
1352
|
|
- }else if(this.summary.dialysis_summary == ""){
|
|
1360
|
+ } else if (this.summary.dialysis_summary == '') {
|
1353
|
1361
|
this.$message.error('透析小结未填')
|
1354
|
|
- }else if(this.dialysisOrder.puncture_nurse == 0){
|
|
1362
|
+ } else if (this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0) {
|
1355
|
1363
|
this.$message.error('穿刺护士未填')
|
1356
|
|
- }else if(this.dialysisOrder.start_nurse == 0){
|
|
1364
|
+ } else if (this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0) {
|
1357
|
1365
|
this.$message.error('治疗护士未填')
|
1358
|
|
- }else if(this.dialysisOrder == null && this.check.creater == 0){
|
|
1366
|
+ } else if (this.dialysisOrder == null && this.check.creater == 0) {
|
1359
|
1367
|
this.$message.error('核对人员未填')
|
1360
|
|
- }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
|
|
1368
|
+ } else if (this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0) {
|
1361
|
1369
|
this.$message.error('核对人员未填')
|
1362
|
|
- }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
|
|
1370
|
+ } else if (this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0) {
|
1363
|
1371
|
this.$message.error('核对人员未填')
|
1364
|
|
- }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0){
|
|
1372
|
+ } else if (this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0) {
|
1365
|
1373
|
this.$message.error('核对人员未填')
|
1366
|
|
- }else if(this.dialysisOrder.finish_nurse == 0){
|
|
1374
|
+ } else if (this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0) {
|
1367
|
1375
|
this.$message.error('下机护士未填')
|
1368
|
|
- }else if(this.prescription.creater == 0){
|
|
1376
|
+ } else if (this.prescription.creater == 0) {
|
1369
|
1377
|
this.$message.error('医生签名未填')
|
|
1378
|
+ }else if(this.tableAdvice.length > 0){
|
|
1379
|
+ this.tableAdvice.map(item => {
|
|
1380
|
+ if(item.id > 0 && item.created_time){
|
|
1381
|
+ this.users.map(it => {
|
|
1382
|
+ if(it.id == item.advice_doctor){
|
|
1383
|
+ if(it.type != 2){
|
|
1384
|
+ this.$message.error('存在不是医生保存的医嘱')
|
|
1385
|
+ }
|
|
1386
|
+ }else if(it.id == item.execution_staff && item.execution_staff > 0){
|
|
1387
|
+ if(it.type != 3){
|
|
1388
|
+ this.$message.error('存在不是护士执行的医嘱')
|
|
1389
|
+ }
|
|
1390
|
+ }else if(it.id == item.checker && item.checker > 0){
|
|
1391
|
+ if(it.type != 3){
|
|
1392
|
+ this.$message.error('存在不是护士核对的医嘱')
|
|
1393
|
+ }
|
|
1394
|
+ }
|
|
1395
|
+ })
|
|
1396
|
+ }
|
|
1397
|
+ })
|
|
1398
|
+ }else{
|
|
1399
|
+ this.$message.success('核对完成')
|
1370
|
1400
|
}
|
1371
|
1401
|
},
|
1372
|
1402
|
getDisplaceLiquiPart: function(val) {
|
|
@@ -1536,7 +1566,7 @@ export default {
|
1536
|
1566
|
this.check = response.data.data.check
|
1537
|
1567
|
this.xtdate = response.data.data.xtdate
|
1538
|
1568
|
this.predialysis = response.data.data.PredialysisEvaluation
|
1539
|
|
- console.log("透前评估",this.predialysis)
|
|
1569
|
+ console.log('透前评估', this.predialysis)
|
1540
|
1570
|
this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
|
1541
|
1571
|
this.predialysis.blood_access_part_opera_id
|
1542
|
1572
|
)
|
|
@@ -1656,7 +1686,8 @@ export default {
|
1656
|
1686
|
}
|
1657
|
1687
|
|
1658
|
1688
|
this.advices = response.data.data.advices
|
1659
|
|
- console.log("医嘱数据2222222222",this.advices)
|
|
1689
|
+ this.tableAdvice = response.data.data.advices;
|
|
1690
|
+ console.log('医嘱数据2222222222', this.advices)
|
1660
|
1691
|
this.monitors = response.data.data.monitors
|
1661
|
1692
|
this.summary = response.data.data.summary
|
1662
|
1693
|
this.org_template_info = response.data.data.org_template_info
|
|
@@ -1985,8 +2016,8 @@ export default {
|
1985
|
2016
|
'hemodialysis',
|
1986
|
2017
|
'vascular_access_desc'
|
1987
|
2018
|
)
|
1988
|
|
- this.org_id = this.$store.getters.xt_user.org.id
|
1989
|
|
- console.log("=====",this.org_id)
|
|
2019
|
+ this.org_id = this.$store.getters.xt_user.org.id
|
|
2020
|
+ console.log('=====', this.org_id)
|
1990
|
2021
|
// this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
|
1991
|
2022
|
|
1992
|
2023
|
var bloodAccessParOpera = getDataConfig(
|