|
@@ -319,9 +319,9 @@
|
319
|
319
|
预透时间:
|
320
|
320
|
<div class="under_line" style=" width: 50%; text-align: center; white-space: normal; ">
|
321
|
321
|
{{ record.prescription.dialysis_duration_hour ? record.prescription.dialysis_duration_hour :
|
322
|
|
- "0"}}h
|
|
322
|
+ "0" }}h
|
323
|
323
|
{{ record.prescription.dialysis_duration_minute ? record.prescription.dialysis_duration_minute
|
324
|
|
- : "0"}}min
|
|
324
|
+ : "0" }}min
|
325
|
325
|
</div>
|
326
|
326
|
</div>
|
327
|
327
|
<div class="inline_block" style="flex: 1">
|
|
@@ -367,10 +367,10 @@
|
367
|
367
|
上次透后体重:
|
368
|
368
|
<div class="under_line" style="width: 50px; text-align: center">
|
369
|
369
|
<span v-if="record.lastafterweight.weight_after > 0"> {{ record.lastafterweight.weight_after ?
|
370
|
|
- record.lastafterweight.weight_after:"未称重"}}</span>
|
|
370
|
+ record.lastafterweight.weight_after : "未称重" }}</span>
|
371
|
371
|
<span v-if="record.lastafterweight.weight_after <= 0">
|
372
|
372
|
{{ record.assessment_after_dislysis.last_after_weight ?
|
373
|
|
- record.assessment_after_dislysis.last_after_weight:"未称重"}}</span>
|
|
373
|
+ record.assessment_after_dislysis.last_after_weight : "未称重" }}</span>
|
374
|
374
|
</div>
|
375
|
375
|
kg
|
376
|
376
|
</div>
|
|
@@ -400,7 +400,7 @@
|
400
|
400
|
record.lastafterweight.weight_after > 0
|
401
|
401
|
? parseFloat(record.assessment_before_dislysis.weight_before -
|
402
|
402
|
record.assessment_before_dislysis.additional_weight
|
403
|
|
- - record.lastafterweight.weight_after).toFixed(2): "/"
|
|
403
|
+ - record.lastafterweight.weight_after).toFixed(2) : "/"
|
404
|
404
|
}}
|
405
|
405
|
</span>
|
406
|
406
|
|
|
@@ -410,7 +410,7 @@
|
410
|
410
|
record.assessment_after_dislysis.last_after_weight > 0
|
411
|
411
|
? parseFloat(record.assessment_before_dislysis.weight_before -
|
412
|
412
|
record.assessment_before_dislysis.additional_weight
|
413
|
|
- - record.assessment_after_dislysis.last_after_weight).toFixed(2): "/"
|
|
413
|
+ - record.assessment_after_dislysis.last_after_weight).toFixed(2) : "/"
|
414
|
414
|
}}
|
415
|
415
|
</span>
|
416
|
416
|
|
|
@@ -614,7 +614,8 @@
|
614
|
614
|
<td>{{ monitor_record.blood_flow_volume ? monitor_record.blood_flow_volume : "" }}</td>
|
615
|
615
|
<td>{{ monitor_record.replacement_rate ? monitor_record.replacement_rate : '/' }}</td>
|
616
|
616
|
<td>{{ monitor_record.ultrafiltration_rate ? monitor_record.ultrafiltration_rate : '/' }}</td>
|
617
|
|
- <td>{{ monitor_record.ultrafiltration_volume ? monitor_record.ultrafiltration_volume : "0" }}</td>
|
|
617
|
+ <td>{{ monitor_record.ultrafiltration_volume ? monitor_record.ultrafiltration_volume : "0" }}
|
|
618
|
+ </td>
|
618
|
619
|
<td>{{ monitor_record.venous_pressure ? monitor_record.venous_pressure : "/" }}</td>
|
619
|
620
|
<td>{{ monitor_record.transmembrane_pressure ? monitor_record.transmembrane_pressure : "" }}
|
620
|
621
|
</td>
|
|
@@ -624,7 +625,7 @@
|
624
|
625
|
<td>{{ monitor_record.pulse_frequency ? monitor_record.pulse_frequency : "" }}</td>
|
625
|
626
|
<td>{{ monitor_record.breathing_rate ? monitor_record.breathing_rate : "" }}</td>
|
626
|
627
|
<td>{{ monitor_record.systolic_blood_pressure ? monitor_record.systolic_blood_pressure + "/" :
|
627
|
|
- ""}}
|
|
628
|
+ "" }}
|
628
|
629
|
{{ monitor_record.diastolic_blood_pressure ? monitor_record.diastolic_blood_pressure : "" }}
|
629
|
630
|
</td>
|
630
|
631
|
|
|
@@ -733,10 +734,10 @@
|
733
|
734
|
|
734
|
735
|
<span v-if="it.parent_id == 0">{{
|
735
|
736
|
it.delivery_way
|
736
|
|
- }}</span>
|
|
737
|
+ }}</span>
|
737
|
738
|
<span v-if="it.parent_id == 0">{{
|
738
|
739
|
it.execution_frequency
|
739
|
|
- }}</span>
|
|
740
|
+ }}</span>
|
740
|
741
|
<span v-if="
|
741
|
742
|
it.parent_id == 0 &&
|
742
|
743
|
it.remark.length > 0
|
|
@@ -750,8 +751,8 @@
|
750
|
751
|
setAdminUserES(advice, 'advice_doctor') ==
|
751
|
752
|
''
|
752
|
753
|
">{{
|
753
|
|
- getAdminUser(advice, "advice_doctor")
|
754
|
|
- }}</span>
|
|
754
|
+ getAdminUser(advice, "advice_doctor")
|
|
755
|
+ }}</span>
|
755
|
756
|
<img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')
|
756
|
757
|
" alt="" srcset="" v-else style="height: 30px" />
|
757
|
758
|
</td>
|
|
@@ -767,8 +768,8 @@
|
767
|
768
|
'execution_staff'
|
768
|
769
|
) == ''
|
769
|
770
|
">{{
|
770
|
|
- getAdminUser(advice, "execution_staff")
|
771
|
|
- }}</span>
|
|
771
|
+ getAdminUser(advice, "execution_staff")
|
|
772
|
+ }}</span>
|
772
|
773
|
<img class="es-img" :src="setAdminUserES(advice, 'execution_staff')
|
773
|
774
|
" alt="" srcset="" v-else style="height: 30px" />
|
774
|
775
|
</td>
|
|
@@ -781,26 +782,28 @@
|
781
|
782
|
</td>
|
782
|
783
|
|
783
|
784
|
<td height="35px" colspan="2" class="advice-name" style="padding-left: 7px">
|
784
|
|
-
|
|
785
|
+ <span v-if="advice[0].parent_id>0">---></span>
|
785
|
786
|
<span>{{ advice[0].advice_name }}</span>
|
786
|
787
|
|
787
|
788
|
<span v-if="advice[0].advice_desc">
|
788
|
|
- ({{ advice[0].advice_desc
|
789
|
|
- }}{{ advice[0].drug_spec_unit }} )
|
|
789
|
+ ({{ advice[0].advice_desc}}
|
|
790
|
+ {{ advice[0].drug_spec_unit }} )
|
790
|
791
|
</span>
|
791
|
792
|
|
792
|
|
- <span v-if="advice[0].prescribing_number"> {{ advice[0].prescribing_number
|
793
|
|
- }}{{ advice[0].prescribing_number_unit }}</span>
|
|
793
|
+ <span v-if="advice[0].prescribing_number">
|
|
794
|
+ {{ advice[0].prescribing_number}}
|
|
795
|
+ {{ advice[0].prescribing_number_unit }}
|
|
796
|
+ </span>
|
794
|
797
|
<span v-if="advice[0].single_dose != 0">
|
795
|
|
- {{ advice[0].single_dose
|
796
|
|
- }}{{ advice[0].single_dose_unit }}</span>
|
|
798
|
+ {{ advice[0].single_dose}}{{ advice[0].single_dose_unit }}
|
|
799
|
+ </span>
|
797
|
800
|
|
798
|
|
- <span v-if="advice[0].parent_id == 0">{{
|
799
|
|
- advice[0].delivery_way
|
800
|
|
- }}</span>
|
801
|
|
- <span v-if="advice[0].parent_id == 0">{{
|
802
|
|
- advice[0].execution_frequency
|
803
|
|
- }}</span>
|
|
801
|
+ <span v-if="advice[0].parent_id == 0">
|
|
802
|
+ {{advice[0].delivery_way}}
|
|
803
|
+ </span>
|
|
804
|
+ <span v-if="advice[0].parent_id == 0">
|
|
805
|
+ {{advice[0].execution_frequency}}
|
|
806
|
+ </span>
|
804
|
807
|
<span v-if="
|
805
|
808
|
advice[0].parent_id == 0 &&
|
806
|
809
|
advice[0].remark.length > 0
|
|
@@ -814,8 +817,8 @@
|
814
|
817
|
setAdminUserES(advice[0], 'advice_doctor') ==
|
815
|
818
|
''
|
816
|
819
|
">{{
|
817
|
|
- getAdminUser(advice[0], "advice_doctor")
|
818
|
|
- }}</span>
|
|
820
|
+ getAdminUser(advice[0], "advice_doctor")
|
|
821
|
+ }}</span>
|
819
|
822
|
<img class="es-img" :src="setAdminUserES(advice[0], 'advice_doctor')
|
820
|
823
|
" alt="" srcset="" v-else style="height: 30px" />
|
821
|
824
|
</td>
|
|
@@ -831,12 +834,13 @@
|
831
|
834
|
'execution_staff'
|
832
|
835
|
) == ''
|
833
|
836
|
">{{
|
834
|
|
- getAdminUser(advice[0], "execution_staff")
|
835
|
|
- }}</span>
|
|
837
|
+ getAdminUser(advice[0], "execution_staff")
|
|
838
|
+ }}</span>
|
836
|
839
|
<img class="es-img" :src="setAdminUserES(advice[0], 'execution_staff')
|
837
|
840
|
" alt="" srcset="" v-else style="height: 30px" />
|
838
|
841
|
</td>
|
839
|
842
|
</tr>
|
|
843
|
+
|
840
|
844
|
<!-- <template v-if="record.advices.length<3">
|
841
|
845
|
<tr v-for="item in 3">
|
842
|
846
|
<td height="35px"></td>
|
|
@@ -1176,7 +1180,8 @@
|
1176
|
1180
|
<div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
|
1177
|
1181
|
<div class="inline_block" style="flex: 1">
|
1178
|
1182
|
上机护士:
|
1179
|
|
- <div class="under_line" style="width: 80px; text-align: center" v-if="record.dialysis_order.puncture_nurse>0">
|
|
1183
|
+ <div class="under_line" style="width: 80px; text-align: center"
|
|
1184
|
+ v-if="record.dialysis_order.puncture_nurse > 0">
|
1180
|
1185
|
<span style="display: inline-block" v-if="setAdminUserES(
|
1181
|
1186
|
record.dialysis_order, 'puncture_nurse'
|
1182
|
1187
|
) == ''
|
|
@@ -1190,7 +1195,8 @@
|
1190
|
1195
|
)
|
1191
|
1196
|
" alt="" srcset="" v-else />
|
1192
|
1197
|
</div>
|
1193
|
|
- <div class="under_line" style="width: 80px; text-align: center" v-if="record.dialysis_order.change_nurse>0">
|
|
1198
|
+ <div class="under_line" style="width: 80px; text-align: center"
|
|
1199
|
+ v-if="record.dialysis_order.change_nurse > 0">
|
1194
|
1200
|
<span style="display: inline-block" v-if="setAdminUserES(
|
1195
|
1201
|
record.dialysis_order, 'change_nurse'
|
1196
|
1202
|
) == ''
|
|
@@ -1339,16 +1345,16 @@
|
1339
|
1345
|
'finish_nurse'
|
1340
|
1346
|
) == ''
|
1341
|
1347
|
">{{
|
1342
|
|
- getAdminUser(
|
|
1348
|
+ getAdminUser(
|
|
1349
|
+ record.dialysis_order,
|
|
1350
|
+ "finish_nurse"
|
|
1351
|
+ )
|
|
1352
|
+ ? getAdminUser(
|
1343
|
1353
|
record.dialysis_order,
|
1344
|
1354
|
"finish_nurse"
|
1345
|
1355
|
)
|
1346
|
|
- ? getAdminUser(
|
1347
|
|
- record.dialysis_order,
|
1348
|
|
- "finish_nurse"
|
1349
|
|
- )
|
1350
|
|
- : "/"
|
1351
|
|
- }}</span>
|
|
1356
|
+ : "/"
|
|
1357
|
+ }}</span>
|
1352
|
1358
|
<img class="es-img" :src="setAdminUserES(
|
1353
|
1359
|
record.dialysis_order,
|
1354
|
1360
|
'finish_nurse'
|
|
@@ -1684,36 +1690,40 @@ export default {
|
1684
|
1690
|
}
|
1685
|
1691
|
|
1686
|
1692
|
|
1687
|
|
- var childMap = {};
|
1688
|
|
- for (const index in this.records[recordIndex].advices) {
|
1689
|
|
- if (this.records[recordIndex].advices[index].parent_id == 0) {
|
1690
|
|
- continue;
|
1691
|
|
- }
|
1692
|
|
- if (
|
1693
|
|
- !(
|
1694
|
|
- this.records[recordIndex].advices[index].parent_id in childMap
|
1695
|
|
- )
|
1696
|
|
- ) {
|
1697
|
|
- childMap[this.records[recordIndex].advices[index].parent_id] =
|
1698
|
|
- [];
|
1699
|
|
- }
|
1700
|
|
- childMap[this.records[recordIndex].advices[index].parent_id].push(
|
1701
|
|
- this.records[recordIndex].advices[index]
|
1702
|
|
- );
|
1703
|
|
- }
|
|
1693
|
+ // var childMap = {};
|
|
1694
|
+ // for (const index in this.records[recordIndex].advices) {
|
|
1695
|
+ // if (this.records[recordIndex].advices[index].parent_id == 0) {
|
|
1696
|
+ // continue;
|
|
1697
|
+ // }
|
|
1698
|
+ // if (
|
|
1699
|
+ // !(
|
|
1700
|
+ // this.records[recordIndex].advices[index].parent_id in childMap
|
|
1701
|
+ // )
|
|
1702
|
+ // ) {
|
|
1703
|
+ // childMap[this.records[recordIndex].advices[index].parent_id] =
|
|
1704
|
+ // [];
|
|
1705
|
+ // }
|
|
1706
|
+ // console.log('children111',this.records[recordIndex].advices);
|
|
1707
|
+
|
|
1708
|
+ // childMap[this.records[recordIndex].advices[index].parent_id].push(
|
|
1709
|
+ // this.records[recordIndex].advices[index]
|
|
1710
|
+ // );
|
|
1711
|
+ // }
|
1704
|
1712
|
|
1705
|
1713
|
var advices = [];
|
1706
|
1714
|
for (const index in this.records[recordIndex].advices) {
|
1707
|
|
- if (this.records[recordIndex].advices[index].parent_id > 0) {
|
1708
|
|
- continue;
|
1709
|
|
- }
|
|
1715
|
+ // if (this.records[recordIndex].advices[index].parent_id > 0) {
|
|
1716
|
+ // continue;
|
|
1717
|
+ // }
|
1710
|
1718
|
var item = this.records[recordIndex].advices[index];
|
1711
|
|
- if (item.id in childMap) {
|
1712
|
|
- item.children = childMap[item.id];
|
1713
|
|
- } else {
|
1714
|
|
- item.children = [];
|
1715
|
|
- }
|
|
1719
|
+ // if (item.id in childMap) {
|
|
1720
|
+ // // advices.push(childMap[item.id])
|
|
1721
|
+ // // item.children = childMap[item.id];
|
|
1722
|
+ // } else {
|
|
1723
|
+ // item.children = [];
|
|
1724
|
+ // }
|
1716
|
1725
|
advices.push(item);
|
|
1726
|
+ console.log('3333333',advices)
|
1717
|
1727
|
}
|
1718
|
1728
|
|
1719
|
1729
|
var leftAdvice = [];
|