|
@@ -647,17 +647,14 @@
|
647
|
647
|
</td>
|
648
|
648
|
</tr>
|
649
|
649
|
<tr style="line-height: 35px; padding: 8px 5px">
|
650
|
|
- <td style="font-size: 16px" width="10%">时间</td>
|
651
|
|
- <td style="font-size: 16px" colspan="2" width="45%">
|
|
650
|
+ <td style="font-size: 16px" width="6%">时间</td>
|
|
651
|
+ <td style="font-size: 16px" colspan="2" width="54%">
|
652
|
652
|
医嘱内容
|
653
|
653
|
</td>
|
654
|
|
-
|
655
|
654
|
<td style="font-size: 16px" width="10%">医生签名</td>
|
656
|
|
- <td style="font-size: 16px" width="10%">时间</td>
|
|
655
|
+ <td style="font-size: 16px" width="6%">时间</td>
|
657
|
656
|
<td style="font-size: 16px" width="10%">执行人签名</td>
|
658
|
|
-
|
659
|
657
|
<td style="font-size: 16px" width="10%">核对人签名</td>
|
660
|
|
-
|
661
|
658
|
</tr>
|
662
|
659
|
<template v-if="record.advices">
|
663
|
660
|
<tr
|
|
@@ -669,14 +666,13 @@
|
669
|
666
|
{{ getTime(advice[0].start_time, "{h}:{i}") }}
|
670
|
667
|
</span>
|
671
|
668
|
</td>
|
672
|
|
-
|
673
|
669
|
<td
|
674
|
670
|
height="35px"
|
675
|
671
|
colspan="2"
|
676
|
672
|
class="advice-name"
|
677
|
673
|
style="padding-left: 7px"
|
678
|
674
|
>
|
679
|
|
- <span v-if="advice[0].parent_id > 0">---></span>
|
|
675
|
+
|
680
|
676
|
<span>{{ advice[0].advice_name }}</span>
|
681
|
677
|
|
682
|
678
|
<span
|
|
@@ -787,6 +783,11 @@
|
787
|
783
|
/>
|
788
|
784
|
</td>
|
789
|
785
|
</tr>
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+ </template>
|
|
789
|
+ <template>
|
|
790
|
+
|
790
|
791
|
</template>
|
791
|
792
|
</tbody>
|
792
|
793
|
</table>
|
|
@@ -911,7 +912,7 @@
|
911
|
912
|
<div style="border: 1px solid black;border-bottom:none;width: 99%;">
|
912
|
913
|
<div class="row" style="display: flex;">
|
913
|
914
|
<div class="inline_block" style="flex: 1">
|
914
|
|
- 穿刺护士:
|
|
915
|
+ 上机护士:
|
915
|
916
|
<div class="under_line"
|
916
|
917
|
style="width: 90px; text-align: center"
|
917
|
918
|
>
|
|
@@ -974,9 +975,9 @@
|
974
|
975
|
</div>
|
975
|
976
|
</div>
|
976
|
977
|
<div class="inline_block" style="flex: 1">
|
977
|
|
- 核对人员:
|
|
978
|
+ 核对护士:
|
978
|
979
|
|
979
|
|
- <div
|
|
980
|
+ <!-- <div
|
980
|
981
|
class="under_line"
|
981
|
982
|
style="width: 80px; text-align: center"
|
982
|
983
|
v-if="
|
|
@@ -1001,8 +1002,8 @@
|
1001
|
1002
|
srcset=""
|
1002
|
1003
|
v-else
|
1003
|
1004
|
/>
|
1004
|
|
- </div>
|
1005
|
|
- <div
|
|
1005
|
+ </div> -->
|
|
1006
|
+ <!-- <div
|
1006
|
1007
|
class="under_line"
|
1007
|
1008
|
style="width: 80px; text-align: center"
|
1008
|
1009
|
v-if="
|
|
@@ -1029,17 +1030,15 @@
|
1029
|
1030
|
srcset=""
|
1030
|
1031
|
v-else
|
1031
|
1032
|
/>
|
1032
|
|
- </div>
|
|
1033
|
+ </div> -->
|
1033
|
1034
|
<div
|
1034
|
1035
|
class="under_line"
|
1035
|
1036
|
style="width: 80px; text-align: center"
|
1036
|
1037
|
v-if="
|
1037
|
|
- record.check != null &&
|
1038
|
|
- record.dialysis_order != null &&
|
1039
|
|
- record.dialysis_order.start_nurse ==
|
1040
|
|
- record.check.creater
|
|
1038
|
+ record.check != null
|
1041
|
1039
|
"
|
1042
|
1040
|
>
|
|
1041
|
+ <span style="height: 30px;display: inline-block;"></span>
|
1043
|
1042
|
<span
|
1044
|
1043
|
style=" display: inline-block"
|
1045
|
1044
|
v-if="
|
|
@@ -1060,7 +1059,7 @@
|
1060
|
1059
|
v-else
|
1061
|
1060
|
/>
|
1062
|
1061
|
</div>
|
1063
|
|
- <div
|
|
1062
|
+ <!-- <div
|
1064
|
1063
|
class="under_line"
|
1065
|
1064
|
style="width: 80px; text-align: center"
|
1066
|
1065
|
v-if="
|
|
@@ -1089,7 +1088,7 @@
|
1089
|
1088
|
srcset=""
|
1090
|
1089
|
v-else
|
1091
|
1090
|
/>
|
1092
|
|
- </div>
|
|
1091
|
+ </div> -->
|
1093
|
1092
|
<div
|
1094
|
1093
|
class="under_line"
|
1095
|
1094
|
style="width: 80px; text-align: left"
|
|
@@ -1188,7 +1187,7 @@
|
1188
|
1187
|
</div>
|
1189
|
1188
|
</div>
|
1190
|
1189
|
<!-- 透析小结 -->
|
1191
|
|
- <div style="width: 99%;border: 1px solid black;white-space: normal;padding:5px ;">
|
|
1190
|
+ <div style="width: 99%;border: 1px solid black;white-space: normal;padding:5px;box-sizing: border-box;">
|
1192
|
1191
|
<div style="width: 100%;margin-bottom: 6px;">
|
1193
|
1192
|
<div style="margin-bottom: 10px;">
|
1194
|
1193
|
宣教知识:
|
|
@@ -1395,6 +1394,7 @@ export default {
|
1395
|
1394
|
// return false;
|
1396
|
1395
|
// }
|
1397
|
1396
|
},
|
|
1397
|
+
|
1398
|
1398
|
mounted() {
|
1399
|
1399
|
this.loading = true;
|
1400
|
1400
|
var ids = this.$store.getters.temp_params.batch_print_dialysis_record_ids;
|
|
@@ -1405,6 +1405,8 @@ export default {
|
1405
|
1405
|
GetBatchPrintDialysisData(ids.join(","))
|
1406
|
1406
|
.then((rs) => {
|
1407
|
1407
|
var resp = rs.data;
|
|
1408
|
+ console.log('kkkkkk',rs.data);
|
|
1409
|
+
|
1408
|
1410
|
if (resp.state == 1) {
|
1409
|
1411
|
this.records = this.records.concat(resp.data.schedules);
|
1410
|
1412
|
var tempmonitorflag = true;
|
|
@@ -1464,7 +1466,8 @@ export default {
|
1464
|
1466
|
} else {
|
1465
|
1467
|
delghTwo = 0;
|
1466
|
1468
|
}
|
1467
|
|
-
|
|
1469
|
+ console.log('delghTwo',delghTwo);
|
|
1470
|
+
|
1468
|
1471
|
if (delghTwo > 0) {
|
1469
|
1472
|
if (
|
1470
|
1473
|
typeof this.records[recordIndex].advices === "undefined" ||
|
|
@@ -1474,9 +1477,11 @@ export default {
|
1474
|
1477
|
}
|
1475
|
1478
|
for (let index = 0; index < delghTwo; index++) {
|
1476
|
1479
|
this.records[recordIndex].advices.push([]);
|
|
1480
|
+ // console.log('ttttt',this.records[recordIndex].advices);
|
1477
|
1481
|
}
|
1478
|
1482
|
}
|
1479
|
|
-
|
|
1483
|
+ // console.log('oooooo',this.records[recordIndex].advices);
|
|
1484
|
+
|
1480
|
1485
|
var childMap = {};
|
1481
|
1486
|
for (const index in this.records[recordIndex].advices) {
|
1482
|
1487
|
if (this.records[recordIndex].advices[index].parent_id == 0) {
|
|
@@ -1496,19 +1501,25 @@ export default {
|
1496
|
1501
|
}
|
1497
|
1502
|
|
1498
|
1503
|
var advices = [];
|
|
1504
|
+ // console.log('oooooo22',this.records[recordIndex].advices);
|
1499
|
1505
|
for (const index in this.records[recordIndex].advices) {
|
1500
|
|
- if (this.records[recordIndex].advices[index].parent_id > 0) {
|
1501
|
|
- continue;
|
1502
|
|
- }
|
|
1506
|
+ // if (this.records[recordIndex].advices[index].parent_id > 0) {
|
|
1507
|
+ // continue;
|
|
1508
|
+ // }
|
1503
|
1509
|
var item = this.records[recordIndex].advices[index];
|
|
1510
|
+
|
1504
|
1511
|
if (item.id in childMap) {
|
1505
|
1512
|
item.children = childMap[item.id];
|
|
1513
|
+
|
1506
|
1514
|
} else {
|
1507
|
1515
|
item.children = [];
|
1508
|
1516
|
}
|
1509
|
1517
|
advices.push(item);
|
1510
|
1518
|
}
|
1511
|
|
-
|
|
1519
|
+ // var advices = this.records[recordIndex].advices
|
|
1520
|
+ console.log('111111111',advices);
|
|
1521
|
+ console.log('this.records',this.records);
|
|
1522
|
+
|
1512
|
1523
|
var leftAdvice = [];
|
1513
|
1524
|
var rightAdvice = [];
|
1514
|
1525
|
var adlen = advices.length;
|
|
@@ -1540,12 +1551,6 @@ export default {
|
1540
|
1551
|
this.records[recordIndex].advices.push(item);
|
1541
|
1552
|
}
|
1542
|
1553
|
}
|
1543
|
|
- console.log(this.records, "this.records");
|
1544
|
|
- // this.records.forEach(o => {
|
1545
|
|
- // console.log(o,'jj')
|
1546
|
|
- // this.blood_access_part_opera_name = this.bloodAccessParOperaName(
|
1547
|
|
- // o.assessment_before_dislysis.blood_access_part_opera_id)
|
1548
|
|
- // })
|
1549
|
1554
|
|
1550
|
1555
|
this.operators = resp.data.medical_staffs;
|
1551
|
1556
|
if (this.operators.length > 0) {
|
|
@@ -1598,7 +1603,7 @@ export default {
|
1598
|
1603
|
},
|
1599
|
1604
|
printAction: function () {
|
1600
|
1605
|
const style =
|
1601
|
|
- '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.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;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
|
|
1606
|
+ '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.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;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
|
1602
|
1607
|
|
1603
|
1608
|
printJS({
|
1604
|
1609
|
printable: "print_content",
|