|
@@ -47,207 +47,214 @@
|
47
|
47
|
<td style="min-width:50px;">{{ item.cut }}</td>
|
48
|
48
|
<td style="min-width:50px;" v-if="first_day == 1">
|
49
|
49
|
<span v-if="item.Mon_M.patient_id">
|
50
|
|
- <span>{{ item.Mon_M.patient }} </span>
|
51
|
|
- <span >{{ item.Mon_M.mode_name }}</span>
|
52
|
|
- <!-- <span v-if="org_id ==0">{{getAnticoagulant(item.Mon_M.anticoagulant)}}</span><br/> -->
|
53
|
|
- <span v-show="showflag">{{item.Mon_M.dialysis_machine_name}}</span>
|
|
50
|
+ <span>{{ item.Mon_M.patient }} </span><br/>
|
|
51
|
+ <span >{{ item.Mon_M.mode_name }}</span><br/>
|
|
52
|
+ <span v-if="org_id ==0">{{getAnticoagulant(item.Mon_M.anticoagulant)}}</span><br/>
|
|
53
|
+ <span v-show="showflag">{{item.Mon_M.dialysis_machine_name}}
|
|
54
|
+
|
|
55
|
+ </span>
|
54
|
56
|
</span>
|
55
|
57
|
</td>
|
56
|
58
|
<td style="min-width:50px;" v-if="first_day == 1">
|
57
|
59
|
<span v-if="item.Mon_A.patient_id">
|
58
|
|
- <span>{{ item.Mon_A.patient }} </span>
|
59
|
|
- <span >{{ item.Mon_A.mode_name }}</span>
|
60
|
|
- <!-- <span v-if="org_id == 0">{{getAnticoagulant(item.Mon_A.anticoagulant) }}</span> -->
|
|
60
|
+ <span>{{ item.Mon_A.patient }} </span><br/>
|
|
61
|
+ <span >{{ item.Mon_A.mode_name }}</span><br/>
|
|
62
|
+ <span v-if="org_id == 0">{{getAnticoagulant(item.Mon_A.anticoagulant) }}</span>
|
61
|
63
|
<span v-show="showflag">{{item.Mon_A.dialysis_machine_name}}
|
62
|
|
-
|
|
64
|
+
|
63
|
65
|
</span>
|
64
|
66
|
</span>
|
65
|
67
|
</td>
|
66
|
68
|
<td style="min-width:50px;" v-if="first_day == 1" >
|
67
|
69
|
<span v-if="item.Mon_N.patient_id">
|
68
|
|
- <span>{{ item.Mon_N.patient }} </span>
|
69
|
|
- <span >{{ item.Mon_N.mode_name }}</span>
|
70
|
|
- <!-- <span v-if="org_id == 0">{{getAnticoagulant(item.Mon_N.anticoagulant) }}</span> -->
|
|
70
|
+ <span>{{ item.Mon_N.patient }} </span><br/>
|
|
71
|
+ <span >{{ item.Mon_N.mode_name }}</span><br/>
|
|
72
|
+ <span v-if="org_id == 0">{{getAnticoagulant(item.Mon_N.anticoagulant) }}</span>
|
71
|
73
|
<span v-show="showflag">{{item.Mon_N.dialysis_machine_name}}
|
72
|
|
-
|
|
74
|
+
|
73
|
75
|
</span>
|
74
|
76
|
</span>
|
75
|
77
|
</td>
|
76
|
78
|
<td style="min-width:50px;" v-if="second_day == 2">
|
77
|
79
|
<span v-if="item.Tue_M.patient_id">
|
78
|
|
- <span>{{ item.Tue_M.patient }} </span>
|
79
|
|
- <span >{{ item.Tue_M.mode_name }}</span>
|
80
|
|
- <!-- <span v-if="org_id==0">{{getAnticoagulant(item.Tue_M.anticoagulant ) }}</span><br/> -->
|
|
80
|
+ <span>{{ item.Tue_M.patient }} </span><br/>
|
|
81
|
+ <span >{{ item.Tue_M.mode_name }}</span><br/>
|
|
82
|
+ <span v-if="org_id==0">{{getAnticoagulant(item.Tue_M.anticoagulant ) }}</span><br/>
|
81
|
83
|
<span v-show="showflag">{{item.Tue_M.dialysis_machine_name}}
|
82
|
|
-
|
|
84
|
+
|
83
|
85
|
</span>
|
84
|
86
|
</span>
|
85
|
87
|
</td>
|
86
|
88
|
<td style="min-width:50px;" v-if="second_day == 2">
|
87
|
89
|
<span v-if="item.Tue_A.patient_id">
|
88
|
|
- <span>{{ item.Tue_A.patient }} </span>
|
89
|
|
- <span >{{ item.Tue_A.mode_name }}</span>
|
90
|
|
- <!-- <span v-if="org_id ==0">{{ getAnticoagulant(item.Tue_A.anticoagulant)}}</span> -->
|
|
90
|
+ <span>{{ item.Tue_A.patient }} </span><br/>
|
|
91
|
+ <span >{{ item.Tue_A.mode_name }}</span><br/>
|
|
92
|
+ <span v-if="org_id ==0">{{ getAnticoagulant(item.Tue_A.anticoagulant)}}</span>
|
91
|
93
|
<span v-show="showflag">{{item.Tue_A.dialysis_machine_name}}
|
92
|
|
-
|
|
94
|
+
|
93
|
95
|
</span>
|
94
|
96
|
|
95
|
97
|
</span>
|
96
|
98
|
</td>
|
97
|
99
|
<td style="min-width:50px;" v-if="second_day == 2">
|
98
|
100
|
<span v-if="item.Tue_N.patient_id">
|
99
|
|
- <span>{{ item.Tue_N.patient }} </span>
|
100
|
|
- <span >{{ item.Tue_N.mode_name }}</span>
|
101
|
|
- <!-- <span v-if="org_id==0">{{getAnticoagulant(item.Tue_N.anticoagulant) }}</span> -->
|
|
101
|
+ <span>{{ item.Tue_N.patient }} </span><br/>
|
|
102
|
+ <span >{{ item.Tue_N.mode_name }}</span><br/>
|
|
103
|
+ <span v-if="org_id==0">{{getAnticoagulant(item.Tue_N.anticoagulant) }}</span>
|
102
|
104
|
<span v-show="showflag">{{item.Tue_N.dialysis_machine_name}}
|
103
|
|
-
|
|
105
|
+
|
104
|
106
|
</span>
|
105
|
107
|
</span>
|
106
|
108
|
</td>
|
107
|
109
|
<td style="min-width:50px;" v-if="three_day == 3">
|
108
|
110
|
<span v-if="item.Wed_M.patient_id">
|
109
|
|
- <span>{{ item.Wed_M.patient }} </span>
|
110
|
|
- <span >{{ item.Wed_M.mode_name }}</span>
|
111
|
|
- <!-- <span v-if="org_id == 0">{{getAnticoagulant(item.Wed_M.anticoagulant) }}</span><br/> -->
|
|
111
|
+ <span>{{ item.Wed_M.patient }} </span><br/>
|
|
112
|
+ <span >{{ item.Wed_M.mode_name }}</span><br/>
|
|
113
|
+ <span v-if="org_id == 0">{{getAnticoagulant(item.Wed_M.anticoagulant) }}</span><br/>
|
112
|
114
|
<span v-show="showflag">{{item.Wed_M.dialysis_machine_name}}
|
113
|
|
-
|
|
115
|
+
|
114
|
116
|
</span>
|
115
|
117
|
</span>
|
116
|
118
|
</td>
|
117
|
119
|
<td style="min-width:50px;" v-if="three_day == 3">
|
118
|
120
|
<span v-if="item.Wed_A.patient_id">
|
119
|
|
- <span>{{ item.Wed_A.patient }} </span>
|
120
|
|
- <span >{{ item.Wed_A.mode_name }}</span>
|
121
|
|
- <!-- <span v-if="org_id ==0">{{getAnticoagulant(item.Wed_A.anticoagulant)}}</span> -->
|
|
121
|
+ <span>{{ item.Wed_A.patient }} </span><br/>
|
|
122
|
+ <span >{{ item.Wed_A.mode_name }}</span><br/>
|
|
123
|
+ <span v-if="org_id ==0">{{getAnticoagulant(item.Wed_A.anticoagulant)}}</span>
|
122
|
124
|
<span v-show="showflag">{{item.Wed_A.dialysis_machine_name}}
|
123
|
|
-
|
|
125
|
+
|
124
|
126
|
</span>
|
125
|
127
|
</span>
|
126
|
128
|
</td>
|
127
|
129
|
<td style="min-width:50px;" v-if="three_day == 3">
|
128
|
130
|
<span v-if="item.Wed_N.patient_id">
|
129
|
|
- <span>{{ item.Wed_N.patient }} </span>
|
130
|
|
- <span >{{ item.Wed_N.mode_name }}</span>
|
131
|
|
- <!-- <span v-if="org_id ==0">{{ getAnticoagulant(item.Wed_N.anticoagulant) }}</span> -->
|
|
131
|
+ <span>{{ item.Wed_N.patient }} </span><br/>
|
|
132
|
+ <span >{{ item.Wed_N.mode_name }}</span><br/>
|
|
133
|
+ <span v-if="org_id ==0">{{ getAnticoagulant(item.Wed_N.anticoagulant) }}</span>
|
132
|
134
|
<span v-show="showflag">{{item.Wed_N.dialysis_machine_name}}
|
133
|
|
-
|
|
135
|
+
|
134
|
136
|
</span>
|
135
|
137
|
</span>
|
136
|
138
|
</td>
|
137
|
139
|
<td style="min-width:50px;" v-if="four_day == 4">
|
138
|
140
|
<span v-if="item.Thurs_M.patient_id">
|
139
|
|
- <span>{{ item.Thurs_M.patient }} </span>
|
140
|
|
- <span >{{ item.Thurs_M.mode_name }}</span>
|
141
|
|
- <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_M.anticoagulant) }}</span> -->
|
|
141
|
+ <span>{{ item.Thurs_M.patient }} </span><br/>
|
|
142
|
+ <span >{{ item.Thurs_M.mode_name }}</span><br/>
|
|
143
|
+ <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_M.anticoagulant) }}</span>
|
142
|
144
|
<span v-show="showflag">{{item.Thurs_M.dialysis_machine_name}}
|
143
|
|
-
|
|
145
|
+
|
144
|
146
|
</span>
|
145
|
147
|
</span>
|
146
|
148
|
</td>
|
147
|
149
|
<td style="min-width:50px;" v-if="four_day == 4">
|
148
|
150
|
<span v-if="item.Thurs_A.patient_id">
|
149
|
|
- <span>{{ item.Thurs_A.patient }} </span>
|
150
|
|
- <span >{{ item.Thurs_A.mode_name }}</span>
|
151
|
|
- <!-- <span v-if="org_id ==0">{{getAnticoagulant(item.Thurs_A.anticoagulant) }}</span> -->
|
|
151
|
+ <span>{{ item.Thurs_A.patient }} </span><br/>
|
|
152
|
+ <span >{{ item.Thurs_A.mode_name }}</span><br/>
|
|
153
|
+ <span v-if="org_id ==0">{{getAnticoagulant(item.Thurs_A.anticoagulant) }}</span>
|
152
|
154
|
|
153
|
155
|
<span v-show="showflag">{{item.Thurs_A.dialysis_machine_name}}
|
154
|
|
-
|
|
156
|
+
|
155
|
157
|
</span>
|
156
|
158
|
</span>
|
157
|
159
|
</td>
|
158
|
160
|
<td style="min-width:50px;" v-if="four_day == 4">
|
159
|
161
|
<span v-if="item.Thurs_N.patient_id">
|
160
|
|
- <span>{{ item.Thurs_N.patient }} </span>
|
161
|
|
- <span >{{ item.Thurs_N.mode_name }}</span>
|
162
|
|
- <!-- <span v-if="org_id ==0" >{{ getAnticoagulant(item.Thurs_N.anticoagulant) }}</span> -->
|
|
162
|
+ <span>{{ item.Thurs_N.patient }} </span><br/>
|
|
163
|
+ <span >{{ item.Thurs_N.mode_name }}</span><br/>
|
|
164
|
+ <span v-if="org_id ==0" >{{ getAnticoagulant(item.Thurs_N.anticoagulant) }}</span>
|
163
|
165
|
<span v-show="showflag">{{item.Thurs_N.dialysis_machine_name}}
|
164
|
|
-
|
|
166
|
+
|
165
|
167
|
</span>
|
166
|
168
|
</span>
|
167
|
169
|
</td>
|
168
|
170
|
<td style="min-width:50px;" v-if="five_day == 5">
|
169
|
171
|
<span v-if="item.Fri_M.patient_id">
|
170
|
|
- <span>{{ item.Fri_M.patient }} </span>
|
171
|
|
- <span >{{ item.Fri_M.mode_name }}</span>
|
172
|
|
- <!-- <span v-if="org_id ==1">{{ getAnticoagulant(item.Fri_M.anticoagulant) }} </span><br/> -->
|
173
|
|
- <span >{{item.Fri_M.dialysis_machine_name}}
|
|
172
|
+ <span>{{ item.Fri_M.patient }} </span><br/>
|
|
173
|
+ <span >{{ item.Fri_M.mode_name }}</span><br/>
|
|
174
|
+ <span v-if="org_id ==0">{{ getAnticoagulant(item.Fri_M.anticoagulant) }} </span><br/>
|
|
175
|
+ <span v-show="showflag">{{item.Fri_M.dialysis_machine_name}}
|
|
176
|
+
|
174
|
177
|
</span>
|
175
|
178
|
</span>
|
176
|
179
|
</td>
|
177
|
180
|
<td style="min-width:50px;" v-if="five_day == 5">
|
178
|
181
|
<span v-if="item.Fri_A.patient_id">
|
179
|
|
- <span>{{ item.Fri_A.patient }} </span>
|
180
|
|
- <span >{{ item.Fri_A.mode_name }}</span>
|
181
|
|
- <!-- <span v-if="org_id ==0">{{ getAnticoagulant(item.Fri_A.anticoagulant) }}</span> -->
|
182
|
|
- <span>{{item.Fri_A.dialysis_machine_name}}</span>
|
|
182
|
+ <span>{{ item.Fri_A.patient }} </span><br/>
|
|
183
|
+ <span >{{ item.Fri_A.mode_name }}</span><br/>
|
|
184
|
+ <span v-if="org_id ==0">{{ getAnticoagulant(item.Fri_A.anticoagulant) }}</span>
|
|
185
|
+ <span v-show="showflag">{{item.Fri_A.dialysis_machine_name}}
|
|
186
|
+
|
|
187
|
+ </span>
|
183
|
188
|
</span>
|
184
|
189
|
</td>
|
185
|
190
|
<td style="min-width:50px;" v-if="five_day == 5">
|
186
|
191
|
<span v-if="item.Fri_N.patient_id">
|
187
|
|
- <span>{{ item.Fri_N.patient }} </span>
|
188
|
|
- <span >{{ item.Fri_N.mode_name }}</span>
|
189
|
|
- <!-- <span v-if="org_id == 0">{{getAnticoagulant(item.Fri_N.anticoagulant) }}</span> -->
|
190
|
|
- <span>{{item.Fri_N.dialysis_machine_name}} </span>
|
|
192
|
+ <span>{{ item.Fri_N.patient }} </span><br/>
|
|
193
|
+ <span >{{ item.Fri_N.mode_name }}</span><br/>
|
|
194
|
+ <span v-if="org_id == 0">{{getAnticoagulant(item.Fri_N.anticoagulant) }}</span>
|
|
195
|
+ <span v-show="showflag">{{item.Fri_N.dialysis_machine_name}}
|
|
196
|
+
|
|
197
|
+ </span>
|
191
|
198
|
</span>
|
192
|
199
|
</td>
|
193
|
200
|
<td style="min-width:50px;" v-if="six_day == 6">
|
194
|
201
|
<span v-if="item.Sat_M.patient_id">
|
195
|
|
- <span>{{ item.Sat_M.patient }} </span>
|
196
|
|
- <span >{{ item.Sat_M.mode_name }}</span>
|
197
|
|
- <!-- <span v-if="org_id ==0">{{ getAnticoagulant(item.Sat_M.anticoagulant) }}</span> -->
|
|
202
|
+ <span>{{ item.Sat_M.patient }} </span><br/>
|
|
203
|
+ <span >{{ item.Sat_M.mode_name }}</span><br/>
|
|
204
|
+ <span v-if="org_id ==0">{{ getAnticoagulant(item.Sat_M.anticoagulant) }}</span>
|
198
|
205
|
<span v-show="showflag">{{item.Sat_M.dialysis_machine_name}}
|
199
|
|
-
|
|
206
|
+
|
200
|
207
|
</span>
|
201
|
208
|
</span>
|
202
|
209
|
</td>
|
203
|
210
|
<td style="min-width:50px;" v-if="six_day == 6">
|
204
|
211
|
<span v-if="item.Sat_A.patient_id">
|
205
|
|
- <span>{{ item.Sat_A.patient }} </span>
|
206
|
|
- <span >{{ item.Sat_A.mode_name }}</span>
|
207
|
|
- <!-- <span v-if="org_id ==0">{{ getAnticoagulant(item.Sat_A.anticoagulant) }}</span> -->
|
|
212
|
+ <span>{{ item.Sat_A.patient }} </span><br/>
|
|
213
|
+ <span >{{ item.Sat_A.mode_name }}</span><br/>
|
|
214
|
+ <span v-if="org_id ==0">{{ getAnticoagulant(item.Sat_A.anticoagulant) }}</span>
|
208
|
215
|
<span v-show="showflag">{{item.Sat_A.dialysis_machine_name}}
|
209
|
|
-
|
|
216
|
+
|
210
|
217
|
</span>
|
211
|
218
|
</span>
|
212
|
219
|
</td>
|
213
|
220
|
<td style="min-width:50px;" v-if="six_day == 6">
|
214
|
221
|
<span v-if="item.Sat_N.patient_id">
|
215
|
|
- <span>{{ item.Sat_N.patient }} </span>
|
216
|
|
- <span >{{ item.Sat_N.mode_name }}</span>
|
217
|
|
- <!-- <span v-if="org_id ==0">{{ getAnticoagulant(item.Sat_N.anticoagulant) }}</span> -->
|
|
222
|
+ <span>{{ item.Sat_N.patient }} </span><br/>
|
|
223
|
+ <span >{{ item.Sat_N.mode_name }}</span><br/>
|
|
224
|
+ <span v-if="org_id ==0">{{ getAnticoagulant(item.Sat_N.anticoagulant) }}</span>
|
218
|
225
|
<span v-show="showflag">{{item.Sat_N.dialysis_machine_name}}
|
219
|
|
-
|
|
226
|
+
|
220
|
227
|
</span>
|
221
|
228
|
</span>
|
222
|
229
|
</td>
|
223
|
230
|
<td style="min-width:50px;" v-if="seven_day == 7">
|
224
|
231
|
<span v-if="item.Sun_M.patient_id">
|
225
|
|
- <span>{{ item.Sun_M.patient }} </span>
|
226
|
|
- <span >{{ item.Sun_M.mode_name }}</span>
|
227
|
|
- <!-- <span v-if="org_id ==0">{{ getAnticoagulant(item.Sun_M.anticoagulant) }}</span> -->
|
|
232
|
+ <span>{{ item.Sun_M.patient }} </span><br/>
|
|
233
|
+ <span >{{ item.Sun_M.mode_name }}</span><br/>
|
|
234
|
+ <span v-if="org_id ==0">{{ getAnticoagulant(item.Sun_M.anticoagulant) }}</span>
|
228
|
235
|
<span v-show="showflag">{{item.Sun_M.dialysis_machine_name}}
|
229
|
|
-
|
|
236
|
+
|
230
|
237
|
</span>
|
231
|
238
|
</span>
|
232
|
239
|
</td>
|
233
|
240
|
<td style="min-width:50px;" v-if="seven_day == 7">
|
234
|
241
|
<span v-if="item.Sun_A.patient_id">
|
235
|
|
- <span>{{ item.Sun_A.patient }} </span>
|
236
|
|
- <span >{{ item.Sun_A.mode_name }}</span>
|
237
|
|
- <!-- <span v-if="org_id ==0">{{getAnticoagulant(item.Sun_A.anticoagulant)}}</span> -->
|
|
242
|
+ <span>{{ item.Sun_A.patient }} </span><br/>
|
|
243
|
+ <span >{{ item.Sun_A.mode_name }}</span><br/>
|
|
244
|
+ <span v-if="org_id ==0">{{getAnticoagulant(item.Sun_A.anticoagulant)}}</span>
|
238
|
245
|
<span v-show="showflag">{{item.Sun_A.dialysis_machine_name}}
|
239
|
|
-
|
|
246
|
+
|
240
|
247
|
</span>
|
241
|
248
|
|
242
|
249
|
</span>
|
243
|
250
|
</td>
|
244
|
251
|
<td style="min-width:50px;" v-if="seven_day == 7">
|
245
|
252
|
<span v-if="item.Sun_N.patient_id">
|
246
|
|
- <span>{{ item.Sun_N.patient }} </span>
|
247
|
|
- <span >{{ item.Sun_N.mode_name }}</span>
|
248
|
|
- <!-- <span v-if="org_id ==0">{{ getAnticoagulant(item.Sun_N.anticoagulant ) }}</span> -->
|
|
253
|
+ <span>{{ item.Sun_N.patient }} </span><br/>
|
|
254
|
+ <span >{{ item.Sun_N.mode_name }}</span><br/>
|
|
255
|
+ <span v-if="org_id ==0">{{ getAnticoagulant(item.Sun_N.anticoagulant ) }}</span>
|
249
|
256
|
<span v-show="showflag">{{item.Sun_N.dialysis_machine_name}}
|
250
|
|
-
|
|
257
|
+
|
251
|
258
|
</span>
|
252
|
259
|
</span>
|
253
|
260
|
</td>
|
|
@@ -257,7 +264,7 @@
|
257
|
264
|
</div>
|
258
|
265
|
</div>
|
259
|
266
|
</div>
|
260
|
|
-</template>
|
|
267
|
+</template>
|
261
|
268
|
|
262
|
269
|
<script>
|
263
|
270
|
import {getSchedulesTwo,getWeekPanelsOne,getPatientSheduleCount,getAllZones,getSolutionSchedule} from "@/api/schedule";
|
|
@@ -378,10 +385,9 @@ export default {
|
378
|
385
|
this.getWeekPanels()
|
379
|
386
|
//统计患者排班数量
|
380
|
387
|
this.getPatientSheduleCount()
|
381
|
|
- console.log('2222222',response.data.data);
|
382
|
388
|
}
|
383
|
389
|
})
|
384
|
|
- },
|
|
390
|
+ },
|
385
|
391
|
compare(p) { //这是比较函数
|
386
|
392
|
return function (m, n) {
|
387
|
393
|
var a = m[p];
|
|
@@ -405,7 +411,7 @@ export default {
|
405
|
411
|
return false
|
406
|
412
|
}
|
407
|
413
|
var partitions = response.data.data.partitions
|
408
|
|
- console.log("分区2222",response.data.data)
|
|
414
|
+ console.log("分区",partitions)
|
409
|
415
|
this.theWeek.thisWeek = response.data.data.theWeek
|
410
|
416
|
this.theWeek.lastWeek = this.theWeek.thisWeek - 1
|
411
|
417
|
this.theWeek.nextWeek = this.theWeek.thisWeek + 1
|
|
@@ -1319,12 +1325,12 @@ export default {
|
1319
|
1325
|
// 投屏
|
1320
|
1326
|
touping(){
|
1321
|
1327
|
if(this.Screencasting ==false){
|
1322
|
|
-
|
|
1328
|
+
|
1323
|
1329
|
return this.Screencasting =true
|
1324
|
1330
|
}else{
|
1325
|
1331
|
return this.Screencasting =false
|
1326
|
1332
|
}
|
1327
|
|
-
|
|
1333
|
+
|
1328
|
1334
|
},
|
1329
|
1335
|
getAnticoagulant(val){
|
1330
|
1336
|
var name= ""
|
|
@@ -1398,7 +1404,7 @@ export default {
|
1398
|
1404
|
}
|
1399
|
1405
|
}
|
1400
|
1406
|
}
|
1401
|
|
-
|
|
1407
|
+
|
1402
|
1408
|
}
|
1403
|
1409
|
</style>
|
1404
|
1410
|
<style lang="scss" scoped>
|