|
@@ -16,7 +16,7 @@
|
16
|
16
|
<td colspan="3">周日({{ weekTitle[6] }})</td>
|
17
|
17
|
<td>总数</td>
|
18
|
18
|
</tr>
|
19
|
|
- <tr>
|
|
19
|
+ <tr v-if="schedule_type==0">
|
20
|
20
|
<td>上午</td>
|
21
|
21
|
<td>下午</td>
|
22
|
22
|
<td>晚上</td>
|
|
@@ -39,144 +39,310 @@
|
39
|
39
|
<td>下午</td>
|
40
|
40
|
<td>晚上</td>
|
41
|
41
|
</tr>
|
|
42
|
+
|
|
43
|
+ <tr v-else>
|
|
44
|
+ <td colspan="3" v-if=" schedule_type==1">上午</td>
|
|
45
|
+ <td colspan="3" v-if=" schedule_type==2">下午</td>
|
|
46
|
+ <td colspan="3" v-if=" schedule_type==3">晚上</td>
|
|
47
|
+ <td colspan="3" v-if=" schedule_type==1">上午</td>
|
|
48
|
+ <td colspan="3" v-if=" schedule_type==2">下午</td>
|
|
49
|
+ <td colspan="3" v-if=" schedule_type==3">晚上</td>
|
|
50
|
+ <td colspan="3" v-if=" schedule_type==1">上午</td>
|
|
51
|
+ <td colspan="3" v-if=" schedule_type==2">下午</td>
|
|
52
|
+ <td colspan="3" v-if=" schedule_type==3">晚上</td>
|
|
53
|
+ <td colspan="3" v-if=" schedule_type==1">上午</td>
|
|
54
|
+ <td colspan="3" v-if=" schedule_type==2">下午</td>
|
|
55
|
+ <td colspan="3" v-if=" schedule_type==3">晚上</td>
|
|
56
|
+ <td colspan="3" v-if=" schedule_type==1">上午</td>
|
|
57
|
+ <td colspan="3" v-if=" schedule_type==2">下午</td>
|
|
58
|
+ <td colspan="3" v-if=" schedule_type==3">晚上</td>
|
|
59
|
+ <td colspan="3" v-if=" schedule_type==1">上午</td>
|
|
60
|
+ <td colspan="3" v-if=" schedule_type==2">下午</td>
|
|
61
|
+ <td colspan="3" v-if=" schedule_type==3">晚上</td>
|
|
62
|
+ <td colspan="3" v-if=" schedule_type==1">上午</td>
|
|
63
|
+ <td colspan="3" v-if=" schedule_type==2">下午</td>
|
|
64
|
+ <td colspan="3" v-if=" schedule_type==3">晚上</td>
|
|
65
|
+ </tr>
|
42
|
66
|
<tr v-for="(item,index) in scheduleZone" :key="index">
|
43
|
67
|
<td style="min-width:50px;">{{ item.area }}</td>
|
44
|
68
|
<td style="min-width:50px;">{{ item.cut }}</td>
|
45
|
|
- <td style="min-width:50px;">
|
46
|
|
- <span v-if="item.Mon_M.patient_id">
|
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
|
|
- </span>
|
52
|
|
- </td>
|
53
|
|
- <td style="min-width:50px;">
|
54
|
|
- <span v-if="item.Mon_A.patient_id">
|
55
|
|
- <div>{{ item.Mon_A.patient }} </div>
|
56
|
|
- <div v-if="item.Mon_A.mode_name != 'HD'">{{ item.Mon_A.mode_name }}</div>
|
57
|
|
- </span>
|
58
|
|
- </td>
|
59
|
|
- <td style="min-width:50px;">
|
60
|
|
- <span v-if="item.Mon_N.patient_id">
|
61
|
|
- <div>{{ item.Mon_N.patient }}</div>
|
62
|
|
- <div v-if="item.Mon_N.mode_name != 'HD'">{{ item.Mon_N.mode_name }}</div>
|
63
|
|
- </span>
|
64
|
|
- </td>
|
65
|
|
- <td style="min-width:50px;">
|
66
|
|
- <span v-if="item.Tue_M.patient_id">
|
67
|
|
- <div>{{ item.Tue_M.patient }}</div>
|
68
|
|
- <div v-if="item.Tue_M.mode_name != 'HD'">{{ item.Tue_M.mode_name }}</div>
|
69
|
|
- </span>
|
70
|
|
- </td>
|
71
|
|
- <td style="min-width:50px;">
|
72
|
|
- <span v-if="item.Tue_A.patient_id">
|
73
|
|
- <div>{{ item.Tue_A.patient }}</div>
|
74
|
|
- <div v-if="item.Tue_A.mode_name != 'HD'">{{ item.Tue_A.mode_name }}</div>
|
75
|
|
- </span>
|
76
|
|
- </td>
|
77
|
|
- <td style="min-width:50px;">
|
78
|
|
- <span v-if="item.Tue_N.patient_id">
|
79
|
|
- <div>{{ item.Tue_N.patient }}</div>
|
80
|
|
- <div v-if="item.Tue_N.mode_name != 'HD'">{{ item.Tue_N.mode_name }}</div>
|
81
|
|
- </span>
|
82
|
|
- </td>
|
83
|
|
- <td style="min-width:50px;">
|
84
|
|
- <span v-if="item.Wed_M.patient_id">
|
85
|
|
- <div>{{ item.Wed_M.patient }}</div>
|
86
|
|
- <div v-if="item.Wed_M.mode_name != 'HD'">{{ item.Wed_M.mode_name }}</div>
|
87
|
|
- </span>
|
88
|
|
- </td>
|
89
|
|
- <td style="min-width:50px;">
|
90
|
|
- <span v-if="item.Wed_A.patient_id">
|
91
|
|
- <div>{{ item.Wed_A.patient }}</div>
|
92
|
|
- <div v-if="item.Wed_A.mode_name != 'HD'">{{ item.Wed_A.mode_name }}</div>
|
93
|
|
- </span>
|
94
|
|
- </td>
|
95
|
|
- <td style="min-width:50px;">
|
96
|
|
- <span v-if="item.Wed_N.patient_id">
|
97
|
|
- <div>{{ item.Wed_N.patient }}</div>
|
98
|
|
- <div v-if="item.Wed_N.mode_name != 'HD'">{{ item.Wed_N.mode_name }}</div>
|
99
|
|
- </span>
|
100
|
|
- </td>
|
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>
|
105
|
|
- </span>
|
106
|
|
- </td>
|
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>
|
111
|
|
- </span>
|
112
|
|
- </td>
|
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>
|
117
|
|
- </span>
|
118
|
|
- </td>
|
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>
|
123
|
|
- </span>
|
124
|
|
- </td>
|
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>
|
129
|
|
- </span>
|
130
|
|
- </td>
|
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>
|
135
|
|
- </span>
|
136
|
|
- </td>
|
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>
|
141
|
|
- </span>
|
142
|
|
- </td>
|
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>
|
147
|
|
- </span>
|
148
|
|
- </td>
|
149
|
|
- <td style="min-width:50px;">
|
150
|
|
- <span v-if="item.Sat_N.patient_id">
|
151
|
|
- <div>{{ item.Sat_N.patient }}</div>
|
152
|
|
- <div v-if="item.Sat_N.mode_name != 'HD'">{{ item.Sat_N.mode_name }}</div>
|
153
|
|
- </span>
|
154
|
|
- </td>
|
155
|
|
- <td style="min-width:50px;">
|
156
|
|
- <span v-if="item.Sun_M.patient_id">
|
157
|
|
- <div>{{ item.Sun_M.patient }}</div>
|
158
|
|
- <div v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }}</div>
|
159
|
|
- </span>
|
160
|
|
- </td>
|
161
|
|
- <td style="min-width:50px;">
|
162
|
|
- <span v-if="item.Sun_A.patient_id">
|
163
|
|
- <div>{{ item.Sun_A.patient }}</div>
|
164
|
|
- <div v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }}</div>
|
|
69
|
+
|
|
70
|
+ <!-- 上午 -->
|
|
71
|
+ <template v-if="schedule_type == 1">
|
|
72
|
+ <td colspan="3" style="min-width:50px;" >
|
|
73
|
+ <span v-if="item.Mon_M.patient_id ">
|
|
74
|
+ <span>{{ item.Mon_M.patient }}</span>
|
|
75
|
+ <span v-if="item.Mon_M.mode_name != 'HD'">{{ item.Mon_M.mode_name }}</span>
|
165
|
76
|
</span>
|
166
|
|
- </td>
|
167
|
|
- <td style="min-width:50px;">
|
168
|
|
- <span v-if="item.Sun_N.patient_id">
|
169
|
|
- <div>{{ item.Sun_N.patient }}</div>
|
170
|
|
- <div v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }}</div>
|
|
77
|
+ </td>
|
|
78
|
+ <td colspan="3" style="min-width:50px;padding: auto;" >
|
|
79
|
+ <p v-if="item.Tue_M.patient_id" style="padding: auto;margin: auto;">
|
|
80
|
+ <span>{{ item.Tue_M.patient }}</span>
|
|
81
|
+ <span v-if="item.Tue_M.mode_name != 'HD'">{{ item.Tue_M.mode_name }}</span>
|
|
82
|
+ </p>
|
|
83
|
+ </td>
|
|
84
|
+ <td colspan="3" style="min-width:50px;" >
|
|
85
|
+ <span v-if="item.Wed_M.patient_id ">
|
|
86
|
+ <span>{{ item.Wed_M.patient }}</span>
|
|
87
|
+ <span v-if="item.Wed_M.mode_name != 'HD'">{{ item.Wed_M.mode_name }}</span>
|
171
|
88
|
</span>
|
172
|
|
- </td>
|
173
|
|
- <td>{{item.total}}</td>
|
|
89
|
+ </td>
|
|
90
|
+ <td colspan="3" style="min-width:50px;" >
|
|
91
|
+ <span v-if="item.Thurs_M.patient_id ">
|
|
92
|
+ <span>{{ item.Thurs_M.patient }}</span>
|
|
93
|
+ <span v-if="item.Thurs_M.mode_name != 'HD'">{{ item.Thurs_M.mode_name }}</span>
|
|
94
|
+ </span>
|
|
95
|
+ </td>
|
|
96
|
+ <td colspan="3" style="min-width:50px;" >
|
|
97
|
+ <span v-if="item.Fri_M.patient_id">
|
|
98
|
+ <span>{{ item.Fri_M.patient }}</span>
|
|
99
|
+ <span v-if="item.Fri_M.mode_name != 'HD'">{{ item.Fri_M.mode_name }}</span>
|
|
100
|
+ </span>
|
|
101
|
+ </td>
|
|
102
|
+ <td colspan="3" style="min-width:50px;" >
|
|
103
|
+ <span v-if="item.Sat_M.patient_id ">
|
|
104
|
+ <span>{{ item.Sat_M.patient }}</span>
|
|
105
|
+ <span v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
|
106
|
+ </span>
|
|
107
|
+ </td>
|
|
108
|
+ <td colspan="3" style="min-width:50px;" >
|
|
109
|
+ <span v-if="item.Sun_M.patient_id ">
|
|
110
|
+ <span>{{ item.Sun_M.patient }}</span>
|
|
111
|
+ <span v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }}</span>
|
|
112
|
+ </span>
|
|
113
|
+ </td>
|
|
114
|
+ <td>{{item.total}}</td>
|
|
115
|
+ </template>
|
|
116
|
+ <!-- 下午 -->
|
|
117
|
+ <template v-if="schedule_type == 2">
|
|
118
|
+ <td colspan="3" style="min-width:50px;" >
|
|
119
|
+ <span v-if="item.Mon_A.patient_id ">
|
|
120
|
+ <span>{{ item.Mon_A.patient }}</span>
|
|
121
|
+ <span v-if="item.Mon_A.mode_name != 'HD'">{{ item.Mon_A.mode_name }}</span>
|
|
122
|
+ </span>
|
|
123
|
+ </td>
|
|
124
|
+ <td colspan="3" style="min-width:50px;" >
|
|
125
|
+ <span v-if="item.Tue_A.patient_id ">
|
|
126
|
+ <span>{{ item.Tue_A.patient }}</span>
|
|
127
|
+ <span v-if="item.Tue_A.mode_name != 'HD'">{{ item.Tue_A.mode_name }}</span>
|
|
128
|
+ </span>
|
|
129
|
+ </td>
|
|
130
|
+ <td colspan="3" style="min-width:50px;" >
|
|
131
|
+ <span v-if="item.Wed_A.patient_id ">
|
|
132
|
+ <span>{{ item.Wed_A.patient }}</span>
|
|
133
|
+ <span v-if="item.Wed_A.mode_name != 'HD'">{{ item.Wed_A.mode_name }}</span>
|
|
134
|
+ </span>
|
|
135
|
+ </td>
|
|
136
|
+ <td colspan="3" style="min-width:50px;" >
|
|
137
|
+ <span v-if="item.Thurs_A.patient_id ">
|
|
138
|
+ <span>{{ item.Thurs_A.patient }}</span>
|
|
139
|
+ <span v-if="item.Thurs_A.mode_name != 'HD'">{{ item.Thurs_A.mode_name }}</span>
|
|
140
|
+ </span>
|
|
141
|
+ </td>
|
|
142
|
+ <td colspan="3" style="min-width:50px;" >
|
|
143
|
+ <span v-if="item.Fri_A.patient_id ">
|
|
144
|
+ <span>{{ item.Fri_A.patient }}</span>
|
|
145
|
+ <span v-if="item.Fri_A.mode_name != 'HD'">{{ item.Fri_A.mode_name }}</span>
|
|
146
|
+ </span>
|
|
147
|
+ </td>
|
|
148
|
+ <td colspan="3" style="min-width:50px;" >
|
|
149
|
+ <span v-if="item.Sat_A.patient_id ">
|
|
150
|
+ <span>{{ item.Sat_A.patient }}</span>
|
|
151
|
+ <span v-if="item.Sat_A.mode_name != 'HD'">{{ item.Sat_A.mode_name }}</span>
|
|
152
|
+ </span>
|
|
153
|
+ </td>
|
|
154
|
+ <td colspan="3" style="min-width:50px;" >
|
|
155
|
+ <span v-if="item.Sun_A.patient_id ">
|
|
156
|
+ <span>{{ item.Sun_A.patient }}</span>
|
|
157
|
+ <span v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }}</span>
|
|
158
|
+ </span>
|
|
159
|
+ </td>
|
|
160
|
+ <td>{{item.total}}</td>
|
|
161
|
+ </template>
|
|
162
|
+ <!-- 晚上 -->
|
|
163
|
+ <template v-if="schedule_type == 3">
|
|
164
|
+ <td colspan="3" style="min-width:50px;" >
|
|
165
|
+ <span v-if="item.Mon_N.patient_id ">
|
|
166
|
+ <span>{{ item.Mon_N.patient }}</span>
|
|
167
|
+ <span v-if="item.Mon_N.mode_name != 'HD'">{{ item.Mon_N.mode_name }}</span>
|
|
168
|
+ </span>
|
|
169
|
+ </td>
|
|
170
|
+ <td colspan="3" style="min-width:50px;" >
|
|
171
|
+ <span v-if="item.Tue_N.patient_id ">
|
|
172
|
+ <span>{{ item.Tue_N.patient }}</span>
|
|
173
|
+ <span v-if="item.Tue_N.mode_name != 'HD'">{{ item.Tue_N.mode_name }}</span>
|
|
174
|
+ </span>
|
|
175
|
+ </td>
|
|
176
|
+ <td colspan="3" style="min-width:50px;" >
|
|
177
|
+ <span v-if="item.Wed_N.patient_id ">
|
|
178
|
+ <span>{{ item.Wed_N.patient }}</span>
|
|
179
|
+ <span v-if="item.Wed_N.mode_name != 'HD'">{{ item.Wed_N.mode_name }}</span>
|
|
180
|
+ </span>
|
|
181
|
+ </td>
|
|
182
|
+ <td colspan="3" style="min-width:50px;" >
|
|
183
|
+ <span v-if="item.Thurs_N.patient_id ">
|
|
184
|
+ <span>{{ item.Thurs_N.patient }}</span>
|
|
185
|
+ <span v-if="item.Thurs_N.mode_name != 'HD'">{{ item.Thurs_N.mode_name }}</span>
|
|
186
|
+ </span>
|
|
187
|
+ </td>
|
|
188
|
+ <td colspan="3" style="min-width:50px;" >
|
|
189
|
+ <span v-if="item.Fri_N.patient_id ">
|
|
190
|
+ <span>{{ item.Fri_N.patient }}</span>
|
|
191
|
+ <span v-if="item.Fri_N.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
|
192
|
+ </span>
|
|
193
|
+ </td>
|
|
194
|
+ <td colspan="3" style="min-width:50px;" >
|
|
195
|
+ <span v-if="item.Sat_N.patient_id ">
|
|
196
|
+ <span>{{ item.Sat_N.patient }}</span>
|
|
197
|
+ <span v-if="item.Sat_N.mode_name != 'HD'">{{ item.Sat_N.mode_name }}</span>
|
|
198
|
+ </span>
|
|
199
|
+ </td>
|
|
200
|
+ <td colspan="3" style="min-width:50px;" >
|
|
201
|
+ <span v-if="item.Sun_N.patient_id ">
|
|
202
|
+ <span>{{ item.Sun_N.patient }}</span>
|
|
203
|
+ <span v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }}</span>
|
|
204
|
+ </span>
|
|
205
|
+ </td>
|
|
206
|
+ <td>{{item.total}}</td>
|
|
207
|
+ </template>
|
|
208
|
+
|
|
209
|
+ <template v-if="schedule_type == 0">
|
|
210
|
+ <td style="min-width:50px;">
|
|
211
|
+ <span v-if="item.Mon_M.patient_id">
|
|
212
|
+ <div>{{ item.Mon_M.patient }} </div>
|
|
213
|
+ <div v-if="item.Mon_M.mode_name != 'HD'">
|
|
214
|
+ {{ item.Mon_M.mode_name }}
|
|
215
|
+ </div>
|
|
216
|
+ </span>
|
|
217
|
+ </td>
|
|
218
|
+ <td style="min-width:50px;">
|
|
219
|
+ <span v-if="item.Mon_A.patient_id">
|
|
220
|
+ <div>{{ item.Mon_A.patient }} </div>
|
|
221
|
+ <div v-if="item.Mon_A.mode_name != 'HD'">{{ item.Mon_A.mode_name }}</div>
|
|
222
|
+ </span>
|
|
223
|
+ </td>
|
|
224
|
+ <td style="min-width:50px;">
|
|
225
|
+ <span v-if="item.Mon_N.patient_id">
|
|
226
|
+ <div>{{ item.Mon_N.patient }}</div>
|
|
227
|
+ <div v-if="item.Mon_N.mode_name != 'HD'">{{ item.Mon_N.mode_name }}</div>
|
|
228
|
+ </span>
|
|
229
|
+ </td>
|
|
230
|
+ <td style="min-width:50px;">
|
|
231
|
+ <span v-if="item.Tue_M.patient_id">
|
|
232
|
+ <div>{{ item.Tue_M.patient }}</div>
|
|
233
|
+ <div v-if="item.Tue_M.mode_name != 'HD'">{{ item.Tue_M.mode_name }}</div>
|
|
234
|
+ </span>
|
|
235
|
+ </td>
|
|
236
|
+ <td style="min-width:50px;">
|
|
237
|
+ <span v-if="item.Tue_A.patient_id">
|
|
238
|
+ <div>{{ item.Tue_A.patient }}</div>
|
|
239
|
+ <div v-if="item.Tue_A.mode_name != 'HD'">{{ item.Tue_A.mode_name }}</div>
|
|
240
|
+ </span>
|
|
241
|
+ </td>
|
|
242
|
+ <td style="min-width:50px;">
|
|
243
|
+ <span v-if="item.Tue_N.patient_id">
|
|
244
|
+ <div>{{ item.Tue_N.patient }}</div>
|
|
245
|
+ <div v-if="item.Tue_N.mode_name != 'HD'">{{ item.Tue_N.mode_name }}</div>
|
|
246
|
+ </span>
|
|
247
|
+ </td>
|
|
248
|
+ <td style="min-width:50px;">
|
|
249
|
+ <span v-if="item.Wed_M.patient_id">
|
|
250
|
+ <div>{{ item.Wed_M.patient }}</div>
|
|
251
|
+ <div v-if="item.Wed_M.mode_name != 'HD'">{{ item.Wed_M.mode_name }}</div>
|
|
252
|
+ </span>
|
|
253
|
+ </td>
|
|
254
|
+ <td style="min-width:50px;">
|
|
255
|
+ <span v-if="item.Wed_A.patient_id">
|
|
256
|
+ <div>{{ item.Wed_A.patient }}</div>
|
|
257
|
+ <div v-if="item.Wed_A.mode_name != 'HD'">{{ item.Wed_A.mode_name }}</div>
|
|
258
|
+ </span>
|
|
259
|
+ </td>
|
|
260
|
+ <td style="min-width:50px;">
|
|
261
|
+ <span v-if="item.Wed_N.patient_id">
|
|
262
|
+ <div>{{ item.Wed_N.patient }}</div>
|
|
263
|
+ <div v-if="item.Wed_N.mode_name != 'HD'">{{ item.Wed_N.mode_name }}</div>
|
|
264
|
+ </span>
|
|
265
|
+ </td>
|
|
266
|
+ <td style="min-width:50px;">
|
|
267
|
+ <span v-if="item.Thurs_M.patient_id">
|
|
268
|
+ <div>{{ item.Thurs_M.patient }}</div>
|
|
269
|
+ <div v-if="item.Thurs_M.mode_name != 'HD'">{{ item.Thurs_M.mode_name }}</div>
|
|
270
|
+ </span>
|
|
271
|
+ </td>
|
|
272
|
+ <td style="min-width:50px;">
|
|
273
|
+ <span v-if="item.Thurs_A.patient_id">
|
|
274
|
+ <div>{{ item.Thurs_A.patient }}</div>
|
|
275
|
+ <div v-if="item.Thurs_A.mode_name != 'HD'">{{ item.Thurs_A.mode_name }}</div>
|
|
276
|
+ </span>
|
|
277
|
+ </td>
|
|
278
|
+ <td style="min-width:50px;">
|
|
279
|
+ <span v-if="item.Thurs_N.patient_id">
|
|
280
|
+ <div>{{ item.Thurs_N.patient }}</div>
|
|
281
|
+ <div v-if="item.Thurs_N.mode_name != 'HD'">{{ item.Thurs_N.mode_name }}</div>
|
|
282
|
+ </span>
|
|
283
|
+ </td>
|
|
284
|
+ <td style="min-width:50px;">
|
|
285
|
+ <span v-if="item.Fri_M.patient_id">
|
|
286
|
+ <div>{{ item.Fri_M.patient }}</div>
|
|
287
|
+ <div v-if="item.Fri_M.mode_name != 'HD'">{{ item.Fri_M.mode_name }}</div>
|
|
288
|
+ </span>
|
|
289
|
+ </td>
|
|
290
|
+ <td style="min-width:50px;">
|
|
291
|
+ <span v-if="item.Fri_A.patient_id">
|
|
292
|
+ <div>{{ item.Fri_A.patient }}</div>
|
|
293
|
+ <div v-if="item.Fri_A.mode_name != 'HD'">{{ item.Fri_A.mode_name }}</div>
|
|
294
|
+ </span>
|
|
295
|
+ </td>
|
|
296
|
+ <td style="min-width:50px;">
|
|
297
|
+ <span v-if="item.Fri_N.patient_id">
|
|
298
|
+ <div>{{ item.Fri_N.patient }}</div>
|
|
299
|
+ <div v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</div>
|
|
300
|
+ </span>
|
|
301
|
+ </td>
|
|
302
|
+ <td style="min-width:50px;">
|
|
303
|
+ <span v-if="item.Sat_M.patient_id">
|
|
304
|
+ <div>{{ item.Sat_M.patient }}</div>
|
|
305
|
+ <div v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</div>
|
|
306
|
+ </span>
|
|
307
|
+ </td>
|
|
308
|
+ <td style="min-width:50px;">
|
|
309
|
+ <span v-if="item.Sat_A.patient_id">
|
|
310
|
+ <div>{{ item.Sat_A.patient }}</div>
|
|
311
|
+ <div v-if="item.Sat_A.mode_name != 'HD'">{{ item.Sat_A.mode_name }}</div>
|
|
312
|
+ </span>
|
|
313
|
+ </td>
|
|
314
|
+ <td style="min-width:50px;">
|
|
315
|
+ <span v-if="item.Sat_N.patient_id">
|
|
316
|
+ <div>{{ item.Sat_N.patient }}</div>
|
|
317
|
+ <div v-if="item.Sat_N.mode_name != 'HD'">{{ item.Sat_N.mode_name }}</div>
|
|
318
|
+ </span>
|
|
319
|
+ </td>
|
|
320
|
+ <td style="min-width:50px;">
|
|
321
|
+ <span v-if="item.Sun_M.patient_id">
|
|
322
|
+ <div>{{ item.Sun_M.patient }}</div>
|
|
323
|
+ <div v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }}</div>
|
|
324
|
+ </span>
|
|
325
|
+ </td>
|
|
326
|
+ <td style="min-width:50px;">
|
|
327
|
+ <span v-if="item.Sun_A.patient_id">
|
|
328
|
+ <div>{{ item.Sun_A.patient }}</div>
|
|
329
|
+ <div v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }}</div>
|
|
330
|
+ </span>
|
|
331
|
+ </td>
|
|
332
|
+ <td style="min-width:50px;">
|
|
333
|
+ <span v-if="item.Sun_N.patient_id">
|
|
334
|
+ <div>{{ item.Sun_N.patient }}</div>
|
|
335
|
+ <div v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }}</div>
|
|
336
|
+ </span>
|
|
337
|
+ </td>
|
|
338
|
+ <td>{{item.total}}</td>
|
|
339
|
+ </template>
|
174
|
340
|
</tr>
|
175
|
341
|
</table>
|
176
|
342
|
|
177
|
343
|
<!-- 选择天数打印 -->
|
178
|
344
|
<table
|
179
|
|
- v-if="$route.query.week_date !=''"
|
|
345
|
+ v-if="$route.query.week_date !='' "
|
180
|
346
|
id="scheduleTable" class="scheduleTable"
|
181
|
347
|
border="1" cellspacing="0"
|
182
|
348
|
style="margin: auto; font-size: 18px;"
|
|
@@ -194,140 +360,338 @@
|
194
|
360
|
<td rowspan="2">总数</td>
|
195
|
361
|
</tr>
|
196
|
362
|
<tr v-for="index in week_date.length" :key="index">
|
197
|
|
- <td>上午</td>
|
198
|
|
- <td>下午</td>
|
199
|
|
- <td>晚上</td>
|
|
363
|
+ <template v-if="schedule_type==0">
|
|
364
|
+ <td >上午</td>
|
|
365
|
+ <td >下午</td>
|
|
366
|
+ <td >晚上</td>
|
|
367
|
+ </template>
|
|
368
|
+ <template v-else>
|
|
369
|
+ <td colspan="3" v-if="schedule_type == 1">上午</td>
|
|
370
|
+ <td colspan="3" v-if="schedule_type == 2">下午</td>
|
|
371
|
+ <td colspan="3" v-if="schedule_type == 3">晚上</td>
|
|
372
|
+ </template>
|
|
373
|
+ </tr>
|
|
374
|
+
|
|
375
|
+ <!-- <tr v-if="schedule_type == 0 ">
|
|
376
|
+ <td v-if="$route.query.week_date =='周一'">上午</td>
|
|
377
|
+ <td v-if="$route.query.week_date =='周一'">下午</td>
|
|
378
|
+ <td v-if="$route.query.week_date =='周一'">晚上</td>
|
|
379
|
+ <td v-if="$route.query.week_date =='周二'">上午</td>
|
|
380
|
+ <td v-if="$route.query.week_date =='周二'">下午</td>
|
|
381
|
+ <td v-if="$route.query.week_date =='周二'">晚上</td>
|
|
382
|
+ <td v-if="$route.query.week_date =='周三'">上午</td>
|
|
383
|
+ <td v-if="$route.query.week_date =='周三'">下午</td>
|
|
384
|
+ <td v-if="$route.query.week_date =='周三'">晚上</td>
|
|
385
|
+ <td v-if="$route.query.week_date =='周四'">上午</td>
|
|
386
|
+ <td v-if="$route.query.week_date =='周四'">下午</td>
|
|
387
|
+ <td v-if="$route.query.week_date =='周四'">晚上</td>
|
|
388
|
+ <td v-if="$route.query.week_date =='周五'">上午</td>
|
|
389
|
+ <td v-if="$route.query.week_date =='周五'">下午</td>
|
|
390
|
+ <td v-if="$route.query.week_date =='周五'">晚上</td>
|
|
391
|
+ <td v-if="$route.query.week_date =='周六'">上午</td>
|
|
392
|
+ <td v-if="$route.query.week_date =='周六'">下午</td>
|
|
393
|
+ <td v-if="$route.query.week_date =='周六'">晚上</td>
|
|
394
|
+ <td v-if="$route.query.week_date =='周日'">上午</td>
|
|
395
|
+ <td v-if="$route.query.week_date =='周日'">下午</td>
|
|
396
|
+ <td v-if="$route.query.week_date =='周日'">晚上</td>
|
200
|
397
|
</tr>
|
|
398
|
+ <tr v-else>
|
|
399
|
+ <td colspan="3" v-if="$route.query.week_date =='周一' && schedule_type==1">上午</td>
|
|
400
|
+ <td colspan="3" v-if="$route.query.week_date =='周一' && schedule_type==2">下午</td>
|
|
401
|
+ <td colspan="3" v-if="$route.query.week_date =='周一' && schedule_type==3">晚上</td>
|
|
402
|
+ <td colspan="3" v-if="$route.query.week_date =='周二' && schedule_type==1">上午</td>
|
|
403
|
+ <td colspan="3" v-if="$route.query.week_date =='周二' && schedule_type==2">下午</td>
|
|
404
|
+ <td colspan="3" v-if="$route.query.week_date =='周二' && schedule_type==3">晚上</td>
|
|
405
|
+ <td colspan="3" v-if="$route.query.week_date =='周三' && schedule_type==1">上午</td>
|
|
406
|
+ <td colspan="3" v-if="$route.query.week_date =='周三' && schedule_type==2">下午</td>
|
|
407
|
+ <td colspan="3" v-if="$route.query.week_date =='周三' && schedule_type==3">晚上</td>
|
|
408
|
+ <td colspan="3" v-if="$route.query.week_date =='周四' && schedule_type==1">上午</td>
|
|
409
|
+ <td colspan="3" v-if="$route.query.week_date =='周四' && schedule_type==2">下午</td>
|
|
410
|
+ <td colspan="3" v-if="$route.query.week_date =='周四' && schedule_type==3">晚上</td>
|
|
411
|
+ <td colspan="3" v-if="$route.query.week_date =='周五' && schedule_type==1">上午</td>
|
|
412
|
+ <td colspan="3" v-if="$route.query.week_date =='周五' && schedule_type==2">下午</td>
|
|
413
|
+ <td colspan="3" v-if="$route.query.week_date =='周五' && schedule_type==3">晚上</td>
|
|
414
|
+ <td colspan="3" v-if="$route.query.week_date =='周六' && schedule_type==1">上午</td>
|
|
415
|
+ <td colspan="3" v-if="$route.query.week_date =='周六' && schedule_type==2">下午</td>
|
|
416
|
+ <td colspan="3" v-if="$route.query.week_date =='周六' && schedule_type==3">晚上</td>
|
|
417
|
+ <td colspan="3" v-if="$route.query.week_date =='周日' && schedule_type==1">上午</td>
|
|
418
|
+ <td colspan="3" v-if="$route.query.week_date =='周日' && schedule_type==2">下午</td>
|
|
419
|
+ <td colspan="3" v-if="$route.query.week_date =='周日' && schedule_type==3">晚上</td>
|
|
420
|
+ </tr> -->
|
|
421
|
+
|
201
|
422
|
<tr v-for="(item,index) in scheduleZone" :key="index">
|
202
|
423
|
<td style="min-width:180px;">{{ item.area }}</td>
|
203
|
424
|
<td style="min-width:180px;">{{ item.cut }}</td>
|
204
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
|
425
|
+ <!-- 上午 -->
|
|
426
|
+ <template v-if="schedule_type == 1">
|
|
427
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
205
|
428
|
<span v-if="item.Mon_M.patient_id ">
|
206
|
429
|
<span>{{ item.Mon_M.patient }}</span>
|
207
|
430
|
<span v-if="item.Mon_M.mode_name != 'HD'">{{ item.Mon_M.mode_name }}</span>
|
208
|
431
|
</span>
|
209
|
|
- </td>
|
210
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
211
|
|
- <span v-if="item.Mon_A.patient_id ">
|
212
|
|
- <span>{{ item.Mon_A.patient }}</span>
|
213
|
|
- <span v-if="item.Mon_A.mode_name != 'HD'">{{ item.Mon_A.mode_name }}</span>
|
214
|
|
- </span>
|
215
|
|
- </td>
|
216
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
217
|
|
- <span v-if="item.Mon_N.patient_id ">
|
218
|
|
- <span>{{ item.Mon_N.patient }}</span>
|
219
|
|
- <span v-if="item.Mon_N.mode_name != 'HD'">{{ item.Mon_N.mode_name }}</span>
|
220
|
|
- </span>
|
221
|
|
- </td>
|
222
|
|
- <td style="min-width:180px;padding: auto;" v-if="$route.query.week_date =='周二'">
|
|
432
|
+ </td>
|
|
433
|
+ <td colspan="3" style="min-width:180px;padding: auto;" v-if="$route.query.week_date =='周二'">
|
223
|
434
|
<p v-if="item.Tue_M.patient_id" style="padding: auto;margin: auto;">
|
224
|
435
|
<span>{{ item.Tue_M.patient }}</span>
|
225
|
436
|
<span v-if="item.Tue_M.mode_name != 'HD'">{{ item.Tue_M.mode_name }}</span>
|
226
|
437
|
</p>
|
227
|
|
- </td>
|
228
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
|
229
|
|
- <span v-if="item.Tue_A.patient_id ">
|
230
|
|
- <span>{{ item.Tue_A.patient }}</span>
|
231
|
|
- <span v-if="item.Tue_A.mode_name != 'HD'">{{ item.Tue_A.mode_name }}</span>
|
232
|
|
- </span>
|
233
|
|
- </td>
|
234
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
|
235
|
|
- <span v-if="item.Tue_N.patient_id ">
|
236
|
|
- <span>{{ item.Tue_N.patient }}</span>
|
237
|
|
- <span v-if="item.Tue_N.mode_name != 'HD'">{{ item.Tue_N.mode_name }}</span>
|
238
|
|
- </span>
|
239
|
|
- </td>
|
240
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
|
438
|
+ </td>
|
|
439
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
241
|
440
|
<span v-if="item.Wed_M.patient_id ">
|
242
|
441
|
<span>{{ item.Wed_M.patient }}</span>
|
243
|
442
|
<span v-if="item.Wed_M.mode_name != 'HD'">{{ item.Wed_M.mode_name }}</span>
|
244
|
443
|
</span>
|
245
|
|
- </td>
|
246
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
247
|
|
- <span v-if="item.Wed_A.patient_id ">
|
248
|
|
- <span>{{ item.Wed_A.patient }}</span>
|
249
|
|
- <span v-if="item.Wed_A.mode_name != 'HD'">{{ item.Wed_A.mode_name }}</span>
|
250
|
|
- </span>
|
251
|
|
- </td>
|
252
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
253
|
|
- <span v-if="item.Wed_N.patient_id ">
|
254
|
|
- <span>{{ item.Wed_N.patient }}</span>
|
255
|
|
- <span v-if="item.Wed_N.mode_name != 'HD'">{{ item.Wed_N.mode_name }}</span>
|
256
|
|
- </span>
|
257
|
|
- </td>
|
258
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
259
|
|
- <span v-if="item.Thurs_M.patient_id ">
|
260
|
|
- <span>{{ item.Thurs_M.patient }}</span>
|
261
|
|
- <span v-if="item.Thurs_M.mode_name != 'HD'">{{ item.Thurs_M.mode_name }}</span>
|
262
|
|
- </span>
|
263
|
|
- </td>
|
264
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
265
|
|
- <span v-if="item.Thurs_A.patient_id ">
|
266
|
|
- <span>{{ item.Thurs_A.patient }}</span>
|
267
|
|
- <span v-if="item.Thurs_A.mode_name != 'HD'">{{ item.Thurs_A.mode_name }}</span>
|
268
|
|
- </span>
|
269
|
|
- </td>
|
270
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
271
|
|
- <span v-if="item.Thurs_N.patient_id ">
|
272
|
|
- <span>{{ item.Thurs_N.patient }}</span>
|
273
|
|
- <span v-if="item.Thurs_N.mode_name != 'HD'">{{ item.Thurs_N.mode_name }}</span>
|
274
|
|
- </span>
|
275
|
|
- </td>
|
276
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
277
|
|
- <span v-if="item.Fri_M.patient_id">
|
278
|
|
- <span>{{ item.Fri_M.patient }}</span>
|
279
|
|
- <span v-if="item.Fri_M.mode_name != 'HD'">{{ item.Fri_M.mode_name }}</span>
|
280
|
|
- </span>
|
281
|
|
- </td>
|
282
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
283
|
|
- <span v-if="item.Fri_A.patient_id ">
|
284
|
|
- <span>{{ item.Fri_A.patient }}</span>
|
285
|
|
- <span v-if="item.Fri_A.mode_name != 'HD'">{{ item.Fri_A.mode_name }}</span>
|
286
|
|
- </span>
|
287
|
|
- </td>
|
288
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
289
|
|
- <span v-if="item.Fri_N.patient_id ">
|
290
|
|
- <span>{{ item.Fri_N.patient }}</span>
|
291
|
|
- <span v-if="item.Fri_N.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
292
|
|
- </span>
|
293
|
|
- </td>
|
294
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
295
|
|
- <span v-if="item.Sat_M.patient_id ">
|
296
|
|
- <span>{{ item.Sat_M.patient }}</span>
|
297
|
|
- <span v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
298
|
|
- </span>
|
299
|
|
- </td>
|
300
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
301
|
|
- <span v-if="item.Sat_A.patient_id ">
|
302
|
|
- <span>{{ item.Sat_A.patient }}</span>
|
303
|
|
- <span v-if="item.Sat_A.mode_name != 'HD'">{{ item.Sat_A.mode_name }}</span>
|
304
|
|
- </span>
|
305
|
|
- </td>
|
306
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
307
|
|
- <span v-if="item.Sat_N.patient_id ">
|
308
|
|
- <span>{{ item.Sat_N.patient }}</span>
|
309
|
|
- <span v-if="item.Sat_N.mode_name != 'HD'">{{ item.Sat_N.mode_name }}</span>
|
310
|
|
- </span>
|
311
|
|
- </td>
|
312
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
313
|
|
- <span v-if="item.Sun_M.patient_id ">
|
314
|
|
- <span>{{ item.Sun_M.patient }}</span>
|
315
|
|
- <span v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }}</span>
|
316
|
|
- </span>
|
317
|
|
- </td>
|
318
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
319
|
|
- <span v-if="item.Sun_A.patient_id ">
|
320
|
|
- <span>{{ item.Sun_A.patient }}</span>
|
321
|
|
- <span v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }}</span>
|
322
|
|
- </span>
|
323
|
|
- </td>
|
324
|
|
- <td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
325
|
|
- <span v-if="item.Sun_N.patient_id ">
|
326
|
|
- <span>{{ item.Sun_N.patient }}</span>
|
327
|
|
- <span v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }}</span>
|
|
444
|
+ </td>
|
|
445
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
|
446
|
+ <span v-if="item.Thurs_M.patient_id ">
|
|
447
|
+ <span>{{ item.Thurs_M.patient }}</span>
|
|
448
|
+ <span v-if="item.Thurs_M.mode_name != 'HD'">{{ item.Thurs_M.mode_name }}</span>
|
|
449
|
+ </span>
|
|
450
|
+ </td>
|
|
451
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
|
452
|
+ <span v-if="item.Fri_M.patient_id">
|
|
453
|
+ <span>{{ item.Fri_M.patient }}</span>
|
|
454
|
+ <span v-if="item.Fri_M.mode_name != 'HD'">{{ item.Fri_M.mode_name }}</span>
|
|
455
|
+ </span>
|
|
456
|
+ </td>
|
|
457
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
|
458
|
+ <span v-if="item.Sat_M.patient_id ">
|
|
459
|
+ <span>{{ item.Sat_M.patient }}</span>
|
|
460
|
+ <span v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
|
461
|
+ </span>
|
|
462
|
+ </td>
|
|
463
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
|
464
|
+ <span v-if="item.Sun_M.patient_id ">
|
|
465
|
+ <span>{{ item.Sun_M.patient }}</span>
|
|
466
|
+ <span v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }}</span>
|
|
467
|
+ </span>
|
|
468
|
+ </td>
|
|
469
|
+ <td style="min-width:60px;">{{item.total}}</td>
|
|
470
|
+ </template>
|
|
471
|
+ <!-- 下午 -->
|
|
472
|
+ <template v-if="schedule_type == 2">
|
|
473
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
|
474
|
+ <span v-if="item.Mon_A.patient_id ">
|
|
475
|
+ <span>{{ item.Mon_A.patient }}</span>
|
|
476
|
+ <span v-if="item.Mon_A.mode_name != 'HD'">{{ item.Mon_A.mode_name }}</span>
|
|
477
|
+ </span>
|
|
478
|
+ </td>
|
|
479
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周二'">
|
|
480
|
+ <span v-if="item.Tue_A.patient_id ">
|
|
481
|
+ <span>{{ item.Tue_A.patient }}</span>
|
|
482
|
+ <span v-if="item.Tue_A.mode_name != 'HD'">{{ item.Tue_A.mode_name }}</span>
|
|
483
|
+ </span>
|
|
484
|
+ </td>
|
|
485
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
|
486
|
+ <span v-if="item.Wed_A.patient_id ">
|
|
487
|
+ <span>{{ item.Wed_A.patient }}</span>
|
|
488
|
+ <span v-if="item.Wed_A.mode_name != 'HD'">{{ item.Wed_A.mode_name }}</span>
|
|
489
|
+ </span>
|
|
490
|
+ </td>
|
|
491
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
|
492
|
+ <span v-if="item.Thurs_A.patient_id ">
|
|
493
|
+ <span>{{ item.Thurs_A.patient }}</span>
|
|
494
|
+ <span v-if="item.Thurs_A.mode_name != 'HD'">{{ item.Thurs_A.mode_name }}</span>
|
|
495
|
+ </span>
|
|
496
|
+ </td>
|
|
497
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
|
498
|
+ <span v-if="item.Fri_A.patient_id ">
|
|
499
|
+ <span>{{ item.Fri_A.patient }}</span>
|
|
500
|
+ <span v-if="item.Fri_A.mode_name != 'HD'">{{ item.Fri_A.mode_name }}</span>
|
|
501
|
+ </span>
|
|
502
|
+ </td>
|
|
503
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
|
504
|
+ <span v-if="item.Sat_A.patient_id ">
|
|
505
|
+ <span>{{ item.Sat_A.patient }}</span>
|
|
506
|
+ <span v-if="item.Sat_A.mode_name != 'HD'">{{ item.Sat_A.mode_name }}</span>
|
|
507
|
+ </span>
|
|
508
|
+ </td>
|
|
509
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
|
510
|
+ <span v-if="item.Sun_A.patient_id ">
|
|
511
|
+ <span>{{ item.Sun_A.patient }}</span>
|
|
512
|
+ <span v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }}</span>
|
|
513
|
+ </span>
|
|
514
|
+ </td>
|
|
515
|
+ <td style="min-width:60px;">{{item.total}}</td>
|
|
516
|
+ </template>
|
|
517
|
+ <!-- 晚上 -->
|
|
518
|
+ <template v-if="schedule_type == 3">
|
|
519
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
|
520
|
+ <span v-if="item.Mon_N.patient_id ">
|
|
521
|
+ <span>{{ item.Mon_N.patient }}</span>
|
|
522
|
+ <span v-if="item.Mon_N.mode_name != 'HD'">{{ item.Mon_N.mode_name }}</span>
|
|
523
|
+ </span>
|
|
524
|
+ </td>
|
|
525
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周二'">
|
|
526
|
+ <span v-if="item.Tue_N.patient_id ">
|
|
527
|
+ <span>{{ item.Tue_N.patient }}</span>
|
|
528
|
+ <span v-if="item.Tue_N.mode_name != 'HD'">{{ item.Tue_N.mode_name }}</span>
|
|
529
|
+ </span>
|
|
530
|
+ </td>
|
|
531
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
|
532
|
+ <span v-if="item.Wed_N.patient_id ">
|
|
533
|
+ <span>{{ item.Wed_N.patient }}</span>
|
|
534
|
+ <span v-if="item.Wed_N.mode_name != 'HD'">{{ item.Wed_N.mode_name }}</span>
|
|
535
|
+ </span>
|
|
536
|
+ </td>
|
|
537
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
|
538
|
+ <span v-if="item.Thurs_N.patient_id ">
|
|
539
|
+ <span>{{ item.Thurs_N.patient }}</span>
|
|
540
|
+ <span v-if="item.Thurs_N.mode_name != 'HD'">{{ item.Thurs_N.mode_name }}</span>
|
|
541
|
+ </span>
|
|
542
|
+ </td>
|
|
543
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
|
544
|
+ <span v-if="item.Fri_N.patient_id ">
|
|
545
|
+ <span>{{ item.Fri_N.patient }}</span>
|
|
546
|
+ <span v-if="item.Fri_N.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
|
547
|
+ </span>
|
|
548
|
+ </td>
|
|
549
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
|
550
|
+ <span v-if="item.Sat_N.patient_id ">
|
|
551
|
+ <span>{{ item.Sat_N.patient }}</span>
|
|
552
|
+ <span v-if="item.Sat_N.mode_name != 'HD'">{{ item.Sat_N.mode_name }}</span>
|
|
553
|
+ </span>
|
|
554
|
+ </td>
|
|
555
|
+ <td colspan="3" style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
|
556
|
+ <span v-if="item.Sun_N.patient_id ">
|
|
557
|
+ <span>{{ item.Sun_N.patient }}</span>
|
|
558
|
+ <span v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }}</span>
|
|
559
|
+ </span>
|
|
560
|
+ </td>
|
|
561
|
+ <td style="min-width:60px;">{{item.total}}</td>
|
|
562
|
+ </template>
|
|
563
|
+
|
|
564
|
+ <template v-if="schedule_type == 0">
|
|
565
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
|
566
|
+ <span v-if="item.Mon_M.patient_id ">
|
|
567
|
+ <span>{{ item.Mon_M.patient }}</span>
|
|
568
|
+ <span v-if="item.Mon_M.mode_name != 'HD'">{{ item.Mon_M.mode_name }}</span>
|
328
|
569
|
</span>
|
329
|
|
- </td>
|
330
|
|
- <td style="min-width:60px;">{{item.total}}</td>
|
|
570
|
+ </td>
|
|
571
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
|
572
|
+ <span v-if="item.Mon_A.patient_id ">
|
|
573
|
+ <span>{{ item.Mon_A.patient }}</span>
|
|
574
|
+ <span v-if="item.Mon_A.mode_name != 'HD'">{{ item.Mon_A.mode_name }}</span>
|
|
575
|
+ </span>
|
|
576
|
+ </td>
|
|
577
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
|
|
578
|
+ <span v-if="item.Mon_N.patient_id ">
|
|
579
|
+ <span>{{ item.Mon_N.patient }}</span>
|
|
580
|
+ <span v-if="item.Mon_N.mode_name != 'HD'">{{ item.Mon_N.mode_name }}</span>
|
|
581
|
+ </span>
|
|
582
|
+ </td>
|
|
583
|
+ <td style="min-width:180px;padding: auto;" v-if="$route.query.week_date =='周二'">
|
|
584
|
+ <p v-if="item.Tue_M.patient_id" style="padding: auto;margin: auto;">
|
|
585
|
+ <span>{{ item.Tue_M.patient }}</span>
|
|
586
|
+ <span v-if="item.Tue_M.mode_name != 'HD'">{{ item.Tue_M.mode_name }}</span>
|
|
587
|
+ </p>
|
|
588
|
+ </td>
|
|
589
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
|
|
590
|
+ <span v-if="item.Tue_A.patient_id ">
|
|
591
|
+ <span>{{ item.Tue_A.patient }}</span>
|
|
592
|
+ <span v-if="item.Tue_A.mode_name != 'HD'">{{ item.Tue_A.mode_name }}</span>
|
|
593
|
+ </span>
|
|
594
|
+ </td>
|
|
595
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
|
|
596
|
+ <span v-if="item.Tue_N.patient_id ">
|
|
597
|
+ <span>{{ item.Tue_N.patient }}</span>
|
|
598
|
+ <span v-if="item.Tue_N.mode_name != 'HD'">{{ item.Tue_N.mode_name }}</span>
|
|
599
|
+ </span>
|
|
600
|
+ </td>
|
|
601
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
|
602
|
+ <span v-if="item.Wed_M.patient_id ">
|
|
603
|
+ <span>{{ item.Wed_M.patient }}</span>
|
|
604
|
+ <span v-if="item.Wed_M.mode_name != 'HD'">{{ item.Wed_M.mode_name }}</span>
|
|
605
|
+ </span>
|
|
606
|
+ </td>
|
|
607
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
|
608
|
+ <span v-if="item.Wed_A.patient_id ">
|
|
609
|
+ <span>{{ item.Wed_A.patient }}</span>
|
|
610
|
+ <span v-if="item.Wed_A.mode_name != 'HD'">{{ item.Wed_A.mode_name }}</span>
|
|
611
|
+ </span>
|
|
612
|
+ </td>
|
|
613
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
|
|
614
|
+ <span v-if="item.Wed_N.patient_id ">
|
|
615
|
+ <span>{{ item.Wed_N.patient }}</span>
|
|
616
|
+ <span v-if="item.Wed_N.mode_name != 'HD'">{{ item.Wed_N.mode_name }}</span>
|
|
617
|
+ </span>
|
|
618
|
+ </td>
|
|
619
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
|
620
|
+ <span v-if="item.Thurs_M.patient_id ">
|
|
621
|
+ <span>{{ item.Thurs_M.patient }}</span>
|
|
622
|
+ <span v-if="item.Thurs_M.mode_name != 'HD'">{{ item.Thurs_M.mode_name }}</span>
|
|
623
|
+ </span>
|
|
624
|
+ </td>
|
|
625
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
|
626
|
+ <span v-if="item.Thurs_A.patient_id ">
|
|
627
|
+ <span>{{ item.Thurs_A.patient }}</span>
|
|
628
|
+ <span v-if="item.Thurs_A.mode_name != 'HD'">{{ item.Thurs_A.mode_name }}</span>
|
|
629
|
+ </span>
|
|
630
|
+ </td>
|
|
631
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
|
|
632
|
+ <span v-if="item.Thurs_N.patient_id ">
|
|
633
|
+ <span>{{ item.Thurs_N.patient }}</span>
|
|
634
|
+ <span v-if="item.Thurs_N.mode_name != 'HD'">{{ item.Thurs_N.mode_name }}</span>
|
|
635
|
+ </span>
|
|
636
|
+ </td>
|
|
637
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
|
638
|
+ <span v-if="item.Fri_M.patient_id">
|
|
639
|
+ <span>{{ item.Fri_M.patient }}</span>
|
|
640
|
+ <span v-if="item.Fri_M.mode_name != 'HD'">{{ item.Fri_M.mode_name }}</span>
|
|
641
|
+ </span>
|
|
642
|
+ </td>
|
|
643
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
|
644
|
+ <span v-if="item.Fri_A.patient_id ">
|
|
645
|
+ <span>{{ item.Fri_A.patient }}</span>
|
|
646
|
+ <span v-if="item.Fri_A.mode_name != 'HD'">{{ item.Fri_A.mode_name }}</span>
|
|
647
|
+ </span>
|
|
648
|
+ </td>
|
|
649
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
|
|
650
|
+ <span v-if="item.Fri_N.patient_id ">
|
|
651
|
+ <span>{{ item.Fri_N.patient }}</span>
|
|
652
|
+ <span v-if="item.Fri_N.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
|
653
|
+ </span>
|
|
654
|
+ </td>
|
|
655
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
|
656
|
+ <span v-if="item.Sat_M.patient_id ">
|
|
657
|
+ <span>{{ item.Sat_M.patient }}</span>
|
|
658
|
+ <span v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</span>
|
|
659
|
+ </span>
|
|
660
|
+ </td>
|
|
661
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
|
662
|
+ <span v-if="item.Sat_A.patient_id ">
|
|
663
|
+ <span>{{ item.Sat_A.patient }}</span>
|
|
664
|
+ <span v-if="item.Sat_A.mode_name != 'HD'">{{ item.Sat_A.mode_name }}</span>
|
|
665
|
+ </span>
|
|
666
|
+ </td>
|
|
667
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
|
|
668
|
+ <span v-if="item.Sat_N.patient_id ">
|
|
669
|
+ <span>{{ item.Sat_N.patient }}</span>
|
|
670
|
+ <span v-if="item.Sat_N.mode_name != 'HD'">{{ item.Sat_N.mode_name }}</span>
|
|
671
|
+ </span>
|
|
672
|
+ </td>
|
|
673
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
|
674
|
+ <span v-if="item.Sun_M.patient_id ">
|
|
675
|
+ <span>{{ item.Sun_M.patient }}</span>
|
|
676
|
+ <span v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }}</span>
|
|
677
|
+ </span>
|
|
678
|
+ </td>
|
|
679
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
|
680
|
+ <span v-if="item.Sun_A.patient_id ">
|
|
681
|
+ <span>{{ item.Sun_A.patient }}</span>
|
|
682
|
+ <span v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }}</span>
|
|
683
|
+ </span>
|
|
684
|
+ </td>
|
|
685
|
+ <td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
|
|
686
|
+ <span v-if="item.Sun_N.patient_id ">
|
|
687
|
+ <span>{{ item.Sun_N.patient }}</span>
|
|
688
|
+ <span v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }}</span>
|
|
689
|
+ </span>
|
|
690
|
+ </td>
|
|
691
|
+ <td style="min-width:60px;">{{item.total}}</td>
|
|
692
|
+ </template>
|
|
693
|
+
|
|
694
|
+
|
331
|
695
|
</tr>
|
332
|
696
|
</table>
|
333
|
697
|
</div>
|
|
@@ -372,6 +736,7 @@ export default {
|
372
|
736
|
this.getAllZones()
|
373
|
737
|
this.modeOptions = this.$store.getters.treatment_mode;
|
374
|
738
|
this.partition_id = this.$route.query.partition_id
|
|
739
|
+ this.schedule_type = this.$route.query.schedule_type
|
375
|
740
|
var newList = []
|
376
|
741
|
var arr = this.$route.query.week_date
|
377
|
742
|
|
|
@@ -379,27 +744,34 @@ export default {
|
379
|
744
|
var newArr = arr.split(",")
|
380
|
745
|
|
381
|
746
|
if(newArr!=null&&newArr.length > 0){
|
382
|
|
- for(let i=0;i<newArr.length;i++){
|
|
747
|
+ for(let i=0;i<newArr.length;i++){
|
383
|
748
|
if(newArr[i] == "周一"){
|
384
|
749
|
newList.push(1)
|
|
750
|
+ this.first_day = 1
|
385
|
751
|
}
|
386
|
752
|
if(newArr[i] == "周二"){
|
387
|
753
|
newList.push(2)
|
|
754
|
+ this.second_day = 2
|
388
|
755
|
}
|
389
|
756
|
if(newArr[i] == "周三"){
|
390
|
757
|
newList.push(3)
|
|
758
|
+ this.three_day = 3
|
391
|
759
|
}
|
392
|
760
|
if(newArr[i] == "周四"){
|
393
|
761
|
newList.push(4)
|
|
762
|
+ this.four_day = 4
|
394
|
763
|
}
|
395
|
764
|
if(newArr[i] == "周五"){
|
396
|
765
|
newList.push(5)
|
|
766
|
+ this.five_day = 5
|
397
|
767
|
}
|
398
|
768
|
if(newArr[i] == "周六"){
|
399
|
769
|
newList.push(6)
|
|
770
|
+ this.six_day = 6
|
400
|
771
|
}
|
401
|
772
|
if(newArr[i] == "周日"){
|
402
|
773
|
newList.push(7)
|
|
774
|
+ this.seven_day = 7
|
403
|
775
|
}
|
404
|
776
|
}
|
405
|
777
|
|