|
@@ -45,7 +45,7 @@
|
45
|
45
|
|
46
|
46
|
<div class="inline_block">
|
47
|
47
|
诊断:
|
48
|
|
- <div class="under_line" style="width: 500px;">{{record.patient.diagnose}}</div>
|
|
48
|
+ <div class="under_line_two" style="width: 500px;">{{record.patient.diagnose}}</div>
|
49
|
49
|
</div>
|
50
|
50
|
|
51
|
51
|
</div>
|
|
@@ -78,7 +78,7 @@
|
78
|
78
|
<div class="inline_block" style="margin-left: 30px;">
|
79
|
79
|
透析机编号:
|
80
|
80
|
<div class="under_line" style="width: 100px;">{{record.dialysis_order&&record.dialysis_order.device_number&&record.dialysis_order.device_number.number.length > 0?record.dialysis_order.device_number.number:''}}</div>
|
81
|
|
- 型号
|
|
81
|
+ 型号:
|
82
|
82
|
<div class="under_line" style="width: 100px;">{{record.assessment_before_dislysis&&record.assessment_before_dislysis.machine_type&&record.assessment_before_dislysis.machine_type.length > 0 ? record.assessment_before_dislysis.machine_type:''}}</div>
|
83
|
83
|
</div>
|
84
|
84
|
|
|
@@ -337,7 +337,10 @@
|
337
|
337
|
<!-- </thead>
|
338
|
338
|
<tbody> -->
|
339
|
339
|
<tr v-for="(monitor_record, index) in record.monitor_records" :key="index">
|
340
|
|
- <td>{{getTime(monitor_record.operate_time,'{h}:{i}')}}</td>
|
|
340
|
+ <td v-if="(index == 0&&monitor_record.systolic_blood_pressure&&monitor_record.diastolic_blood_pressure)||(index == 0&&monitor_record.result)">
|
|
341
|
+ {{'透析前'}}
|
|
342
|
+ </td>
|
|
343
|
+ <td v-else>{{getTime(monitor_record.operate_time,'{h}:{i}')}}</td>
|
341
|
344
|
<td>{{monitor_record.systolic_blood_pressure?monitor_record.systolic_blood_pressure:''}} /
|
342
|
345
|
{{monitor_record.diastolic_blood_pressure?monitor_record.diastolic_blood_pressure:''}}
|
343
|
346
|
</td>
|
|
@@ -645,7 +648,7 @@
|
645
|
648
|
<div class="row flex">
|
646
|
649
|
<div class="inline_block">
|
647
|
650
|
诊断:
|
648
|
|
- <div class="under_line" style="width: 500px;">{{record.patient.diagnose}}</div>
|
|
651
|
+ <div class="under_line_two" style="width: 500px;">{{record.patient.diagnose}}</div>
|
649
|
652
|
</div>
|
650
|
653
|
</div>
|
651
|
654
|
<table class="proj_table">
|
|
@@ -703,7 +706,7 @@
|
703
|
706
|
|
704
|
707
|
<div class="inline_block">
|
705
|
708
|
 透析器型号:
|
706
|
|
- <div class="under_line" style="width: 200px">
|
|
709
|
+ <div class="under_line_two" style="width: 200px">
|
707
|
710
|
{{record.prescription?record.prescription.dialyzer_perfusion_apparatus:''}}
|
708
|
711
|
</div>
|
709
|
712
|
</div>
|
|
@@ -753,18 +756,18 @@
|
753
|
756
|
<div class="inline_block">
|
754
|
757
|
透析液(mol/l):
|
755
|
758
|
 Ca<sup>2+</sup>:
|
756
|
|
- <div class="under_line" style="width: 30px;">
|
757
|
|
- {{record.prescription&&record.prescription.calcium?record.prescription.calcium:''}}
|
|
759
|
+ <div class="under_line" style="width: 60px;">
|
|
760
|
+ {{record.prescription&&record.prescription.calcium?getFloat(record.prescription.calcium):''}}
|
758
|
761
|
</div>
|
759
|
762
|
mol/l
|
760
|
763
|
 Na<sup>+</sup>:
|
761
|
|
- <div class="under_line" style="width: 30px;">
|
762
|
|
- {{record.prescription&&record.prescription.sodium?record.prescription.sodium:''}}
|
|
764
|
+ <div class="under_line" style="width: 60px;">
|
|
765
|
+ {{record.prescription&&record.prescription.sodium?getFloat(record.prescription.sodium):''}}
|
763
|
766
|
</div>
|
764
|
767
|
mol/l
|
765
|
768
|
 K<sup>+</sup>:
|
766
|
|
- <div class="under_line" style="width: 30px;">
|
767
|
|
- {{record.prescription&&record.prescription.kalium?record.prescription.kalium:''}}
|
|
769
|
+ <div class="under_line" style="width: 60px;">
|
|
770
|
+ {{record.prescription&&record.prescription.kalium?getFloat(record.prescription.kalium):''}}
|
768
|
771
|
</div>
|
769
|
772
|
mol/l
|
770
|
773
|
</div>
|
|
@@ -845,8 +848,8 @@
|
845
|
848
|
</div>
|
846
|
849
|
<div class="inline_block">
|
847
|
850
|
 实际超滤量:
|
848
|
|
- <div class="under_line" style="width: 100px;">{{
|
849
|
|
- record.prescription?record.prescription.ultrafiltration:''}}
|
|
851
|
+ <div class="under_line" style="width: 100px;">
|
|
852
|
+ {{record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:''}}
|
850
|
853
|
</div>
|
851
|
854
|
L
|
852
|
855
|
</div>
|
|
@@ -1059,6 +1062,31 @@
|
1059
|
1062
|
}
|
1060
|
1063
|
}
|
1061
|
1064
|
|
|
1065
|
+ //
|
|
1066
|
+ if((this.records[recordIndex].assessment_before_dislysis&&this.records[recordIndex].assessment_before_dislysis.systolic_blood_pressure!= 0 && this.records[recordIndex].diastolic_blood_pressure != 0) || (this.records[recordIndex].assessment_before_dislysis && this.records[recordIndex].assessment_before_dislysis.remark.length > 0)) {
|
|
1067
|
+ let records = {
|
|
1068
|
+ id : -1,
|
|
1069
|
+ systolic_blood_pressure: this.records[recordIndex].assessment_before_dislysis.systolic_blood_pressure,
|
|
1070
|
+ diastolic_blood_pressure: this.records[recordIndex].assessment_before_dislysis.diastolic_blood_pressure,
|
|
1071
|
+ pulse_frequency: 0,
|
|
1072
|
+ breathing_rate: 0,
|
|
1073
|
+ venous_pressure: 0,
|
|
1074
|
+ blood_flow_volume: 0,
|
|
1075
|
+ ultrafiltration_volume: 0,
|
|
1076
|
+ sodium_concentration: 0,
|
|
1077
|
+ symptom: '',
|
|
1078
|
+ dispose: '',
|
|
1079
|
+ result: this.records[recordIndex].assessment_before_dislysis.remark,
|
|
1080
|
+ monitoring_nurse: 0,
|
|
1081
|
+ }
|
|
1082
|
+
|
|
1083
|
+ this.records[recordIndex].monitor_records.splice(0,0,records)
|
|
1084
|
+
|
|
1085
|
+ }
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
1062
|
1090
|
var childMap = {}
|
1063
|
1091
|
for (const index in this.records[recordIndex].advices) {
|
1064
|
1092
|
if (this.records[recordIndex].advices[index].parent_id == 0) {
|
|
@@ -1098,7 +1126,8 @@
|
1098
|
1126
|
var new_advice_index = 0
|
1099
|
1127
|
if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
|
1100
|
1128
|
new_advice_index = index + this.doctor_advices[index].children.length + 1
|
1101
|
|
- console.log(new_advice_index)
|
|
1129
|
+
|
|
1130
|
+
|
1102
|
1131
|
var doctor_advice = {
|
1103
|
1132
|
delivery_way: this.doctor_advices[index].delivery_way,
|
1104
|
1133
|
execution_frequency: this.doctor_advices[index].execution_frequency,
|
|
@@ -1107,10 +1136,10 @@
|
1107
|
1136
|
parent_id: this.doctor_advices[index].parent_id,
|
1108
|
1137
|
children: this.doctor_advices[index].children,
|
1109
|
1138
|
remark: this.doctor_advices[index].remark,
|
1110
|
|
-
|
1111
|
1139
|
execution_staff: this.doctor_advices[index].execution_staff,
|
1112
|
1140
|
checker: this.doctor_advices[index].checker,
|
1113
|
1141
|
advice_doctor: this.doctor_advices[index].advice_doctor,
|
|
1142
|
+ execution_time: this.doctor_advices[index].execution_time,
|
1114
|
1143
|
|
1115
|
1144
|
|
1116
|
1145
|
}
|
|
@@ -1190,7 +1219,7 @@
|
1190
|
1219
|
},
|
1191
|
1220
|
methods: {
|
1192
|
1221
|
printAction: function() {
|
1193
|
|
- const style = '@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; } .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; 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: 46px; font-weight: 500; } .row { font-size: 14px; line-height: 20px; padding: 5px 0; } .inline_block { display: inline-block; } .under_line { display: inline-block; border-bottom: 1px solid #999; text-align: center; white-space: nowrap; } .under_line::before { content: "\\00A0"; } .under_line::after { content: "\\00A0"; } .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: 10px 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: 8px 5px; line-height: 20px; } }.es-img{height: 20px; }.advice-name{text-align: left !important;line-height: 16px !important;}.advice-children{display:flex;}.print-table-no {\n' +
|
|
1222
|
+ const style = '@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; } .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; 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: 46px; font-weight: 500; } .row { font-size: 14px; line-height: 20px; padding: 5px 0; } .inline_block { display: inline-block; } .under_line { display: inline-block; border-bottom: 1px solid #999; text-align: center; white-space: nowrap; } .under_line::before { content: "\\00A0"; } .under_line::after { content: "\\00A0"; } .under_line_two { display: inline-block; border-bottom: 1px solid #999; text-align: left; white-space: nowrap; } .under_line_two::before { content: "\\00A0"; } .under_line_two::after { content: "\\00A0"; } .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: 10px 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: 8px 5px; line-height: 20px; } }.es-img{height: 20px; }.advice-name{text-align: left !important;line-height: 16px !important;}.advice-children{display:flex;}.print-table-no {\n' +
|
1194
|
1223
|
' width: 100%;\n' +
|
1195
|
1224
|
' text-align: center;\n' +
|
1196
|
1225
|
' border-collapse: collapse;\n' +
|
|
@@ -1277,6 +1306,23 @@
|
1277
|
1306
|
} else {
|
1278
|
1307
|
return ''
|
1279
|
1308
|
}
|
|
1309
|
+ },getFloat: function(x) {
|
|
1310
|
+ if (x != '.') {
|
|
1311
|
+ var f = Math.round(x * 100) / 100;
|
|
1312
|
+ var s = f.toString();
|
|
1313
|
+ var rs = s.indexOf('.');
|
|
1314
|
+ if (rs <= 0) {
|
|
1315
|
+ rs = s.length;
|
|
1316
|
+ s += '.';
|
|
1317
|
+ }
|
|
1318
|
+ while (s.length <= rs + 1) {
|
|
1319
|
+ s += '0';
|
|
1320
|
+ }
|
|
1321
|
+ return s;
|
|
1322
|
+ } else {
|
|
1323
|
+ return '0.0';
|
|
1324
|
+ }
|
|
1325
|
+
|
1280
|
1326
|
},
|
1281
|
1327
|
getAdminUser(key, id) {
|
1282
|
1328
|
if (typeof (key) === 'undefined' || key == null || typeof (key[id]) === 'undefined') {
|
|
@@ -1385,6 +1431,22 @@
|
1385
|
1431
|
content: "\00A0";
|
1386
|
1432
|
}
|
1387
|
1433
|
|
|
1434
|
+ .under_line_two {
|
|
1435
|
+ display: inline-block;
|
|
1436
|
+ border-bottom: 1px solid #999;
|
|
1437
|
+ text-align: left;
|
|
1438
|
+ white-space: nowrap;
|
|
1439
|
+ width: 50%;
|
|
1440
|
+ }
|
|
1441
|
+
|
|
1442
|
+ .under_line_two::before {
|
|
1443
|
+ content: "\00A0";
|
|
1444
|
+ }
|
|
1445
|
+
|
|
1446
|
+ .under_line_two::after {
|
|
1447
|
+ content: "\00A0";
|
|
1448
|
+ }
|
|
1449
|
+
|
1388
|
1450
|
.flex {
|
1389
|
1451
|
display: -webkit-box;
|
1390
|
1452
|
display: -moz-box;
|