yq1 1 年之前
父節點
當前提交
346d7c561a

+ 0 - 1
src/router/index.js 查看文件

174
 
174
 
175
   otherManagement,
175
   otherManagement,
176
   qcd,
176
   qcd,
177
-
178
   device,
177
   device,
179
   org,
178
   org,
180
   data_upload,
179
   data_upload,

+ 9 - 9
src/router/modules/dialysis.js 查看文件

56
         noCache: true
56
         noCache: true
57
       }
57
       }
58
     },
58
     },
59
-    {
60
-      path: '/dialysis/patientDoctorAdvice',
61
-      component: () => import('@/xt_pages/dialysis/patientDoctorAdvice'),
62
-      name: '医嘱统计',
63
-      meta: {
64
-        title: '医嘱统计',
65
-        noCache: true
66
-      }
67
-    },
59
+    // {
60
+    //   path: '/dialysis/patientDoctorAdvice',
61
+    //   component: () => import('@/xt_pages/dialysis/patientDoctorAdvice'),
62
+    //   name: '医嘱统计',
63
+    //   meta: {
64
+    //     title: '医嘱统计',
65
+    //     noCache: true
66
+    //   }
67
+    // },
68
     {
68
     {
69
       path: '/dialysis/longDoctorAdvice',
69
       path: '/dialysis/longDoctorAdvice',
70
       component: () => import('@/xt_pages/dialysis/longDoctorAdvice'),
70
       component: () => import('@/xt_pages/dialysis/longDoctorAdvice'),

+ 253 - 253
src/router/modules/patient.js 查看文件

326
     }
326
     }
327
   },
327
   },
328
 
328
 
329
-  // {//评估工具/跌倒评估
330
-  //   path: '/patients/patient/:id/Fallassessment',
331
-  //   component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
332
-  //   hidden: true,
333
-  //   is_menu: false,
334
-  //   name: 'Fallassessment',
335
-  //   meta: {
336
-  //     title: 'firstDiseasePrint',
337
-  //     noCache: true
338
-  //   }
339
-  // },
340
-  // {//小儿跌倒风险评估
341
-  //   path: '/patients/patient/:id/pediatricFallAssessment',
342
-  //   component: () => import('@/xt_pages/user/evaluationtool/pediatricFallAssessment'),
343
-  //   hidden: true,
344
-  //   is_menu: false,
345
-  //   name: 'pediatricFallAssessment',
346
-  //   meta: {
347
-  //     title: 'pediatricFallAssessment',
348
-  //     noCache: true
349
-  //   }
350
-  // },
351
-  // {//压疮风险评估
352
-  //   path: '/patients/patient/:id/pressuresore',
353
-  //   component: () => import('@/xt_pages/user/evaluationtool/pressuresore'),
354
-  //   hidden: true,
355
-  //   is_menu: false,
356
-  //   name: 'pressuresore',
357
-  //   meta: {
358
-  //     title: 'pressuresore',
359
-  //     noCache: true
360
-  //   }
361
-  // },
362
-  // {//oh压疮评估
363
-  //   path: '/patients/patient/:id/OHpressuresore',
364
-  //   component: () => import('@/xt_pages/user/evaluationtool/OHpressuresore'),
365
-  //   hidden: true,
366
-  //   is_menu: false,
367
-  //   name: 'OHpressuresore',
368
-  //   meta: {
369
-  //     title: 'OHpressuresore',
370
-  //     noCache: true
371
-  //   }
372
-  // },
373
-  // {//日常生活能力评估
374
-  //   path: '/patients/patient/:id/dailyLife',
375
-  //   component: () => import('@/xt_pages/user/evaluationtool/dailyLife'),
376
-  //   hidden: true,
377
-  //   is_menu: false,
378
-  //   name: 'dailyLife',
379
-  //   meta: {
380
-  //     title: 'dailyLife',
381
-  //     noCache: true
382
-  //   }
383
-  // },
384
-  // {//导管脱落风险评估
385
-  //   path: '/patients/patient/:id/Cathetershedding',
386
-  //   component: () => import('@/xt_pages/user/evaluationtool/Cathetershedding'),
387
-  //   hidden: true,
388
-  //   is_menu: false,
389
-  //   name: 'Cathetershedding',
390
-  //   meta: {
391
-  //     title: 'Cathetershedding',
392
-  //     noCache: true
393
-  //   }
394
-  // },
395
-  // {//RASS及疼痛评估
396
-  //   path: '/patients/patient/:id/RassAssessment',
397
-  //   component: () => import('@/xt_pages/user/evaluationtool/RassAssessment'),
398
-  //   hidden: true,
399
-  //   is_menu: false,
400
-  //   name: 'RassAssessment',
401
-  //   meta: {
402
-  //     title: 'RassAssessment',
403
-  //     noCache: true
404
-  //   }
405
-  // },
406
-  // {//营养状况评估
407
-  //   path: '/patients/patient/:id/nourishmentAssessment',
408
-  //   component: () => import('@/xt_pages/user/evaluationtool/nourishmentAssessment'),
409
-  //   hidden: true,
410
-  //   is_menu: false,
411
-  //   name: 'nourishmentAssessment',
412
-  //   meta: {
413
-  //     title: 'nourishmentAssessment',
414
-  //     noCache: true
415
-  //   }
416
-  // },
417
-  // {//约束告知单
418
-  //   path: '/patients/patient/:id/Constraintnotification',
419
-  //   component: () => import('@/xt_pages/user/evaluationtool/Constraintnotification'),
420
-  //   hidden: true,
421
-  //   is_menu: false,
422
-  //   name: 'Constraintnotification',
423
-  //   meta: {
424
-  //     title: 'Constraintnotification',
425
-  //     noCache: true
426
-  //   }
427
-  // },
428
-  // {//心理评估
429
-  //   path: '/patients/patient/:id/mindAssessment',
430
-  //   component: () => import('@/xt_pages/user/evaluationtool/mindAssessment'),
431
-  //   hidden: true,
432
-  //   is_menu: false,
433
-  //   name: 'mindAssessment',
434
-  //   meta: {
435
-  //     title: 'mindAssessment',
436
-  //     noCache: true
437
-  //   }
438
-  // },
439
-  // {//瘙痒评估
440
-  //   path: '/patients/patient/:id/pruritusAssessment',
441
-  //   component: () => import('@/xt_pages/user/evaluationtool/pruritusAssessment'),
442
-  //   hidden: true,
443
-  //   is_menu: false,
444
-  //   name: 'pruritusAssessment',
445
-  //   meta: {
446
-  //     title: 'pruritusAssessment',
447
-  //     noCache: true
448
-  //   }
449
-  // },
450
-  // {//血液透析患者评估
451
-  //   path: '/patients/patient/:id/hemodialysis',
452
-  //   component: () => import('@/xt_pages/user/evaluationtool/hemodialysis'),
453
-  //   hidden: true,
454
-  //   is_menu: false,
455
-  //   name: 'hemodialysis',
456
-  //   meta: {
457
-  //     title: 'hemodialysis',
458
-  //     noCache: true
459
-  //   }
460
-  // },
461
-  // {//Glasgow昏迷评分量表
462
-  //   path: '/patients/patient/:id/Glasgow',
463
-  //   component: () => import('@/xt_pages/user/evaluationtool/Glasgow'),
464
-  //   hidden: true,
465
-  //   is_menu: false,
466
-  //   name: 'Glasgow',
467
-  //   meta: {
468
-  //     title: 'Glasgow',
469
-  //     noCache: true
470
-  //   }
471
-  // },
472
-  // {//肌力评估表
473
-  //   path: '/patients/patient/:id/Muscleforce',
474
-  //   component: () => import('@/xt_pages/user/evaluationtool/Muscleforce'),
475
-  //   hidden: true,
476
-  //   is_menu: false,
477
-  //   name: 'Muscleforce',
478
-  //   meta: {
479
-  //     title: 'Muscleforce',
480
-  //     noCache: true
481
-  //   }
482
-  // },
483
-  // {//跌倒评估历史评估
484
-  //   path: '/patients/tumble_history',
485
-  //   component: () => import('@/xt_pages/user/history/tumble_history'),
486
-  //   hidden: true,
487
-  //   is_menu: false,
488
-  //   name: 'tunele_history',
489
-  //   meta: {
490
-  //     title: 'tunele_history',
491
-  //     noCache: true
492
-  //   }
493
-  // },
494
-  // {//小儿跌倒评估历史评估
495
-  //   path: '/patients/Children_history',
496
-  //   component: () => import('@/xt_pages/user/history/Children_history'),
497
-  //   hidden: true,
498
-  //   is_menu: false,
499
-  //   name: 'Children_history',
500
-  //   meta: {
501
-  //     title: 'Children_history',
502
-  //     noCache: true
503
-  //   }
504
-  // },
505
-  // {//压疮历史评估
506
-  //   path: '/patients/Pressure_history',
507
-  //   component: () => import('@/xt_pages/user/history/Pressure_history'),
508
-  //   hidden: true,
509
-  //   is_menu: false,
510
-  //   name: 'Pressure_history',
511
-  //   meta: {
512
-  //     title: 'Pressure_history',
513
-  //     noCache: true
514
-  //   }
515
-  // },
516
-  // {//日常历史评估
517
-  //   path: '/patients/date_history',
518
-  //   component: () => import('@/xt_pages/user/history/date_history'),
519
-  //   hidden: true,
520
-  //   is_menu: false,
521
-  //   name: 'date_history',
522
-  //   meta: {
523
-  //     title: 'date_history',
524
-  //     noCache: true
525
-  //   }
526
-  // },
527
-  // {//导管脱落历史评估
528
-  //   path: '/patients/daoguan_history',
529
-  //   component: () => import('@/xt_pages/user/history/daoguan_history'),
530
-  //   hidden: true,
531
-  //   is_menu: false,
532
-  //   name: 'daoguan_history',
533
-  //   meta: {
534
-  //     title: 'daoguan_history',
535
-  //     noCache: true
536
-  //   }
537
-  // },
538
-  // {//RASS历史评估
539
-  //   path: '/patients/RASS_history',
540
-  //   component: () => import('@/xt_pages/user/history/RASS_history'),
541
-  //   hidden: true,
542
-  //   is_menu: false,
543
-  //   name: 'RASS_history',
544
-  //   meta: {
545
-  //     title: 'RASS_history',
546
-  //     noCache: true
547
-  //   }
548
-  // },
549
-  // {//营养历史评估
550
-  //   path: '/patients/nourishment_history',
551
-  //   component: () => import('@/xt_pages/user/history/nourishment_history'),
552
-  //   hidden: true,
553
-  //   is_menu: false,
554
-  //   name: 'nourishment_history',
555
-  //   meta: {
556
-  //     title: 'nourishment_history',
557
-  //     noCache: true
558
-  //   }
559
-  // },
560
-  // {//心理历史评估
561
-  //   path: '/patients/mind_history',
562
-  //   component: () => import('@/xt_pages/user/history/mind_history'),
563
-  //   hidden: true,
564
-  //   is_menu: false,
565
-  //   name: 'mind_history',
566
-  //   meta: {
567
-  //     title: 'mind_history',
568
-  //     noCache: true
569
-  //   }
570
-  // },
571
-  // {//瘙痒历史评估
572
-  //   path: '/patients/pruritus_history',
573
-  //   component: () => import('@/xt_pages/user/history/pruritus_history'),
574
-  //   hidden: true,
575
-  //   is_menu: false,
576
-  //   name: 'pruritus_history',
577
-  //   meta: {
578
-  //     title: 'pruritus_history',
579
-  //     noCache: true
580
-  //   }
581
-  // },
329
+  {//评估工具/跌倒评估
330
+    path: '/patients/patient/:id/Fallassessment',
331
+    component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
332
+    hidden: true,
333
+    is_menu: false,
334
+    name: 'Fallassessment',
335
+    meta: {
336
+      title: 'firstDiseasePrint',
337
+      noCache: true
338
+    }
339
+  },
340
+  {//小儿跌倒风险评估
341
+    path: '/patients/patient/:id/pediatricFallAssessment',
342
+    component: () => import('@/xt_pages/user/evaluationtool/pediatricFallAssessment'),
343
+    hidden: true,
344
+    is_menu: false,
345
+    name: 'pediatricFallAssessment',
346
+    meta: {
347
+      title: 'pediatricFallAssessment',
348
+      noCache: true
349
+    }
350
+  },
351
+  {//压疮风险评估
352
+    path: '/patients/patient/:id/pressuresore',
353
+    component: () => import('@/xt_pages/user/evaluationtool/pressuresore'),
354
+    hidden: true,
355
+    is_menu: false,
356
+    name: 'pressuresore',
357
+    meta: {
358
+      title: 'pressuresore',
359
+      noCache: true
360
+    }
361
+  },
362
+  {//oh压疮评估
363
+    path: '/patients/patient/:id/OHpressuresore',
364
+    component: () => import('@/xt_pages/user/evaluationtool/OHpressuresore'),
365
+    hidden: true,
366
+    is_menu: false,
367
+    name: 'OHpressuresore',
368
+    meta: {
369
+      title: 'OHpressuresore',
370
+      noCache: true
371
+    }
372
+  },
373
+  {//日常生活能力评估
374
+    path: '/patients/patient/:id/dailyLife',
375
+    component: () => import('@/xt_pages/user/evaluationtool/dailyLife'),
376
+    hidden: true,
377
+    is_menu: false,
378
+    name: 'dailyLife',
379
+    meta: {
380
+      title: 'dailyLife',
381
+      noCache: true
382
+    }
383
+  },
384
+  {//导管脱落风险评估
385
+    path: '/patients/patient/:id/Cathetershedding',
386
+    component: () => import('@/xt_pages/user/evaluationtool/Cathetershedding'),
387
+    hidden: true,
388
+    is_menu: false,
389
+    name: 'Cathetershedding',
390
+    meta: {
391
+      title: 'Cathetershedding',
392
+      noCache: true
393
+    }
394
+  },
395
+  {//RASS及疼痛评估
396
+    path: '/patients/patient/:id/RassAssessment',
397
+    component: () => import('@/xt_pages/user/evaluationtool/RassAssessment'),
398
+    hidden: true,
399
+    is_menu: false,
400
+    name: 'RassAssessment',
401
+    meta: {
402
+      title: 'RassAssessment',
403
+      noCache: true
404
+    }
405
+  },
406
+  {//营养状况评估
407
+    path: '/patients/patient/:id/nourishmentAssessment',
408
+    component: () => import('@/xt_pages/user/evaluationtool/nourishmentAssessment'),
409
+    hidden: true,
410
+    is_menu: false,
411
+    name: 'nourishmentAssessment',
412
+    meta: {
413
+      title: 'nourishmentAssessment',
414
+      noCache: true
415
+    }
416
+  },
417
+  {//约束告知单
418
+    path: '/patients/patient/:id/Constraintnotification',
419
+    component: () => import('@/xt_pages/user/evaluationtool/Constraintnotification'),
420
+    hidden: true,
421
+    is_menu: false,
422
+    name: 'Constraintnotification',
423
+    meta: {
424
+      title: 'Constraintnotification',
425
+      noCache: true
426
+    }
427
+  },
428
+  {//心理评估
429
+    path: '/patients/patient/:id/mindAssessment',
430
+    component: () => import('@/xt_pages/user/evaluationtool/mindAssessment'),
431
+    hidden: true,
432
+    is_menu: false,
433
+    name: 'mindAssessment',
434
+    meta: {
435
+      title: 'mindAssessment',
436
+      noCache: true
437
+    }
438
+  },
439
+  {//瘙痒评估
440
+    path: '/patients/patient/:id/pruritusAssessment',
441
+    component: () => import('@/xt_pages/user/evaluationtool/pruritusAssessment'),
442
+    hidden: true,
443
+    is_menu: false,
444
+    name: 'pruritusAssessment',
445
+    meta: {
446
+      title: 'pruritusAssessment',
447
+      noCache: true
448
+    }
449
+  },
450
+  {//血液透析患者评估
451
+    path: '/patients/patient/:id/hemodialysis',
452
+    component: () => import('@/xt_pages/user/evaluationtool/hemodialysis'),
453
+    hidden: true,
454
+    is_menu: false,
455
+    name: 'hemodialysis',
456
+    meta: {
457
+      title: 'hemodialysis',
458
+      noCache: true
459
+    }
460
+  },
461
+  {//Glasgow昏迷评分量表
462
+    path: '/patients/patient/:id/Glasgow',
463
+    component: () => import('@/xt_pages/user/evaluationtool/Glasgow'),
464
+    hidden: true,
465
+    is_menu: false,
466
+    name: 'Glasgow',
467
+    meta: {
468
+      title: 'Glasgow',
469
+      noCache: true
470
+    }
471
+  },
472
+  {//肌力评估表
473
+    path: '/patients/patient/:id/Muscleforce',
474
+    component: () => import('@/xt_pages/user/evaluationtool/Muscleforce'),
475
+    hidden: true,
476
+    is_menu: false,
477
+    name: 'Muscleforce',
478
+    meta: {
479
+      title: 'Muscleforce',
480
+      noCache: true
481
+    }
482
+  },
483
+  {//跌倒评估历史评估
484
+    path: '/patients/tumble_history',
485
+    component: () => import('@/xt_pages/user/history/tumble_history'),
486
+    hidden: true,
487
+    is_menu: false,
488
+    name: 'tunele_history',
489
+    meta: {
490
+      title: 'tunele_history',
491
+      noCache: true
492
+    }
493
+  },
494
+  {//小儿跌倒评估历史评估
495
+    path: '/patients/Children_history',
496
+    component: () => import('@/xt_pages/user/history/Children_history'),
497
+    hidden: true,
498
+    is_menu: false,
499
+    name: 'Children_history',
500
+    meta: {
501
+      title: 'Children_history',
502
+      noCache: true
503
+    }
504
+  },
505
+  {//压疮历史评估
506
+    path: '/patients/Pressure_history',
507
+    component: () => import('@/xt_pages/user/history/Pressure_history'),
508
+    hidden: true,
509
+    is_menu: false,
510
+    name: 'Pressure_history',
511
+    meta: {
512
+      title: 'Pressure_history',
513
+      noCache: true
514
+    }
515
+  },
516
+  {//日常历史评估
517
+    path: '/patients/date_history',
518
+    component: () => import('@/xt_pages/user/history/date_history'),
519
+    hidden: true,
520
+    is_menu: false,
521
+    name: 'date_history',
522
+    meta: {
523
+      title: 'date_history',
524
+      noCache: true
525
+    }
526
+  },
527
+  {//导管脱落历史评估
528
+    path: '/patients/daoguan_history',
529
+    component: () => import('@/xt_pages/user/history/daoguan_history'),
530
+    hidden: true,
531
+    is_menu: false,
532
+    name: 'daoguan_history',
533
+    meta: {
534
+      title: 'daoguan_history',
535
+      noCache: true
536
+    }
537
+  },
538
+  {//RASS历史评估
539
+    path: '/patients/RASS_history',
540
+    component: () => import('@/xt_pages/user/history/RASS_history'),
541
+    hidden: true,
542
+    is_menu: false,
543
+    name: 'RASS_history',
544
+    meta: {
545
+      title: 'RASS_history',
546
+      noCache: true
547
+    }
548
+  },
549
+  {//营养历史评估
550
+    path: '/patients/nourishment_history',
551
+    component: () => import('@/xt_pages/user/history/nourishment_history'),
552
+    hidden: true,
553
+    is_menu: false,
554
+    name: 'nourishment_history',
555
+    meta: {
556
+      title: 'nourishment_history',
557
+      noCache: true
558
+    }
559
+  },
560
+  {//心理历史评估
561
+    path: '/patients/mind_history',
562
+    component: () => import('@/xt_pages/user/history/mind_history'),
563
+    hidden: true,
564
+    is_menu: false,
565
+    name: 'mind_history',
566
+    meta: {
567
+      title: 'mind_history',
568
+      noCache: true
569
+    }
570
+  },
571
+  {//瘙痒历史评估
572
+    path: '/patients/pruritus_history',
573
+    component: () => import('@/xt_pages/user/history/pruritus_history'),
574
+    hidden: true,
575
+    is_menu: false,
576
+    name: 'pruritus_history',
577
+    meta: {
578
+      title: 'pruritus_history',
579
+      noCache: true
580
+    }
581
+  },
582
   // {//血管通路图 pruritus_history
582
   // {//血管通路图 pruritus_history
583
   //   path: '/patients/patient/:id/angiogram',
583
   //   path: '/patients/patient/:id/angiogram',
584
   //   component: () => import('@/xt_pages/user/angiogram'),
584
   //   component: () => import('@/xt_pages/user/angiogram'),

+ 1 - 1
src/xt_pages/DepositManagement/DepositSearch.vue 查看文件

133
         if (res.data.state == 1){
133
         if (res.data.state == 1){
134
           this.total = res.data.data.total;
134
           this.total = res.data.data.total;
135
           this.tableData = res.data.data.list;
135
           this.tableData = res.data.data.list;
136
+          console.log('ccccc',this.tableData);
136
         }
137
         }
137
       })
138
       })
138
     },
139
     },
147
         console.log("this.users",this.users)
148
         console.log("this.users",this.users)
148
       })
149
       })
149
     },
150
     },
150
-
151
     // 查询操作
151
     // 查询操作
152
     search() {
152
     search() {
153
       this.keyword = this.tmp_keyword
153
       this.keyword = this.tmp_keyword

+ 4 - 4
src/xt_pages/outpatientCharges/invoicePrint.vue 查看文件

24
           <print-eight v-if="org_id == 10387" :paramsObj="invoiceParams"></print-eight>
24
           <print-eight v-if="org_id == 10387" :paramsObj="invoiceParams"></print-eight>
25
           <PrintNight v-if="org_id == 10210" :paramsObj="invoiceParams"></PrintNight>
25
           <PrintNight v-if="org_id == 10210" :paramsObj="invoiceParams"></PrintNight>
26
           <!-- <PrintTen v-if="org_id == 10375 ||org_id == 0 " :paramsObj="invoiceParams"></PrintTen> -->
26
           <!-- <PrintTen v-if="org_id == 10375 ||org_id == 0 " :paramsObj="invoiceParams"></PrintTen> -->
27
-          <printtwelve :paramsObj="invoiceParams"  v-if="org_id == 10480 "></printtwelve>
27
+          <printtwelve :paramsObj="invoiceParams"  v-if="org_id == 10480"></printtwelve>
28
         </div>
28
         </div>
29
     </div>
29
     </div>
30
 
30
 
69
   import PrintEight from "./invoiceTemplate/printEight";
69
   import PrintEight from "./invoiceTemplate/printEight";
70
   import PrintNight from "./invoiceTemplate/PrintNight";
70
   import PrintNight from "./invoiceTemplate/PrintNight";
71
   import PrintTen from './invoiceTemplate/printTen.vue'
71
   import PrintTen from './invoiceTemplate/printTen.vue'
72
-  import PrintEleven from './invoiceTemplate/printEleven.vue'
73
-  import printtwelve from './invoiceTemplate/printtwelve.vue'
74
-  import printthirteen from './invoiceTemplate/printthirteen.vue'
72
+  import PrintEleven from './invoiceTemplate/printEleven'
73
+  import printtwelve from './invoiceTemplate/printtwelve'
74
+  import printthirteen from './invoiceTemplate/printthirteen'
75
   export default {
75
   export default {
76
     name: "invoicePrint",
76
     name: "invoicePrint",
77
     components: {
77
     components: {

+ 1 - 1
src/xt_pages/outpatientCharges/invoiceTemplate/printthirteen.vue 查看文件

85
         </div>
85
         </div>
86
         <div style="flex: 1;border-left: 1px solid black; padding: 5px 0;">¥:{{ list.medfee_sumamt }}</div>
86
         <div style="flex: 1;border-left: 1px solid black; padding: 5px 0;">¥:{{ list.medfee_sumamt }}</div>
87
       </div>
87
       </div>
88
-      <div style="border:1px solid black;border-top: none;height: 80px;">
88
+      <div style="border:1px solid black;border-top: none;min-height: 80px;">
89
         <div style="padding: 5px 0; position: relative;">
89
         <div style="padding: 5px 0; position: relative;">
90
           <div v-if="index == pageArr.length - 1">
90
           <div v-if="index == pageArr.length - 1">
91
             <div style="display:flex;">
91
             <div style="display:flex;">

+ 2 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printtwelve.vue 查看文件

80
         <div :style="{position: 'absolute',top:(80 + (index * 450))  + 'px',left:'30px'}">
80
         <div :style="{position: 'absolute',top:(80 + (index * 450))  + 'px',left:'30px'}">
81
           {{paramsObj.name}}
81
           {{paramsObj.name}}
82
         </div>
82
         </div>
83
-        <!-- <div :style="{position: 'absolute',top:(80 + (index * 450))  + 'px',left:'200px'}">
83
+        <div :style="{position: 'absolute',top:(80 + (index * 450))  + 'px',left:'200px'}">
84
           {{list.order.fa_piao_number}}
84
           {{list.order.fa_piao_number}}
85
-        </div> -->
85
+        </div>
86
       </div>
86
       </div>
87
 
87
 
88
       <div style="display: flex;">
88
       <div style="display: flex;">

+ 2 - 8
src/xt_pages/outpatientDoctorStation/checkTemplate/printThree.vue 查看文件

65
               : ""
65
               : ""
66
           }}
66
           }}
67
         </div>
67
         </div>
68
-        <!-- <div style="margin-bottom:20px;padding:0 10px;">体格检查:
69
-                    <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
70
-                    <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>
71
-                    <span>呼吸:{{ history.breathing ? history.breathing + '次/分' : '/' }}</span>
72
-                    <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
73
-                </div> -->
74
         <div style="margin-bottom: 20px; padding: 0 10px">
68
         <div style="margin-bottom: 20px; padding: 0 10px">
75
           临床诊断:{{ getDiagnosis(advicePrint[0].info.diagnosis) }}
69
           临床诊断:{{ getDiagnosis(advicePrint[0].info.diagnosis) }}
76
         </div>
70
         </div>
105
           </div>
99
           </div>
106
         </div>
100
         </div>
107
       </div>
101
       </div>
108
-   
102
+
109
     </div>
103
     </div>
110
     </div>
104
     </div>
111
 
105
 
220
       getPrescriptionPrint(params).then((response) => {
214
       getPrescriptionPrint(params).then((response) => {
221
         if (response.data.state == 1) {
215
         if (response.data.state == 1) {
222
           var advicePrint = response.data.data.advicePrint;
216
           var advicePrint = response.data.data.advicePrint;
223
-          // console.log("adviceprint9999", advicePrint);
217
+          console.log("adviceprint9999", advicePrint);
224
           this.advicePrint = advicePrint;
218
           this.advicePrint = advicePrint;
225
           this.prescriptions = advicePrint;
219
           this.prescriptions = advicePrint;
226
           // console.log("处方222222", this.prescriptions);
220
           // console.log("处方222222", this.prescriptions);

+ 2 - 2
src/xt_pages/outpatientDoctorStation/treatPrint.vue 查看文件

16
         <!-- 此下条为本地开发下页面 -->
16
         <!-- 此下条为本地开发下页面 -->
17
         <!-- <printTwo v-if="org_id == 4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo> -->
17
         <!-- <printTwo v-if="org_id == 4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo> -->
18
         <!-- org_id != 10138 && org_id != 10278 && org_id !=4&& org_id !=0 -->
18
         <!-- org_id != 10138 && org_id != 10278 && org_id !=4&& org_id !=0 -->
19
-        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4 && org_id != 10375 && org_id != 0 " v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
20
-        <printThree v-if=" org_id == 10375 || org_id==0" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printThree>
19
+        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4 && org_id != 10375" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
20
+        <printThree v-if=" org_id == 10375 " v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printThree>
21
         <printTwo v-if="org_id == 10138 || org_id == 10278 || org_id ==4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id" :newHisPatient="newHisPatient"></printTwo>
21
         <printTwo v-if="org_id == 10138 || org_id == 10278 || org_id ==4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id" :newHisPatient="newHisPatient"></printTwo>
22
       </div>
22
       </div>
23
   </div>
23
   </div>

+ 1 - 0
src/xt_pages/outpatientRegistration/registrationHistory.vue 查看文件

356
                     :total="total"
356
                     :total="total"
357
             >
357
             >
358
             </el-pagination>
358
             </el-pagination>
359
+            <!-- 挂号历史详情 -->
359
             <el-dialog
360
             <el-dialog
360
                     title="挂号历史详情"
361
                     title="挂号历史详情"
361
                     :visible.sync="dialogVisible"
362
                     :visible.sync="dialogVisible"

+ 62 - 62
src/xt_pages/user/components/PatientSidebar.vue 查看文件

207
             },
207
             },
208
           ]
208
           ]
209
         },
209
         },
210
-        // {
211
-        //   name: '5',
212
-        //   label: '评估工具',
213
-        //   children: [
214
-        //     {
215
-        //       name: '5-1',
216
-        //       label: '跌倒评估'
217
-        //     },
218
-        //     {
219
-        //       name: '5-2',
220
-        //       label: '小儿跌倒风险评估'
221
-        //     },
222
-        //     {
223
-        //       name: '5-3',
224
-        //       label: '压疮风险评估'
225
-        //     },
226
-        //     {
227
-        //       name: '5-4',
228
-        //       label: 'OH压疮评估'
229
-        //     },
230
-        //     {
231
-        //       name: '5-5',
232
-        //       label: '日常生活能力评估'
233
-        //     },
234
-        //     {
235
-        //       name: '5-6',
236
-        //       label: '导管脱落风险评估'
237
-        //     },
238
-        //     {
239
-        //       name: '5-7',
240
-        //       label: 'RASS及疼痛评估'
241
-        //     },
242
-        //     {
243
-        //       name: '5-8',
244
-        //       label: '营养状况评估'
245
-        //     },
246
-        //     {
247
-        //       name: '5-9',
248
-        //       label: '约束告知单'
249
-        //     },
250
-        //     {
251
-        //       name: '5-10',
252
-        //       label: '心理评估'
253
-        //     },
254
-        //     {
255
-        //       name: '5-11',
256
-        //       label: '瘙痒评估'
257
-        //     },
258
-        //     {
259
-        //       name: '5-12',
260
-        //       label: '血液透析患者评估'
261
-        //     },
262
-        //     {
263
-        //       name: '5-13',
264
-        //       label: 'Glasgow昏迷评分量表'
265
-        //     },
266
-        //     {
267
-        //       name: '5-14',
268
-        //       label: '肌力评估表'
269
-        //     },
270
-        //   ]
271
-        // },
210
+        {
211
+          name: '5',
212
+          label: '评估工具',
213
+          children: [
214
+            {
215
+              name: '5-1',
216
+              label: '跌倒评估'
217
+            },
218
+            {
219
+              name: '5-2',
220
+              label: '小儿跌倒风险评估'
221
+            },
222
+            {
223
+              name: '5-3',
224
+              label: '压疮风险评估'
225
+            },
226
+            {
227
+              name: '5-4',
228
+              label: 'OH压疮评估'
229
+            },
230
+            {
231
+              name: '5-5',
232
+              label: '日常生活能力评估'
233
+            },
234
+            {
235
+              name: '5-6',
236
+              label: '导管脱落风险评估'
237
+            },
238
+            {
239
+              name: '5-7',
240
+              label: 'RASS及疼痛评估'
241
+            },
242
+            {
243
+              name: '5-8',
244
+              label: '营养状况评估'
245
+            },
246
+            {
247
+              name: '5-9',
248
+              label: '约束告知单'
249
+            },
250
+            {
251
+              name: '5-10',
252
+              label: '心理评估'
253
+            },
254
+            {
255
+              name: '5-11',
256
+              label: '瘙痒评估'
257
+            },
258
+            {
259
+              name: '5-12',
260
+              label: '血液透析患者评估'
261
+            },
262
+            {
263
+              name: '5-13',
264
+              label: 'Glasgow昏迷评分量表'
265
+            },
266
+            {
267
+              name: '5-14',
268
+              label: '肌力评估表'
269
+            },
270
+          ]
271
+        },
272
 
272
 
273
       ],
273
       ],
274
       name:""
274
       name:""

+ 11 - 6
src/xt_pages/user/evaluationtool/Glasgow.vue 查看文件

358
       this.dele_id=row.id
358
       this.dele_id=row.id
359
     },
359
     },
360
     Glas_dele(){
360
     Glas_dele(){
361
-      this.append=false
362
-      this.Glas_gzdayin=false
363
-      this.Glasadd_show=true
364
-      this.Glas_baoxiao=false
365
-      this.cancel_num=0
366
-      this.dele_dialogVisible=true
361
+      if(this.dele_id !=''){
362
+        this.append=false
363
+        this.Glas_gzdayin=false
364
+        this.Glasadd_show=true
365
+        this.Glas_baoxiao=false
366
+        this.cancel_num=0
367
+        this.dele_dialogVisible=true
368
+      }else{
369
+        this.$message('请选择需要删除的记录')
370
+      }
371
+
367
     },
372
     },
368
     deleclick(){
373
     deleclick(){
369
       for(let i=0;i<this.history_Glasgow.length;i++){
374
       for(let i=0;i<this.history_Glasgow.length;i++){

+ 10 - 5
src/xt_pages/user/evaluationtool/Muscleforce.vue 查看文件

338
       this.dele_id=row.id
338
       this.dele_id=row.id
339
     },
339
     },
340
     muscle_dele(){
340
     muscle_dele(){
341
-      this.muscle_gsdayin=false
342
-      this.baocun_quxiao = false
343
-      this.append=false
344
-      this.muscle_pinggu=null
345
-      this.dele_dialogVisible=true
341
+      if(this.dele_id !=''){
342
+        this.muscle_gsdayin=false
343
+        this.baocun_quxiao = false
344
+        this.append=false
345
+        this.muscle_pinggu=null
346
+        this.dele_dialogVisible=true
347
+      }else{
348
+        this.$message('请选择需要删除的记录')
349
+      }
350
+
346
     },
351
     },
347
     deleclick(){
352
     deleclick(){
348
       for(let i=0;i<this.history_muscle.length;i++){
353
       for(let i=0;i<this.history_muscle.length;i++){

+ 9 - 8
src/xt_pages/user/evaluationtool/OHpressuresore.vue 查看文件

328
         }else{
328
         }else{
329
           checkboxs[i].checked = false
329
           checkboxs[i].checked = false
330
         }
330
         }
331
-        // if(checkboxs[i].checked == true){
332
-        //   if(ball==checkboxs[i].value){
333
-        //     checkboxs[i].checked=false
334
-        //   }
335
-        // }
336
       }
331
       }
337
     },
332
     },
338
     bingligu(e){
333
     bingligu(e){
416
       this.baocun_open=1
411
       this.baocun_open=1
417
       this.cancel_num=1
412
       this.cancel_num=1
418
     },
413
     },
414
+    // 选择需要删除的记录
419
     dele_click(row, column, event){
415
     dele_click(row, column, event){
420
       this.dele_id=row.id
416
       this.dele_id=row.id
421
     },
417
     },
422
     //删除
418
     //删除
423
     dele_OH(){
419
     dele_OH(){
424
-      this.zsgy_open=0
425
-      this.append=false
426
-      this.dele_dialogVisible=true
420
+      if(this.dele_id !=''){
421
+        this.zsgy_open=0
422
+        this.append=false
423
+        this.dele_dialogVisible=true
424
+      }else{
425
+        this.$message('请选择需要删除的记录')
426
+      }
427
+
427
     },
428
     },
428
     deleclick(){
429
     deleclick(){
429
       for(let i=0;i<this.history_OH.length;i++){
430
       for(let i=0;i<this.history_OH.length;i++){

+ 10 - 6
src/xt_pages/user/evaluationtool/hemodialysis.vue 查看文件

1388
       this.dele_dialogVisible=false
1388
       this.dele_dialogVisible=false
1389
     },
1389
     },
1390
     hemod_dele(){
1390
     hemod_dele(){
1391
-      this.append=false
1392
-      this.gsdayin=false
1393
-      this.baocunqx=false
1394
-      this.hemodadd_show=true
1395
-      this.cancel_num=0
1396
-      this.dele_dialogVisible=true
1391
+      if(this.dele_id !=''){
1392
+        this.append=false
1393
+        this.gsdayin=false
1394
+        this.baocunqx=false
1395
+        this.hemodadd_show=true
1396
+        this.cancel_num=0
1397
+        this.dele_dialogVisible=true
1398
+      }else{
1399
+        this.$message('请选择需要删除的记录')
1400
+      }
1397
     },
1401
     },
1398
     hemod_click(row,column, event){
1402
     hemod_click(row,column, event){
1399
       this.dele_id=row.id
1403
       this.dele_id=row.id

+ 130 - 133
src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue 查看文件

3
   <div class="patient-container">
3
   <div class="patient-container">
4
       <patient-sidebar :id="patient_id" defaultActive="5-2"></patient-sidebar>
4
       <patient-sidebar :id="patient_id" defaultActive="5-2"></patient-sidebar>
5
       <div>
5
       <div>
6
-          <div class="patient-app-container advice-container app-container">
7
-              <div class='content_top' style="width: 100%;margin-bottom: 20px;">
8
-                  <div style="font-size: 20px;">小儿高危跌倒坠床评估表</div>
9
-                  <div>
10
-                      <el-button @click="childerHistory">历史评分</el-button>
11
-                      <el-button @click="dialogVisible=true">告知书</el-button>
12
-                  </div>
13
-              </div>
14
-
15
-              <div>
16
-                <table class="table" id="table" border="1" style="width: 100%;">
17
-                  <thead>
18
-                    <tr>
19
-                    <th style="width:10%;">项目</th>
20
-                    <th style="width: 22.4%;">4分</th>
21
-                    <th style="width: 22.4%;">3分</th>
22
-                    <th style="width: 22.4%;">2分</th>
23
-                    <th style="width: 22.4%;">1分</th>
24
-                    </tr>
25
-                  </thead>
26
-                  <tbody>
27
-                    <tr class="bg_color">
28
-                      <td class="start">年龄</td>
29
-                      <td v-for="(item,index) in age" :key="index">
30
-                        <div class="jiange">
31
-                          <label><input name="ball" class="checked1" type="checkbox" :value="item.value" @click="ageChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
32
-                        </div>
33
-                      </td>
34
-                    </tr>
35
-                    <tr>
36
-                      <td style="border-right: none;">
37
-                        <div class="bing">性别</div>
38
-                      </td>
39
-                      <td colspan="2" style="border-left: none;"></td>
40
-                      <td v-for="(item,index) in sex" :key="index">
41
-                        <div class="jiange">
42
-                          <label><input name="ball" class="checked2" type="checkbox" :value="item.value" @click="sexChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
43
-                        </div>
44
-                      </td>
45
-                    </tr>
46
-                    <tr class="bg_color">
47
-                      <td class="start">诊断</td>
48
-                      <td v-for="(item,index) in diagnosis" :key="index">
49
-                        <div class="jiange">
50
-                          <label><input name="ball" class="checked3" type="checkbox" :value="item.value" @click="diagnosischange($event,item.value)"/>&nbsp;{{item.lable}}</label>
51
-                        </div>
52
-                      </td>
53
-
54
-                    </tr>
55
-                    <tr>
56
-                      <td style="border-right: none;">
57
-                          <div class="bing">认知障碍</div>
58
-                      </td>
59
-                      <td style="border-left: none;"></td>
60
-                      <td v-for="(item,index) in cognize" :key="index">
61
-                        <div class="jiange">
62
-                          <label><input name="ball" class="checked4" type="checkbox" :value="item.value" @click="cognizeChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
63
-                        </div>
64
-                      </td>
6
+        <div class="patient-app-container advice-container app-container">
7
+          <div class='content_top' style="width: 100%;margin-bottom: 20px;">
8
+            <div style="font-size: 20px;">小儿高危跌倒坠床评估表</div>
9
+            <div>
10
+              <el-button @click="childerHistory">历史评分</el-button>
11
+              <el-button @click="dialogVisible=true">告知书</el-button>
12
+            </div>
13
+          </div>
65
 
14
 
66
-                    </tr>
67
-                    <tr class="bg_color">
68
-                      <td class="start">环境因素</td>
69
-                      <td v-for="(item,index) in environment" :key="index">
70
-                        <div class="jiange">
71
-                          <label><input name="ball" class="checked5" type="checkbox" :value="item.value" @click="environChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
72
-                        </div>
73
-                      </td>
15
+          <div>
16
+            <table class="table" id="table" border="1" style="width: 100%;">
17
+              <thead>
18
+                <tr>
19
+                <th style="width:10%;">项目</th>
20
+                <th style="width: 22.4%;">4分</th>
21
+                <th style="width: 22.4%;">3分</th>
22
+                <th style="width: 22.4%;">2分</th>
23
+                <th style="width: 22.4%;">1分</th>
24
+                </tr>
25
+              </thead>
26
+              <tbody>
27
+                <tr class="bg_color">
28
+                  <td class="start">年龄</td>
29
+                  <td v-for="(item,index) in age" :key="index">
30
+                    <div class="jiange">
31
+                      <label><input name="ball" class="checked1" type="checkbox" :value="item.value" @click="ageChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
32
+                    </div>
33
+                  </td>
34
+                </tr>
35
+                <tr>
36
+                  <td style="border-right: none;">
37
+                    <div class="bing">性别</div>
38
+                  </td>
39
+                  <td colspan="2" style="border-left: none;"></td>
40
+                  <td v-for="(item,index) in sex" :key="index">
41
+                    <div class="jiange">
42
+                      <label><input name="ball" class="checked2" type="checkbox" :value="item.value" @click="sexChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
43
+                    </div>
44
+                  </td>
45
+                </tr>
46
+                <tr class="bg_color">
47
+                  <td class="start">诊断</td>
48
+                  <td v-for="(item,index) in diagnosis" :key="index">
49
+                    <div class="jiange">
50
+                      <label><input name="ball" class="checked3" type="checkbox" :value="item.value" @click="diagnosischange($event,item.value)"/>&nbsp;{{item.lable}}</label>
51
+                    </div>
52
+                  </td>
74
 
53
 
75
-                    </tr>
76
-                    <tr>
77
-                      <td style="border-right: none;">
78
-                          <div class="bing">药物使用</div>
79
-                      </td>
80
-                      <td style="border-left: none;"></td>
81
-                      <td v-for="(item,index) in medicine" :key="index">
82
-                        <div class="jiange">
83
-                          <label><input name="ball" class="checked6" type="checkbox" :value="item.value" @click="medicineChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
84
-                        </div>
85
-                      </td>
54
+                </tr>
55
+                <tr>
56
+                  <td style="border-right: none;">
57
+                      <div class="bing">认知障碍</div>
58
+                  </td>
59
+                  <td style="border-left: none;"></td>
60
+                  <td v-for="(item,index) in cognize" :key="index">
61
+                    <div class="jiange">
62
+                      <label><input name="ball" class="checked4" type="checkbox" :value="item.value" @click="cognizeChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
63
+                    </div>
64
+                  </td>
86
 
65
 
87
-                    </tr>
88
-                    <tr class="bg_color">
89
-                    <td colspan="5" style="height: 30px;"></td>
66
+                </tr>
67
+                <tr class="bg_color">
68
+                  <td class="start">环境因素</td>
69
+                  <td v-for="(item,index) in environment" :key="index">
70
+                    <div class="jiange">
71
+                      <label><input name="ball" class="checked5" type="checkbox" :value="item.value" @click="environChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
72
+                    </div>
73
+                  </td>
90
 
74
 
91
-                    </tr>
92
-                    <tr>
93
-                    <td colspan="5">
94
-                      <div class="content_top" >
95
-                        <div>
96
-                            <div class="bottoms">
97
-                            <span>总分:</span>
98
-                            <el-input v-model="pedia_Totalpoints" style="width: 100px;"></el-input>分
99
-                            </div>
75
+                </tr>
76
+                <tr>
77
+                  <td style="border-right: none;">
78
+                      <div class="bing">药物使用</div>
79
+                  </td>
80
+                  <td style="border-left: none;"></td>
81
+                  <td v-for="(item,index) in medicine" :key="index">
82
+                    <div class="jiange">
83
+                      <label><input name="ball" class="checked6" type="checkbox" :value="item.value" @click="medicineChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
84
+                    </div>
85
+                  </td>
100
 
86
 
101
-                            <div class="bottoms">
102
-                                <span>评估日期:</span>
103
-                                <el-date-picker
104
-                                    v-model="value1"
105
-                                    type="date"
106
-                                    placeholder="选择日期"
107
-                                    :clearable="false"
108
-                                    style="width: 150px;">
109
-                                </el-date-picker>
110
-                            </div>
87
+                </tr>
88
+                <tr class="bg_color">
89
+                <td colspan="5" style="height: 30px;"></td>
111
 
90
 
112
-                            <div class="bottoms">
113
-                                <span>评估人:</span>
114
-                                <el-select v-model="value" placeholder="请选择" >
115
-                                    <el-option
116
-                                    v-for="item in options"
117
-                                    :key="item.value"
118
-                                    :label="item.label"
119
-                                    :value="item.value"
120
-                                    style="width:150px;">
121
-                                    </el-option>
122
-                                </el-select>
123
-                            </div>
91
+                </tr>
92
+                <tr>
93
+                <td colspan="5">
94
+                  <div class="content_top" >
95
+                    <div>
96
+                        <div class="bottoms">
97
+                        <span>总分:</span>
98
+                        <el-input v-model="pedia_Totalpoints" style="width: 100px;"></el-input>分
99
+                        </div>
124
 
100
 
101
+                        <div class="bottoms">
102
+                            <span>评估日期:</span>
103
+                            <el-date-picker
104
+                                v-model="value1"
105
+                                type="date"
106
+                                placeholder="选择日期"
107
+                                :clearable="false"
108
+                                style="width: 150px;">
109
+                            </el-date-picker>
125
                         </div>
110
                         </div>
126
-                        <div style="margin:5px 10px;">
127
-                          <el-button type="primary">确认</el-button>
111
+
112
+                        <div class="bottoms">
113
+                            <span>评估人:</span>
114
+                            <el-select v-model="value" placeholder="请选择" >
115
+                                <el-option
116
+                                v-for="item in options"
117
+                                :key="item.value"
118
+                                :label="item.label"
119
+                                :value="item.value"
120
+                                style="width:150px;">
121
+                                </el-option>
122
+                            </el-select>
128
                         </div>
123
                         </div>
129
-                      </div>
130
-                    </td>
131
-                    </tr>
132
-                  </tbody>
133
-                </table>
134
 
124
 
135
-              </div>
125
+                    </div>
126
+                    <div style="margin:5px 10px;">
127
+                      <el-button type="primary">确认</el-button>
128
+                    </div>
129
+                  </div>
130
+                </td>
131
+                </tr>
132
+              </tbody>
133
+            </table>
136
 
134
 
137
           </div>
135
           </div>
136
+
137
+        </div>
138
       </div>
138
       </div>
139
       <div>
139
       <div>
140
-          <el-dialog
141
-              title="内容详情"
142
-              :visible.sync="dialogVisible"
143
-              width="50%"
140
+        <el-dialog
141
+            title="内容详情"
142
+            :visible.sync="dialogVisible"
143
+            width="50%"
144
 
144
 
145
-              class="status_change">
146
-              <div>
147
-                  <Falloutbedprint></Falloutbedprint>
148
-              </div>
149
-
150
-          </el-dialog>
145
+            class="status_change">
146
+            <div>
147
+                <Falloutbedprint></Falloutbedprint>
148
+            </div>
151
 
149
 
150
+        </el-dialog>
152
       </div>
151
       </div>
153
   </div>
152
   </div>
154
 </template>
153
 </template>
206
      for(let i=0;i<checkboxs.length;i++){
205
      for(let i=0;i<checkboxs.length;i++){
207
       if(val==checkboxs[i].value){
206
       if(val==checkboxs[i].value){
208
         this.agevalue = val
207
         this.agevalue = val
209
-        checkboxs[i].value
210
         checkboxs[i].checked=true
208
         checkboxs[i].checked=true
211
       }else{
209
       }else{
212
         checkboxs[i].checked = false
210
         checkboxs[i].checked = false
213
       }
211
       }
212
+
214
      }
213
      }
215
     },
214
     },
216
     sexChange(e,val){
215
     sexChange(e,val){
219
         if(val==checkboxs[i].value ){
218
         if(val==checkboxs[i].value ){
220
           console.log('vvvv',val,'bbbb',e.target.checked);
219
           console.log('vvvv',val,'bbbb',e.target.checked);
221
           this.sexvalue = val
220
           this.sexvalue = val
222
-
223
           checkboxs[i].checked=true
221
           checkboxs[i].checked=true
224
-
225
         }else{
222
         }else{
226
           checkboxs[i].checked = false
223
           checkboxs[i].checked = false
227
         }
224
         }

+ 29 - 91
src/xt_pages/user/evaluationtool/pruritusAssessment.vue 查看文件

33
                     </label>
33
                     </label>
34
                     <!-- quan_change -->
34
                     <!-- quan_change -->
35
                     <label @change="handleCheckedCitiesChange">
35
                     <label @change="handleCheckedCitiesChange">
36
-                      <input type="checkbox" class="check" name="ball" value="全身" />&nbsp;全身
36
+                      <input type="checkbox" class="checkbox" name="ball" value="全身" />&nbsp;全身
37
                     </label>
37
                     </label>
38
                   </div>
38
                   </div>
39
                 </td>
39
                 </td>
149
       options:[],
149
       options:[],
150
       value:'',
150
       value:'',
151
       value1:'',
151
       value1:'',
152
+      num:0
152
     }
153
     }
153
   },
154
   },
154
   methods:{
155
   methods:{
155
     handleCheckedCitiesChange(e){
156
     handleCheckedCitiesChange(e){
156
       const ball = e.target.value
157
       const ball = e.target.value
157
-      // const checkboxs=document.getElementsByClassName('checkbox1')
158
+      // var num = null
159
+      const checkboxs=document.getElementsByClassName('checkbox')
158
       const checkbox2=document.getElementsByClassName('check')
160
       const checkbox2=document.getElementsByClassName('check')
159
-      // if(checkboxs[0].checked==true){
160
-      //   // if(e.target.value == '全身'){
161
-      //     this.checked_points = 3
162
-      //   // }else{
163
-      //   //   var checked =1
164
-      //   //   this.checked_points = this.checked_points + checked
165
-      //   // }
166
-      // }else{
167
-      //   // if(e.target.value == '全身'){
168
-      //     this.checked_points = 0
169
-      //   // }else{
170
-      //   //   var checked =1
171
-      //   //   this.checked_points = this.checked_points - checked
172
-      //   // }
173
-      // }
174
-      // for(let i=0;i<checkbox2.length;i++){
175
-      //   if(ball=='全身'){
176
-      //     if(ball==checkbox2[i].value){
177
-      //       console.log('1111',this.checked_points);
178
-      //       checkbox2[i].checked=true
179
-      //       this.checked_points = 3
180
-      //     }else{
181
-      //       console.log('2222',this.checked_points);
182
-      //       checkbox2[i].checked=false
183
-      //     }
184
-      //   }else{
185
-      //     if(checkbox2[i].value=='全身'){
186
-      //       console.log('3333',this.checked_points);
187
-      //       this.checked_points=0
188
-      //       checkbox2[i].checked=false
189
-      //     }else{
190
-      //       if(checkbox2[i].value==ball){
191
-      //         console.log('4444',this.checked_points);
192
-      //         var checked =1
193
-      //         e.target.checked=true
194
-      //         this.checked_points = this.checked_points + checked
195
-      //         // return this.checked_points
196
-      //       }
197
 
161
 
198
-      //     }
199
-
200
-      //   }
201
-      //   // if(checkboxs[0].checked==true){
202
-      //   //   this.checked_points = 3
203
-      //   //   checkbox2[i].checked=false
204
-      //   // }else{
205
-      //   //   if(ball==checkbox2[i].value){
206
-      //   //     console.log('2222',checkbox2[1].value);
207
-      //   //     checkboxs[0].checked=false
208
-      //   //     checkbox2[i].checked=true
209
-      //   //     var checked =1
210
-      //   //     this.checked_points = this.checked_points + checked
211
-      //   //   }
212
-      //   // }
213
-      // }
214
-      // console.log('1111111',ball)
215
-      // for(let i=0;i<checkbox2.length;i++){
216
-      //   if(ball=='全身'){
217
-      //     checkboxs[0].checked=true
218
-      //     checkbox2[i].checked=false
219
-      //     this.checked_points = 3
220
-      //   }else{
221
-      //     var checked =1
222
-      //     checkboxs[0].checked=false
223
-      //     e.target.checked=true
224
-      //     this.checked_points = this.checked_points + checked
225
-      //   }
226
-      // }
227
-
228
-      // if(ball=='全身'){
229
-      //   checkboxs[0].checked=true
230
-      // }else{
231
-      //   checkboxs[0].checked=false
232
-      // }
233
-
234
-      if(e.target.checked==true){
235
-        if(e.target.value == '全身'){
162
+      for(let i=0;i<checkbox2.length;i++){
163
+        if(ball=='全身'){
164
+          checkboxs[0].checked=true
165
+          checkbox2[i].checked=false
236
           this.checked_points = 3
166
           this.checked_points = 3
167
+          this.num=0
237
         }else{
168
         }else{
238
-          // if(this.checked_points<3){
239
-            var checked =1
240
-            this.checked_points = this.checked_points + checked
241
-          // }else{
242
-          //   this.checked_points = 3
243
-          // }
244
-        }
245
-      }else{
246
-        if(e.target.value == '全身'){
247
-          this.checked_points = 0
248
-        }else{
249
-          var checked =1
250
-          this.checked_points = this.checked_points - checked
169
+          if(ball==checkbox2[i].value){
170
+            // 得分归0
171
+            if(checkboxs[0].checked==true&&ball!='全身'){
172
+              this.checked_points = 0
173
+            }
174
+            console.log('cccc',this.num);
175
+            // 选择非全身时不能超过3个
176
+            if(this.num<3){
177
+              var checked =1
178
+              this.num++
179
+              this.checked_points = this.checked_points + checked
180
+              checkbox2[i].checked =true
181
+              checkboxs[0].checked =false//取消全身的选中
182
+              return this.num
183
+            }else{
184
+              checkbox2[i].checked =false//选择超过3个时无法选中
185
+              checkboxs[0].checked =false//取消全身的选中
186
+            }
187
+          }
251
         }
188
         }
252
       }
189
       }
190
+      return this.checked_points
253
     },
191
     },
254
     quan_change(e){
192
     quan_change(e){
255
       const ball=e.target.value
193
       const ball=e.target.value

+ 46 - 132
src/xt_pages/workforce/Patientshift.vue 查看文件

74
                 <td>
74
                 <td>
75
                   <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
75
                   <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
76
                     <div v-if="hidder_chuang==true ? getkongchuang(it,item.list)>0 : ' '"><!--'background':getcolors(item)>0?'bisque':'#30b8e394'  'background':item2.mode_id==2||item2.mode_id==3?'bisque':'#30b8e394'-->
76
                     <div v-if="hidder_chuang==true ? getkongchuang(it,item.list)>0 : ' '"><!--'background':getcolors(item)>0?'bisque':'#30b8e394'  'background':item2.mode_id==2||item2.mode_id==3?'bisque':'#30b8e394'-->
77
-                      <div  v-if="ite.partition_id==it.zone_id" class="huanzhekuais" 
78
-                      :style="{'height':!hidder ? '110px': '45px','overflow': 'auto'}" 
79
-                      @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event,item)" draggable="true"   @dragover="allowDrop"> 
77
+                      <div  v-if="ite.partition_id==it.zone_id" class="huanzhekuais"
78
+                      :style="{'height':!hidder ? '110px': '45px','overflow': 'auto'}"
79
+                      @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event,item)" draggable="true"   @dragover="allowDrop">
80
                         <div class="huanzhekuai">
80
                         <div class="huanzhekuai">
81
                           <div v-for="(item2) in item.list" style="width: 100%;">
81
                           <div v-for="(item2) in item.list" style="width: 100%;">
82
                             <template>
82
                             <template>
87
                                     <span style="font-size: 15px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
87
                                     <span style="font-size: 15px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
88
                                     <span style="font-size: 15px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
88
                                     <span style="font-size: 15px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
89
                                     <span style="font-size: 14px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
89
                                     <span style="font-size: 14px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
90
-                                  </span> 
90
+                                  </span>
91
                                 </div>
91
                                 </div>
92
                               </div>
92
                               </div>
93
-                            </template> 
93
+                            </template>
94
                           </div>
94
                           </div>
95
-                        </div> 
96
-                                          
95
+                        </div>
96
+
97
                       </div>
97
                       </div>
98
                       <div v-if="ite.partition_id==it.zone_id" style="display: inline-block;width: 125px;text-align: center;">
98
                       <div v-if="ite.partition_id==it.zone_id" style="display: inline-block;width: 125px;text-align: center;">
99
                         {{ it.number }}
99
                         {{ it.number }}
104
               </tr>
104
               </tr>
105
             </tbody>
105
             </tbody>
106
           </table>
106
           </table>
107
-          
107
+
108
         </div>
108
         </div>
109
-       
109
+
110
         <!-- 双击弹窗 -->
110
         <!-- 双击弹窗 -->
111
         <el-dialog
111
         <el-dialog
112
           title="提示"
112
           title="提示"
146
                         {{ huanzhe.zeng_fenqu }}-{{ huanzhe.zeng_chuang }}
146
                         {{ huanzhe.zeng_fenqu }}-{{ huanzhe.zeng_chuang }}
147
                       </span><br>
147
                       </span><br>
148
                       <span style="font-size: 15px;margin-bottom: 5px;">{{getBloodAccess(huanzhe.boolen_id)}}</span><br>
148
                       <span style="font-size: 15px;margin-bottom: 5px;">{{getBloodAccess(huanzhe.boolen_id)}}</span><br>
149
-                      <span style="font-size: 14px;margin-bottom: 5px;">{{huanzhe.schedule_remark}}</span> 
149
+                      <span style="font-size: 14px;margin-bottom: 5px;">{{huanzhe.schedule_remark}}</span>
150
                     </div>
150
                     </div>
151
                      <div style="margin-left: 13px;">{{getZoneName(xian_fenqu.zone_id)}}-{{xian_fenqu.number}}</div>
151
                      <div style="margin-left: 13px;">{{getZoneName(xian_fenqu.zone_id)}}-{{xian_fenqu.number}}</div>
152
                   </div>
152
                   </div>
153
-                  
153
+
154
                   <div>
154
                   <div>
155
                     <div style="margin: 10px 30px 10px 10px;background: rgb(74 197 235);height: 110px;width: 125px;text-align: center;">
155
                     <div style="margin: 10px 30px 10px 10px;background: rgb(74 197 235);height: 110px;width: 125px;text-align: center;">
156
                       <span >{{genghuan.name}}</span><span v-if="genghuan.mode_id !=''">({{genghuan.mode_id}})</span><br>
156
                       <span >{{genghuan.name}}</span><span v-if="genghuan.mode_id !=''">({{genghuan.mode_id}})</span><br>
164
                     <div style="margin-left: 13px;">{{getZoneName(g_xian_fenqu.zone_id)}}-{{g_xian_fenqu.number}}</div>
164
                     <div style="margin-left: 13px;">{{getZoneName(g_xian_fenqu.zone_id)}}-{{g_xian_fenqu.number}}</div>
165
                   </div>
165
                   </div>
166
                 </div>
166
                 </div>
167
-               
167
+
168
               </div>
168
               </div>
169
             </div>
169
             </div>
170
           </div>
170
           </div>
294
               inactive-text="OFF">
294
               inactive-text="OFF">
295
             </el-switch>
295
             </el-switch>
296
           </div>
296
           </div>
297
-         
297
+
298
         </div>
298
         </div>
299
         <div class="table_panel"  v-for="(item, index) in tableData" :key="index">
299
         <div class="table_panel"  v-for="(item, index) in tableData" :key="index">
300
           <table class="table">
300
           <table class="table">
310
                 <td>
310
                 <td>
311
                   <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
311
                   <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
312
                     <div v-if="hidder_chuang==true ? getkongchuang(it,item.list)>0 : ' '">
312
                     <div v-if="hidder_chuang==true ? getkongchuang(it,item.list)>0 : ' '">
313
-                      <div  v-if="ite.partition_id==it.zone_id" class="huanzhekuais" 
314
-                      :style="{'height':!hidder ? '110px': '45px','overflow': 'auto'}" 
315
-                      @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event)" draggable="true"   @dragover="allowDrop"> 
313
+                      <div  v-if="ite.partition_id==it.zone_id" class="huanzhekuais"
314
+                      :style="{'height':!hidder ? '110px': '45px','overflow': 'auto'}"
315
+                      @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event)" draggable="true"   @dragover="allowDrop">
316
                         <div class="huanzhekuai">
316
                         <div class="huanzhekuai">
317
                           <div v-for="(item2) in item.list" :key="item2.bed_id"   draggable="true" >
317
                           <div v-for="(item2) in item.list" :key="item2.bed_id"   draggable="true" >
318
                             <template >
318
                             <template >
323
                                     <span style="font-size: 15px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
323
                                     <span style="font-size: 15px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
324
                                     <span style="font-size: 15px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
324
                                     <span style="font-size: 15px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
325
                                     <span style="font-size: 14px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
325
                                     <span style="font-size: 14px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
326
-                                  </span> 
326
+                                  </span>
327
                                 </div>
327
                                 </div>
328
                               </div>
328
                               </div>
329
-                            </template> 
329
+                            </template>
330
                           </div>
330
                           </div>
331
-                        </div> 
332
-                                          
331
+                        </div>
332
+
333
                       </div>
333
                       </div>
334
                       <div v-if="ite.partition_id==it.zone_id" style="display: inline-block;width: 125px;text-align: center;">
334
                       <div v-if="ite.partition_id==it.zone_id" style="display: inline-block;width: 125px;text-align: center;">
335
                         {{ it.number }}
335
                         {{ it.number }}
340
               </tr>
340
               </tr>
341
             </tbody>
341
             </tbody>
342
           </table>
342
           </table>
343
-          
343
+
344
         </div>
344
         </div>
345
     </div>
345
     </div>
346
   </div>
346
   </div>
425
         { value: 3, label: "晚上" }
425
         { value: 3, label: "晚上" }
426
       ],
426
       ],
427
       zones:[],
427
       zones:[],
428
-     
428
+
429
       total: [],
429
       total: [],
430
       list: [],
430
       list: [],
431
       loading: false,
431
       loading: false,
501
       }
501
       }
502
       return arr
502
       return arr
503
     },
503
     },
504
-    
504
+
505
     drop(e,val,value){
505
     drop(e,val,value){
506
       this.allowDrop(e)
506
       this.allowDrop(e)
507
       var bedid = ''
507
       var bedid = ''
535
           zonename = this.partitionArr[y].name
535
           zonename = this.partitionArr[y].name
536
         }
536
         }
537
       }
537
       }
538
-      
538
+
539
       if(e.target.innerText == ''){
539
       if(e.target.innerText == ''){
540
         this.schedule={
540
         this.schedule={
541
           schedule_date:this.date,
541
           schedule_date:this.date,
559
           currentData_quhao:this.cur_drag_info.quhao,
559
           currentData_quhao:this.cur_drag_info.quhao,
560
           currentData_chaung:this.cur_drag_info.chaung,
560
           currentData_chaung:this.cur_drag_info.chaung,
561
           patient_id:this.cur_drag_info.patient_id,
561
           patient_id:this.cur_drag_info.patient_id,
562
-
563
         }
562
         }
564
         console.log('8888',this.currentData);
563
         console.log('8888',this.currentData);
565
         this.setScheduleTwo(this.cur_drag_info.id)
564
         this.setScheduleTwo(this.cur_drag_info.id)
572
         //     this.$message.error(response.data.msg);
571
         //     this.$message.error(response.data.msg);
573
         //   } else {
572
         //   } else {
574
         //     var schedule = response.data.data.schedule;
573
         //     var schedule = response.data.data.schedule;
575
-            
574
+
576
         //     this.getlist()
575
         //     this.getlist()
577
         //   }
576
         //   }
578
         // })
577
         // })
613
               listl[i].name = this.cur_drag_info.name
612
               listl[i].name = this.cur_drag_info.name
614
               listl[i].new_name=this.cur_drag_info.name
613
               listl[i].new_name=this.cur_drag_info.name
615
               listl[i].partition_id =this.cur_drag_info.partition_id
614
               listl[i].partition_id =this.cur_drag_info.partition_id
616
-              
615
+
617
               listl[i].mode_id = this.cur_drag_info.mode_id
616
               listl[i].mode_id = this.cur_drag_info.mode_id
618
               listl[i].patient_id = this.cur_drag_info.patient_id
617
               listl[i].patient_id = this.cur_drag_info.patient_id
619
               listl[i].schedule_date=this.cur_drag_info.schedule_date
618
               listl[i].schedule_date=this.cur_drag_info.schedule_date
628
             }
627
             }
629
           }
628
           }
630
           return this.list
629
           return this.list
631
-          // this.getlist()
632
-          // for(let i=0;i<this.list.length;i++){
633
-          //   if(this.currentData.bed_id==this.list[i].bed_id){
634
-          //     this.list[i].patient_id=this.cur_drag_info.patient_id
635
-          //     this.list[i].id= response.data.new_sch.id
636
-          //     // console.log('3333',this.list);
637
-          //     // listl.splice(i,1)
638
-          //   }
639
-          // }
640
-          // console.log('6666',this.list);
641
-          // return this.list
642
-          // 
643
-          // for(let i=0;i<listl.length;i++){
644
-          //   if(this.currentData.bed_id==listl[i].bed_id){
645
-          //     listl[i].patient_id= this.cur_drag_info.patient_id
646
-          //     console.log('bbbb',this.currentData);
647
-          //   }
648
-          //   if(this.cur_drag_info.bed_id==listl[i].bed_id){
649
-          //    listl.splice(i,1)
650
-          //     console.log('bbbb',listl);
651
-          //   }
652
-          // }
653
-
654
-          // for(let i=0;i<listl.length;i++){
655
-          //   if(this.cur_drag_info.name== listl[i].name){
656
-          //     listl[i].bed_id = ''
657
-              
658
-          //   }
659
-          //   if(this.currentData.currentData_name== listl[i].name){
660
-          //     listl[i].bed_id = this.currentData.bed_id
661
-          //     listl[i].id = response.data.data.new_sch.id
662
-          //     console.log('nnnn',listl[i],this.cur_drag_info.bed_id);
663
-          //   }
664
-          // }
665
-
666
-          // for(let i=0;i<listl.length;i++){
667
-          //   if(this.currentData.bed_id== listl[i].bed_id){
668
-          //     // listl.splice(i,1)
669
-          //     listl[i].id=response.data.data.new_sch.id
670
-          //     // listl[i].bed_id = this.currentData.bed_id
671
-          //     listl[i].name = this.cur_drag_info.name
672
-          //     listl[i].new_name=this.cur_drag_info.name
673
-          //     listl[i].partition_id =this.cur_drag_info.partition_id
674
-              
675
-          //     listl[i].mode_id = this.cur_drag_info.mode_id
676
-          //     listl[i].patient_id = this.cur_drag_info.patient_id
677
-          //     listl[i].schedule_date=this.cur_drag_info.schedule_date
678
-          //     listl[i].schedule_type =this.cur_drag_info.schedule_type
679
-
680
-          //     listl[i].schedule_week = this.cur_drag_info.schedule_week
681
-          //     listl[i].order.DeviceNumber.number = this.cur_drag_info.chaung
682
-          //     listl[i].order.DeviceNumber.zone.name=this.cur_drag_info.quhao
683
-          //     listl[i].order.schedule_remark=this.cur_drag_info.schedule_remark
684
-          //     listl[i].order.blood_access_id=this.cur_drag_info.blood_access_id
685
-          //     // listl.splice(i,1)
686
-          //     console.log('vvvv',listl[i]);
687
-          //     // return listl
688
-          //   }
689
-          //   console.log('cur_drag_info.bed_id',this.cur_drag_info.bed_id);
690
-          //   if(this.cur_drag_info.bed_id== listl[i].bed_id){
691
-          //     this.list.splice(i,1)
692
-          //     // listl[i].name=''
693
-          //     // listl[i].bed_id=''
694
-          //     // listl[i].new_name=''
695
-          //     // listl[i].mode_id=''
696
-          //     // listl[i].patient_id=''
697
-          //     // listl[i].order.DeviceNumber.number = ''
698
-          //     // listl[i].order.DeviceNumber.zone.name= ''
699
-          //     // listl[i].order.schedule_remark=''
700
-          //     // listl[i].order.blood_access_id=''
701
-          //     listl.splice(i,1)
702
-          //     console.log('this.list',listl[i],this.list);
703
-          //     // return listl
704
-          //   }
705
-          //   // if(this.cur_drag_info.patient_id== listl[i].patient_id){
706
-          //   //   // listl[i].bed_id = this.currentData.bed_id
707
-          //   //   this.lsit=listl.splice(i,1)
708
-          //   //   console.log('nnnn',listl,this.currentData.bed_id);
709
-          //   //   return this.list
710
-          //   // }
711
-           
712
-          // }
713
-          // console.log('pppp',this.list);
714
-          // return this.list
715
-          // this.getlist();
716
         }
630
         }
717
       });
631
       });
718
     },
632
     },
734
           this.$message.success("交换成功");
648
           this.$message.success("交换成功");
735
           this.tipDialogVisible = false
649
           this.tipDialogVisible = false
736
           this.tipDialogVisibleThree = false
650
           this.tipDialogVisibleThree = false
737
-          
651
+
738
           const listl=this.list
652
           const listl=this.list
739
           for(let i=0;i<listl.length;i++){
653
           for(let i=0;i<listl.length;i++){
740
             if(this.cur_drag_info.patient_id== listl[i].patient_id){
654
             if(this.cur_drag_info.patient_id== listl[i].patient_id){
741
-              listl[i].bed_id = this.currentData.bed_id 
655
+              listl[i].bed_id = this.currentData.bed_id
742
               console.log('mmmm',listl,this.currentData);
656
               console.log('mmmm',listl,this.currentData);
743
             }
657
             }
744
             if(this.currentData.patient_id== listl[i].patient_id){
658
             if(this.currentData.patient_id== listl[i].patient_id){
748
           // this.getlist();
662
           // this.getlist();
749
         }
663
         }
750
       });
664
       });
751
-      
665
+
752
     },
666
     },
753
     // 交换空白
667
     // 交换空白
754
     setScheduleTwo(id_two){
668
     setScheduleTwo(id_two){
769
         const listl=this.list
683
         const listl=this.list
770
         for(let i=0;i<listl.length;i++){
684
         for(let i=0;i<listl.length;i++){
771
           if(schedule.patient_id== listl[i].patient_id){
685
           if(schedule.patient_id== listl[i].patient_id){
772
-            listl[i].bed_id = schedule.bed_id 
686
+            listl[i].bed_id = schedule.bed_id
773
             listl[i].id = schedule.id
687
             listl[i].id = schedule.id
774
             console.log('mmmm',listl[i].id);
688
             console.log('mmmm',listl[i].id);
775
             // console.log('kkkk',this.currentData);
689
             // console.log('kkkk',this.currentData);
799
           }
713
           }
800
         }
714
         }
801
       }
715
       }
802
-     
716
+
803
       // console.log('bbbb',e.target.innerText);
717
       // console.log('bbbb',e.target.innerText);
804
       // console.log('4444',val);
718
       // console.log('4444',val);
805
       console.log('5555',this.cur_drag_info);
719
       console.log('5555',this.cur_drag_info);
871
           for(let i=0;i<list.length;i++){
785
           for(let i=0;i<list.length;i++){
872
            const new_name = 'new_name'
786
            const new_name = 'new_name'
873
            list[i][new_name]=this.nameSplit(list[i].name)
787
            list[i][new_name]=this.nameSplit(list[i].name)
874
-           
788
+
875
           }
789
           }
876
           // console.log('9999',list);
790
           // console.log('9999',list);
877
           if (list != null && list.length > 0) {
791
           if (list != null && list.length > 0) {
884
                   schedule_date: item.schedule_date,
798
                   schedule_date: item.schedule_date,
885
                   zones: [],
799
                   zones: [],
886
                   list:[],
800
                   list:[],
887
-                  
801
+
888
                 }
802
                 }
889
               }
803
               }
890
             })
804
             })
915
         }
829
         }
916
       })
830
       })
917
     },
831
     },
918
-    
832
+
919
     getTimeOne(val) {
833
     getTimeOne(val) {
920
       if (val == '') {
834
       if (val == '') {
921
         return ''
835
         return ''
923
         return uParseTime(val, '{y}-{m}-{d}')
837
         return uParseTime(val, '{y}-{m}-{d}')
924
       }
838
       }
925
     },
839
     },
926
-   
840
+
927
     // getPatientName(schedule_type, partition_id) {
841
     // getPatientName(schedule_type, partition_id) {
928
     //   var str = ''
842
     //   var str = ''
929
     //   var arr = []
843
     //   var arr = []
997
       return name
911
       return name
998
     },
912
     },
999
     getZonePatient(partition_id,schedule_type){
913
     getZonePatient(partition_id,schedule_type){
1000
-       
914
+
1001
        var arr = []
915
        var arr = []
1002
        if(this.list!=null && this.list.length >0){
916
        if(this.list!=null && this.list.length >0){
1003
          for(let i=0;i<this.list.length;i++){
917
          for(let i=0;i<this.list.length;i++){
1006
             }
920
             }
1007
          }
921
          }
1008
        }
922
        }
1009
- 
923
+
1010
        if(arr.length >0){
924
        if(arr.length >0){
1011
           return arr.length
925
           return arr.length
1012
        }else{
926
        }else{
1013
          return ""
927
          return ""
1014
        }
928
        }
1015
- 
929
+
1016
     },
930
     },
1017
     // 双击打开弹窗
931
     // 双击打开弹窗
1018
     db_click(e,val){
932
     db_click(e,val){
1037
             this.huanzhe.bed_id = this.list[i].bed_id
951
             this.huanzhe.bed_id = this.list[i].bed_id
1038
             // return this.huanzhe
952
             // return this.huanzhe
1039
             console.log('kkkk',this.huanzhe);
953
             console.log('kkkk',this.huanzhe);
1040
-          }     
954
+          }
1041
           // 双击弹窗的右侧第二个默认数据
955
           // 双击弹窗的右侧第二个默认数据
1042
           if(this.chuangwei==this.list[i].bed_id){
956
           if(this.chuangwei==this.list[i].bed_id){
1043
             console.log('xxxxx',this.chuangwei);
957
             console.log('xxxxx',this.chuangwei);
1070
       }else{
984
       }else{
1071
         this.centerDialogVisible=false
985
         this.centerDialogVisible=false
1072
       }
986
       }
1073
-      
987
+
1074
     },
988
     },
1075
     // 双击弹窗分区
989
     // 双击弹窗分区
1076
     dialogfenqu(e){
990
     dialogfenqu(e){
1108
               obj.number=numberlist[i].number
1022
               obj.number=numberlist[i].number
1109
               obj.zone_id=numberlist[i].zone_id
1023
               obj.zone_id=numberlist[i].zone_id
1110
               this.subzone.push(obj)
1024
               this.subzone.push(obj)
1111
-              this.chuangwei = this.subzone[0].id 
1025
+              this.chuangwei = this.subzone[0].id
1112
               this.g_xian_fenqu=this.subzone[0]
1026
               this.g_xian_fenqu=this.subzone[0]
1113
             }
1027
             }
1114
           }
1028
           }
1137
               // return this.genghuan
1051
               // return this.genghuan
1138
               // console.log('qqqqqq',this.list[i].bed_id);
1052
               // console.log('qqqqqq',this.list[i].bed_id);
1139
             }
1053
             }
1140
-            
1054
+
1141
           }
1055
           }
1142
         }
1056
         }
1143
       })
1057
       })
1181
           this.genghuan.genghuan_remark =''
1095
           this.genghuan.genghuan_remark =''
1182
           this.genghuan.bed_id = ''
1096
           this.genghuan.bed_id = ''
1183
           this.genghuan.patient_id = ''
1097
           this.genghuan.patient_id = ''
1184
-          
1098
+
1185
         }
1099
         }
1186
       }
1100
       }
1187
       // 更换的床位置
1101
       // 更换的床位置
1218
                 const listl=this.list
1132
                 const listl=this.list
1219
                 for(let i=0;i<listl.length;i++){
1133
                 for(let i=0;i<listl.length;i++){
1220
                   if(this.huanzhe.name== listl[i].name){
1134
                   if(this.huanzhe.name== listl[i].name){
1221
-                    listl[i].bed_id = this.chuangwei 
1135
+                    listl[i].bed_id = this.chuangwei
1222
                     console.log('mmmm',listl,this.currentData);
1136
                     console.log('mmmm',listl,this.currentData);
1223
                   }
1137
                   }
1224
                   if(this.genghuan.name== listl[i].name){
1138
                   if(this.genghuan.name== listl[i].name){
1329
             // line-height: 110px;
1243
             // line-height: 110px;
1330
             background: #30b8e366;
1244
             background: #30b8e366;
1331
            }
1245
            }
1332
-           
1246
+
1333
           }
1247
           }
1334
         }
1248
         }
1335
       }
1249
       }
1392
             // line-height: 110px;
1306
             // line-height: 110px;
1393
             background: #30b8e394;
1307
             background: #30b8e394;
1394
            }
1308
            }
1395
-           
1309
+
1396
           }
1310
           }
1397
         }
1311
         }
1398
       }
1312
       }

+ 119 - 46
src/xt_pages/workforce/appointment.vue 查看文件

127
                     @event2="changeSchedule"  @event3="changeWeekDay" v-show="showtableOne">
127
                     @event2="changeSchedule"  @event3="changeWeekDay" v-show="showtableOne">
128
         </table-data>
128
         </table-data>
129
       </div>
129
       </div>
130
+      <!-- 编辑 -->
130
        <edit-table-data ref="edittableData"  :week-time="activeName" :partitions-prop="partitions"
131
        <edit-table-data ref="edittableData"  :week-time="activeName" :partitions-prop="partitions"
131
                         :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone"
132
                         :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone"
132
                          title="" @event1="changePartition"
133
                          title="" @event1="changePartition"
133
                          @event2="changeSchedule" v-if="is_edit" @event3="changeWeekDay">
134
                          @event2="changeSchedule" v-if="is_edit" @event3="changeWeekDay">
134
-        <div class="position">
135
-          <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
136
-          <div>
137
-            <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs">
138
-          <el-tab-pane name="lastWeek">
139
-            <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
140
-          </el-tab-pane>
141
-          <el-tab-pane name="thisWeek">
142
-            <span slot="label"><i class="el-icon-date"></i> 本周 ({{ theWeek.thisWeek }})</span>
143
-          </el-tab-pane>
144
-          <el-tab-pane name="nextWeek">
145
-            <span slot="label"><i class="el-icon-date"></i> 下一周 ({{ theWeek.nextWeek }})</span>
146
-          </el-tab-pane>
147
-          <el-tab-pane name="nextTwoWeek">
148
-            <span slot="label"><i class="el-icon-date"></i> 下下周 ({{ theWeek.nextTwoWeek }})</span>
149
-          </el-tab-pane>
150
-        </el-tabs>
135
+          <div class="position">
136
+            <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
137
+            <div>
138
+              <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
139
+                <el-tab-pane name="beforeWeek">
140
+                  <span slot="label"><i class="el-icon-date"></i> 上上周 ({{ theWeek.historyWeek }})</span>
141
+                </el-tab-pane>
142
+                <el-tab-pane name="lastWeek">
143
+                  <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
144
+                </el-tab-pane>
145
+                <el-tab-pane name="thisWeek">
146
+                  <span slot="label"><i class="el-icon-date"></i> 本周 ({{ theWeek.thisWeek }})</span>
147
+                </el-tab-pane>
148
+                <el-tab-pane name="nextWeek">
149
+                  <span slot="label"><i class="el-icon-date"></i> 下一周 ({{ theWeek.nextWeek }})</span>
150
+                </el-tab-pane>
151
+                <el-tab-pane name="nextTwoWeek">
152
+                  <span slot="label"><i class="el-icon-date"></i> 下下周 ({{ theWeek.nextTwoWeek }})</span>
153
+                </el-tab-pane>
154
+              </el-tabs>
155
+            </div>
156
+            <div style="display:flex;align-items:center">
157
+              <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
158
+              <!-- <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' v-if="is_edit"></schedule-upload-excel> -->
159
+              <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
160
+                导出排班
161
+              </el-button>
162
+              <el-button
163
+                  @click="generateLog()"
164
+                  class="filter-item"
165
+                  type="primary"
166
+                  v-if="is_edit"
167
+                  size="small"
168
+              >下载日志
169
+              </el-button>
170
+              <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
171
+              </el-button>
172
+              <el-button type="primary" size="small" @click="copySchedule" v-if="is_edit">复制排班</el-button>
173
+              <el-button type="primary" size="small" v-if="is_edit" @click="smartsch">智能排班</el-button>
174
+              <el-button type="primary" size="small" v-if="!is_edit" @click="editsch">编辑排班</el-button>
175
+              <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
176
+            </div>
151
           </div>
177
           </div>
152
-        <div style="display:flex;align-items:center">
153
-          <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
154
-          <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' v-if="is_edit"></schedule-upload-excel>
155
-          <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
156
-            导出排班
157
-          </el-button>
158
-          <el-button
159
-              @click="generateLog()"
160
-              class="filter-item"
161
-              type="primary"
162
-              v-if="is_edit"
163
-              size="small"
164
-          >下载日志
165
-          </el-button>
166
-          <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
167
-          </el-button>
168
-          <el-button type="primary" size="small" @click="copySchedule" v-if="is_edit">复制排班</el-button>
169
-          <el-button type="primary" size="small" v-if="is_edit" @click="smartsch">智能排班</el-button>
170
-          <el-button type="primary" size="small" v-if="!is_edit" @click="editsch">编辑排班</el-button>
171
-          <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
172
-        </div>
173
-      </div>
174
-        </edit-table-data>
175
 
178
 
179
+        </edit-table-data>
180
+        <!-- 编辑上上周 -->
181
+        <beforeweekTable ref="beforeweeks" v-show="beforeshow" :week-time="activeName" :partitions-prop="partitions"
182
+                  :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone" @event3="changeWeekDay">
183
+          <div class="position">
184
+            <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
185
+            <div>
186
+              <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
187
+                <el-tab-pane name="beforeWeek">
188
+                  <span slot="label"><i class="el-icon-date"></i> 上上周 ({{ theWeek.historyWeek }})</span>
189
+                </el-tab-pane>
190
+                <el-tab-pane name="lastWeek">
191
+                  <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
192
+                </el-tab-pane>
193
+                <el-tab-pane name="thisWeek">
194
+                  <span slot="label"><i class="el-icon-date"></i> 本周 ({{ theWeek.thisWeek }})</span>
195
+                </el-tab-pane>
196
+                <el-tab-pane name="nextWeek">
197
+                  <span slot="label"><i class="el-icon-date"></i> 下一周 ({{ theWeek.nextWeek }})</span>
198
+                </el-tab-pane>
199
+                <el-tab-pane name="nextTwoWeek">
200
+                  <span slot="label"><i class="el-icon-date"></i> 下下周 ({{ theWeek.nextTwoWeek }})</span>
201
+                </el-tab-pane>
202
+              </el-tabs>
203
+            </div>
204
+            <div style="display:flex;align-items:center">
205
+              <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
206
+              <!-- <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' v-if="is_edit"></schedule-upload-excel> -->
207
+              <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
208
+                导出排班
209
+              </el-button>
210
+              <el-button
211
+                  @click="generateLog()"
212
+                  class="filter-item"
213
+                  type="primary"
214
+                  v-if="is_edit"
215
+                  size="small"
216
+              >下载日志
217
+              </el-button>
218
+              <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
219
+              </el-button>
220
+              <el-button type="primary" size="small" @click="copySchedule" v-if="is_edit">复制排班</el-button>
221
+              <el-button type="primary" size="small" v-if="is_edit" @click="smartsch">智能排班</el-button>
222
+              <el-button type="primary" size="small" v-if="!is_edit" @click="editsch">编辑排班</el-button>
223
+              <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
224
+            </div>
225
+          </div>
226
+        </beforeweekTable>
227
+        <!-- 历史 -->
176
         <HistoryWeekTable v-show="showtable" ref="tableDataZero"  :week-time="activeName" :partitions-prop="partitions"
228
         <HistoryWeekTable v-show="showtable" ref="tableDataZero"  :week-time="activeName" :partitions-prop="partitions"
177
                   :schedule-zone-row-prop="scheduleZoneRow"
229
                   :schedule-zone-row-prop="scheduleZoneRow"
178
                   :schedule-zone-prop="scheduleZone" title="" >
230
                   :schedule-zone-prop="scheduleZone" title="" >
228
 import {uParseTime} from '@/utils/tools'
280
 import {uParseTime} from '@/utils/tools'
229
 import EditTableData from "./components/editTableData";
281
 import EditTableData from "./components/editTableData";
230
 import HistoryWeekTable from './components/historyWeekTable'
282
 import HistoryWeekTable from './components/historyWeekTable'
283
+import beforeweekTable from './components/beforeweekTable'
284
+
231
 export default {
285
 export default {
232
   name: 'appointment',
286
   name: 'appointment',
233
   data() {
287
   data() {
277
       isExistRepeatVisible: false,
331
       isExistRepeatVisible: false,
278
       exportVisible: false,
332
       exportVisible: false,
279
       exportLogVisible: false,
333
       exportLogVisible: false,
334
+      beforeshow:false,//编辑页面的上上周
280
       // 周期
335
       // 周期
281
       theWeek: {
336
       theWeek: {
282
         historyWeek:0,
337
         historyWeek:0,
325
     tableData,
380
     tableData,
326
     BreadCrumb,
381
     BreadCrumb,
327
     UploadExcel,
382
     UploadExcel,
328
-    HistoryWeekTable
383
+    HistoryWeekTable,
384
+    beforeweekTable
329
   },
385
   },
330
   methods: {
386
   methods: {
331
     handleClick(e,tab){
387
     handleClick(e,tab){
342
       }
398
       }
343
 
399
 
344
     },
400
     },
401
+    // 打开编辑上上周
402
+    historyclick(e){
403
+      console.log('vvvvwwww',e);
404
+      if(e.name=='beforeWeek'){
405
+        console.log('gggggwerwe');
406
+        this.beforeshow=true
407
+        this.schedulingTableVisible=false
408
+        this.$nextTick(function() {//, this.days,this.zones
409
+          this.$refs.beforeweeks.setEditData(this.patientList, this.$store.getters.treatment_mode, this.days,this.zones)
410
+        })
411
+      }else{
412
+        this.beforeshow=false
413
+        this.schedulingTableVisible=true
414
+      }
415
+    },
416
+   
345
     dragstart(event, item) {
417
     dragstart(event, item) {
346
       // console.log('start的索引',item.moveIndex)
418
       // console.log('start的索引',item.moveIndex)
347
       // 开始移动的时候将移动的索引值+图片的url存储下来
419
       // 开始移动的时候将移动的索引值+图片的url存储下来
769
           })
841
           })
770
 
842
 
771
           const filename = '排班模版'
843
           const filename = '排班模版'
772
-         
773
-          
844
+
845
+
774
           excel.export_json_to_excel({
846
           excel.export_json_to_excel({
775
             multiHeader,
847
             multiHeader,
776
             header,
848
             header,
917
 
989
 
918
     },
990
     },
919
     printScheduleActionOne:function(){
991
     printScheduleActionOne:function(){
920
-       
992
+
921
       var start_time = this.$refs.tableDataZero.start_time
993
       var start_time = this.$refs.tableDataZero.start_time
922
 
994
 
923
       var end_time =  this.$refs.tableDataZero.end_time
995
       var end_time =  this.$refs.tableDataZero.end_time
928
 
1000
 
929
       var week_date = []
1001
       var week_date = []
930
 
1002
 
931
-    
1003
+
932
       this.$router.push({path:'/scheduleTablePrintThree?partition_id='+partition_id+"&weekTime="+nextTwoWeek+"&week_date="+week_date+"&start_time="+start_time+"&end_time="+end_time})
1004
       this.$router.push({path:'/scheduleTablePrintThree?partition_id='+partition_id+"&weekTime="+nextTwoWeek+"&week_date="+week_date+"&start_time="+start_time+"&end_time="+end_time})
933
     },
1005
     },
934
     isShow() {
1006
     isShow() {
2041
           break
2113
           break
2042
       }
2114
       }
2043
 
2115
 
2044
-    }, 
2116
+    },
2045
     getDateByResultsStr(key) {
2117
     getDateByResultsStr(key) {
2046
 
2118
 
2047
       switch (key) {
2119
       switch (key) {
2965
     },
3037
     },
2966
     outisedit(){
3038
     outisedit(){
2967
       this.is_edit=false
3039
       this.is_edit=false
3040
+      this.beforeshow=false
2968
       this.schedulingTableVisible=false
3041
       this.schedulingTableVisible=false
2969
     },
3042
     },
2970
     copySchedule() {
3043
     copySchedule() {

文件差異過大導致無法顯示
+ 2878 - 0
src/xt_pages/workforce/components/beforeweekTable.vue


+ 23 - 257
src/xt_pages/workforce/components/editTableData.vue 查看文件

1757
   </div>
1757
   </div>
1758
 </template>
1758
 </template>
1759
 
1759
 
1760
+
1760
 <script>
1761
 <script>
1761
 import { uParseTime } from "@/utils/tools";
1762
 import { uParseTime } from "@/utils/tools";
1762
 import print from "print-js";
1763
 import print from "print-js";
1934
       patientList: [],
1935
       patientList: [],
1935
       all_patients: [],
1936
       all_patients: [],
1936
       systemDate:'',
1937
       systemDate:'',
1938
+
1937
       mode_select: [
1939
       mode_select: [
1938
         {
1940
         {
1939
           value: "1",
1941
           value: "1",
2105
       },
2107
       },
2106
       cellflag: 0,
2108
       cellflag: 0,
2107
       schedulesGroup:[],
2109
       schedulesGroup:[],
2108
-      numberList:[]
2110
+      numberList:[],
2111
+      newschedules:[],
2112
+      newArr:[]
2109
     };
2113
     };
2110
   },
2114
   },
2111
 
2115
 
2169
     },
2173
     },
2170
   },
2174
   },
2171
   methods: {
2175
   methods: {
2176
+
2172
     changeSch(row) {
2177
     changeSch(row) {
2173
       let params = {
2178
       let params = {
2174
         zone_id: row.zone_id,
2179
         zone_id: row.zone_id,
3238
               id : row[key].schedule_id,
3243
               id : row[key].schedule_id,
3239
               contagions: row[key].patient_contagions,
3244
               contagions: row[key].patient_contagions,
3240
             }
3245
             }
3241
-            console.log('4444444',row[key].schedule_id);
3242
           }else{
3246
           }else{
3243
             this.cur_drag_obj = 3
3247
             this.cur_drag_obj = 3
3244
             this.cur_drag_info={
3248
             this.cur_drag_info={
3332
           this.$message.error(response.data.msg);
3336
           this.$message.error(response.data.msg);
3333
           this.tipDialogVisibleTwo = false
3337
           this.tipDialogVisibleTwo = false
3334
         } else {
3338
         } else {
3335
-          console.log('11111111111',response.data);
3336
           this.$message.success("替换成功");
3339
           this.$message.success("替换成功");
3337
           this.tipDialogVisible = false
3340
           this.tipDialogVisible = false
3338
           this.tipDialogVisibleTwo = false
3341
           this.tipDialogVisibleTwo = false
3339
           this.getSchedules();
3342
           this.getSchedules();
3340
         }
3343
         }
3341
       });
3344
       });
3342
-
3343
     },
3345
     },
3344
     // 交换位置
3346
     // 交换位置
3345
     changeSchTwo(){
3347
     changeSchTwo(){
3355
             this.$message.error(response.data.msg);
3357
             this.$message.error(response.data.msg);
3356
             this.tipDialogVisibleThree = false
3358
             this.tipDialogVisibleThree = false
3357
           } else {
3359
           } else {
3358
-            console.log('22222222',response.data);
3359
             this.$message.success("交换成功");
3360
             this.$message.success("交换成功");
3360
             this.tipDialogVisible = false
3361
             this.tipDialogVisible = false
3361
             this.tipDialogVisibleThree = false
3362
             this.tipDialogVisibleThree = false
3386
             id : row[key].schedule_id,
3387
             id : row[key].schedule_id,
3387
             partition_type : row.zone_type,
3388
             partition_type : row.zone_type,
3388
           }
3389
           }
3389
-          console.log('ffffffffffff',this.currentData);
3390
           // let nowDate = new Date();
3390
           // let nowDate = new Date();
3391
           // let date = {
3391
           // let date = {
3392
           //       year: nowDate.getFullYear(),
3392
           //       year: nowDate.getFullYear(),
3396
           //   let Month=date.month<10 ? '0'+ date.month :  date.month
3396
           //   let Month=date.month<10 ? '0'+ date.month :  date.month
3397
           //   let Dateday= date.date<10 ? '0'+date.date : date.date
3397
           //   let Dateday= date.date<10 ? '0'+date.date : date.date
3398
           //   this.systemDate = date.year + '-'+ Month + '-'+ Dateday;
3398
           //   this.systemDate = date.year + '-'+ Month + '-'+ Dateday;
3399
-          console.log('this.currentData的数据',row[key].patient_id);
3400
-          console.log('this.cur_drag_info的数据',key);
3399
+          // console.log('this.currentData的数据',this.currentData);
3400
+          // console.log('this.cur_drag_info的数据',this.cur_drag_info);
3401
           // console.log('123453545',this.systemDate);
3401
           // console.log('123453545',this.systemDate);
3402
           // 当表格有数据
3402
           // 当表格有数据
3403
           if ( row[key].mode_id > 0 || row[key].patient_id > 0) {
3403
           if ( row[key].mode_id > 0 || row[key].patient_id > 0) {
3419
              if(this.cur_drag_obj == 2){
3419
              if(this.cur_drag_obj == 2){
3420
               if(this.cur_drag_info.schedule_date == this.currentData.schedule_date){ //同一天
3420
               if(this.cur_drag_info.schedule_date == this.currentData.schedule_date){ //同一天
3421
                 if(row[key].patient_id == 0) { //空床位
3421
                 if(row[key].patient_id == 0) { //空床位
3422
-                      const that = this;
3423
-                      //接口提交排班数据
3424
-                      that.currentData.mode_id = that.cur_drag_info.mode_id
3425
-                      that.currentData.id = 0
3426
-                      that.currentData.patient_id = that.cur_drag_info.patient_id
3427
-                      that.currentData.patient = that.cur_drag_info.patient_name
3428
-                       that.currentData.contagions = that.cur_drag_info.contagions
3429
-                        console.log("中国hshshshshhs",that.cur_drag_info.id)
3430
-
3431
-
3432
-                        that.setScheduleTwo(this.cur_drag_info.id);
3422
+                          const that = this;
3423
+                          //接口提交排班数据
3424
+                          that.currentData.mode_id = that.cur_drag_info.mode_id
3425
+                          that.currentData.id = 0
3426
+                          that.currentData.patient_id = that.cur_drag_info.patient_id
3427
+                          that.currentData.patient = that.cur_drag_info.patient_name
3428
+                          that.currentData.contagions = that.cur_drag_info.contagions
3429
+                          console.log("中国hshshshshhs",that.cur_drag_info.contagions)
3430
+                          that.setScheduleTwo(this.cur_drag_info.id);
3433
                 }
3431
                 }
3434
               }else{ // 非同一天
3432
               }else{ // 非同一天
3435
                 if(row[key].patient_id == 0) { //空床位
3433
                 if(row[key].patient_id == 0) { //空床位
3834
       }
3832
       }
3835
       return "";
3833
       return "";
3836
     },
3834
     },
3837
-    // 单元格的 style 的回调方法
3838
-    // cellstyle({ row, column, rowIndex, columnIndex }){
3839
-    //   // 分区蓝线
3840
-    //   for(let i=0;i<this.subzone.length;i++){
3841
-    //     const subslice=this.subzone[i].jihaos.slice(-1)
3842
-    //     // console.log('这是row',subslice);
3843
-    //     if(row.zone_id==subslice[0].zone_id && row.jihao_id == subslice[0].id ){
3844
-    //       // console.log('33333333333');
3845
-    //       return 'border-top: 1px solid aqua;'
3846
-    //     }
3847
-    //   }
3848
-    // },
3849
     // 单元格的患者名称的回调方法
3835
     // 单元格的患者名称的回调方法
3850
     patientClass({row,column, rowIndex,columnIndex}){
3836
     patientClass({row,column, rowIndex,columnIndex}){
3851
       if(this.cur_info.patient_id == row.id){
3837
       if(this.cur_info.patient_id == row.id){
4578
         this.currentData.contagions = row.contagions;
4564
         this.currentData.contagions = row.contagions;
4579
       }
4565
       }
4580
     },
4566
     },
4581
-
4567
+    // 数据源
4582
     getSchedules() {
4568
     getSchedules() {
4583
       var partionStr = this.partition_id;
4569
       var partionStr = this.partition_id;
4584
-      console.log('66665555',partionStr);
4585
       var arr = this.zoneIdList.join(",");
4570
       var arr = this.zoneIdList.join(",");
4586
-      console.log('ccccccc',this.zoneIdList);
4587
       var str = "";
4571
       var str = "";
4588
       if (partionStr == 0) {
4572
       if (partionStr == 0) {
4589
         str = arr;
4573
         str = arr;
4591
       if (partionStr != 0) {
4575
       if (partionStr != 0) {
4592
         str = partionStr.join(",");
4576
         str = partionStr.join(",");
4593
       }
4577
       }
4594
-      console.log('qqqqqqq',str);
4595
       const params = {
4578
       const params = {
4596
         weekTime: this.theType,
4579
         weekTime: this.theType,
4597
         patitionid: str,
4580
         patitionid: str,
4601
       getSchedulesOne(params).then((response) => {
4584
       getSchedulesOne(params).then((response) => {
4602
         if (response.data.state == 1) {
4585
         if (response.data.state == 1) {
4603
           this.weekTitle = response.data.data.weekTitle;
4586
           this.weekTitle = response.data.data.weekTitle;
4604
-          console.log('999990000',response.data.data);
4587
+        
4605
           this.weekDays = response.data.data.days;
4588
           this.weekDays = response.data.data.days;
4606
           this.toDay = response.data.data.today;
4589
           this.toDay = response.data.data.today;
4607
           var theSchedules = response.data.data.schdules;
4590
           var theSchedules = response.data.data.schdules;
4591
+          this.newschedules= theSchedules
4608
           var schedulesGroup = response.data.data.schedulesGroup
4592
           var schedulesGroup = response.data.data.schedulesGroup
4609
           this.schedulesGroup = schedulesGroup
4593
           this.schedulesGroup = schedulesGroup
4610
           var that = this;
4594
           var that = this;
4812
         }
4796
         }
4813
       });
4797
       });
4814
     },
4798
     },
4815
-  //  调整机号
4816
-    // changeScheduleActon(formName) {
4817
-    //   this.changing_bed = true;
4818
-    //   ChangeSchedule(this.currentData.id, this.changeSchedule)
4819
-    //       .then((response) => {
4820
-    //         if (response.data.state == 0) {
4821
-    //           this.$message.error(response.data.msg);
4822
-    //         } else {
4823
-    //           this.$message({
4824
-    //             type: "success",
4825
-    //             message: "修改成功!",
4826
-    //           });
4827
-    //           var that = this;
4828
-    //           var schedule = response.data.data.schedule;
4829
-
4830
-    //           this.scheduleZone.forEach(function (zone, index) {
4831
-    //             if (
4832
-    //                 zone.zone_id == schedule.partition_id &&
4833
-    //                 zone.jihao_id == schedule.bed_id
4834
-    //             ) {
4835
-    //               var weekPath = that.weekPath(
4836
-    //                   schedule.schedule_week,
4837
-    //                   schedule.schedule_type
4838
-    //               );
4839
-    //               if (weekPath.length == 2) {
4840
-    //                 var weekPathKey = weekPath[0] + "_" + weekPath[1];
4841
-    //                 that.scheduleZone[index][weekPathKey] = {
4842
-    //                   schedule_id: schedule.id,
4843
-    //                   mode_id: schedule.mode_id,
4844
-    //                   patient_id: schedule.patient_id,
4845
-    //                   patient: that.currentData.patient,
4846
-    //                   patient_contagions: that.currentData.contagions,
4847
-    //                   dialysis_machine_name: schedule.dialysis_machine_name,
4848
-
4849
-    //                   mode_name:
4850
-    //                       typeof that.modeOptions[schedule.mode_id] === "undefined"
4851
-    //                           ? ""
4852
-    //                           : that.modeOptions[schedule.mode_id].name,
4853
-    //                 };
4854
-
4855
-    //                 that.scheduleZone[index].total += 1;
4856
-    //               }
4857
-    //             }
4858
-    //             if (
4859
-    //                 zone.zone_id == that.currentData.partition_id &&
4860
-    //                 zone.jihao_id == that.currentData.bed_id
4861
-    //             ) {
4862
-    //               var weekPath = that.weekPath(
4863
-    //                   that.currentData.schedule_week,
4864
-    //                   that.currentData.schedule_type
4865
-    //               );
4866
-    //               if (weekPath.length == 2) {
4867
-    //                 var weekPathKey = weekPath[0] + "_" + weekPath[1];
4868
-    //                 that.scheduleZone[index][weekPathKey] = {
4869
-    //                   schedule_id: 0,
4870
-    //                   mode_id: 0,
4871
-    //                   patient_id: 0,
4872
-    //                   patient: "",
4873
-    //                   dialysis_machine_name: "",
4874
-
4875
-    //                   mode_name: "",
4876
-    //                   patient_contagions: [],
4877
-    //                 };
4878
-
4879
-    //                 that.scheduleZone[index].total -= 1;
4880
-    //               }
4881
-    //             }
4882
-    //           });
4883
-    //           this.$refs[formName].resetFields();
4884
-    //           this.jhDialogVisible = false;
4885
-    //         }
4886
-    //         this.changing_bed = false;
4887
-    //       })
4888
-    //       .catch((err) => {
4889
-    //         this.$message.error(err);
4890
-    //         this.changing_bed = false;
4891
-    //       });
4892
-    // },
4893
-    // 排班成功接口
4894
 
4799
 
4800
+    // 排班成功接口
4895
     async CreateSchedule(id, data) {
4801
     async CreateSchedule(id, data) {
4896
       this.creating_schedule = true;
4802
       this.creating_schedule = true;
4897
       let response =await CreateSchedule(id, data)
4803
       let response =await CreateSchedule(id, data)
5064
 
4970
 
5065
     },
4971
     },
5066
 
4972
 
5067
-    // submitTiaoZJH(formName) {
5068
-    //   this.$refs[formName].validate((valid) => {
5069
-    //     if (valid) {
5070
-    //       var weekPath = this.weekPath(
5071
-    //           this.changeSchedule.schedule_week,
5072
-    //           this.changeSchedule.schedule_type
5073
-    //       );
5074
-    //       if (weekPath.length != 2) {
5075
-    //         this.$message.error("数据异常");
5076
-    //         return false;
5077
-    //       }
5078
-
5079
-    //       this.changeSchedule.bed_id = this.device_id;
5080
-    //       for (let i = 0; i < this.origin_device_numbers.length; i++) {
5081
-    //         if (this.origin_device_numbers[i].id == this.device_id) {
5082
-    //           this.changeSchedule.partition_id =
5083
-    //               this.origin_device_numbers[i].zone_id;
5084
-    //         }
5085
-    //       }
5086
-
5087
-    //       this.changeSchedule.change_action = "change_device";
5088
-    //       this.changeScheduleActon(formName);
5089
-
5090
-    //       this.changeSchedule.spartition_type = this.scheduleZone[index].zone_type
5091
-    //       var weekPathKey = weekPath[0] + '_' + weekPath[1]
5092
-    //       for (var index in this.scheduleZone) {
5093
-    //         if (this.scheduleZone[index].jihao_id == this.changeSchedule.bed_id) {
5094
-    //           if (this.scheduleZone[index][weekPathKey].mode_id > 0) {
5095
-    //             this.$message.error('选中的区域已经存在排班,不能再排班!')
5096
-    //             return false
5097
-    //           }
5098
-    //           break
5099
-    //         }
5100
-    //       }
5101
-    //     }
5102
-    //   })
5103
-    // },
5104
-
5105
     //  双击弹窗确认按钮
4973
     //  双击弹窗确认按钮
5106
     submitMode(formName) {
4974
     submitMode(formName) {
5107
       console.log("wowowoowow",this.changeSchedule)
4975
       console.log("wowowoowow",this.changeSchedule)
5152
 
5020
 
5153
     },
5021
     },
5154
 
5022
 
5155
-    // submitTiaoZMS(formName) {
5156
-    //   this.$refs[formName].validate((valid) => {
5157
-    //     if (valid) {
5158
-    //       this.changing_mode = true;
5159
-    //       this.changeSchedule.change_action = "change_mode";
5160
-    //       ChangeSchedule(this.currentData.id, this.changeSchedule)
5161
-    //           .then((response) => {
5162
-    //             if (response.data.state == 0) {
5163
-    //               this.$message.error(response.data.msg);
5164
-    //             } else {
5165
-    //               this.$message({
5166
-    //                 type: "success",
5167
-    //                 message: "修改成功!",
5168
-    //               });
5169
-    //               var that = this;
5170
-    //               var schedule = response.data.data.schedule;
5171
-    //               this.scheduleZone.forEach(function (zone, index) {
5172
-    //                 if (
5173
-    //                     zone.zone_id == schedule.partition_id &&
5174
-    //                     zone.jihao_id == schedule.bed_id
5175
-    //                 ) {
5176
-    //                   var weekPath = that.weekPath(
5177
-    //                       schedule.schedule_week,
5178
-    //                       schedule.schedule_type
5179
-    //                   );
5180
-    //                   if (weekPath.length == 2) {
5181
-    //                     var weekPathKey = weekPath[0] + "_" + weekPath[1];
5182
-    //                     that.scheduleZone[index][
5183
-    //                         weekPathKey
5184
-    //                         ].dialysis_machine_name = schedule.dialysis_machine_name;
5185
-    //                     that.scheduleZone[index][weekPathKey].mode_id =
5186
-    //                         schedule.mode_id;
5187
-    //                     that.scheduleZone[index][weekPathKey].mode_name =
5188
-    //                         typeof that.modeOptions[schedule.mode_id] ===
5189
-    //                         "undefined"
5190
-    //                             ? ""
5191
-    //                             : that.modeOptions[schedule.mode_id].name;
5192
-    //                   }
5193
-    //                 }
5194
-    //               });
5195
-    //               this.$refs[formName].resetFields();
5196
-    //               this.msDialogVisible = false;
5197
-    //             }
5198
-    //             this.changing_mode = false;
5199
-    //           })
5200
-    //           .catch((err) => {
5201
-    //             this.$message.error(err);
5202
-    //             this.changing_mode = false;
5203
-    //           });
5204
-    //     }
5205
-    //   });
5206
-    // },
5207
-
5208
     changePartition(value) {
5023
     changePartition(value) {
5209
       this.current_devices = this.zone_device_map[value];
5024
       this.current_devices = this.zone_device_map[value];
5210
       this.device_id = this.current_devices[0].id;
5025
       this.device_id = this.current_devices[0].id;
5671
       }
5486
       }
5672
       return [w, n];
5487
       return [w, n];
5673
     },
5488
     },
5489
+    // 左侧搜索
5674
     search: function () {
5490
     search: function () {
5675
       if (this.keywords.length == 0) {
5491
       if (this.keywords.length == 0) {
5676
         this.patientList = this.all_patients;
5492
         this.patientList = this.all_patients;
5695
         }
5511
         }
5696
       }
5512
       }
5697
     },
5513
     },
5698
-    // 取消排班
5699
-    // changeMachineNumber: function (index, row) {
5700
-    //   this.currentData.schedule_type = row.schedule_type;
5701
-    //   this.currentData.bed_id = row.bed_id;
5702
-    //   this.currentData.partition_id = row.partition_id;
5703
-    //   this.currentData.schedule_week = row.schedule_week;
5704
-
5705
-    //   switch (row.schedule_type) {
5706
-    //     case 1:
5707
-    //       this.currentData.type_name = "上午";
5708
-    //       break;
5709
-    //     case 2:
5710
-    //       this.currentData.type_name = "下午";
5711
-    //       break;
5712
-    //     case 3:
5713
-    //       this.currentData.type_name = "晚上";
5714
-    //       break;
5715
-    //   }
5716
-
5717
-    //   this.currentData.zone_name = row.zone.name;
5718
-    //   this.currentData.bed_name = row.number.number;
5719
-    //   this.currentData.partition_type = row.zone.type;
5720
-
5721
-    //   this.currentData.mode_id = row.mode_id;
5722
-    //   this.currentData.patient_id = row.patient_id;
5723
-    //   this.currentData.patient = row.patient;
5724
-    //   this.currentData.contagions = row.patient_contagions;
5725
-
5726
-    //   this.currentData.id = row.id;
5727
-    //   this.changeSchedule = {
5728
-    //     mode_id: row.mode_id,
5729
-    //     schedule_type: row.schedule_type,
5730
-    //     partition_id: row.partition_id,
5731
-    //     bed_id: row.bed_id,
5732
-    //     schedule_week: row.schedule_week,
5733
-    //     partition_type: "",
5734
-    //   };
5735
-    //   this.currentData.schedule_date = uParseTime(
5736
-    //       row.schedule_date,
5737
-    //       "{y}-{m}-{d}"
5738
-    //   );
5739
-
5740
-    //   if (typeof this.partitions[row.partition_id].jihaos !== "undefined") {
5741
-    //     this.jihaos = this.partitions[row.partition_id].jihaos;
5742
-    //   } else {
5743
-    //     this.jihaos = [];
5744
-    //   }
5745
-
5746
-    //   this.searchTableVisible = false;
5747
-    //   this.jhDialogVisible = true;
5748
-    // },
5514
+ 
5749
     getDialysisDate: function (row) {
5515
     getDialysisDate: function (row) {
5750
       let week = "";
5516
       let week = "";
5751
       switch (row.schedule_week) {
5517
       switch (row.schedule_week) {

+ 18 - 20
src/xt_pages/workforce/components/historyWeekTable.vue 查看文件

6
             v-model="weekTime"
6
             v-model="weekTime"
7
             type="week"
7
             type="week"
8
             format="第 WW 周"
8
             format="第 WW 周"
9
-            placeholder="选择周"  
9
+            placeholder="选择周"
10
             :picker-options="{'firstDayOfWeek': 1}"
10
             :picker-options="{'firstDayOfWeek': 1}"
11
             @change="changeWeek"
11
             @change="changeWeek"
12
             :clearable="false"
12
             :clearable="false"
15
         </el-date-picker>
15
         </el-date-picker>
16
     </div>
16
     </div>
17
     <!--   -->
17
     <!--   -->
18
-    
19
-
20
     <div class="center-tab">
18
     <div class="center-tab">
21
       <el-table
19
       <el-table
22
         :row-style="{ color: '#303133' }"
20
         :row-style="{ color: '#303133' }"
34
         show-summary
32
         show-summary
35
         :row-class-name="tableRowClassName"
33
         :row-class-name="tableRowClassName"
36
         :cell-class-name="cellClass"
34
         :cell-class-name="cellClass"
37
-        
35
+
38
         sum-text="总数"
36
         sum-text="总数"
39
         :height="tableContainHeight"
37
         :height="tableContainHeight"
40
         ref="table"
38
         ref="table"
47
           width="50"
45
           width="50"
48
           align="center"
46
           align="center"
49
           fixed
47
           fixed
50
-          
48
+
51
         ></el-table-column><!--style="border-bottom: 1px solid aqua;"-->
49
         ></el-table-column><!--style="border-bottom: 1px solid aqua;"-->
52
         <el-table-column
50
         <el-table-column
53
           prop="cut"
51
           prop="cut"
55
           align="center"
53
           align="center"
56
           min-width="40"
54
           min-width="40"
57
           fixed
55
           fixed
58
-         
56
+
59
         ></el-table-column>
57
         ></el-table-column>
60
         <el-table-column
58
         <el-table-column
61
           :label="' 周一(' + weekTitle[0] + ')'"
59
           :label="' 周一(' + weekTitle[0] + ')'"
916
         // console.log(columnIndex,row.zone_type);
914
         // console.log(columnIndex,row.zone_type);
917
         return "table-row-new-class schedule-table-row Infectious_disease";
915
         return "table-row-new-class schedule-table-row Infectious_disease";
918
       }
916
       }
919
-      // if(columnIndex==1 ){  
920
-      //   return 'border_bott ' 
917
+      // if(columnIndex==1 ){
918
+      //   return 'border_bott '
921
       // }
919
       // }
922
       // if(columnIndex==0){
920
       // if(columnIndex==0){
923
       //   return 'border_left'
921
       //   return 'border_left'
947
     //       // console.log('33333333333');
945
     //       // console.log('33333333333');
948
     //       return 'border-top: 1px solid aqua;'
946
     //       return 'border-top: 1px solid aqua;'
949
     //     }
947
     //     }
950
-    //   } 
948
+    //   }
951
     // },
949
     // },
952
     changeSearchContagion(id) {
950
     changeSearchContagion(id) {
953
       this.patientQuery.contagion = id;
951
       this.patientQuery.contagion = id;
954
       this.getSchedulePatients();
952
       this.getSchedulePatients();
955
     },
953
     },
956
-   
954
+
957
     getSummaries(param) {
955
     getSummaries(param) {
958
       const { columns, data } = param;
956
       const { columns, data } = param;
959
       const sums = [];
957
       const sums = [];
1658
         }
1656
         }
1659
       });
1657
       });
1660
     },
1658
     },
1661
-    
1659
+
1662
     CreateSchedule(id, data) {
1660
     CreateSchedule(id, data) {
1663
       this.creating_schedule = true;
1661
       this.creating_schedule = true;
1664
       CreateSchedule(id, data)
1662
       CreateSchedule(id, data)
1763
         this.dialogTableVisible = true;
1761
         this.dialogTableVisible = true;
1764
       }
1762
       }
1765
     },
1763
     },
1766
-    
1764
+
1767
     submitTiaoZMS(formName) {
1765
     submitTiaoZMS(formName) {
1768
       this.$refs[formName].validate(valid => {
1766
       this.$refs[formName].validate(valid => {
1769
         if (valid) {
1767
         if (valid) {
2206
         }
2204
         }
2207
       });
2205
       });
2208
     },
2206
     },
2209
-   
2207
+
2210
     getDialysisDate: function (row) {
2208
     getDialysisDate: function (row) {
2211
       let week = "";
2209
       let week = "";
2212
       switch (row.schedule_week) {
2210
       switch (row.schedule_week) {
2255
 
2253
 
2256
       return type_name;
2254
       return type_name;
2257
     },
2255
     },
2258
-   
2256
+
2259
     tableRowClassName({ row, rowIndex }) {
2257
     tableRowClassName({ row, rowIndex }) {
2260
       if (row.zone_type == 1) {
2258
       if (row.zone_type == 1) {
2261
         return 'table-row-new-class schedule-table-row'
2259
         return 'table-row-new-class schedule-table-row'
2289
       this.schedule_type = val
2287
       this.schedule_type = val
2290
 
2288
 
2291
       this.getSchedules()
2289
       this.getSchedules()
2292
-     
2290
+
2293
     },
2291
     },
2294
     changeWeekDay(val) {
2292
     changeWeekDay(val) {
2295
       this.$emit('event3', val)
2293
       this.$emit('event3', val)
2320
         // this.getSchedules()
2318
         // this.getSchedules()
2321
         // this.source_scheduleZone=[]
2319
         // this.source_scheduleZone=[]
2322
       // })
2320
       // })
2323
-      
2321
+
2324
     },
2322
     },
2325
     // 选择周次
2323
     // 选择周次
2326
     start(){
2324
     start(){
2369
         patitionid: str,
2367
         patitionid: str,
2370
         schedule_type: this.schedule_type,
2368
         schedule_type: this.schedule_type,
2371
       }
2369
       }
2372
-     console.log("params232323232",params)
2370
+    //  console.log("params232323232",params)
2373
       getSchedulesOne(params).then(response => {
2371
       getSchedulesOne(params).then(response => {
2374
         // console.log('getSchedulesOne',response.data.data);
2372
         // console.log('getSchedulesOne',response.data.data);
2375
         if (response.data.state == 1) {
2373
         if (response.data.state == 1) {
2376
           this.weekTitle = response.data.data.weekTitle;
2374
           this.weekTitle = response.data.data.weekTitle;
2377
           this.weekTitle = []
2375
           this.weekTitle = []
2378
-          console.log("first_day23333333333333",this.start_time)
2376
+          // console.log("first_day23333333333333",this.start_time)
2379
           var first = this.getTimestamp(this.start_time)
2377
           var first = this.getTimestamp(this.start_time)
2380
           var first_day =  this.getTime(first, "{y}-{m}-{d}")
2378
           var first_day =  this.getTime(first, "{y}-{m}-{d}")
2381
-          console.log("first_day23333333333333",first_day)
2379
+          // console.log("first_day23333333333333",first_day)
2382
           this.weekTitle.push(first_day)
2380
           this.weekTitle.push(first_day)
2383
 
2381
 
2384
           var second = this.getTimestamp(this.start_time) + 86400
2382
           var second = this.getTimestamp(this.start_time) + 86400
2753
   .switch{
2751
   .switch{
2754
     margin-left: 10px;
2752
     margin-left: 10px;
2755
   }
2753
   }
2756
-  
2754
+
2757
 }
2755
 }
2758
 
2756
 
2759
 #table_data ::-webkit-scrollbar {
2757
 #table_data ::-webkit-scrollbar {