|
@@ -5,48 +5,52 @@
|
5
|
5
|
<p>{{title}}</p>
|
6
|
6
|
<span class="line"></span>
|
7
|
7
|
</h2>
|
8
|
|
- <table class="table">
|
9
|
|
- <tr>
|
10
|
|
- <th width="12%">开嘱医生</th>
|
11
|
|
- <th width="18%">开始时间</th>
|
12
|
|
- <th width="31%">医嘱内容</th>
|
13
|
|
- <th width="18.6%">执行时间</th>
|
14
|
|
- <th width="10.5%">执行护士</th>
|
15
|
|
- <th v-if="template_id != 6" width="9.4%">核对护士</th>
|
16
|
|
- </tr>
|
17
|
|
- <template v-for="(group) in advice_groups">
|
18
|
|
- <tr v-for="(advice, i) in group.advices" :key="advice.id">
|
19
|
|
- <td
|
20
|
|
- v-if="i == 0"
|
21
|
|
- :rowspan="group.advices.length"
|
22
|
|
- >{{doctor_map[advice.advice_doctor] != undefined ? doctor_map[advice.advice_doctor].name : ""}}</td>
|
|
8
|
+ <div class="newDiv">
|
|
9
|
+ <table class="table">
|
|
10
|
+ <tr>
|
|
11
|
+ <th width="12%">开嘱医生</th>
|
|
12
|
+ <th width="18%">开始时间</th>
|
|
13
|
+ <th width="31%">医嘱内容</th>
|
|
14
|
+ <th width="18.6%">执行时间</th>
|
|
15
|
+ <th width="10.5%">执行护士</th>
|
|
16
|
+ <th v-if="template_id != 6" width="9.4%">核对护士</th>
|
|
17
|
+ </tr>
|
|
18
|
+ <template v-for="(group) in advice_groups">
|
|
19
|
+ <tr v-for="(advice, i) in group.advices" :key="advice.id">
|
|
20
|
+ <td
|
|
21
|
+ v-if="i == 0"
|
|
22
|
+ :rowspan="group.advices.length"
|
|
23
|
+ >{{doctor_map[advice.advice_doctor] != undefined ? doctor_map[advice.advice_doctor].name : ""}}</td>
|
23
|
24
|
|
24
|
|
- <td
|
25
|
|
- v-if="i == 0"
|
26
|
|
- :rowspan="group.advices.length"
|
27
|
|
- >{{parseTime(advice.start_time, "{m}-{d} {h}:{i}")}}</td>
|
|
25
|
+ <td
|
|
26
|
+ v-if="i == 0"
|
|
27
|
+ :rowspan="group.advices.length"
|
|
28
|
+ >{{parseTime(advice.start_time, "{m}-{d} {h}:{i}")}}</td>
|
28
|
29
|
|
29
|
|
- <td :class="advice.parent_id == 0 ? 'advice_content' : 'subadvice_content'">
|
30
|
|
- <span>{{advice.advice_name }}</span>
|
31
|
|
- <!-- <span>{{advice.drug_spec}}{{advice.drug_spec_unit}} * {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span> -->
|
32
|
|
- <span v-if="advice.advice_desc">{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
|
33
|
|
- <span
|
34
|
|
- v-if="advice.prescribing_number"
|
35
|
|
- >{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
|
36
|
|
- <span v-if="advice.single_dose">单次用量{{advice.single_dose}}{{advice.single_dose_unit}}</span>
|
37
|
|
- <span v-if="advice.parent_id == 0">{{advice.delivery_way}}</span>
|
38
|
|
- <span v-if="advice.parent_id == 0">{{advice.execution_frequency}}</span>
|
39
|
|
- <span v-if="advice.parent_id == 0&&advice.remark.length > 0">({{advice.remark}})</span>
|
40
|
|
- </td>
|
|
30
|
+ <td :class="advice.parent_id == 0 ? 'advice_content' : 'subadvice_content'">
|
|
31
|
+ <span>{{advice.advice_name }}</span>
|
|
32
|
+ <!-- <span>{{advice.drug_spec}}{{advice.drug_spec_unit}} * {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span> -->
|
|
33
|
+ <span v-if="advice.advice_desc">{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
|
|
34
|
+ <span
|
|
35
|
+ v-if="advice.prescribing_number"
|
|
36
|
+ >{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
|
|
37
|
+ <span v-if="advice.single_dose">单次用量{{advice.single_dose}}{{advice.single_dose_unit}}</span>
|
|
38
|
+ <span v-if="advice.parent_id == 0">{{advice.delivery_way}}</span>
|
|
39
|
+ <span v-if="advice.parent_id == 0">{{advice.execution_frequency}}</span>
|
|
40
|
+ <span v-if="advice.parent_id == 0&&advice.remark.length > 0">({{advice.remark}})</span>
|
|
41
|
+ </td>
|
41
|
42
|
|
42
|
|
- <td>{{parseTime(advice.execution_time, "{m}-{d} {h}:{i}")}}</td>
|
|
43
|
+ <td>{{parseTime(advice.execution_time, "{m}-{d} {h}:{i}")}}</td>
|
43
|
44
|
|
44
|
|
- <td>{{advice.execution_staff != 0 ? (doctor_map[advice.execution_staff] != undefined ? doctor_map[advice.execution_staff].name : "") : ""}}</td>
|
|
45
|
+ <td>{{advice.execution_staff != 0 ? (doctor_map[advice.execution_staff] != undefined ? doctor_map[advice.execution_staff].name : "") : ""}}</td>
|
45
|
46
|
|
46
|
|
- <td>{{advice.checker != 0 ? (doctor_map[advice.checker] != undefined ? doctor_map[advice.checker].name : "") : ""}}</td>
|
47
|
|
- </tr>
|
48
|
|
- </template>
|
49
|
|
- </table>
|
|
47
|
+ <td
|
|
48
|
+ v-if="template_id != 6"
|
|
49
|
+ >{{advice.checker != 0 ? (doctor_map[advice.checker] != undefined ? doctor_map[advice.checker].name : "") : ""}}</td>
|
|
50
|
+ </tr>
|
|
51
|
+ </template>
|
|
52
|
+ </table>
|
|
53
|
+ </div>
|
50
|
54
|
<div class="NoData" v-show="advice_groups.length == 0">
|
51
|
55
|
<img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
|
52
|
56
|
</div>
|