test_user 2 年前
父节点
当前提交
3f1bd25403
共有 1 个文件被更改,包括 82 次插入37 次删除
  1. 82 37
      src/xt_pages/workforce/components/tableData.vue

+ 82 - 37
src/xt_pages/workforce/components/tableData.vue 查看文件

217
           <schedule-item
217
           <schedule-item
218
             slot-scope="scope"
218
             slot-scope="scope"
219
             :schedule-detail="scope.row.Mon_M"
219
             :schedule-detail="scope.row.Mon_M"
220
+            :config="config"
221
+
220
           ></schedule-item>
222
           ></schedule-item>
221
         </el-table-column>
223
         </el-table-column>
222
         <el-table-column prop="Mon_A" label="下" width="110" align="center" v-if="isShowXiaWu">
224
         <el-table-column prop="Mon_A" label="下" width="110" align="center" v-if="isShowXiaWu">
223
           <schedule-item
225
           <schedule-item
224
             slot-scope="scope"
226
             slot-scope="scope"
225
             :schedule-detail="scope.row.Mon_A"
227
             :schedule-detail="scope.row.Mon_A"
228
+            :config="config"
229
+
226
           ></schedule-item>
230
           ></schedule-item>
227
         </el-table-column>
231
         </el-table-column>
228
         <el-table-column prop="Mon_N" label="晚" width="110" align="center" v-if="isShowWanShang">
232
         <el-table-column prop="Mon_N" label="晚" width="110" align="center" v-if="isShowWanShang">
229
           <schedule-item
233
           <schedule-item
230
             slot-scope="scope"
234
             slot-scope="scope"
231
             :schedule-detail="scope.row.Mon_N"
235
             :schedule-detail="scope.row.Mon_N"
236
+            :config="config"
237
+
232
           ></schedule-item>
238
           ></schedule-item>
233
         </el-table-column>
239
         </el-table-column>
234
       </el-table-column>
240
       </el-table-column>
242
           <schedule-item
248
           <schedule-item
243
             slot-scope="scope"
249
             slot-scope="scope"
244
             :schedule-detail="scope.row.Tue_M"
250
             :schedule-detail="scope.row.Tue_M"
251
+            :config="config"
252
+
245
           ></schedule-item>
253
           ></schedule-item>
246
         </el-table-column>
254
         </el-table-column>
247
         <el-table-column prop="Tue_A" label="下" width="110" align="center" v-if="isShowXiaWu">
255
         <el-table-column prop="Tue_A" label="下" width="110" align="center" v-if="isShowXiaWu">
248
           <schedule-item
256
           <schedule-item
249
             slot-scope="scope"
257
             slot-scope="scope"
250
             :schedule-detail="scope.row.Tue_A"
258
             :schedule-detail="scope.row.Tue_A"
259
+            :config="config"
260
+
251
           ></schedule-item>
261
           ></schedule-item>
252
         </el-table-column>
262
         </el-table-column>
253
         <el-table-column prop="Tue_N" label="晚" width="110" align="center" v-if="isShowWanShang">
263
         <el-table-column prop="Tue_N" label="晚" width="110" align="center" v-if="isShowWanShang">
254
           <schedule-item
264
           <schedule-item
255
             slot-scope="scope"
265
             slot-scope="scope"
256
             :schedule-detail="scope.row.Tue_N"
266
             :schedule-detail="scope.row.Tue_N"
267
+            :config="config"
268
+
257
           ></schedule-item>
269
           ></schedule-item>
258
         </el-table-column>
270
         </el-table-column>
259
       </el-table-column>
271
       </el-table-column>
268
           <schedule-item
280
           <schedule-item
269
             slot-scope="scope"
281
             slot-scope="scope"
270
             :schedule-detail="scope.row.Wed_M"
282
             :schedule-detail="scope.row.Wed_M"
283
+            :config="config"
284
+
271
           ></schedule-item>
285
           ></schedule-item>
272
         </el-table-column>
286
         </el-table-column>
273
         <el-table-column prop="Wed_A" label="下" width="110" align="center" v-if="isShowXiaWu">
287
         <el-table-column prop="Wed_A" label="下" width="110" align="center" v-if="isShowXiaWu">
274
           <schedule-item
288
           <schedule-item
275
             slot-scope="scope"
289
             slot-scope="scope"
276
             :schedule-detail="scope.row.Wed_A"
290
             :schedule-detail="scope.row.Wed_A"
291
+            :config="config"
292
+
277
           ></schedule-item>
293
           ></schedule-item>
278
         </el-table-column>
294
         </el-table-column>
279
         <el-table-column prop="Wed_N" label="晚" width="110" align="center" v-if="isShowWanShang">
295
         <el-table-column prop="Wed_N" label="晚" width="110" align="center" v-if="isShowWanShang">
280
           <schedule-item
296
           <schedule-item
281
             slot-scope="scope"
297
             slot-scope="scope"
298
+            :config="config"
299
+
282
             :schedule-detail="scope.row.Wed_N"
300
             :schedule-detail="scope.row.Wed_N"
283
           ></schedule-item>
301
           ></schedule-item>
284
         </el-table-column>
302
         </el-table-column>
293
         <el-table-column prop="Thurs_M" label="上" width="110" align="center" v-if="isShowShangWu">
311
         <el-table-column prop="Thurs_M" label="上" width="110" align="center" v-if="isShowShangWu">
294
           <schedule-item
312
           <schedule-item
295
             slot-scope="scope"
313
             slot-scope="scope"
314
+            :config="config"
296
             :schedule-detail="scope.row.Thurs_M"
315
             :schedule-detail="scope.row.Thurs_M"
297
           ></schedule-item>
316
           ></schedule-item>
298
         </el-table-column>
317
         </el-table-column>
300
           <schedule-item
319
           <schedule-item
301
             slot-scope="scope"
320
             slot-scope="scope"
302
             :schedule-detail="scope.row.Thurs_A"
321
             :schedule-detail="scope.row.Thurs_A"
322
+            :config="config"
323
+
303
           ></schedule-item>
324
           ></schedule-item>
304
         </el-table-column>
325
         </el-table-column>
305
         <el-table-column prop="Thurs_N" label="晚" width="110" align="center" v-if="isShowWanShang">
326
         <el-table-column prop="Thurs_N" label="晚" width="110" align="center" v-if="isShowWanShang">
306
           <schedule-item
327
           <schedule-item
307
             slot-scope="scope"
328
             slot-scope="scope"
308
             :schedule-detail="scope.row.Thurs_N"
329
             :schedule-detail="scope.row.Thurs_N"
330
+            :config="config"
331
+
309
           ></schedule-item>
332
           ></schedule-item>
310
         </el-table-column>
333
         </el-table-column>
311
       </el-table-column>
334
       </el-table-column>
320
           <schedule-item
343
           <schedule-item
321
             slot-scope="scope"
344
             slot-scope="scope"
322
             :schedule-detail="scope.row.Fri_M"
345
             :schedule-detail="scope.row.Fri_M"
346
+            :config="config"
347
+
323
           ></schedule-item>
348
           ></schedule-item>
324
         </el-table-column>
349
         </el-table-column>
325
         <el-table-column prop="Fri_A" label="下" width="110" align="center" v-if="isShowXiaWu">
350
         <el-table-column prop="Fri_A" label="下" width="110" align="center" v-if="isShowXiaWu">
326
           <schedule-item
351
           <schedule-item
327
             slot-scope="scope"
352
             slot-scope="scope"
328
             :schedule-detail="scope.row.Fri_A"
353
             :schedule-detail="scope.row.Fri_A"
354
+            :config="config"
355
+
329
           ></schedule-item>
356
           ></schedule-item>
330
         </el-table-column>
357
         </el-table-column>
331
         <el-table-column prop="Fri_N" label="晚" width="110" align="center" v-if="isShowWanShang">
358
         <el-table-column prop="Fri_N" label="晚" width="110" align="center" v-if="isShowWanShang">
332
           <schedule-item
359
           <schedule-item
333
             slot-scope="scope"
360
             slot-scope="scope"
334
             :schedule-detail="scope.row.Fri_N"
361
             :schedule-detail="scope.row.Fri_N"
362
+            :config="config"
363
+
335
           ></schedule-item>
364
           ></schedule-item>
336
         </el-table-column>
365
         </el-table-column>
337
       </el-table-column>
366
       </el-table-column>
346
           <schedule-item
375
           <schedule-item
347
             slot-scope="scope"
376
             slot-scope="scope"
348
             :schedule-detail="scope.row.Sat_M"
377
             :schedule-detail="scope.row.Sat_M"
378
+            :config="config"
379
+
349
           ></schedule-item>
380
           ></schedule-item>
350
         </el-table-column>
381
         </el-table-column>
351
         <el-table-column prop="Sat_A" label="下" width="110" align="center" v-if="isShowXiaWu">
382
         <el-table-column prop="Sat_A" label="下" width="110" align="center" v-if="isShowXiaWu">
352
           <schedule-item
383
           <schedule-item
353
             slot-scope="scope"
384
             slot-scope="scope"
354
             :schedule-detail="scope.row.Sat_A"
385
             :schedule-detail="scope.row.Sat_A"
386
+            :config="config"
387
+
355
           ></schedule-item>
388
           ></schedule-item>
356
         </el-table-column>
389
         </el-table-column>
357
         <el-table-column prop="Sat_N" label="晚" width="110" align="center" v-if="isShowWanShang">
390
         <el-table-column prop="Sat_N" label="晚" width="110" align="center" v-if="isShowWanShang">
358
           <schedule-item
391
           <schedule-item
359
             slot-scope="scope"
392
             slot-scope="scope"
360
             :schedule-detail="scope.row.Sat_N"
393
             :schedule-detail="scope.row.Sat_N"
394
+            :config="config"
395
+
361
           ></schedule-item>
396
           ></schedule-item>
362
         </el-table-column>
397
         </el-table-column>
363
       </el-table-column>
398
       </el-table-column>
372
           <schedule-item
407
           <schedule-item
373
             slot-scope="scope"
408
             slot-scope="scope"
374
             :schedule-detail="scope.row.Sun_M"
409
             :schedule-detail="scope.row.Sun_M"
410
+            :config="config"
411
+
375
           ></schedule-item>
412
           ></schedule-item>
376
         </el-table-column>
413
         </el-table-column>
377
         <el-table-column prop="Sun_A" label="下" min-width="110" align="center" v-if="isShowXiaWu">
414
         <el-table-column prop="Sun_A" label="下" min-width="110" align="center" v-if="isShowXiaWu">
378
           <schedule-item
415
           <schedule-item
379
             slot-scope="scope"
416
             slot-scope="scope"
380
             :schedule-detail="scope.row.Sun_A"
417
             :schedule-detail="scope.row.Sun_A"
418
+            :config="config"
419
+
381
           ></schedule-item>
420
           ></schedule-item>
382
         </el-table-column>
421
         </el-table-column>
383
         <el-table-column prop="Sun_N" label="晚" min-width="110" align="center" v-if="isShowWanShang">
422
         <el-table-column prop="Sun_N" label="晚" min-width="110" align="center" v-if="isShowWanShang">
384
           <schedule-item
423
           <schedule-item
385
             slot-scope="scope"
424
             slot-scope="scope"
386
             :schedule-detail="scope.row.Sun_N"
425
             :schedule-detail="scope.row.Sun_N"
426
+            :config="config"
427
+
387
           ></schedule-item>
428
           ></schedule-item>
388
         </el-table-column>
429
         </el-table-column>
389
       </el-table-column>
430
       </el-table-column>
390
-    
431
+
391
 <!--      <el-table-column-->
432
 <!--      <el-table-column-->
392
 <!--        prop="total"-->
433
 <!--        prop="total"-->
393
 <!--        label="总数"-->
434
 <!--        label="总数"-->
734
     partitionsProp: {
775
     partitionsProp: {
735
       type: Object,
776
       type: Object,
736
       dafault: {}
777
       dafault: {}
737
-    }
778
+    }, config: {
779
+      type: Object,
780
+      dafault: {}
781
+    },
782
+
738
   },
783
   },
739
   data() {
784
   data() {
740
     return {
785
     return {
1064
           var partitions = response.data.data.partitions
1109
           var partitions = response.data.data.partitions
1065
           console.log("partitions",partitions)
1110
           console.log("partitions",partitions)
1066
           this.theWeek.thisWeek = response.data.data.theWeek
1111
           this.theWeek.thisWeek = response.data.data.theWeek
1067
-          
1112
+
1068
           this.theWeek.lastWeek = this.theWeek.thisWeek - 1
1113
           this.theWeek.lastWeek = this.theWeek.thisWeek - 1
1069
           this.theWeek.nextWeek = this.theWeek.thisWeek + 1
1114
           this.theWeek.nextWeek = this.theWeek.thisWeek + 1
1070
           this.theWeek.nextTwoWeek = this.theWeek.thisWeek + 2
1115
           this.theWeek.nextTwoWeek = this.theWeek.thisWeek + 2
1305
               })
1350
               })
1306
             })
1351
             })
1307
           }
1352
           }
1308
-          
1353
+
1309
           this.scheduleZone.sort(this.compare('sort'))
1354
           this.scheduleZone.sort(this.compare('sort'))
1310
           this.source_scheduleZone = this.scheduleZone
1355
           this.source_scheduleZone = this.scheduleZone
1311
           console.log("34455555566666",this.source_scheduleZone)
1356
           console.log("34455555566666",this.source_scheduleZone)
1356
       this.getSchedulePatients();
1401
       this.getSchedulePatients();
1357
     },
1402
     },
1358
     getSummaries(param) {
1403
     getSummaries(param) {
1359
-    
1360
-     
1404
+
1405
+
1361
       const { columns, data } = param;
1406
       const { columns, data } = param;
1362
       const sums = [];
1407
       const sums = [];
1363
-    
1408
+
1364
       columns.forEach((column, index) => {
1409
       columns.forEach((column, index) => {
1365
-       
1410
+
1366
         if (index === 0 ) {
1411
         if (index === 0 ) {
1367
           sums[index] = "总数";
1412
           sums[index] = "总数";
1368
           return;
1413
           return;
1373
         }
1418
         }
1374
 
1419
 
1375
         const values = data.map(item => item[column.property]);
1420
         const values = data.map(item => item[column.property]);
1376
-        
1421
+
1377
         sums[index] = values.reduce((prev, curr) => {
1422
         sums[index] = values.reduce((prev, curr) => {
1378
           if (typeof curr["mode_id"] === "undefined") {
1423
           if (typeof curr["mode_id"] === "undefined") {
1379
             return prev;
1424
             return prev;
1451
       var Sun_N_One= 0
1496
       var Sun_N_One= 0
1452
 
1497
 
1453
       if(this.schedulesGroup!=null && this.schedulesGroup.length >0){
1498
       if(this.schedulesGroup!=null && this.schedulesGroup.length >0){
1454
-        
1499
+
1455
         for(let i=0;i<this.schedulesGroup.length;i++){
1500
         for(let i=0;i<this.schedulesGroup.length;i++){
1456
           //灌流
1501
           //灌流
1457
           //礼拜一上午
1502
           //礼拜一上午
1592
            //礼拜四上午
1637
            //礼拜四上午
1593
           if(this.schedulesGroup[i].schedule_week == 4 && this.schedulesGroup[i].schedule_type == 1 && this.schedulesGroup[i].mode_id == 2){
1638
           if(this.schedulesGroup[i].schedule_week == 4 && this.schedulesGroup[i].schedule_type == 1 && this.schedulesGroup[i].mode_id == 2){
1594
             Thurs_M_One = this.schedulesGroup[i].Count
1639
             Thurs_M_One = this.schedulesGroup[i].Count
1595
-            
1640
+
1596
           }
1641
           }
1597
            //礼拜四下午
1642
            //礼拜四下午
1598
            if(this.schedulesGroup[i].schedule_week == 4 && this.schedulesGroup[i].schedule_type == 2 && this.schedulesGroup[i].mode_id == 2){
1643
            if(this.schedulesGroup[i].schedule_week == 4 && this.schedulesGroup[i].schedule_type == 2 && this.schedulesGroup[i].mode_id == 2){
1642
            if(this.schedulesGroup[i].schedule_week == 7 && this.schedulesGroup[i].schedule_type == 3 && this.schedulesGroup[i].mode_id == 2){
1687
            if(this.schedulesGroup[i].schedule_week == 7 && this.schedulesGroup[i].schedule_type == 3 && this.schedulesGroup[i].mode_id == 2){
1643
             Sun_N_One = this.schedulesGroup[i].Count
1688
             Sun_N_One = this.schedulesGroup[i].Count
1644
           }
1689
           }
1645
-  
1690
+
1646
         }
1691
         }
1647
       }
1692
       }
1648
 
1693
 
1649
       sums[2] = "总人数:"+ sums[2]  +"人"+ " " + "灌流:"+Mon_M +"人" +" "+ "血滤:" + Mon_M_One +"人"
1694
       sums[2] = "总人数:"+ sums[2]  +"人"+ " " + "灌流:"+Mon_M +"人" +" "+ "血滤:" + Mon_M_One +"人"
1650
-      sums[3] = "总人数:"+ sums[3]  +"人"+ " " + "灌流:"+Mon_A +"人" +" "+ "血滤:" + Mon_A_One +"人" 
1651
-      sums[4] = "总人数:"+ sums[4]  +"人"+ " " + "灌流:"+Mon_N +"人" +" "+ "血滤:" + Mon_N_One +"人"  
1695
+      sums[3] = "总人数:"+ sums[3]  +"人"+ " " + "灌流:"+Mon_A +"人" +" "+ "血滤:" + Mon_A_One +"人"
1696
+      sums[4] = "总人数:"+ sums[4]  +"人"+ " " + "灌流:"+Mon_N +"人" +" "+ "血滤:" + Mon_N_One +"人"
1652
 
1697
 
1653
-      sums[5] = "总人数:"+ sums[5]  +"人"+ " " + "灌流:"+Tue_M +"人" +" "+ "血滤:" + Tue_M_One +"人"  
1654
-      sums[6] = "总人数:"+ sums[6]  +"人"+ " " + "灌流:"+Tue_A +"人" +" "+ "血滤:" + Tue_A_One +"人"  
1655
-      sums[7] = "总人数:"+ sums[7]  +"人"+ " " + "灌流:"+Tue_N +"人" +" "+ "血滤:" + Tue_N_One +"人"  
1698
+      sums[5] = "总人数:"+ sums[5]  +"人"+ " " + "灌流:"+Tue_M +"人" +" "+ "血滤:" + Tue_M_One +"人"
1699
+      sums[6] = "总人数:"+ sums[6]  +"人"+ " " + "灌流:"+Tue_A +"人" +" "+ "血滤:" + Tue_A_One +"人"
1700
+      sums[7] = "总人数:"+ sums[7]  +"人"+ " " + "灌流:"+Tue_N +"人" +" "+ "血滤:" + Tue_N_One +"人"
1656
 
1701
 
1657
-      sums[8] = "总人数:"+ sums[8]  +"人"+ " " + "灌流:"+Wed_M +"人" +" "+ "血滤:" + Wed_M_One +"人"  
1658
-      sums[9] = "总人数:"+ sums[9]  +"人"+ " " + "灌流:"+ Wed_A +"人" +" "+ "血滤:" + Wed_A_One +"人"  
1659
-      sums[10] = "总人数:"+ sums[10]  +"人"+ " " + "灌流:"+Wed_N +"人" +" "+ "血滤:" +Wed_N_One +"人"  
1702
+      sums[8] = "总人数:"+ sums[8]  +"人"+ " " + "灌流:"+Wed_M +"人" +" "+ "血滤:" + Wed_M_One +"人"
1703
+      sums[9] = "总人数:"+ sums[9]  +"人"+ " " + "灌流:"+ Wed_A +"人" +" "+ "血滤:" + Wed_A_One +"人"
1704
+      sums[10] = "总人数:"+ sums[10]  +"人"+ " " + "灌流:"+Wed_N +"人" +" "+ "血滤:" +Wed_N_One +"人"
1660
 
1705
 
1661
-      sums[11] = "总人数:"+ sums[11]  +"人"+ " " + "灌流:"+Thurs_M +"人" +" "+ "血滤:" + Thurs_M_One +"人"  
1662
-      sums[12] = "总人数:"+ sums[12]  +"人"+ " " + "灌流:"+Thurs_A +"人" +" "+ "血滤:" + Thurs_A_One +"人"  
1663
-      sums[13] = "总人数:"+ sums[13]  +"人"+ " " + "灌流:"+Thurs_N +"人" +" "+ "血滤:" + Thurs_N_One +"人"  
1706
+      sums[11] = "总人数:"+ sums[11]  +"人"+ " " + "灌流:"+Thurs_M +"人" +" "+ "血滤:" + Thurs_M_One +"人"
1707
+      sums[12] = "总人数:"+ sums[12]  +"人"+ " " + "灌流:"+Thurs_A +"人" +" "+ "血滤:" + Thurs_A_One +"人"
1708
+      sums[13] = "总人数:"+ sums[13]  +"人"+ " " + "灌流:"+Thurs_N +"人" +" "+ "血滤:" + Thurs_N_One +"人"
1664
 
1709
 
1665
-      sums[14] = "总人数:"+ sums[14]  +"人"+ " " + "灌流:"+Fri_M +"人" +" "+ "血滤:" + Fri_M_One +"人"  
1666
-      sums[15] = "总人数:"+ sums[15]  +"人"+ " " + "灌流:"+Fri_A +"人" +" "+ "血滤:" + Fri_A_One +"人"  
1667
-      sums[16] = "总人数:"+ sums[16]  +"人"+ " " + "灌流:"+Fri_N +"人" +" "+ "血滤:" + Fri_N_One +"人"  
1710
+      sums[14] = "总人数:"+ sums[14]  +"人"+ " " + "灌流:"+Fri_M +"人" +" "+ "血滤:" + Fri_M_One +"人"
1711
+      sums[15] = "总人数:"+ sums[15]  +"人"+ " " + "灌流:"+Fri_A +"人" +" "+ "血滤:" + Fri_A_One +"人"
1712
+      sums[16] = "总人数:"+ sums[16]  +"人"+ " " + "灌流:"+Fri_N +"人" +" "+ "血滤:" + Fri_N_One +"人"
1668
 
1713
 
1669
-      sums[17] = "总人数:"+ sums[17]  +"人"+ " " + "灌流:"+Sat_M +"人" +" "+ "血滤:" + Sat_M_One +"人"  
1670
-      sums[18] = "总人数:"+ sums[18]  +"人"+ " " + "灌流:"+Sat_A +"人" +" "+ "血滤:" + Sat_A_One +"人"  
1671
-      sums[19] = "总人数:"+ sums[19]  +"人"+ " " + "灌流:"+Sat_N +"人" +" "+ "血滤:" + Sat_N_One +"人"  
1714
+      sums[17] = "总人数:"+ sums[17]  +"人"+ " " + "灌流:"+Sat_M +"人" +" "+ "血滤:" + Sat_M_One +"人"
1715
+      sums[18] = "总人数:"+ sums[18]  +"人"+ " " + "灌流:"+Sat_A +"人" +" "+ "血滤:" + Sat_A_One +"人"
1716
+      sums[19] = "总人数:"+ sums[19]  +"人"+ " " + "灌流:"+Sat_N +"人" +" "+ "血滤:" + Sat_N_One +"人"
1672
 
1717
 
1673
-      sums[20] = "总人数:"+ sums[20]  +"人"+ " " + "灌流:"+Sun_M +"人" +" "+ "血滤:" + Sun_M_One +"人"  
1674
-      sums[21] = "总人数:"+ sums[21]  +"人"+ " " + "灌流:"+Sun_A +"人" +" "+ "血滤:" + Sun_A_One +"人"  
1675
-      sums[22] = "总人数:"+ sums[22]  +"人"+ " " + "灌流:"+Sun_N +"人" +" "+ "血滤:" + Sun_N_One +"人"  
1718
+      sums[20] = "总人数:"+ sums[20]  +"人"+ " " + "灌流:"+Sun_M +"人" +" "+ "血滤:" + Sun_M_One +"人"
1719
+      sums[21] = "总人数:"+ sums[21]  +"人"+ " " + "灌流:"+Sun_A +"人" +" "+ "血滤:" + Sun_A_One +"人"
1720
+      sums[22] = "总人数:"+ sums[22]  +"人"+ " " + "灌流:"+Sun_N +"人" +" "+ "血滤:" + Sun_N_One +"人"
1676
       return sums;
1721
       return sums;
1677
 
1722
 
1678
       }
1723
       }
1679
-      
1724
+
1680
       if(this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 0 && this.$store.getters.xt_user.template_info.org_id != 3877){
1725
       if(this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 0 && this.$store.getters.xt_user.template_info.org_id != 3877){
1681
         return sums;
1726
         return sums;
1682
       }
1727
       }
1749
           this.weekDays = response.data.data.days;
1794
           this.weekDays = response.data.data.days;
1750
           this.toDay = response.data.data.today;
1795
           this.toDay = response.data.data.today;
1751
           var theSchedules = response.data.data.schdules;
1796
           var theSchedules = response.data.data.schdules;
1752
-        
1797
+
1753
           var schedulesGroup = response.data.data.schedulesGroup
1798
           var schedulesGroup = response.data.data.schedulesGroup
1754
           this.schedulesGroup = schedulesGroup
1799
           this.schedulesGroup = schedulesGroup
1755
 
1800
 
1756
 
1801
 
1757
 
1802
 
1758
-     
1803
+
1759
           var that = this;
1804
           var that = this;
1760
 
1805
 
1761
           this.scheduleZone.forEach(function(zone, index) {
1806
           this.scheduleZone.forEach(function(zone, index) {
1840
               dialysis_machine_name:"",
1885
               dialysis_machine_name:"",
1841
               schedule_date:"",
1886
               schedule_date:"",
1842
               Count:0,
1887
               Count:0,
1843
-              
1888
+
1844
             };
1889
             };
1845
             that.scheduleZone[index].Thurs_M = {
1890
             that.scheduleZone[index].Thurs_M = {
1846
               mode_id: 0,
1891
               mode_id: 0,
3046
     }
3091
     }
3047
     var nowDate = year + "-" + month + "-" + day
3092
     var nowDate = year + "-" + month + "-" + day
3048
     var date = new Date(nowDate + " 00:00:00")
3093
     var date = new Date(nowDate + " 00:00:00")
3049
-   
3094
+
3050
     this.now_time = date.getTime()/1000
3095
     this.now_time = date.getTime()/1000
3051
     this.getAllZones()
3096
     this.getAllZones()
3052
 
3097