|
@@ -10,23 +10,20 @@
|
10
|
10
|
</div>
|
11
|
11
|
<div class="DialogContent choose">
|
12
|
12
|
<div class="content clearfix">
|
13
|
|
- <div class="yzNav" style="width:90%;">
|
14
|
|
- <span @click="newAdviceAction">新增医嘱</span>
|
|
13
|
+ <div class="yzNav newYzNav" style="width:100%;overflow-x:hidden">
|
|
14
|
+ <span @click="newAdviceAction">新增内容</span>
|
15
|
15
|
<span
|
16
|
16
|
@click="modifyAction"
|
17
|
17
|
:class="{ forbid: current_advice_index < 0 }"
|
18
|
|
- >修改医嘱</span
|
|
18
|
+ >修改内容</span
|
19
|
19
|
>
|
20
|
20
|
</div>
|
21
|
|
- <div style="overflow: hidden;">
|
|
21
|
+ <div class="newBox" style="overflow: hidden;">
|
22
|
22
|
<div class="cell" style="margin-top: 0;">
|
23
|
23
|
<label>医嘱类型</label>
|
24
|
24
|
<el-input ref="advice_type" value="临时" disabled></el-input>
|
25
|
25
|
</div>
|
26
|
|
- <div class="cell" style="margin-top: 0;">
|
27
|
|
- <label>开嘱时间</label>
|
28
|
|
- <el-input readonly :value="record_date_str"></el-input>
|
29
|
|
- </div>
|
|
26
|
+
|
30
|
27
|
<div class="cell" style="margin-top: 0;">
|
31
|
28
|
<label>开始时间</label>
|
32
|
29
|
<el-input
|
|
@@ -35,6 +32,11 @@
|
35
|
32
|
@focus="selectStartTimeAction"
|
36
|
33
|
></el-input>
|
37
|
34
|
</div>
|
|
35
|
+ <div class="cell" style="margin-top: 0;">
|
|
36
|
+ <label>开嘱时间</label>
|
|
37
|
+ <!-- <el-input readonly :value="record_date_str"></el-input> -->
|
|
38
|
+ <span class="newSpan">{{ record_date_str }}</span>
|
|
39
|
+ </div>
|
38
|
40
|
<div class="cell" style="margin-top: 0;">
|
39
|
41
|
<label>开嘱医生</label>
|
40
|
42
|
<span class="newdoctorName">{{
|
|
@@ -42,41 +44,43 @@
|
42
|
44
|
}}</span>
|
43
|
45
|
</div>
|
44
|
46
|
</div>
|
45
|
|
- <table class="table">
|
46
|
|
- <tr @click="cancelSelectAdvice">
|
47
|
|
- <th width="30%">医嘱内容</th>
|
48
|
|
- <th width="20%">药品规格</th>
|
49
|
|
- <th width="10%">开药数量</th>
|
50
|
|
- <th width="10%">单次用量</th>
|
51
|
|
- <th width="15%">给药途径</th>
|
52
|
|
- <th width="15%">执行频率</th>
|
53
|
|
- </tr>
|
54
|
|
- <tr
|
55
|
|
- v-for="(advice, index) in advices"
|
56
|
|
- :key="index"
|
57
|
|
- :class="{ 'row-class-active': index == current_advice_index }"
|
58
|
|
- @click="selectAdviceAction(index, advice)"
|
59
|
|
- >
|
60
|
|
- <td
|
61
|
|
- :class="{
|
62
|
|
- advice_name: advice.parent_id == 0,
|
63
|
|
- subdrug_name: advice.parent_id > 0
|
64
|
|
- }"
|
|
47
|
+ <div class="newModifyTable">
|
|
48
|
+ <table class="table">
|
|
49
|
+ <tr @click="cancelSelectAdvice">
|
|
50
|
+ <th width="30%">医嘱内容</th>
|
|
51
|
+ <th width="20%">药品规格</th>
|
|
52
|
+ <th width="10%">开药数量</th>
|
|
53
|
+ <th width="10%">单次用量</th>
|
|
54
|
+ <th width="15%">给药途径</th>
|
|
55
|
+ <th width="15%">执行频率</th>
|
|
56
|
+ </tr>
|
|
57
|
+ <tr
|
|
58
|
+ v-for="(advice, index) in advices"
|
|
59
|
+ :key="index"
|
|
60
|
+ :class="{ 'row-class-active': index == current_advice_index }"
|
|
61
|
+ @click="selectAdviceAction(index, advice)"
|
65
|
62
|
>
|
66
|
|
- {{ advice.advice_name }}
|
67
|
|
- </td>
|
68
|
|
- <td>{{ advice.advice_desc }}{{ advice.drug_spec_unit }}</td>
|
69
|
|
- <td>
|
70
|
|
- {{ advice.prescribing_number
|
71
|
|
- }}{{ advice.prescribing_number_unit }}
|
72
|
|
- </td>
|
73
|
|
- <td>{{ advice.single_dose }} {{ advice.single_dose_unit }}</td>
|
74
|
|
- <td>{{ advice.parent_id == 0 ? advice.delivery_way : "" }}</td>
|
75
|
|
- <td>
|
76
|
|
- {{ advice.parent_id == 0 ? advice.execution_frequency : "" }}
|
77
|
|
- </td>
|
78
|
|
- </tr>
|
79
|
|
- </table>
|
|
63
|
+ <td
|
|
64
|
+ :class="{
|
|
65
|
+ advice_name: advice.parent_id == 0,
|
|
66
|
+ subdrug_name: advice.parent_id > 0
|
|
67
|
+ }"
|
|
68
|
+ >
|
|
69
|
+ {{ advice.advice_name }}
|
|
70
|
+ </td>
|
|
71
|
+ <td>{{ advice.advice_desc }}{{ advice.drug_spec_unit }}</td>
|
|
72
|
+ <td>
|
|
73
|
+ {{ advice.prescribing_number
|
|
74
|
+ }}{{ advice.prescribing_number_unit }}
|
|
75
|
+ </td>
|
|
76
|
+ <td>{{ advice.single_dose }} {{ advice.single_dose_unit }}</td>
|
|
77
|
+ <td>{{ advice.parent_id == 0 ? advice.delivery_way : "" }}</td>
|
|
78
|
+ <td>
|
|
79
|
+ {{ advice.parent_id == 0 ? advice.execution_frequency : "" }}
|
|
80
|
+ </td>
|
|
81
|
+ </tr>
|
|
82
|
+ </table>
|
|
83
|
+ </div>
|
80
|
84
|
</div>
|
81
|
85
|
</div>
|
82
|
86
|
</div>
|
|
@@ -344,18 +348,36 @@ export default {
|
344
|
348
|
</script>
|
345
|
349
|
|
346
|
350
|
<style style="stylesheet/scss" lang="scss" scoped>
|
347
|
|
-.table {
|
|
351
|
+.newYzNav {
|
|
352
|
+ position: fixed;
|
|
353
|
+ top: 1.5rem;
|
|
354
|
+}
|
|
355
|
+.newBox {
|
|
356
|
+ position: fixed;
|
|
357
|
+ top: 3.2rem;
|
|
358
|
+}
|
|
359
|
+.newModifyTable {
|
348
|
360
|
width: 100%;
|
|
361
|
+ margin-top: 5.2rem;
|
|
362
|
+ @media only screen and (max-width: 767px) {
|
|
363
|
+ margin-top: 5.8rem;
|
|
364
|
+ }
|
|
365
|
+}
|
|
366
|
+.newSpan {
|
|
367
|
+ font-size: 0.45rem;
|
|
368
|
+}
|
|
369
|
+.table {
|
|
370
|
+ width: 1000px;
|
349
|
371
|
margin-top: 0.2rem;
|
350
|
372
|
tr {
|
351
|
373
|
th {
|
352
|
374
|
background: $main-color;
|
353
|
375
|
color: #fff;
|
354
|
|
- height: 0.88rem;
|
355
|
|
- line-height: 0.88rem;
|
|
376
|
+ height: 1.2rem;
|
|
377
|
+ line-height: 1.2rem;
|
356
|
378
|
}
|
357
|
379
|
td {
|
358
|
|
- line-height: 0.4rem;
|
|
380
|
+ line-height: 0.8rem;
|
359
|
381
|
}
|
360
|
382
|
|
361
|
383
|
.advice_name {
|
|
@@ -373,14 +395,15 @@ export default {
|
373
|
395
|
.content {
|
374
|
396
|
.cell {
|
375
|
397
|
float: left;
|
376
|
|
- width: 3.5rem;
|
377
|
|
- margin: 0.35rem 0.3rem 0 0.4rem;
|
|
398
|
+ width: 5rem;
|
|
399
|
+ margin: 0.35rem 0.3rem 0.2rem 0.4rem;
|
378
|
400
|
label {
|
379
|
401
|
display: block;
|
380
|
402
|
height: 0.6rem;
|
381
|
403
|
line-height: 0.6rem;
|
382
|
404
|
color: $pgh-color;
|
383
|
405
|
font-size: 0.45rem;
|
|
406
|
+ margin-bottom: 0.2rem;
|
384
|
407
|
}
|
385
|
408
|
.newdoctorName {
|
386
|
409
|
font-size: 0.45rem;
|