|
@@ -2,76 +2,76 @@
|
2
|
2
|
<div id='prescription-print' class="prescription-print">
|
3
|
3
|
<div class="printTitle">门诊病历</div>
|
4
|
4
|
<div class="infoTitle">
|
5
|
|
- <div>姓名:{{patient.name}}</div>
|
|
5
|
+ <div>姓名:{{patient.name?patient.name:''}}</div>
|
6
|
6
|
<div>性别:
|
7
|
7
|
<span v-if="patient.gender == 1">男</span>
|
8
|
8
|
<span v-if="patient.gender == 2">女</span>
|
9
|
9
|
</div>
|
10
|
|
- <div>年龄:{{patient.age}}岁</div>
|
|
10
|
+ <div>年龄:{{patient.age?patient.age:''}}岁</div>
|
11
|
11
|
</div>
|
12
|
12
|
<div class="infoTitle">
|
13
|
13
|
<div>婚姻状况:
|
14
|
14
|
<span v-if="patient.marital_status == 1">已婚 </span>
|
15
|
15
|
<span v-if="patient.marital_status == 2">未婚 </span>
|
16
|
16
|
</div>
|
17
|
|
- <div>职业:{{getProfession(patient.profession)}}</div>
|
|
17
|
+ <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
|
18
|
18
|
</div>
|
19
|
19
|
<div class="otherInfo">
|
20
|
20
|
<div>医保号:</div>
|
21
|
|
- <div style="flex:1;">{{patient.health_care_no}}</div>
|
|
21
|
+ <div style="flex:1;">{{patient.health_care_no?patient.health_care_no:''}}</div>
|
22
|
22
|
</div>
|
23
|
23
|
<div class="otherInfo">
|
24
|
24
|
<div>联系电话:</div>
|
25
|
|
- <div style="flex:1;">{{patient.phone}}</div>
|
|
25
|
+ <div style="flex:1;">{{patient.phone?patient.phone:''}}</div>
|
26
|
26
|
</div>
|
27
|
27
|
<div class="otherInfo">
|
28
|
28
|
<div>通讯地址:</div>
|
29
|
|
- <div style="flex:1;">{{patient.home_address}}</div>
|
|
29
|
+ <div style="flex:1;">{{patient.home_address?patient.home_address:''}}</div>
|
30
|
30
|
</div>
|
31
|
31
|
<div class="otherInfo">
|
32
|
32
|
<div>药物过敏史:</div>
|
33
|
|
- <div style="flex:1;">{{patient.past_history}}</div>
|
|
33
|
+ <div style="flex:1;">{{patient.past_history?patient.past_history:''}}</div>
|
34
|
34
|
</div>
|
35
|
35
|
<div class="otherInfo">
|
36
|
36
|
<div>病历编号:</div>
|
37
|
|
- <div style="flex:1;">{{patient.id}}</div>
|
|
37
|
+ <div style="flex:1;">{{patient.id?patient.id:''}}</div>
|
38
|
38
|
</div>
|
39
|
39
|
<div style="page-break-after:always;margin-top:50px;"></div>
|
40
|
40
|
|
41
|
41
|
|
42
|
42
|
<div class="printTitle">病历内容</div>
|
43
|
43
|
<div class="recordTitle">
|
44
|
|
- <div>科别:{{hispatient.departments}}</div>
|
45
|
|
- <div>姓名:{{hispatient.name}}</div>
|
|
44
|
+ <div>科别:{{hispatient.departments?hispatient.departments:''}}</div>
|
|
45
|
+ <div>姓名:{{hispatient.name?hispatient.name:''}}</div>
|
46
|
46
|
<div>性别:
|
47
|
47
|
<span v-if="hispatient.gender == 1">男</span>
|
48
|
48
|
<span v-if="hispatient.gender == 2">女</span>
|
49
|
49
|
</div>
|
50
|
|
- <div>年龄:{{hispatient.age}}岁</div>
|
|
50
|
+ <div>年龄:{{hispatient.age?hispatient.age:''}}岁</div>
|
51
|
51
|
</div>
|
52
|
52
|
<div class="otherInfo">
|
53
|
53
|
<div class="otherName">主诉:</div>
|
54
|
|
- <div style="flex:1;">{{history.chief_conplaint}}</div>
|
|
54
|
+ <div style="flex:1;">{{history.chief_conplaint?history.chief_conplaint:''}}</div>
|
55
|
55
|
</div>
|
56
|
56
|
<div class="otherInfo">
|
57
|
57
|
<div class="otherName">现病史:</div>
|
58
|
|
- <div style="flex:1;">{{history.history_of_present_illness}}</div>
|
|
58
|
+ <div style="flex:1;">{{history.history_of_present_illness?history.history_of_present_illness:''}}</div>
|
59
|
59
|
</div>
|
60
|
60
|
<div class="otherInfo">
|
61
|
61
|
<div class="otherName">既往史:</div>
|
62
|
|
- <div style="flex:1;">{{history.past_history}}</div>
|
|
62
|
+ <div style="flex:1;">{{history.past_history?history.past_history:''}}</div>
|
63
|
63
|
</div>
|
64
|
64
|
<div class="otherInfo">
|
65
|
65
|
<div class="otherName">药物过敏史:</div>
|
66
|
|
- <div style="flex:1;">{{history.past_history}}</div>
|
|
66
|
+ <div style="flex:1;">{{history.past_history?history.past_history:''}}</div>
|
67
|
67
|
</div>
|
68
|
68
|
<div class="otherInfo">
|
69
|
69
|
<div class="otherName">个人史:</div>
|
70
|
|
- <div style="flex:1;">{{history.personal_history}}</div>
|
|
70
|
+ <div style="flex:1;">{{history.personal_history?history.personal_history:''}}</div>
|
71
|
71
|
</div>
|
72
|
72
|
<div class="otherInfo">
|
73
|
73
|
<div class="otherName">家族史:</div>
|
74
|
|
- <div style="flex:1;">{{history.family_history}}</div>
|
|
74
|
+ <div style="flex:1;">{{history.family_history?history.family_history:''}}</div>
|
75
|
75
|
</div>
|
76
|
76
|
<div class="otherInfo">
|
77
|
77
|
<div class="otherName">体格检查:</div>
|
|
@@ -79,14 +79,14 @@
|
79
|
79
|
</div>
|
80
|
80
|
<div class="otherInfo">
|
81
|
81
|
<div class="otherName">门诊诊断:</div>
|
82
|
|
- <div style="flex:1;">{{history.diagnostic}}</div>
|
|
82
|
+ <div style="flex:1;">{{history.diagnostic?history.diagnostic:''}}</div>
|
83
|
83
|
</div>
|
84
|
84
|
<div class="otherInfo">
|
85
|
85
|
<div class="otherName">门诊医嘱:</div>
|
86
|
|
- <div style="flex:1;">{{history.doctor_advice}}</div>
|
|
86
|
+ <div style="flex:1;">{{history.doctor_advice?history.doctor_advice:''}}</div>
|
87
|
87
|
</div>
|
88
|
88
|
<div style="margin-top:20px;text-align:right;">
|
89
|
|
- 医生签名:{{getDoctor(history.doctor)}}
|
|
89
|
+ 医生签名:{{getDoctor(history.doctor)?getDoctor(history.doctor):''}}
|
90
|
90
|
</div>
|
91
|
91
|
</div>
|
92
|
92
|
</template>
|