|
@@ -647,13 +647,13 @@
|
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
|
654
|
|
655
|
655
|
<td style="font-size: 16px" width="10%">医生签名</td>
|
656
|
|
- <td style="font-size: 16px" width="10%">时间</td>
|
|
656
|
+ <td style="font-size: 16px" width="6%">时间</td>
|
657
|
657
|
<td style="font-size: 16px" width="10%">执行人签名</td>
|
658
|
658
|
|
659
|
659
|
<td style="font-size: 16px" width="10%">核对人签名</td>
|
|
@@ -669,14 +669,13 @@
|
669
|
669
|
{{ getTime(advice[0].start_time, "{h}:{i}") }}
|
670
|
670
|
</span>
|
671
|
671
|
</td>
|
672
|
|
-
|
673
|
672
|
<td
|
674
|
673
|
height="35px"
|
675
|
674
|
colspan="2"
|
676
|
675
|
class="advice-name"
|
677
|
676
|
style="padding-left: 7px"
|
678
|
677
|
>
|
679
|
|
- <span v-if="advice[0].parent_id > 0">---></span>
|
|
678
|
+
|
680
|
679
|
<span>{{ advice[0].advice_name }}</span>
|
681
|
680
|
|
682
|
681
|
<span
|
|
@@ -787,6 +786,11 @@
|
787
|
786
|
/>
|
788
|
787
|
</td>
|
789
|
788
|
</tr>
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+ </template>
|
|
792
|
+ <template>
|
|
793
|
+
|
790
|
794
|
</template>
|
791
|
795
|
</tbody>
|
792
|
796
|
</table>
|
|
@@ -974,7 +978,7 @@
|
974
|
978
|
</div>
|
975
|
979
|
</div>
|
976
|
980
|
<div class="inline_block" style="flex: 1">
|
977
|
|
- 核对人员:
|
|
981
|
+ 核对护士:
|
978
|
982
|
|
979
|
983
|
<div
|
980
|
984
|
class="under_line"
|
|
@@ -1188,7 +1192,7 @@
|
1188
|
1192
|
</div>
|
1189
|
1193
|
</div>
|
1190
|
1194
|
<!-- 透析小结 -->
|
1191
|
|
- <div style="width: 99%;border: 1px solid black;white-space: normal;padding:5px ;">
|
|
1195
|
+ <div style="width: 99%;border: 1px solid black;white-space: normal;padding:5px;box-sizing: border-box;">
|
1192
|
1196
|
<div style="width: 100%;margin-bottom: 6px;">
|
1193
|
1197
|
<div style="margin-bottom: 10px;">
|
1194
|
1198
|
宣教知识:
|
|
@@ -1395,6 +1399,7 @@ export default {
|
1395
|
1399
|
// return false;
|
1396
|
1400
|
// }
|
1397
|
1401
|
},
|
|
1402
|
+
|
1398
|
1403
|
mounted() {
|
1399
|
1404
|
this.loading = true;
|
1400
|
1405
|
var ids = this.$store.getters.temp_params.batch_print_dialysis_record_ids;
|
|
@@ -1405,6 +1410,8 @@ export default {
|
1405
|
1410
|
GetBatchPrintDialysisData(ids.join(","))
|
1406
|
1411
|
.then((rs) => {
|
1407
|
1412
|
var resp = rs.data;
|
|
1413
|
+ console.log('kkkkkk',rs.data);
|
|
1414
|
+
|
1408
|
1415
|
if (resp.state == 1) {
|
1409
|
1416
|
this.records = this.records.concat(resp.data.schedules);
|
1410
|
1417
|
var tempmonitorflag = true;
|
|
@@ -1464,7 +1471,8 @@ export default {
|
1464
|
1471
|
} else {
|
1465
|
1472
|
delghTwo = 0;
|
1466
|
1473
|
}
|
1467
|
|
-
|
|
1474
|
+ console.log('delghTwo',delghTwo);
|
|
1475
|
+
|
1468
|
1476
|
if (delghTwo > 0) {
|
1469
|
1477
|
if (
|
1470
|
1478
|
typeof this.records[recordIndex].advices === "undefined" ||
|
|
@@ -1474,9 +1482,11 @@ export default {
|
1474
|
1482
|
}
|
1475
|
1483
|
for (let index = 0; index < delghTwo; index++) {
|
1476
|
1484
|
this.records[recordIndex].advices.push([]);
|
|
1485
|
+ console.log('ttttt',this.records[recordIndex].advices);
|
1477
|
1486
|
}
|
1478
|
1487
|
}
|
1479
|
|
-
|
|
1488
|
+ console.log('oooooo',this.records[recordIndex].advices);
|
|
1489
|
+
|
1480
|
1490
|
var childMap = {};
|
1481
|
1491
|
for (const index in this.records[recordIndex].advices) {
|
1482
|
1492
|
if (this.records[recordIndex].advices[index].parent_id == 0) {
|
|
@@ -1496,19 +1506,24 @@ export default {
|
1496
|
1506
|
}
|
1497
|
1507
|
|
1498
|
1508
|
var advices = [];
|
|
1509
|
+ console.log('oooooo22',this.records[recordIndex].advices);
|
1499
|
1510
|
for (const index in this.records[recordIndex].advices) {
|
1500
|
|
- if (this.records[recordIndex].advices[index].parent_id > 0) {
|
1501
|
|
- continue;
|
1502
|
|
- }
|
|
1511
|
+ // if (this.records[recordIndex].advices[index].parent_id > 0) {
|
|
1512
|
+ // continue;
|
|
1513
|
+ // }
|
1503
|
1514
|
var item = this.records[recordIndex].advices[index];
|
|
1515
|
+
|
1504
|
1516
|
if (item.id in childMap) {
|
1505
|
1517
|
item.children = childMap[item.id];
|
|
1518
|
+
|
1506
|
1519
|
} else {
|
1507
|
1520
|
item.children = [];
|
1508
|
1521
|
}
|
1509
|
1522
|
advices.push(item);
|
1510
|
1523
|
}
|
1511
|
|
-
|
|
1524
|
+ // var advices = this.records[recordIndex].advices
|
|
1525
|
+ console.log('111111111',advices);
|
|
1526
|
+
|
1512
|
1527
|
var leftAdvice = [];
|
1513
|
1528
|
var rightAdvice = [];
|
1514
|
1529
|
var adlen = advices.length;
|
|
@@ -1540,12 +1555,6 @@ export default {
|
1540
|
1555
|
this.records[recordIndex].advices.push(item);
|
1541
|
1556
|
}
|
1542
|
1557
|
}
|
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
|
1558
|
|
1550
|
1559
|
this.operators = resp.data.medical_staffs;
|
1551
|
1560
|
if (this.operators.length > 0) {
|
|
@@ -1598,7 +1607,7 @@ export default {
|
1598
|
1607
|
},
|
1599
|
1608
|
printAction: function () {
|
1600
|
1609
|
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;}';
|
|
1610
|
+ '@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
|
1611
|
|
1603
|
1612
|
printJS({
|
1604
|
1613
|
printable: "print_content",
|