|
@@ -32,7 +32,7 @@
|
32
|
32
|
</td>
|
33
|
33
|
<td style="text-align:center;" colspan="1">
|
34
|
34
|
<span style="display:inline-block;margin-left:10px;">
|
35
|
|
-
|
|
35
|
+ {{getNewAge(patient.id_card_no)}}
|
36
|
36
|
</span>
|
37
|
37
|
</td>
|
38
|
38
|
<td style="text-align:center;" colspan="1">
|
|
@@ -40,15 +40,19 @@
|
40
|
40
|
</td>
|
41
|
41
|
<td style="text-align:center;" colspan="1">
|
42
|
42
|
<span style="display:inline-block;margin-left:10px;">
|
43
|
|
-
|
|
43
|
+ <span v-if="patient.marital_status == 0">未婚</span>
|
|
44
|
+ <span v-if="patient.marital_status == 1">已婚</span>
|
|
45
|
+ <span v-if="patient.marital_status == 2">未婚</span>
|
|
46
|
+ <span v-if="patient.marital_status == 3">离异</span>
|
|
47
|
+ <span v-if="patient.marital_status == 4">丧偶</span>
|
44
|
48
|
</span>
|
45
|
49
|
</td>
|
46
|
50
|
<td style="text-align:center;" colspan="1">
|
47
|
|
- 职业:
|
|
51
|
+ 职业:
|
48
|
52
|
</td>
|
49
|
53
|
<td style="text-align:center;" colspan="1">
|
50
|
54
|
<span style="display:inline-block;margin-left:10px;">
|
51
|
|
-
|
|
55
|
+ {{getProfession(patient.profession)?getProfession(patient.profession):''}}
|
52
|
56
|
</span>
|
53
|
57
|
</td>
|
54
|
58
|
<td style="text-align:center;" colspan="1">
|
|
@@ -56,64 +60,70 @@
|
56
|
60
|
</td>
|
57
|
61
|
<td style="text-align:center;" colspan="1">
|
58
|
62
|
<span style="display:inline-block;margin-left:10px;">
|
59
|
|
-
|
|
63
|
+ {{patient.phone}}
|
60
|
64
|
</span>
|
61
|
65
|
</td>
|
62
|
66
|
</tr>
|
|
67
|
+
|
63
|
68
|
<tr>
|
64
|
69
|
<td style="text-align:center;" colspan="1">
|
65
|
|
- 入院时间:
|
|
70
|
+ 住址:
|
66
|
71
|
</td>
|
67
|
72
|
<td style="text-align:center;" colspan="11">
|
68
|
73
|
|
69
|
74
|
<span style="display:inline-block;margin-left:10px;">
|
70
|
|
-
|
|
75
|
+ {{patient.home_address}}
|
71
|
76
|
</span>
|
72
|
77
|
</td>
|
73
|
78
|
</tr>
|
74
|
79
|
<tr>
|
|
80
|
+ <td style="text-align:center;width:170px" colspan="1">
|
|
81
|
+ 入院时间:
|
|
82
|
+ </td>
|
|
83
|
+ <td style="text-align:center;width:170px" colspan="2">
|
|
84
|
+ <span style="display:inline-block;margin-left:10px;">
|
|
85
|
+ {{getTime(hosDetail.admission_time)}}
|
|
86
|
+ </span>
|
|
87
|
+ </td>
|
75
|
88
|
<td style="text-align:center;width:170px" colspan="2">
|
76
|
89
|
出院时间:
|
77
|
90
|
</td>
|
78
|
91
|
<td style="text-align:center;width:170px" colspan="2">
|
79
|
92
|
<span style="display:inline-block;margin-left:10px;">
|
80
|
|
-
|
|
93
|
+ {{getTime(hosDetail.discharge_time)}}
|
81
|
94
|
</span>
|
82
|
95
|
</td>
|
83
|
|
- <td style="text-align:center;" colspan="2">
|
|
96
|
+ <td style="text-align:center;" colspan="1">
|
84
|
97
|
住院天数:
|
85
|
98
|
</td>
|
86
|
|
- <td style="text-align:center;" colspan="2">
|
|
99
|
+ <td style="text-align:center;" colspan="1">
|
87
|
100
|
<span style="display:inline-block;margin-left:10px;">
|
88
|
|
-
|
|
101
|
+ {{getTimeDay(hosDetail.admission_time,hosDetail.discharge_time)}}
|
|
102
|
+
|
89
|
103
|
</span>
|
90
|
104
|
</td>
|
91
|
105
|
<td style="text-align:center;" colspan="2">
|
92
|
106
|
转归:
|
93
|
107
|
|
94
|
108
|
</td>
|
95
|
|
- <td style="text-align:center;" colspan="2">
|
|
109
|
+ <td style="text-align:center;" colspan="1">
|
96
|
110
|
<span style="display:inline-block;margin-left:10px;">
|
97
|
|
-
|
|
111
|
+ <span v-if="patient.lapseto == 1">留治</span>
|
|
112
|
+ <span v-if="patient.lapseto == 2">转归</span>
|
98
|
113
|
</span>
|
99
|
114
|
</td>
|
100
|
115
|
|
101
|
116
|
</tr>
|
102
|
117
|
<tr>
|
103
|
|
- <td style="text-align:center;width:170px" colspan="1">
|
|
118
|
+ <td style="text-align:center;width:170px" colspan="2">
|
104
|
119
|
检查号:
|
105
|
|
- </td>
|
106
|
|
- <td style="text-align:center;" colspan="1">
|
107
|
|
- <span style="display:inline-block;margin-left:10px;">
|
108
|
|
-
|
109
|
|
- </span>
|
110
|
120
|
</td>
|
111
|
121
|
<td style="text-align:center;" colspan="1">
|
112
|
122
|
X线:
|
113
|
123
|
</td>
|
114
|
124
|
<td style="text-align:center;" colspan="1">
|
115
|
125
|
<span style="display:inline-block;margin-left:10px;">
|
116
|
|
-
|
|
126
|
+ {{hosDetail.xray}}
|
117
|
127
|
</span>
|
118
|
128
|
</td>
|
119
|
129
|
<td style="text-align:center;" colspan="1">
|
|
@@ -121,7 +131,7 @@
|
121
|
131
|
</td>
|
122
|
132
|
<td style="text-align:center;" colspan="1">
|
123
|
133
|
<span style="display:inline-block;margin-left:10px;">
|
124
|
|
-
|
|
134
|
+ {{hosDetail.connecticut}}
|
125
|
135
|
</span>
|
126
|
136
|
</td>
|
127
|
137
|
<td style="text-align:center;" colspan="1">
|
|
@@ -129,7 +139,7 @@
|
129
|
139
|
</td>
|
130
|
140
|
<td style="text-align:center;" colspan="1">
|
131
|
141
|
<span style="display:inline-block;margin-left:10px;">
|
132
|
|
-
|
|
142
|
+ {{hosDetail.nuclear_magnetic_resonance}}
|
133
|
143
|
</span>
|
134
|
144
|
</td>
|
135
|
145
|
<td style="text-align:center;" colspan="1">
|
|
@@ -137,7 +147,7 @@
|
137
|
147
|
</td>
|
138
|
148
|
<td style="text-align:center;" colspan="1">
|
139
|
149
|
<span style="display:inline-block;margin-left:10px;">
|
140
|
|
-
|
|
150
|
+ {{hosDetail.ultrasound}}
|
141
|
151
|
</span>
|
142
|
152
|
</td>
|
143
|
153
|
<td style="text-align:center;" colspan="1">
|
|
@@ -145,62 +155,48 @@
|
145
|
155
|
</td>
|
146
|
156
|
<td style="text-align:center;" colspan="1">
|
147
|
157
|
<span style="display:inline-block;margin-left:10px;">
|
148
|
|
-
|
|
158
|
+ {{hosDetail.pathology}}
|
149
|
159
|
</span>
|
150
|
160
|
</td>
|
151
|
161
|
</tr>
|
152
|
162
|
<tr>
|
153
|
163
|
<td style="text-align:center;" colspan="1">
|
154
|
|
- 入院时间:
|
|
164
|
+ 入院诊断:
|
155
|
165
|
<span style="display:inline-block;margin-left:10px;">
|
156
|
166
|
|
157
|
167
|
</span>
|
158
|
168
|
</td>
|
159
|
169
|
<td style="text-align:center;" colspan="11">
|
160
|
170
|
<span style="display:inline-block;margin-left:10px;">
|
161
|
|
-
|
|
171
|
+ {{hosDetail.admitting_diagnosis_id}}
|
162
|
172
|
</span>
|
163
|
173
|
</td>
|
164
|
174
|
</tr>
|
165
|
175
|
<tr>
|
166
|
176
|
<td style="text-align:center;width:170px" colspan="1">
|
167
|
|
- 入院诊断:
|
168
|
|
- <span style="display:inline-block;margin-left:10px;">
|
169
|
|
-
|
170
|
|
- </span>
|
|
177
|
+ 出院诊断:
|
171
|
178
|
</td>
|
172
|
179
|
<td style="text-align:center;width:170px" colspan="11">
|
173
|
|
- 入院诊断:
|
|
180
|
+
|
174
|
181
|
<span style="display:inline-block;margin-left:10px;">
|
175
|
|
-
|
|
182
|
+ {{hosDetail.discharge_diagnosis_id}}
|
176
|
183
|
</span>
|
177
|
184
|
</td>
|
178
|
185
|
|
179
|
186
|
</tr>
|
180
|
187
|
<tr>
|
181
|
188
|
<td style="text-align:center;width:170px" colspan="1">
|
182
|
|
- 出院诊断:
|
|
189
|
+ 入院时病情:
|
183
|
190
|
</td>
|
184
|
191
|
<td style="text-align:center;width:170px" colspan="11">
|
185
|
192
|
|
186
|
193
|
<span style="display:inline-block;margin-left:10px;">
|
187
|
|
-
|
188
|
|
- </span>
|
189
|
|
- </td>
|
190
|
|
-
|
191
|
|
- </tr>
|
192
|
|
- <tr>
|
193
|
|
- <td style="text-align:center;width:170px" colspan="1">
|
194
|
|
- 入院时病情:
|
195
|
|
-
|
196
|
|
- </td>
|
197
|
|
- <td style="text-align:center;width:170px" colspan="11">
|
198
|
|
- <span style="display:inline-block;margin-left:10px;">
|
199
|
|
-
|
|
194
|
+ {{hosDetail.diagnosis_admission_id}}
|
200
|
195
|
</span>
|
201
|
196
|
</td>
|
202
|
197
|
|
203
|
198
|
</tr>
|
|
199
|
+
|
204
|
200
|
<tr>
|
205
|
201
|
<td style="text-align:center;width:170px" colspan="1">
|
206
|
202
|
诊断经过:
|
|
@@ -208,7 +204,7 @@
|
208
|
204
|
</td>
|
209
|
205
|
<td style="text-align:center;width:170px" colspan="11">
|
210
|
206
|
<span style="display:inline-block;margin-left:10px;">
|
211
|
|
-
|
|
207
|
+ {{hosDetail.treatment}}
|
212
|
208
|
</span>
|
213
|
209
|
</td>
|
214
|
210
|
|
|
@@ -216,14 +212,11 @@
|
216
|
212
|
<tr>
|
217
|
213
|
<td style="text-align:center;width:170px" colspan="1">
|
218
|
214
|
出院时病情:
|
219
|
|
- <span style="display:inline-block;margin-left:10px;">
|
220
|
|
-
|
221
|
|
- </span>
|
222
|
215
|
</td>
|
223
|
216
|
<td style="text-align:center;width:170px" colspan="11">
|
224
|
217
|
|
225
|
218
|
<span style="display:inline-block;margin-left:10px;">
|
226
|
|
-
|
|
219
|
+ {{hosDetail.illness_discharge}}
|
227
|
220
|
</span>
|
228
|
221
|
</td>
|
229
|
222
|
|
|
@@ -232,14 +225,10 @@
|
232
|
225
|
<tr>
|
233
|
226
|
<td style="text-align:center;width:170px" colspan="1">
|
234
|
227
|
出院医嘱:
|
235
|
|
- <span style="display:inline-block;margin-left:10px;">
|
236
|
|
-
|
237
|
|
- </span>
|
238
|
228
|
</td>
|
239
|
229
|
<td style="text-align:center;width:170px" colspan="11">
|
240
|
|
- 出院医嘱:
|
241
|
230
|
<span style="display:inline-block;margin-left:10px;">
|
242
|
|
-
|
|
231
|
+ {{hosDetail.discharge_advice}}
|
243
|
232
|
</span>
|
244
|
233
|
</td>
|
245
|
234
|
|
|
@@ -252,22 +241,18 @@
|
252
|
241
|
</td>
|
253
|
242
|
<td style="text-align:center;width:170px" colspan="2">
|
254
|
243
|
上级签名:
|
255
|
|
- <span style="display:inline-block;margin-left:10px;">
|
256
|
|
-
|
257
|
|
- </span>
|
258
|
244
|
</td>
|
259
|
245
|
<td style="text-align:center;width:170px" colspan="2">
|
260
|
246
|
<span style="display:inline-block;margin-left:10px;">
|
261
|
|
-
|
|
247
|
+ {{getDoctor(hosDetail.dean_id)}}
|
262
|
248
|
</span>
|
263
|
249
|
</td>
|
264
|
250
|
<td style="text-align:center;width:170px" colspan="2">
|
265
|
251
|
住院医师签名:
|
266
|
252
|
</td>
|
267
|
253
|
<td style="text-align:center;width:170px" colspan="2">
|
268
|
|
-
|
269
|
254
|
<span style="display:inline-block;margin-left:10px;">
|
270
|
|
-
|
|
255
|
+ {{getDoctor(hosDetail.doctor)}}
|
271
|
256
|
</span>
|
272
|
257
|
</td>
|
273
|
258
|
</tr>
|
|
@@ -287,8 +272,9 @@ import { jsGetAge, uParseTime } from '@/utils/tools'
|
287
|
272
|
import LabelBox from '../dialysis/printItem/LabelBox'
|
288
|
273
|
import CheckBox from '../dialysis/batch_print/option_check_box'
|
289
|
274
|
import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
290
|
|
-import {getHospitalSummaryDetail} from "@/api/patient"
|
291
|
|
- import { getAllDoctorList } from "@/api/device"
|
|
275
|
+import {getHospitalSummaryDetail,getPatientInfo} from "@/api/patient"
|
|
276
|
+import { getAllDoctorList } from "@/api/device"
|
|
277
|
+import { getDataConfig } from "@/utils/data";
|
292
|
278
|
export default {
|
293
|
279
|
name: 'dialysisPrintOrderOne',
|
294
|
280
|
components: {
|
|
@@ -305,6 +291,7 @@ export default {
|
305
|
291
|
hosDetail:{},
|
306
|
292
|
patient:{},
|
307
|
293
|
doctorList:[],
|
|
294
|
+ educationOptions:[],
|
308
|
295
|
}
|
309
|
296
|
},
|
310
|
297
|
methods: {
|
|
@@ -313,16 +300,13 @@ export default {
|
313
|
300
|
var timestr = uParseTime(times, '{y}年{m}月{d}日')
|
314
|
301
|
return timestr
|
315
|
302
|
},
|
316
|
|
- getTime(value, temp) {
|
317
|
|
- if (value == 0) {
|
318
|
|
- return ''
|
319
|
|
- }
|
320
|
|
- if (value != undefined) {
|
321
|
|
- return uParseTime(value, temp)
|
322
|
|
- }
|
323
|
|
- return ''
|
|
303
|
+ getTime(val) {
|
|
304
|
+ if(val == "" || val == undefined){
|
|
305
|
+ return ""
|
|
306
|
+ }else {
|
|
307
|
+ return uParseTime(val, '{y}-{m}-{d}')
|
|
308
|
+ }
|
324
|
309
|
},
|
325
|
|
-
|
326
|
310
|
printThisPage() {
|
327
|
311
|
var ptime = Math.round(new Date().getTime() / 1000)
|
328
|
312
|
this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
|
|
@@ -385,9 +369,33 @@ export default {
|
385
|
369
|
}
|
386
|
370
|
})
|
387
|
371
|
},
|
|
372
|
+ getDoctor(id){
|
|
373
|
+ var name = ""
|
|
374
|
+ for(let i=0;i<this.doctorList.length;i++){
|
|
375
|
+ if(id == this.doctorList[i].admin_user_id){
|
|
376
|
+ name = this.doctorList[i].user_name
|
|
377
|
+ }
|
|
378
|
+ }
|
|
379
|
+ return name
|
|
380
|
+ },
|
|
381
|
+ getProfession(id){
|
|
382
|
+ var name = ""
|
|
383
|
+ for(let i=0;i<this.educationOptions.length;i++){
|
|
384
|
+ if(id == this.educationOptions[i].id){
|
|
385
|
+ name = this.educationOptions[i].name
|
|
386
|
+ }
|
|
387
|
+ }
|
|
388
|
+ return name
|
|
389
|
+ },
|
|
390
|
+ getTimeDay(start,end){
|
|
391
|
+ var count = ""
|
|
392
|
+ count = (end-start)/86400
|
|
393
|
+ return count
|
|
394
|
+ }
|
388
|
395
|
},
|
389
|
396
|
|
390
|
397
|
created() {
|
|
398
|
+ this.educationOptions = getDataConfig("patient", "education_types");
|
391
|
399
|
var xtuser = this.$store.getters.xt_user
|
392
|
400
|
this.orgname = xtuser.org.org_name
|
393
|
401
|
var id = this.$route.query.id
|