|
@@ -1,6 +1,6 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div>
|
3
|
|
- <div style="float:right">
|
|
3
|
+ <div style="float:right;margin-right:10px">
|
4
|
4
|
<el-button type="primary" size="small" @click="printThisPage">打印</el-button>
|
5
|
5
|
</div>
|
6
|
6
|
<div id="dialysis-print-box">
|
|
@@ -11,24 +11,24 @@
|
11
|
11
|
<div>
|
12
|
12
|
<table class="print-table" border="1" style="margin-top: 10px;">
|
13
|
13
|
<tr>
|
14
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
14
|
+ <td style="text-align:center;width:200px" colspan="1">
|
15
|
15
|
姓名:
|
16
|
16
|
</td>
|
17
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
17
|
+ <td style="text-align:center;width:200px" colspan="1">
|
18
|
18
|
<span style="display:inline-block;margin-left:10px;">
|
19
|
19
|
{{patient.name}}
|
20
|
20
|
</span>
|
21
|
21
|
</td>
|
22
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
22
|
+ <td style="text-align:center;width:200px" colspan="1">
|
23
|
23
|
性别:
|
24
|
24
|
</td>
|
25
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
25
|
+ <td style="text-align:center;width:200px" colspan="1">
|
26
|
26
|
<span style="display:inline-block;margin-left:10px;">
|
27
|
27
|
<span v-if="patient.gender == 1">男</span>
|
28
|
28
|
<span v-if="patient.gender == 2">女</span>
|
29
|
29
|
</span>
|
30
|
30
|
</td>
|
31
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
31
|
+ <td style="text-align:center;width:100px" colspan="1">
|
32
|
32
|
年龄:
|
33
|
33
|
</td>
|
34
|
34
|
<td style="text-align:center;width:50px" colspan="1">
|
|
@@ -36,30 +36,30 @@
|
36
|
36
|
{{getNewAge(patient.id_card_no)}}
|
37
|
37
|
</span>
|
38
|
38
|
</td>
|
39
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
39
|
+ <td style="text-align:center;width:100px" colspan="1">
|
40
|
40
|
婚姻:
|
41
|
41
|
</td>
|
42
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
42
|
+ <td style="text-align:center;width:100px" colspan="1">
|
43
|
43
|
<span style="display:inline-block;margin-left:10px;">
|
44
|
|
- <span v-if="patient.marital_status == 0">未婚</span>
|
45
|
|
- <span v-if="patient.marital_status == 1">已婚</span>
|
46
|
|
- <span v-if="patient.marital_status == 2">未婚</span>
|
|
44
|
+ <span v-if="patient.marital_status == 0"></span>
|
|
45
|
+ <span v-if="patient.marital_status == 1">未婚</span>
|
|
46
|
+ <span v-if="patient.marital_status == 2">已婚</span>
|
47
|
47
|
<span v-if="patient.marital_status == 3">离异</span>
|
48
|
48
|
<span v-if="patient.marital_status == 4">丧偶</span>
|
49
|
49
|
</span>
|
50
|
50
|
</td>
|
51
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
51
|
+ <td style="text-align:center;width:200px" colspan="1">
|
52
|
52
|
职业:
|
53
|
53
|
</td>
|
54
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
54
|
+ <td style="text-align:center;width:100px" colspan="1">
|
55
|
55
|
<span style="display:inline-block;margin-left:10px;">
|
56
|
56
|
{{getProfession(patient.profession)?getProfession(patient.profession):''}}
|
57
|
57
|
</span>
|
58
|
58
|
</td>
|
59
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
59
|
+ <td style="text-align:center;width:300px" colspan="1">
|
60
|
60
|
电话:
|
61
|
61
|
</td>
|
62
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
62
|
+ <td style="text-align:center;width:100px" colspan="1">
|
63
|
63
|
<span style="display:inline-block;margin-left:10px;">
|
64
|
64
|
{{patient.phone}}
|
65
|
65
|
</span>
|
|
@@ -67,10 +67,10 @@
|
67
|
67
|
</tr>
|
68
|
68
|
|
69
|
69
|
<tr>
|
70
|
|
- <td style="text-align:center;" colspan="1">
|
|
70
|
+ <td style="text-align:center;width:100px" colspan="1">
|
71
|
71
|
住址:
|
72
|
72
|
</td>
|
73
|
|
- <td style="text-align:center;" colspan="11">
|
|
73
|
+ <td style="text-align:center;width:500px" colspan="12">
|
74
|
74
|
|
75
|
75
|
<span style="display:inline-block;margin-left:10px;">
|
76
|
76
|
{{patient.home_address}}
|
|
@@ -78,23 +78,23 @@
|
78
|
78
|
</td>
|
79
|
79
|
</tr>
|
80
|
80
|
<tr>
|
81
|
|
- <td style="text-align:center;width:170px" colspan="1">
|
|
81
|
+ <td style="text-align:center;width:300px" colspan="1">
|
82
|
82
|
入院时间:
|
83
|
83
|
</td>
|
84
|
|
- <td style="text-align:center;width:170px" colspan="2">
|
|
84
|
+ <td style="text-align:center;width:200px" colspan="2">
|
85
|
85
|
<span style="display:inline-block;margin-left:10px;">
|
86
|
86
|
{{getTime(hosDetail.admission_time)}}
|
87
|
87
|
</span>
|
88
|
88
|
</td>
|
89
|
|
- <td style="text-align:center;width:100px" colspan="2">
|
|
89
|
+ <td style="text-align:center;width:250px" colspan="1">
|
90
|
90
|
出院时间:
|
91
|
91
|
</td>
|
92
|
|
- <td style="text-align:center;width:100px" colspan="2">
|
|
92
|
+ <td style="text-align:center;width:250px" colspan="3">
|
93
|
93
|
<span style="display:inline-block;margin-left:10px;">
|
94
|
94
|
{{getTime(hosDetail.discharge_time)}}
|
95
|
95
|
</span>
|
96
|
96
|
</td>
|
97
|
|
- <td style="text-align:center;width:100px" colspan="1">
|
|
97
|
+ <td style="text-align:center;width:100px" colspan="2">
|
98
|
98
|
住院天数:
|
99
|
99
|
</td>
|
100
|
100
|
<td style="text-align:center;width:50px" colspan="1">
|
|
@@ -103,9 +103,8 @@
|
103
|
103
|
|
104
|
104
|
</span>
|
105
|
105
|
</td>
|
106
|
|
- <td style="text-align:center;width:50px" colspan="2">
|
|
106
|
+ <td style="text-align:center;width:50px" colspan="1">
|
107
|
107
|
转归:
|
108
|
|
-
|
109
|
108
|
</td>
|
110
|
109
|
<td style="text-align:center;width:50px" colspan="1">
|
111
|
110
|
<span style="display:inline-block;margin-left:10px;">
|
|
@@ -119,10 +118,10 @@
|
119
|
118
|
<td style="text-align:center;width:50px" colspan="1">
|
120
|
119
|
检查号:
|
121
|
120
|
</td>
|
122
|
|
- <td style="text-align:center;width:50px" colspan="2">
|
|
121
|
+ <td style="text-align:center;width:50px" colspan="1">
|
123
|
122
|
X线:
|
124
|
123
|
</td>
|
125
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
124
|
+ <td style="text-align:center;width:50px" colspan="2">
|
126
|
125
|
<span style="display:inline-block;margin-left:10px;">
|
127
|
126
|
{{hosDetail.xray}}
|
128
|
127
|
</span>
|
|
@@ -143,10 +142,10 @@
|
143
|
142
|
{{hosDetail.nuclear_magnetic_resonance}}
|
144
|
143
|
</span>
|
145
|
144
|
</td>
|
146
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
145
|
+ <td style="text-align:center;width:100px" colspan="1">
|
147
|
146
|
超声:
|
148
|
147
|
</td>
|
149
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
148
|
+ <td style="text-align:center;width:100px" colspan="1">
|
150
|
149
|
<span style="display:inline-block;margin-left:10px;">
|
151
|
150
|
{{hosDetail.ultrasound}}
|
152
|
151
|
</span>
|
|
@@ -161,7 +160,7 @@
|
161
|
160
|
</td>
|
162
|
161
|
</tr>
|
163
|
162
|
<tr>
|
164
|
|
- <td style="text-align:center;" colspan="1">
|
|
163
|
+ <td style="text-align:center;width:300px" colspan="1">
|
165
|
164
|
入院诊断:
|
166
|
165
|
<span style="display:inline-block;margin-left:10px;">
|
167
|
166
|
|
|
@@ -174,7 +173,7 @@
|
174
|
173
|
</td>
|
175
|
174
|
</tr>
|
176
|
175
|
<tr>
|
177
|
|
- <td style="text-align:center;width:170px" colspan="1">
|
|
176
|
+ <td style="text-align:center;width:300px" colspan="1">
|
178
|
177
|
出院诊断:
|
179
|
178
|
</td>
|
180
|
179
|
<td style="text-align:center;width:170px" colspan="11">
|
|
@@ -186,7 +185,7 @@
|
186
|
185
|
|
187
|
186
|
</tr>
|
188
|
187
|
<tr>
|
189
|
|
- <td style="text-align:center;width:170px" colspan="1">
|
|
188
|
+ <td style="text-align:center;width:300px" colspan="1">
|
190
|
189
|
入院时病情:
|
191
|
190
|
</td>
|
192
|
191
|
<td style="text-align:center;width:170px" colspan="11">
|
|
@@ -199,7 +198,7 @@
|
199
|
198
|
</tr>
|
200
|
199
|
|
201
|
200
|
<tr>
|
202
|
|
- <td style="text-align:center;width:170px" colspan="1">
|
|
201
|
+ <td style="text-align:center;width:300px" colspan="1">
|
203
|
202
|
诊断经过:
|
204
|
203
|
|
205
|
204
|
</td>
|
|
@@ -224,7 +223,7 @@
|
224
|
223
|
|
225
|
224
|
</tr>
|
226
|
225
|
<tr>
|
227
|
|
- <td style="text-align:center;width:170px" colspan="1">
|
|
226
|
+ <td style="text-align:center;width:300px" colspan="1">
|
228
|
227
|
出院医嘱:
|
229
|
228
|
</td>
|
230
|
229
|
<td style="text-align:center;width:170px" colspan="11">
|
|
@@ -383,7 +382,7 @@ export default {
|
383
|
382
|
var name = ""
|
384
|
383
|
for(let i=0;i<this.educationOptions.length;i++){
|
385
|
384
|
if(id == this.educationOptions[i].id){
|
386
|
|
- name = this.educationOptions[i].name
|
|
385
|
+ name = this.educationOptions[i].name
|
387
|
386
|
}
|
388
|
387
|
}
|
389
|
388
|
return name
|
|
@@ -396,7 +395,7 @@ export default {
|
396
|
395
|
},
|
397
|
396
|
|
398
|
397
|
created() {
|
399
|
|
- this.educationOptions = getDataConfig("patient", "education_types");
|
|
398
|
+ this.educationOptions = getDataConfig("patient", "profession_options");
|
400
|
399
|
var xtuser = this.$store.getters.xt_user
|
401
|
400
|
this.orgname = xtuser.org.org_name
|
402
|
401
|
var id = this.$route.query.id
|