|
@@ -1,10 +1,8 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div>
|
3
|
|
-
|
4
|
3
|
<el-button style="float:right;" type="primary" @click="printAction">打印</el-button>
|
5
|
4
|
|
6
|
5
|
<!-- <el-button type="primary" @click="printAction">打印</el-button>-->
|
7
|
|
- <div class="print_main_content">
|
8
|
6
|
<table v-if="$route.query.week_date ==''" id="scheduleTable" class="scheduleTable" border="1" cellspacing="0">
|
9
|
7
|
<tr>
|
10
|
8
|
<td rowspan="2">分区</td>
|
|
@@ -16,7 +14,7 @@
|
16
|
14
|
<td colspan="3">周五({{ weekTitle[4] }})</td>
|
17
|
15
|
<td colspan="3">周六({{ weekTitle[5] }})</td>
|
18
|
16
|
<td colspan="3">周日({{ weekTitle[6] }})</td>
|
19
|
|
- <td rowspan="2">总数</td>
|
|
17
|
+ <td>总数</td>
|
20
|
18
|
</tr>
|
21
|
19
|
<tr>
|
22
|
20
|
<td>上午</td>
|
|
@@ -42,144 +40,141 @@
|
42
|
40
|
<td>晚上</td>
|
43
|
41
|
</tr>
|
44
|
42
|
<tr v-for="(item,index) in scheduleZone" :key="index">
|
45
|
|
- <td style="min-width:40px;">{{ item.area }}</td>
|
46
|
|
- <td style="min-width:40px;">{{ item.cut }}</td>
|
47
|
|
- <td style="min-width:40px;">
|
|
43
|
+ <td style="min-width:50px;">{{ item.area }}</td>
|
|
44
|
+ <td style="min-width:50px;">{{ item.cut }}</td>
|
|
45
|
+ <td style="min-width:50px;">
|
48
|
46
|
<span v-if="item.Mon_M.patient_id">
|
49
|
|
- <span>{{ item.Mon_M.patient }}</span>
|
50
|
|
- <span v-if="item.Mon_M.mode_name != 'HD'">{{ item.Mon_M.mode_name }}</span>
|
|
47
|
+ <div>{{ item.Mon_M.patient }} </div>
|
|
48
|
+ <div v-if="item.Mon_M.mode_name != 'HD'">
|
|
49
|
+ {{ item.Mon_M.mode_name }}
|
|
50
|
+ </div>
|
51
|
51
|
</span>
|
52
|
52
|
</td>
|
53
|
|
- <td style="min-width:40px;">
|
|
53
|
+ <td style="min-width:50px;">
|
54
|
54
|
<span v-if="item.Mon_A.patient_id">
|
55
|
|
-
|
56
|
|
- <span>{{ item.Mon_A.patient }}</span>
|
57
|
|
- <span v-if="item.Mon_A.mode_name != 'HD'">{{ item.Mon_A.mode_name }}</span>
|
|
55
|
+ <div>{{ item.Mon_A.patient }} </div>
|
|
56
|
+ <div v-if="item.Mon_A.mode_name != 'HD'">{{ item.Mon_A.mode_name }}</div>
|
58
|
57
|
</span>
|
59
|
58
|
</td>
|
60
|
|
- <td style="min-width:40px;">
|
|
59
|
+ <td style="min-width:50px;">
|
61
|
60
|
<span v-if="item.Mon_N.patient_id">
|
62
|
|
-
|
63
|
|
- <span>{{ item.Mon_N.patient }}</span>
|
64
|
|
- <span v-if="item.Mon_N.mode_name != 'HD'">{{ item.Mon_N.mode_name }}</span>
|
|
61
|
+ <div>{{ item.Mon_N.patient }}</div>
|
|
62
|
+ <div v-if="item.Mon_N.mode_name != 'HD'">{{ item.Mon_N.mode_name }}</div>
|
65
|
63
|
</span>
|
66
|
64
|
</td>
|
67
|
|
- <td style="min-width:40px;">
|
|
65
|
+ <td style="min-width:50px;">
|
68
|
66
|
<span v-if="item.Tue_M.patient_id">
|
69
|
|
-
|
70
|
|
- <span>{{ item.Tue_M.patient }}</span>
|
71
|
|
- <span v-if="item.Tue_M.mode_name != 'HD'">{{ item.Tue_M.mode_name }}</span>
|
|
67
|
+ <div>{{ item.Tue_M.patient }}</div>
|
|
68
|
+ <div v-if="item.Tue_M.mode_name != 'HD'">{{ item.Tue_M.mode_name }}</div>
|
72
|
69
|
</span>
|
73
|
70
|
</td>
|
74
|
|
- <td style="min-width:40px;">
|
|
71
|
+ <td style="min-width:50px;">
|
75
|
72
|
<span v-if="item.Tue_A.patient_id">
|
76
|
|
-
|
77
|
|
- <span>{{ item.Tue_A.patient }}</span>
|
78
|
|
- <span v-if="item.Tue_A.mode_name != 'HD'">{{ item.Tue_A.mode_name }}</span>
|
|
73
|
+ <div>{{ item.Tue_A.patient }}</div>
|
|
74
|
+ <div v-if="item.Tue_A.mode_name != 'HD'">{{ item.Tue_A.mode_name }}</div>
|
79
|
75
|
</span>
|
80
|
76
|
</td>
|
81
|
|
- <td style="min-width:40px;">
|
|
77
|
+ <td style="min-width:50px;">
|
82
|
78
|
<span v-if="item.Tue_N.patient_id">
|
83
|
|
-
|
84
|
|
- <span>{{ item.Tue_N.patient }}</span>
|
85
|
|
- <span v-if="item.Tue_N.mode_name != 'HD'">{{ item.Tue_N.mode_name }}</span>
|
|
79
|
+ <div>{{ item.Tue_N.patient }}</div>
|
|
80
|
+ <div v-if="item.Tue_N.mode_name != 'HD'">{{ item.Tue_N.mode_name }}</div>
|
86
|
81
|
</span>
|
87
|
82
|
</td>
|
88
|
|
- <td style="min-width:40px;">
|
|
83
|
+ <td style="min-width:50px;">
|
89
|
84
|
<span v-if="item.Wed_M.patient_id">
|
90
|
|
-
|
91
|
|
- <span>{{ item.Wed_M.patient }}</span>
|
92
|
|
- <span v-if="item.Wed_M.mode_name != 'HD'">{{ item.Wed_M.mode_name }}</span>
|
|
85
|
+ <div>{{ item.Wed_M.patient }}</div>
|
|
86
|
+ <div v-if="item.Wed_M.mode_name != 'HD'">{{ item.Wed_M.mode_name }}</div>
|
93
|
87
|
</span>
|
94
|
88
|
</td>
|
95
|
|
- <td style="min-width:40px;">
|
|
89
|
+ <td style="min-width:50px;">
|
96
|
90
|
<span v-if="item.Wed_A.patient_id">
|
97
|
|
- <span>{{ item.Wed_A.patient }}</span>
|
98
|
|
- <span v-if="item.Wed_A.mode_name != 'HD'">{{ item.Wed_A.mode_name }}</span>
|
|
91
|
+ <div>{{ item.Wed_A.patient }}</div>
|
|
92
|
+ <div v-if="item.Wed_A.mode_name != 'HD'">{{ item.Wed_A.mode_name }}</div>
|
99
|
93
|
</span>
|
100
|
94
|
</td>
|
101
|
|
- <td style="min-width:40px;">
|
|
95
|
+ <td style="min-width:50px;">
|
102
|
96
|
<span v-if="item.Wed_N.patient_id">
|
103
|
|
- <span>{{ item.Wed_N.patient }}</span>
|
104
|
|
- <span v-if="item.Wed_N.mode_name != 'HD'">{{ item.Wed_N.mode_name }}</span>
|
|
97
|
+ <div>{{ item.Wed_N.patient }}</div>
|
|
98
|
+ <div v-if="item.Wed_N.mode_name != 'HD'">{{ item.Wed_N.mode_name }}</div>
|
105
|
99
|
</span>
|
106
|
100
|
</td>
|
107
|
|
- <td style="min-width:40px;">
|
108
|
|
- <span v-if="item.Thurs_M.patient_id">
|
109
|
|
- <span>{{ item.Thurs_M.patient }}</span>
|
110
|
|
- <span v-if="item.Thurs_M.mode_name != 'HD'">{{ item.Thurs_M.mode_name }}</span>
|
|
101
|
+ <td style="min-width:50px;">
|
|
102
|
+ <span v-if="item.Thurs_M.patient_id">
|
|
103
|
+ <div>{{ item.Thurs_M.patient }}</div>
|
|
104
|
+ <div v-if="item.Thurs_M.mode_name != 'HD'">{{ item.Thurs_M.mode_name }}</div>
|
111
|
105
|
</span>
|
112
|
106
|
</td>
|
113
|
|
- <td style="min-width:40px;">
|
114
|
|
- <span v-if="item.Thurs_A.patient_id">
|
115
|
|
- <span>{{ item.Thurs_A.patient }}</span>
|
116
|
|
- <span v-if="item.Thurs_A.mode_name != 'HD'">{{ item.Thurs_A.mode_name }}</span>
|
|
107
|
+ <td style="min-width:50px;">
|
|
108
|
+ <span v-if="item.Thurs_A.patient_id">
|
|
109
|
+ <div>{{ item.Thurs_A.patient }}</div>
|
|
110
|
+ <div v-if="item.Thurs_A.mode_name != 'HD'">{{ item.Thurs_A.mode_name }}</div>
|
117
|
111
|
</span>
|
118
|
112
|
</td>
|
119
|
|
- <td style="min-width:40px;">
|
120
|
|
- <span v-if="item.Thurs_N.patient_id">
|
121
|
|
- <span>{{ item.Thurs_N.patient }}</span>
|
122
|
|
- <span v-if="item.Thurs_N.mode_name != 'HD'">{{ item.Thurs_N.mode_name }}</span>
|
|
113
|
+ <td style="min-width:50px;">
|
|
114
|
+ <span v-if="item.Thurs_N.patient_id">
|
|
115
|
+ <div>{{ item.Thurs_N.patient }}</div>
|
|
116
|
+ <div v-if="item.Thurs_N.mode_name != 'HD'">{{ item.Thurs_N.mode_name }}</div>
|
123
|
117
|
</span>
|
124
|
118
|
</td>
|
125
|
|
- <td style="min-width:40px;">
|
126
|
|
- <span v-if="item.Fri_M.patient_id">
|
127
|
|
- <span>{{ item.Fri_M.patient }}</span>
|
128
|
|
- <span v-if="item.Fri_M.mode_name != 'HD'">{{ item.Fri_M.mode_name }}</span>
|
|
119
|
+ <td style="min-width:50px;">
|
|
120
|
+ <span v-if="item.Fri_M.patient_id">
|
|
121
|
+ <div>{{ item.Fri_M.patient }}</div>
|
|
122
|
+ <div v-if="item.Fri_M.mode_name != 'HD'">{{ item.Fri_M.mode_name }}</div>
|
129
|
123
|
</span>
|
130
|
124
|
</td>
|
131
|
|
- <td style="min-width:40px;">
|
132
|
|
- <span v-if="item.Fri_A.patient_id">
|
133
|
|
- <span>{{ item.Fri_A.patient }}</span>
|
134
|
|
- <span v-if="item.Fri_A.mode_name != 'HD'">{{ item.Fri_A.mode_name }}</span>
|
|
125
|
+ <td style="min-width:50px;">
|
|
126
|
+ <span v-if="item.Fri_A.patient_id">
|
|
127
|
+ <div>{{ item.Fri_A.patient }}</div>
|
|
128
|
+ <div v-if="item.Fri_A.mode_name != 'HD'">{{ item.Fri_A.mode_name }}</div>
|
135
|
129
|
</span>
|
136
|
130
|
</td>
|
137
|
|
- <td style="min-width:40px;">
|
138
|
|
- <span v-if="item.Fri_N.patient_id">
|
139
|
|
- <span>{{ item.Fri_N.patient }}</span>
|
140
|
|
- <span v-if="item.Fri_N.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
|
131
|
+ <td style="min-width:50px;">
|
|
132
|
+ <span v-if="item.Fri_N.patient_id">
|
|
133
|
+ <div>{{ item.Fri_N.patient }}</div>
|
|
134
|
+ <div v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</div>
|
141
|
135
|
</span>
|
142
|
136
|
</td>
|
143
|
|
- <td style="min-width:40px;">
|
144
|
|
- <span v-if="item.Sat_M.patient_id">
|
145
|
|
- <span>{{ item.Sat_M.patient }}</span>
|
146
|
|
- <span v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
|
137
|
+ <td style="min-width:50px;">
|
|
138
|
+ <span v-if="item.Sat_M.patient_id">
|
|
139
|
+ <div>{{ item.Sat_M.patient }}</div>
|
|
140
|
+ <div v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</div>
|
147
|
141
|
</span>
|
148
|
142
|
</td>
|
149
|
|
- <td style="min-width:40px;">
|
150
|
|
- <span v-if="item.Sat_A.patient_id">
|
151
|
|
- <span>{{ item.Sat_A.patient }}</span>
|
152
|
|
- <span v-if="item.Sat_A.mode_name != 'HD'">{{ item.Sat_A.mode_name }}</span>
|
|
143
|
+ <td style="min-width:50px;">
|
|
144
|
+ <span v-if="item.Sat_A.patient_id">
|
|
145
|
+ <div>{{ item.Sat_A.patient }}</div>
|
|
146
|
+ <div v-if="item.Sat_A.mode_name != 'HD'">{{ item.Sat_A.mode_name }}</div>
|
153
|
147
|
</span>
|
154
|
148
|
</td>
|
155
|
|
- <td style="min-width:40px;">
|
|
149
|
+ <td style="min-width:50px;">
|
156
|
150
|
<span v-if="item.Sat_N.patient_id">
|
157
|
|
- <span>{{ item.Sat_N.patient }}</span>
|
158
|
|
- <span v-if="item.Sat_N.mode_name != 'HD'">{{ item.Sat_N.mode_name }}</span>
|
|
151
|
+ <div>{{ item.Sat_N.patient }}</div>
|
|
152
|
+ <div v-if="item.Sat_N.mode_name != 'HD'">{{ item.Sat_N.mode_name }}</div>
|
159
|
153
|
</span>
|
160
|
154
|
</td>
|
161
|
|
- <td style="min-width:40px;">
|
|
155
|
+ <td style="min-width:50px;">
|
162
|
156
|
<span v-if="item.Sun_M.patient_id">
|
163
|
|
- <span>{{ item.Sun_M.patient }}</span>
|
164
|
|
- <span v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }}</span>
|
|
157
|
+ <div>{{ item.Sun_M.patient }}</div>
|
|
158
|
+ <div v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }}</div>
|
165
|
159
|
</span>
|
166
|
160
|
</td>
|
167
|
|
- <td style="min-width:40px;">
|
|
161
|
+ <td style="min-width:50px;">
|
168
|
162
|
<span v-if="item.Sun_A.patient_id">
|
169
|
|
- <span>{{ item.Sun_A.patient }}</span>
|
170
|
|
- <span v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }}</span>
|
|
163
|
+ <div>{{ item.Sun_A.patient }}</div>
|
|
164
|
+ <div v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }}</div>
|
171
|
165
|
</span>
|
172
|
166
|
</td>
|
173
|
|
- <td style="min-width:40px;">
|
|
167
|
+ <td style="min-width:50px;">
|
174
|
168
|
<span v-if="item.Sun_N.patient_id">
|
175
|
|
- <span>{{ item.Sun_N.patient }}</span>
|
176
|
|
- <span v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }}</span>
|
|
169
|
+ <div>{{ item.Sun_N.patient }}</div>
|
|
170
|
+ <div v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }}</div>
|
177
|
171
|
</span>
|
178
|
172
|
</td>
|
179
|
173
|
<td>{{item.total}}</td>
|
180
|
174
|
</tr>
|
181
|
175
|
</table>
|
182
|
|
- <!-- 选择天数打印 -->
|
|
176
|
+
|
|
177
|
+ <!-- 选择天数打印 -->
|
183
|
178
|
<table
|
184
|
179
|
v-if="$route.query.week_date !=''"
|
185
|
180
|
id="scheduleTable" class="scheduleTable"
|
|
@@ -209,136 +204,135 @@
|
209
|
204
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
210
|
205
|
<span v-if="item.Mon_M.patient_id ">
|
211
|
206
|
<span>{{ item.Mon_M.patient }}</span>
|
212
|
|
- <span>{{ item.Mon_M.mode_name }}</span>
|
|
207
|
+ <span v-if="item.Mon_M.mode_name != 'HD'">{{ item.Mon_M.mode_name }}</span>
|
213
|
208
|
</span>
|
214
|
209
|
</td>
|
215
|
210
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
216
|
211
|
<span v-if="item.Mon_A.patient_id ">
|
217
|
212
|
<span>{{ item.Mon_A.patient }}</span>
|
218
|
|
- <span>{{ item.Mon_A.mode_name }}</span>
|
|
213
|
+ <span v-if="item.Mon_A.mode_name != 'HD'">{{ item.Mon_A.mode_name }}</span>
|
219
|
214
|
</span>
|
220
|
215
|
</td>
|
221
|
216
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
222
|
217
|
<span v-if="item.Mon_N.patient_id ">
|
223
|
218
|
<span>{{ item.Mon_N.patient }}</span>
|
224
|
|
- <span>{{ item.Mon_N.mode_name }}</span>
|
|
219
|
+ <span v-if="item.Mon_N.mode_name != 'HD'">{{ item.Mon_N.mode_name }}</span>
|
225
|
220
|
</span>
|
226
|
221
|
</td>
|
227
|
222
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
|
228
|
223
|
<p v-if="item.Tue_M.patient_id">
|
229
|
224
|
<span>{{ item.Tue_M.patient }}</span>
|
230
|
|
- <span>{{ item.Tue_M.mode_name }}</span>
|
|
225
|
+ <span v-if="item.Tue_M.mode_name != 'HD'">{{ item.Tue_M.mode_name }}</span>
|
231
|
226
|
</p>
|
232
|
227
|
</td>
|
233
|
228
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
|
234
|
229
|
<span v-if="item.Tue_A.patient_id ">
|
235
|
230
|
|
236
|
231
|
<span>{{ item.Tue_A.patient }}</span>
|
237
|
|
- <span>{{ item.Tue_A.mode_name }}</span>
|
|
232
|
+ <span v-if="item.Tue_A.mode_name != 'HD'">{{ item.Tue_A.mode_name }}</span>
|
238
|
233
|
</span>
|
239
|
234
|
</td>
|
240
|
235
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
|
241
|
236
|
<span v-if="item.Tue_N.patient_id ">
|
242
|
237
|
|
243
|
238
|
<span>{{ item.Tue_N.patient }}</span>
|
244
|
|
- <span>{{ item.Tue_N.mode_name }}</span>
|
|
239
|
+ <span v-if="item.Tue_N.mode_name != 'HD'">{{ item.Tue_N.mode_name }}</span>
|
245
|
240
|
</span>
|
246
|
241
|
</td>
|
247
|
242
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
248
|
243
|
<span v-if="item.Wed_M.patient_id ">
|
249
|
244
|
|
250
|
245
|
<span>{{ item.Wed_M.patient }}</span>
|
251
|
|
- <span>{{ item.Wed_M.mode_name }}</span>
|
|
246
|
+ <span v-if="item.Wed_M.mode_name != 'HD'">{{ item.Wed_M.mode_name }}</span>
|
252
|
247
|
</span>
|
253
|
248
|
</td>
|
254
|
249
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
255
|
250
|
<span v-if="item.Wed_A.patient_id ">
|
256
|
251
|
<span>{{ item.Wed_A.patient }}</span>
|
257
|
|
- <span>{{ item.Wed_A.mode_name }}</span>
|
|
252
|
+ <span v-if="item.Wed_A.mode_name != 'HD'">{{ item.Wed_A.mode_name }}</span>
|
258
|
253
|
</span>
|
259
|
254
|
</td>
|
260
|
255
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
261
|
256
|
<span v-if="item.Wed_N.patient_id ">
|
262
|
257
|
<span>{{ item.Wed_N.patient }}</span>
|
263
|
|
- <span>{{ item.Wed_N.mode_name }}</span>
|
|
258
|
+ <span v-if="item.Wed_N.mode_name != 'HD'">{{ item.Wed_N.mode_name }}</span>
|
264
|
259
|
</span>
|
265
|
260
|
</td>
|
266
|
261
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
267
|
262
|
<span v-if="item.Thurs_M.patient_id ">
|
268
|
263
|
<span>{{ item.Thurs_M.patient }}</span>
|
269
|
|
- <span>{{ item.Thurs_M.mode_name }}</span>
|
|
264
|
+ <span v-if="item.Thurs_M.mode_name != 'HD'">{{ item.Thurs_M.mode_name }}</span>
|
270
|
265
|
</span>
|
271
|
266
|
</td>
|
272
|
267
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
273
|
268
|
<span v-if="item.Thurs_A.patient_id ">
|
274
|
269
|
<span>{{ item.Thurs_A.patient }}</span>
|
275
|
|
- <span>{{ item.Thurs_A.mode_name }}</span>
|
|
270
|
+ <span v-if="item.Thurs_A.mode_name != 'HD'">{{ item.Thurs_A.mode_name }}</span>
|
276
|
271
|
</span>
|
277
|
272
|
</td>
|
278
|
273
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
279
|
274
|
<span v-if="item.Thurs_N.patient_id ">
|
280
|
275
|
<span>{{ item.Thurs_N.patient }}</span>
|
281
|
|
- <span>{{ item.Thurs_N.mode_name }}</span>
|
|
276
|
+ <span v-if="item.Thurs_N.mode_name != 'HD'">{{ item.Thurs_N.mode_name }}</span>
|
282
|
277
|
</span>
|
283
|
278
|
</td>
|
284
|
279
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
285
|
280
|
<span v-if="item.Fri_M.patient_id">
|
286
|
281
|
<span>{{ item.Fri_M.patient }}</span>
|
287
|
|
- <span>{{ item.Fri_M.mode_name }}</span>
|
|
282
|
+ <span v-if="item.Fri_M.mode_name != 'HD'">{{ item.Fri_M.mode_name }}</span>
|
288
|
283
|
</span>
|
289
|
284
|
</td>
|
290
|
285
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
291
|
286
|
<span v-if="item.Fri_A.patient_id ">
|
292
|
287
|
<span>{{ item.Fri_A.patient }}</span>
|
293
|
|
- <span>{{ item.Fri_A.mode_name }}</span>
|
|
288
|
+ <span v-if="item.Fri_A.mode_name != 'HD'">{{ item.Fri_A.mode_name }}</span>
|
294
|
289
|
</span>
|
295
|
290
|
</td>
|
296
|
291
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
297
|
292
|
<span v-if="item.Fri_N.patient_id ">
|
298
|
293
|
<span>{{ item.Fri_N.patient }}</span>
|
299
|
|
- <span>{{ item.Sat_M.mode_name }}</span>
|
|
294
|
+ <span v-if="item.Fri_N.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
300
|
295
|
</span>
|
301
|
296
|
</td>
|
302
|
297
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
303
|
298
|
<span v-if="item.Sat_M.patient_id ">
|
304
|
299
|
<span>{{ item.Sat_M.patient }}</span>
|
305
|
|
- <span>{{ item.Sat_M.mode_name }}</span>
|
|
300
|
+ <span v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
306
|
301
|
</span>
|
307
|
302
|
</td>
|
308
|
303
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
309
|
304
|
<span v-if="item.Sat_A.patient_id ">
|
310
|
305
|
<span>{{ item.Sat_A.patient }}</span>
|
311
|
|
- <span>{{ item.Sat_A.mode_name }}</span>
|
|
306
|
+ <span v-if="item.Sat_A.mode_name != 'HD'">{{ item.Sat_A.mode_name }}</span>
|
312
|
307
|
</span>
|
313
|
308
|
</td>
|
314
|
309
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
315
|
310
|
<span v-if="item.Sat_N.patient_id ">
|
316
|
311
|
<span>{{ item.Sat_N.patient }}</span>
|
317
|
|
- <span>{{ item.Sat_N.mode_name }}</span>
|
|
312
|
+ <span v-if="item.Sat_N.mode_name != 'HD'">{{ item.Sat_N.mode_name }}</span>
|
318
|
313
|
</span>
|
319
|
314
|
</td>
|
320
|
315
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
321
|
316
|
<span v-if="item.Sun_M.patient_id ">
|
322
|
317
|
<span>{{ item.Sun_M.patient }}</span>
|
323
|
|
- <span>{{ item.Sun_M.mode_name }}</span>
|
|
318
|
+ <span v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }}</span>
|
324
|
319
|
</span>
|
325
|
320
|
</td>
|
326
|
321
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
327
|
322
|
<span v-if="item.Sun_A.patient_id ">
|
328
|
323
|
<span>{{ item.Sun_A.patient }}</span>
|
329
|
|
- <span>{{ item.Sun_A.mode_name }}</span>
|
|
324
|
+ <span v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }}</span>
|
330
|
325
|
</span>
|
331
|
326
|
</td>
|
332
|
327
|
<td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
333
|
328
|
<span v-if="item.Sun_N.patient_id ">
|
334
|
329
|
<span>{{ item.Sun_N.patient }}</span>
|
335
|
|
- <span>{{ item.Sun_N.mode_name }}</span>
|
|
330
|
+ <span v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }}</span>
|
336
|
331
|
</span>
|
337
|
332
|
</td>
|
338
|
333
|
<td style="min-width:60px;">{{item.total}}</td>
|
339
|
334
|
</tr>
|
340
|
335
|
</table>
|
341
|
|
- </div>
|
342
|
336
|
</div>
|
343
|
337
|
</template>
|
344
|
338
|
|
|
@@ -364,7 +358,6 @@ export default {
|
364
|
358
|
scheduleZoneRow: [],
|
365
|
359
|
partitions: {},
|
366
|
360
|
theWeek: {
|
367
|
|
- historyWeek: 0,
|
368
|
361
|
lastWeek: 0,
|
369
|
362
|
thisWeek: 0,
|
370
|
363
|
nextWeek: 0,
|
|
@@ -384,7 +377,7 @@ export default {
|
384
|
377
|
this.partition_id = this.$route.query.partition_id
|
385
|
378
|
var newList = []
|
386
|
379
|
var arr = this.$route.query.week_date
|
387
|
|
- console.log('1234325431',this.$route.query);
|
|
380
|
+
|
388
|
381
|
if(arr!=""){
|
389
|
382
|
var newArr = arr.split(",")
|
390
|
383
|
|
|
@@ -418,13 +411,14 @@ export default {
|
418
|
411
|
|
419
|
412
|
}else{
|
420
|
413
|
newList = [1,2,3,4,5,6,7]
|
|
414
|
+
|
421
|
415
|
this.week_date = newList.join(",")
|
422
|
416
|
|
423
|
417
|
}
|
424
|
418
|
|
425
|
419
|
},
|
426
|
420
|
methods:{
|
427
|
|
- getAllZones(){
|
|
421
|
+ getAllZones(){
|
428
|
422
|
getAllZones().then(response=>{
|
429
|
423
|
if(response.data.state == 1){
|
430
|
424
|
var zones = response.data.data.zones
|
|
@@ -460,7 +454,6 @@ export default {
|
460
|
454
|
}
|
461
|
455
|
var partitions = response.data.data.partitions
|
462
|
456
|
console.log("分区",partitions)
|
463
|
|
- this.theWeek.historyWeek = this.theWeek.thisWeek - 2
|
464
|
457
|
this.theWeek.thisWeek = response.data.data.theWeek
|
465
|
458
|
this.theWeek.lastWeek = this.theWeek.thisWeek - 1
|
466
|
459
|
this.theWeek.nextWeek = this.theWeek.thisWeek + 1
|
|
@@ -640,9 +633,6 @@ export default {
|
640
|
633
|
},
|
641
|
634
|
getSchedules() {
|
642
|
635
|
var theType = 2;
|
643
|
|
- if(this.$route.query.weekTime == "historyWeek"){
|
644
|
|
- theType =0
|
645
|
|
- }
|
646
|
636
|
if(this.$route.query.weekTime == "lastWeek"){
|
647
|
637
|
theType = 1
|
648
|
638
|
}
|
|
@@ -847,6 +837,7 @@ export default {
|
847
|
837
|
});
|
848
|
838
|
var newArr= [{"area":"总数","cut":0,"Fri_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Fri_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Fri_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Mon_A":{mode_id:0,mode_name:"",patient:"",patient_id:"1"},"Mon_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Mon_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sat_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sat_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sat_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sun_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sun_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sun_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Thurs_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Thurs_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Thurs_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Tue_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Tue_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Tue_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Wed_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Wed_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Wed_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"jihao_id":"","total":"","zone_id":"","zone_type":"","sort":""}]
|
849
|
839
|
|
|
840
|
+
|
850
|
841
|
for(let i=0;i<newArr.length;i++){
|
851
|
842
|
for(let j=0;j<this.scheduleCountList.length;j++){
|
852
|
843
|
newArr[i].cut = this.total
|
|
@@ -1020,8 +1011,8 @@ export default {
|
1020
|
1011
|
return [weekArr[week], typeArr[schedule_type]];
|
1021
|
1012
|
},
|
1022
|
1013
|
printAction: function() {
|
1023
|
|
- const style = '@media print { #scheduleTable{font-size:14px;} .scheduleTable tr td{text-align: center;padding: 5px 0px;min-width:40px;}}'
|
1024
|
|
- // const style = '@media print { #scheduleTable{font-size:14px;} .scheduleTable tr td{text-align: center;padding: 5px;min-width:40px;}}'
|
|
1014
|
+ const style = '@media print {#scheduleTable{font-size:16px;} .scheduleTable tr td{text-align: center;padding: 5px;}}'
|
|
1015
|
+
|
1025
|
1016
|
printJS({
|
1026
|
1017
|
printable: 'scheduleTable',
|
1027
|
1018
|
type: 'html',
|
|
@@ -1032,9 +1023,6 @@ export default {
|
1032
|
1023
|
},
|
1033
|
1024
|
getPatientSheduleCount(){
|
1034
|
1025
|
var theType = 2;
|
1035
|
|
- if(this.$route.query.weekTime == "historyWeek"){
|
1036
|
|
- theType =0
|
1037
|
|
- }
|
1038
|
1026
|
if(this.$route.query.weekTime == "lastWeek"){
|
1039
|
1027
|
theType = 1
|
1040
|
1028
|
}
|
|
@@ -1066,7 +1054,7 @@ export default {
|
1066
|
1054
|
if(response.data.state == 1){
|
1067
|
1055
|
var list = response.data.data.list
|
1068
|
1056
|
console.log("list22222",list)
|
1069
|
|
- console.log('asdfgfffffff',response.data.data);
|
|
1057
|
+
|
1070
|
1058
|
this.scheduleCountList = list
|
1071
|
1059
|
var total = response.data.data.total
|
1072
|
1060
|
console.log("totalw222",total)
|
|
@@ -1086,11 +1074,7 @@ export default {
|
1086
|
1074
|
</script>
|
1087
|
1075
|
|
1088
|
1076
|
|
1089
|
|
-<style lang="scss" scoped>
|
1090
|
|
-// .print_main_content{
|
1091
|
|
-// width: 960px;
|
1092
|
|
-// margin: 0 auto;
|
1093
|
|
-// }
|
|
1077
|
+<style lang="scss">
|
1094
|
1078
|
td{
|
1095
|
1079
|
text-align: center;
|
1096
|
1080
|
padding: 5px;
|