|
@@ -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,15 +11,15 @@
|
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:100px" colspan="1">
|
15
|
15
|
姓名:
|
16
|
16
|
</td>
|
17
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
17
|
+ <td style="text-align:center;width:100px" 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:100px" colspan="1">
|
23
|
23
|
性别:
|
24
|
24
|
</td>
|
25
|
25
|
<td style="text-align:center;width:50px" colspan="1">
|
|
@@ -28,7 +28,7 @@
|
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,19 +36,19 @@
|
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
|
42
|
<td style="text-align:center;width:50px" 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:100px" colspan="1">
|
52
|
52
|
职业:
|
53
|
53
|
</td>
|
54
|
54
|
<td style="text-align:center;width:50px" colspan="1">
|
|
@@ -56,7 +56,7 @@
|
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:100px" colspan="1">
|
60
|
60
|
电话:
|
61
|
61
|
</td>
|
62
|
62
|
<td style="text-align:center;width:50px" colspan="1">
|
|
@@ -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:300px" colspan="11">
|
74
|
74
|
|
75
|
75
|
<span style="display:inline-block;margin-left:10px;">
|
76
|
76
|
{{patient.home_address}}
|
|
@@ -78,26 +78,26 @@
|
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:50px" colspan="1">
|
82
|
82
|
入院时间:
|
83
|
83
|
</td>
|
84
|
|
- <td style="text-align:center;width:170px" colspan="2">
|
|
84
|
+ <td style="text-align:center;width:300px" colspan="1">
|
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:200px" colspan="1">
|
90
|
90
|
出院时间:
|
91
|
91
|
</td>
|
92
|
|
- <td style="text-align:center;width:100px" colspan="2">
|
|
92
|
+ <td style="text-align:center;width:300px" colspan="1">
|
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
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
100
|
+ <td style="text-align:center;width:50px" colspan="2">
|
101
|
101
|
<span style="display:inline-block;margin-left:10px;">
|
102
|
102
|
{{getTimeDay(hosDetail.admission_time,hosDetail.discharge_time)}}
|
103
|
103
|
|
|
@@ -105,9 +105,8 @@
|
105
|
105
|
</td>
|
106
|
106
|
<td style="text-align:center;width:50px" colspan="2">
|
107
|
107
|
转归:
|
108
|
|
-
|
109
|
108
|
</td>
|
110
|
|
- <td style="text-align:center;width:50px" colspan="1">
|
|
109
|
+ <td style="text-align:center;width:50px" colspan="2">
|
111
|
110
|
<span style="display:inline-block;margin-left:10px;">
|
112
|
111
|
<span v-if="patient.lapseto == 1">留治</span>
|
113
|
112
|
<span v-if="patient.lapseto == 2">转归</span>
|
|
@@ -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
|