杨青 преди 1 година
родител
ревизия
3384913208
променени са 28 файла, в които са добавени 9127 реда и са изтрити 5653 реда
  1. 12 0
      src/router/modules/dialysis.js
  2. 187 29
      src/router/modules/patient.js
  3. 0 8
      src/xt_pages/Dialysisanalysis/albumin/albuminall.vue
  4. 0 1
      src/xt_pages/data/printTemplate/prescriptionPrint.vue
  5. 3329 0
      src/xt_pages/dialysis/batch_print/batch_print_order_Eleven.vue
  6. 14 2
      src/xt_pages/dialysis/batch_print/batch_print_order_sixtyFive.vue
  7. 98 56
      src/xt_pages/dialysis/batch_print/batch_print_order_twentySeven.vue
  8. 15 4
      src/xt_pages/dialysis/bloodPresssWatch.vue
  9. 22 20
      src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue
  10. 3 6
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  11. 3747 3749
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue
  12. 6 6
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue
  13. 3 0
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue
  14. 1 1
      src/xt_pages/outpatientCharges/invoiceTemplate/printSix.vue
  15. 3 1
      src/xt_pages/stock/stockInOrderAdd.vue
  16. 20 12
      src/xt_pages/stock/stockOutOrderAdd.vue
  17. 110 12
      src/xt_pages/user/components/PatientSidebar.vue
  18. 0 6
      src/xt_pages/user/dialysisSolution.vue
  19. 1 1
      src/xt_pages/user/hospitalSummary.vue
  20. 40 7
      src/xt_pages/user/inspection.vue
  21. 1 1
      src/xt_pages/user/patient.vue
  22. 0 1
      src/xt_pages/workforce/appointment.vue
  23. 97 43
      src/xt_pages/workforce/components/editTableData.vue
  24. 195 712
      src/xt_pages/workforce/components/historyWeekTable.vue
  25. 82 37
      src/xt_pages/workforce/components/tableData.vue
  26. 1 1
      src/xt_pages/workforce/printOne.vue
  27. 252 83
      src/xt_pages/workforce/scheduleTablePrint.vue
  28. 888 854
      src/xt_pages/workforce/scheduleTablePrintTwo.vue

+ 12 - 0
src/router/modules/dialysis.js Целия файл

478
         noCache: true
478
         noCache: true
479
       }
479
       }
480
     },
480
     },
481
+    {
482
+      path: '/dialysis/print/batch/Eleven',
483
+      component: () =>
484
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_Eleven'),
485
+      hidden: true,
486
+      is_menu: false,
487
+      name: 'dialysis_batch_nine',
488
+      meta: {
489
+        title: '批量打印',
490
+        noCache: true
491
+      }
492
+    },
481
     {
493
     {
482
       path: '/dialysis/print/batch/twelve',
494
       path: '/dialysis/print/batch/twelve',
483
       component: () =>
495
       component: () =>

+ 187 - 29
src/router/modules/patient.js Целия файл

181
       title: 'CourseOfDiseaseManage',
181
       title: 'CourseOfDiseaseManage',
182
       noCache: true
182
       noCache: true
183
     }
183
     }
184
-  }, {
184
+  },
185
+  {
185
       path: '/patients/sickhistory',
186
       path: '/patients/sickhistory',
186
       component: () => import('@/xt_pages/user/sickHistory'),
187
       component: () => import('@/xt_pages/user/sickHistory'),
187
       hidden: true,
188
       hidden: true,
188
       is_menu: false,
189
       is_menu: false,
189
       name: 'sickHistory',
190
       name: 'sickHistory',
190
       meta: { title: 'sickHistory', noCache: true }
191
       meta: { title: 'sickHistory', noCache: true }
191
-    }, {
192
+  }, 
193
+  {
192
       path: '/patients/inspection_check',
194
       path: '/patients/inspection_check',
193
       component: () => import('@/xt_pages/user/inspectionCheck'),
195
       component: () => import('@/xt_pages/user/inspectionCheck'),
194
       hidden: true,
196
       hidden: true,
195
       is_menu: false,
197
       is_menu: false,
196
       name: 'inspectionCheck',
198
       name: 'inspectionCheck',
197
       meta: { title: 'inspectionCheck', noCache: true }
199
       meta: { title: 'inspectionCheck', noCache: true }
198
-    },{
199
-      path: '/patients/ktv',
200
-      component: () => import('@/xt_pages/user/ktv'),
201
-      hidden: true,
202
-      is_menu: false,
203
-      name: 'ktv',
204
-      meta: { title: 'ktv', noCache: true }
205
-    },{
206
-      path: '/patients/physicalexamination',
207
-      component: () => import('@/xt_pages/user/Physicalexamination'),
208
-      hidden: true,
209
-      is_menu: false,
210
-      name: 'physicalexamination',
211
-      meta: { title: 'physicalexamination', noCache: true }
212
-    },
200
+  },
201
+  {
202
+    path: '/patients/ktv',
203
+    component: () => import('@/xt_pages/user/ktv'),
204
+    hidden: true,
205
+    is_menu: false,
206
+    name: 'ktv',
207
+    meta: { title: 'ktv', noCache: true }
208
+  },
209
+  {
210
+    path: '/patients/physicalexamination',
211
+    component: () => import('@/xt_pages/user/Physicalexamination'),
212
+    hidden: true,
213
+    is_menu: false,
214
+    name: 'physicalexamination',
215
+    meta: { title: 'physicalexamination', noCache: true }
216
+  },
213
   {
217
   {
214
     path: '/patients/rescue',
218
     path: '/patients/rescue',
215
     component: () => import('@/xt_pages/user/rescueRecord'),
219
     component: () => import('@/xt_pages/user/rescueRecord'),
254
       noCache: true
258
       noCache: true
255
     }
259
     }
256
   },
260
   },
257
-    {
258
-      path: '/physique/print',
259
-      component: () => import('@/xt_pages/user/physiqueprintingtwo'),
260
-      hidden: true,
261
-      is_menu: false,
262
-      name: 'physiqueprintingtwo',
263
-      meta: {
264
-        title: 'physiqueprintingtwo',
265
-        noCache: true
266
-      }
267
-    },
261
+  {
262
+    path: '/physique/print',
263
+    component: () => import('@/xt_pages/user/physiqueprintingtwo'),
264
+    hidden: true,
265
+    is_menu: false,
266
+    name: 'physiqueprintingtwo',
267
+    meta: {
268
+      title: 'physiqueprintingtwo',
269
+      noCache: true
270
+    }
271
+  },
268
   {
272
   {
269
     path: '/patient/patient/templateSummary/print',
273
     path: '/patient/patient/templateSummary/print',
270
     component: () => import('@/xt_pages/user/templateSummaryPrint'),
274
     component: () => import('@/xt_pages/user/templateSummaryPrint'),
319
       title: 'firstDiseasePrint',
323
       title: 'firstDiseasePrint',
320
       noCache: true
324
       noCache: true
321
     }
325
     }
322
-  }
326
+  },
327
+  {//评估工具/跌倒评估
328
+    path: '/patients/patient/:id/Fallassessment',
329
+    component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
330
+    hidden: true,
331
+    is_menu: false,
332
+    name: 'Fallassessment',
333
+    meta: {
334
+      title: 'firstDiseasePrint',
335
+      noCache: true
336
+    }
337
+  },
338
+  {//小儿跌倒风险评估
339
+    path: '/patients/patient/:id/pediatricFallAssessment',
340
+    component: () => import('@/xt_pages/user/evaluationtool/pediatricFallAssessment'),
341
+    hidden: true,
342
+    is_menu: false,
343
+    name: 'pediatricFallAssessment',
344
+    meta: {
345
+      title: 'pediatricFallAssessment',
346
+      noCache: true
347
+    }
348
+  },
349
+  {//压疮风险评估
350
+    path: '/patients/patient/:id/pressuresore',
351
+    component: () => import('@/xt_pages/user/evaluationtool/pressuresore'),
352
+    hidden: true,
353
+    is_menu: false,
354
+    name: 'pressuresore',
355
+    meta: {
356
+      title: 'pressuresore',
357
+      noCache: true
358
+    }
359
+  },
360
+  {//oh压疮评估
361
+    path: '/patients/patient/:id/OHpressuresore',
362
+    component: () => import('@/xt_pages/user/evaluationtool/OHpressuresore'),
363
+    hidden: true,
364
+    is_menu: false,
365
+    name: 'OHpressuresore',
366
+    meta: {
367
+      title: 'OHpressuresore',
368
+      noCache: true
369
+    }
370
+  },
323
 
371
 
372
+  {//日常生活能力评估
373
+    path: '/patients/patient/:id/dailyLife',
374
+    component: () => import('@/xt_pages/user/evaluationtool/dailyLife'),
375
+    hidden: true,
376
+    is_menu: false,
377
+    name: 'dailyLife',
378
+    meta: {
379
+      title: 'dailyLife',
380
+      noCache: true
381
+    }
382
+  },
383
+  {//导管脱落风险评估
384
+    path: '/patients/patient/:id/Cathetershedding',
385
+    component: () => import('@/xt_pages/user/evaluationtool/Cathetershedding'),
386
+    hidden: true,
387
+    is_menu: false,
388
+    name: 'Cathetershedding',
389
+    meta: {
390
+      title: 'Cathetershedding',
391
+      noCache: true
392
+    }
393
+  },
394
+  {//RASS及疼痛评估
395
+    path: '/patients/patient/:id/RassAssessment',
396
+    component: () => import('@/xt_pages/user/evaluationtool/RassAssessment'),
397
+    hidden: true,
398
+    is_menu: false,
399
+    name: 'RassAssessment',
400
+    meta: {
401
+      title: 'RassAssessment',
402
+      noCache: true
403
+    }
404
+  },
405
+  {//营养状况评估
406
+    path: '/patients/patient/:id/nourishmentAssessment',
407
+    component: () => import('@/xt_pages/user/evaluationtool/nourishmentAssessment'),
408
+    hidden: true,
409
+    is_menu: false,
410
+    name: 'nourishmentAssessment',
411
+    meta: {
412
+      title: 'nourishmentAssessment',
413
+      noCache: true
414
+    }
415
+  },
416
+  {//约束告知单
417
+    path: '/patients/patient/:id/Constraintnotification',
418
+    component: () => import('@/xt_pages/user/evaluationtool/Constraintnotification'),
419
+    hidden: true,
420
+    is_menu: false,
421
+    name: 'Constraintnotification',
422
+    meta: {
423
+      title: 'Constraintnotification',
424
+      noCache: true
425
+    }
426
+  },
427
+  {//心理评估
428
+    path: '/patients/patient/:id/mindAssessment',
429
+    component: () => import('@/xt_pages/user/evaluationtool/mindAssessment'),
430
+    hidden: true,
431
+    is_menu: false,
432
+    name: 'mindAssessment',
433
+    meta: {
434
+      title: 'mindAssessment',
435
+      noCache: true
436
+    }
437
+  },
438
+  {//瘙痒评估
439
+    path: '/patients/patient/:id/pruritusAssessment',
440
+    component: () => import('@/xt_pages/user/evaluationtool/pruritusAssessment'),
441
+    hidden: true,
442
+    is_menu: false,
443
+    name: 'pruritusAssessment',
444
+    meta: {
445
+      title: 'pruritusAssessment',
446
+      noCache: true
447
+    }
448
+  },
449
+  {//血液透析患者评估
450
+    path: '/patients/patient/:id/hemodialysis',
451
+    component: () => import('@/xt_pages/user/evaluationtool/hemodialysis'),
452
+    hidden: true,
453
+    is_menu: false,
454
+    name: 'hemodialysis',
455
+    meta: {
456
+      title: 'hemodialysis',
457
+      noCache: true
458
+    }
459
+  },
460
+  {//Glasgow昏迷评分量表
461
+    path: '/patients/patient/:id/Glasgow',
462
+    component: () => import('@/xt_pages/user/evaluationtool/Glasgow'),
463
+    hidden: true,
464
+    is_menu: false,
465
+    name: 'Glasgow',
466
+    meta: {
467
+      title: 'Glasgow',
468
+      noCache: true
469
+    }
470
+  },
471
+  {//肌力评估表
472
+    path: '/patients/patient/:id/Muscleforce',
473
+    component: () => import('@/xt_pages/user/evaluationtool/Muscleforce'),
474
+    hidden: true,
475
+    is_menu: false,
476
+    name: 'Muscleforce',
477
+    meta: {
478
+      title: 'Muscleforce',
479
+      noCache: true
480
+    }
481
+  },
324
   ]
482
   ]
325
 }
483
 }

+ 0 - 8
src/xt_pages/Dialysisanalysis/albumin/albuminall.vue Целия файл

135
           value: 157,
135
           value: 157,
136
           name: "达标值患者"
136
           name: "达标值患者"
137
         },
137
         },
138
-        // {
139
-        //   value: 149,
140
-        //   name: "广东"
141
-        // },
142
-        // {
143
-        //   value: 147,
144
-        //   name: "湖南"
145
-        // }
146
             
138
             
147
             ],
139
             ],
148
             pieName: [],
140
             pieName: [],

+ 0 - 1
src/xt_pages/data/printTemplate/prescriptionPrint.vue Целия файл

55
         :url-list="imgs"
55
         :url-list="imgs"
56
       ></el-image-viewer>
56
       ></el-image-viewer>
57
 
57
 
58
-    </div>
59
   </div>
58
   </div>
60
 </template>
59
 </template>
61
 
60
 

Файловите разлики са ограничени, защото са твърде много
+ 3329 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_Eleven.vue


+ 14 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyFive.vue Целия файл

1323
                           <tr
1323
                           <tr
1324
                             v-for="(monitor_record, j) in record.monitor_records"
1324
                             v-for="(monitor_record, j) in record.monitor_records"
1325
                             :key="j"
1325
                             :key="j"
1326
+                            
1326
                           >
1327
                           >
1327
                             <td>
1328
                             <td>
1328
                               {{
1329
                               {{
1415
                             </td>
1416
                             </td>
1416
                             <!-- 1:9肝素盐水剩余量 -->
1417
                             <!-- 1:9肝素盐水剩余量 -->
1417
                             <td>
1418
                             <td>
1418
-                              
1419
+                              {{
1420
+                              monitor_record.dicarbonate
1421
+                                ? monitor_record.dicarbonate
1422
+                                : ""
1423
+                            }}
1419
                             </td>
1424
                             </td>
1420
                             <!-- 体温 -->
1425
                             <!-- 体温 -->
1421
                             <td >
1426
                             <td >
1427
                             </td>
1432
                             </td>
1428
                             <!-- 签名 -->
1433
                             <!-- 签名 -->
1429
                             <td>
1434
                             <td>
1430
-                                <span v-if="setAdminUserES(monitor_record, 'monitoring_nurse') == ''">
1435
+                                <!-- <span v-if="setAdminUserES(monitor_record, 'monitoring_nurse') == ''">
1431
                                     {{ getAdminUser(monitor_record, 'monitoring_nurse') }}
1436
                                     {{ getAdminUser(monitor_record, 'monitoring_nurse') }}
1432
                                 </span>
1437
                                 </span>
1433
                                 <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
1438
                                 <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
1434
                                     <img style="height:30px;" :src="setAdminUserES(monitor_record, 'monitoring_nurse')" alt srcset />
1439
                                     <img style="height:30px;" :src="setAdminUserES(monitor_record, 'monitoring_nurse')" alt srcset />
1440
+                                </span> -->
1441
+
1442
+                                <span v-if="setAdminUserES(monitor_record, 'creator') == ''">
1443
+                                    {{ getAdminUser(monitor_record, 'creator') }}
1444
+                                </span>
1445
+                                <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
1446
+                                    <img style="height:30px;" :src="setAdminUserES(monitor_record, 'creator')" alt srcset />
1435
                                 </span>
1447
                                 </span>
1436
                             </td>
1448
                             </td>
1437
                           </tr>
1449
                           </tr>

+ 98 - 56
src/xt_pages/dialysis/batch_print/batch_print_order_twentySeven.vue Целия файл

47
                         </div>
47
                         </div>
48
                       </td>
48
                       </td>
49
                       <td>岁</td>
49
                       <td>岁</td>
50
-
50
+                      <td width="10"></td>
51
                       <td width="50">门诊号:</td>
51
                       <td width="50">门诊号:</td>
52
                       <td width="150">
52
                       <td width="150">
53
                         <div class="under-line">
53
                         <div class="under-line">
72
                         </div>
72
                         </div>
73
                       </td>
73
                       </td>
74
                       <td width="30"></td>
74
                       <td width="30"></td>
75
-                      <!-- <td width="80">治疗日期:</td>
76
-                    <td width="120">
77
-                      <div class="under-line">
78
-                        &nbsp;<span>{{
79
-                          getTime(record.schedule_date, "{y}-{m}-{d}")
80
-                        }}</span>
75
+                      
76
+                    </tr>
77
+                  </tbody>
78
+                </table>
79
+                <table class="table-box" style="margin-top: 10px;">
80
+                  <tbody>
81
+                    <tr>
82
+                      <td width="90">传染病标志:</td>
83
+                      <td width="80">
84
+                        <div class="under-line">&nbsp;{{InfectiousDiseases?InfectiousDiseases:'阴性'}}</div>
85
+                      </td>
86
+                      <td width="10"></td>
87
+                      <td width="110">上次透析时间:</td>
88
+                      <td width="120">
89
+                        <div class="under-line">&nbsp;
90
+                          <!-- {{last_order?getTime(last_order.dialysis_date, "{y}-{m}-{d}"):''}} -->
91
+                        </div>
92
+                      </td>
93
+                      <td width="10"></td>
94
+                      <td width="120">本次透析时间:
95
+                        
96
+                      </td>
97
+                      <td width="120">
98
+                        <div class="under-line">&nbsp;
99
+                          <span style="width:30px;text-align:left;">
100
+                          {{ record.assessment_after_dislysis.actual_treatment_hour ? 
101
+                          record.assessment_after_dislysis.actual_treatment_hour : '' }}
102
+                        </span>h
103
+                        <span style="width:30px;text-align:left;">
104
+                          {{ record.assessment_after_dislysis.actual_treatment_minute ? 
105
+                          record.assessment_after_dislysis.actual_treatment_minute : '' }}
106
+                        </span>min
81
                       </div>
107
                       </div>
82
-                    </td> -->
108
+                      </td>
109
+                      <td width="10"></td>
110
+                      <td width="80">透析次数:
111
+                      </td>
112
+                      <td width="120">
113
+                        <div class="under-line">&nbsp;
114
+                          {{
115
+                            record.patient.total_dialysis +
116
+                            record.patient.user_sys_before_count
117
+                              ? record.patient.total_dialysis +
118
+                                record.patient.user_sys_before_count
119
+                              : "/"
120
+                          }}
121
+                        </div>
122
+                      </td>
123
+                      <td></td>
83
                     </tr>
124
                     </tr>
84
                   </tbody>
125
                   </tbody>
85
                 </table>
126
                 </table>
86
-                <!-- <table class="table-box" style="margin-top: 10px;">
87
-          <tbody>
88
-            <tr>
89
-              <td width="90">传染病标志:</td>
90
-              <td width="80">
91
-                <div class="under-line">{{InfectiousDiseases?InfectiousDiseases:'阴性'}}</div>
92
-              </td>
93
-              <td width="10"></td>
94
-              <td width="110">上次透析时间:</td>
95
-              <td width="120">
96
-                <div class="under-line">&nbsp;{{last_order?getTime(last_order.dialysis_date, "{y}-{m}-{d}"):''}}</div>
97
-              </td>
98
-              <td width="10"></td>
99
-              <td width="110">本次透析时间:</td>
100
-              <td width="120">
101
-                <div class="under-line">&nbsp;{{ queryParams.xtdate }}</div>
102
-              </td>
103
-              <td width="10"></td>
104
-              <td width="80">透析次数:</td>
105
-              <td width="120">
106
-                <div class="under-line">&nbsp;{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</div>
107
-              </td>
108
-              <td></td>
109
-            </tr>
110
-          </tbody>
111
-        </table> -->
112
-                <table class="table-box" style="margin-top: 10px">
127
+               
128
+                <table class="table-box" style="margin-top: 10px;margin-bottom: 10px;" >
113
                   <tbody>
129
                   <tbody>
114
                     <tr>
130
                     <tr>
115
                       <td width="80">床位号:</td>
131
                       <td width="80">床位号:</td>
566
                         <table class="table-box">
582
                         <table class="table-box">
567
                           <tbody>
583
                           <tbody>
568
                             <tr>
584
                             <tr>
569
-                              <td width="70">通路类型:</td>
570
-                              <td width="210">
585
+                              <td width="69">通路类型:</td>
586
+                              <td width="212">
571
                                 <div>
587
                                 <div>
572
                                   <label-box
588
                                   <label-box
573
                                     :isChecked="
589
                                     :isChecked="
603
                                 </div>
619
                                 </div>
604
                               </td>
620
                               </td>
605
 
621
 
606
-                              <td width="70">穿刺方法:</td>
622
+                              <td width="68">穿刺方法:</td>
607
                               <td width="180">
623
                               <td width="180">
608
                                 <div>
624
                                 <div>
609
                                   <label-box
625
                                   <label-box
670
                                 </div>
686
                                 </div>
671
                               </td>
687
                               </td>
672
 
688
 
673
-                              <td width="50">导管:</td>
674
-                              <td width="130">
689
+                              <td width="40">导管:</td>
690
+                              <td width="120">
675
                                 <div>
691
                                 <div>
676
                                   <label-box
692
                                   <label-box
677
                                     :isChecked="
693
                                     :isChecked="
3196
 import { getDataConfig } from "@/utils/data";
3212
 import { getDataConfig } from "@/utils/data";
3197
 import LabelBox from "../printItem/LabelBox";
3213
 import LabelBox from "../printItem/LabelBox";
3198
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
3214
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
3215
+// import { getDialysisRecord } from '@/api/dialysis';
3199
 import print from "print-js";
3216
 import print from "print-js";
3200
 export default {
3217
 export default {
3201
   name: "BatchPrintOrder",
3218
   name: "BatchPrintOrder",
3254
         "心衰",
3271
         "心衰",
3255
         "腹痛",
3272
         "腹痛",
3256
       ],
3273
       ],
3274
+      // queryParams: {
3275
+      //   xtdate: '',
3276
+      //   xtno: '',
3277
+      //   patient_id:0,
3278
+      // },
3279
+      // last_order:{}
3257
     };
3280
     };
3258
   },
3281
   },
3259
   created() {
3282
   created() {
3292
         dialysateFormulationOptions[key];
3315
         dialysateFormulationOptions[key];
3293
     }
3316
     }
3294
 
3317
 
3295
-    //   const xtdate = this.$route.query && this.$route.query.xtdate;
3296
-    //   const xtno = this.$route.query && this.$route.query.xtno;
3297
-    //   if (typeof (xtdate) == "string" && xtdate.length > 0 && typeof (xtno) == "string" && xtno.length > 0) {
3298
-    //     this.queryParams.xtdate = xtdate;
3299
-    //     this.queryParams.xtno = xtno;
3300
-    //     this.getDialysisRecord();
3301
-    //   } else {
3302
-    //     this.$message.error("参数不齐");
3303
-    //     return false;
3304
-    //   }
3318
+      // const xtdate = this.$route.query && this.$route.query.xtdate;
3319
+      // const xtno = this.$route.query && this.$route.query.xtno;
3320
+      // console.log('zxcvbvbvb');
3321
+      // // if (typeof (xtdate) == "string" && xtdate.length > 0 && typeof (xtno) == "string" && xtno.length > 0) {
3322
+      //   console.log('asdxvbcvbxc');
3323
+      //   this.queryParams.xtdate = xtdate;
3324
+      //   this.queryParams.xtno = xtno;
3325
+      //   this.getDialysisRecord();
3326
+      // } else {
3327
+      //   this.$message.error("参数不齐");
3328
+      //   return false;
3329
+      // }
3305
   },
3330
   },
3306
   mounted() {
3331
   mounted() {
3307
     console.log(this.records);
3332
     console.log(this.records);
3651
       }
3676
       }
3652
     },
3677
     },
3653
     printAction: function () {
3678
     printAction: function () {
3679
+     
3654
       const style =
3680
       const style =
3655
         '@media print { .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 14px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 0 0; page-break-after: always; } .print_page_main_content .order-yy-name { margin: auto; text-align: center; font-size: 20px; letter-spacing: 5px;} .print_page_main_content .order_title { text-align: center; font-size: 23px; line-height: 50px; font-weight: 500; } .row { font-size: 14px; line-height: 20px; padding: 5px 0; } .inline_block { display: inline-block; } .under_line { display: inline-block; border-bottom: 1px solid #999; text-align: center; white-space: nowrap; } .under_line::before { content: "\\00A0"; } .under_line::after { content: "\\00A0"; } .flex { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; align-items: center; -webkit-align-items: center; box-align: center; -moz-box-align: center; -webkit-box-align: center; text-align: center; -webkit-justify-content: space-between; justify-content: space-between; -moz-box-pack: space-between; -webkit--moz-box-pack: space-between; box-pack: space-between; } .print_page_main_content .proj_table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } .print_page_main_content .proj_table tbody tr td { border: 1px solid; font-size: 16px; padding: 10px 8px; line-height: 30px; } .print_page_main_content .proj_table .inside_table { width: 100%; border: hidden; border-collapse: collapse; } .print_page_main_content .proj_table .inside_table tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 8px 5px; line-height: 25px; } }.es-img{height: 20px; }.advice-name{text-align: left !important;line-height: 16px !important;}.advice-children{display:flex;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 2px;position: absolute;}';
3681
         '@media print { .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 14px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 0 0; page-break-after: always; } .print_page_main_content .order-yy-name { margin: auto; text-align: center; font-size: 20px; letter-spacing: 5px;} .print_page_main_content .order_title { text-align: center; font-size: 23px; line-height: 50px; font-weight: 500; } .row { font-size: 14px; line-height: 20px; padding: 5px 0; } .inline_block { display: inline-block; } .under_line { display: inline-block; border-bottom: 1px solid #999; text-align: center; white-space: nowrap; } .under_line::before { content: "\\00A0"; } .under_line::after { content: "\\00A0"; } .flex { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; align-items: center; -webkit-align-items: center; box-align: center; -moz-box-align: center; -webkit-box-align: center; text-align: center; -webkit-justify-content: space-between; justify-content: space-between; -moz-box-pack: space-between; -webkit--moz-box-pack: space-between; box-pack: space-between; } .print_page_main_content .proj_table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } .print_page_main_content .proj_table tbody tr td { border: 1px solid; font-size: 16px; padding: 10px 8px; line-height: 30px; } .print_page_main_content .proj_table .inside_table { width: 100%; border: hidden; border-collapse: collapse; } .print_page_main_content .proj_table .inside_table tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 8px 5px; line-height: 25px; } }.es-img{height: 20px; }.advice-name{text-align: left !important;line-height: 16px !important;}.advice-children{display:flex;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 2px;position: absolute;}';
3656
       const style2 =
3682
       const style2 =
3657
-        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}';
3683
+       // font-weight:600;
3684
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}';
3658
       printJS({
3685
       printJS({
3659
         printable: "print_content",
3686
         printable: "print_content",
3660
         type: "html",
3687
         type: "html",
3778
         return record[key] == target_value;
3805
         return record[key] == target_value;
3779
       }
3806
       }
3780
     },
3807
     },
3808
+    // getDialysisRecord() {
3809
+    //   this.loading = true
3810
+    //   this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
3811
+    //   getDialysisRecord(this.queryParams).then(response => {
3812
+    //     if (response.data.state === 1) {
3813
+          
3814
+    //       this.last_order = response.data.data.last_order
3815
+    //       console.log('sdfas',this.last_order);
3816
+    //     } else {
3817
+    //       this.loading = false
3818
+    //       this.$message.error('请求数据失败')
3819
+    //       return false
3820
+    //     }
3821
+    //   })
3822
+    // },
3781
   },
3823
   },
3782
 };
3824
 };
3783
 </script>
3825
 </script>
3802
   text-align: center;
3844
   text-align: center;
3803
   font-size: 23px;
3845
   font-size: 23px;
3804
   line-height: 40px;
3846
   line-height: 40px;
3805
-  font-weight: 500;
3847
+  /* font-weight: 500; */
3806
 }
3848
 }
3807
 
3849
 
3808
 .row {
3850
 .row {
3974
 
4016
 
3975
 .dialysis-print-order .order-title {
4017
 .dialysis-print-order .order-title {
3976
   margin: auto;
4018
   margin: auto;
3977
-  font-weight: 600;
4019
+  /* font-weight: 600; */
3978
   text-align: center;
4020
   text-align: center;
3979
   font-size: 22px;
4021
   font-size: 22px;
3980
   padding: 10px 20px 20px 20px;
4022
   padding: 10px 20px 20px 20px;
4014
 }
4056
 }
4015
 
4057
 
4016
 .dialysis-print-order .radio-lebel-box {
4058
 .dialysis-print-order .radio-lebel-box {
4017
-  font-weight: 400;
4059
+  /* font-weight: 400; */
4018
   cursor: pointer;
4060
   cursor: pointer;
4019
 }
4061
 }
4020
 
4062
 
4125
 
4167
 
4126
 .dialysis-print-order .order-title {
4168
 .dialysis-print-order .order-title {
4127
   margin: auto;
4169
   margin: auto;
4128
-  font-weight: 600;
4170
+  /* font-weight: 600; */
4129
   text-align: center;
4171
   text-align: center;
4130
   font-size: 22px;
4172
   font-size: 22px;
4131
   padding: 10px 20px 20px 20px;
4173
   padding: 10px 20px 20px 20px;
4165
 }
4207
 }
4166
 
4208
 
4167
 .dialysis-print-order .radio-lebel-box {
4209
 .dialysis-print-order .radio-lebel-box {
4168
-  font-weight: 400;
4210
+  /* font-weight: 400; */
4169
   cursor: pointer;
4211
   cursor: pointer;
4170
 }
4212
 }
4171
 
4213
 

+ 15 - 4
src/xt_pages/dialysis/bloodPresssWatch.vue Целия файл

130
           >批量打印</el-button
130
           >批量打印</el-button
131
         >
131
         >
132
       </template>
132
       </template>
133
+      <template v-if="this.template_id == 11">
134
+        <el-button
135
+          size="small"
136
+          icon="el-icon-printer"
137
+          :disabled="selecting_schs.length == 0"
138
+          @click="batchPrintAction"
139
+          type="primary"
140
+          >批量打印</el-button>
141
+      </template>
133
       <template v-if="this.template_id == 12">
142
       <template v-if="this.template_id == 12">
134
         <el-button
143
         <el-button
135
           size="small"
144
           size="small"
219
           >批量打印</el-button
228
           >批量打印</el-button
220
         >
229
         >
221
       </template>
230
       </template>
222
-      <!-- <template v-if="this.template_id == 27">
231
+      <template v-if="this.template_id == 27">
223
         <el-button
232
         <el-button
224
           size="small"
233
           size="small"
225
           icon="el-icon-printer"
234
           icon="el-icon-printer"
228
           type="primary"
237
           type="primary"
229
           >批量打印</el-button
238
           >批量打印</el-button
230
         >
239
         >
231
-      </template> -->
240
+      </template>
232
       <template v-if="this.template_id == 28">
241
       <template v-if="this.template_id == 28">
233
         <el-button
242
         <el-button
234
           size="small"
243
           size="small"
392
           type="primary"
401
           type="primary"
393
           >批量打印</el-button>
402
           >批量打印</el-button>
394
       </template>
403
       </template>
395
-
404
+      
396
     </div>
405
     </div>
397
     <div class="app-container">
406
     <div class="app-container">
398
       <!-- <div class="filter-container">
407
       <!-- <div class="filter-container">
2073
         this.$router.push({ path: "/dialysis/print/batch/eight" });
2082
         this.$router.push({ path: "/dialysis/print/batch/eight" });
2074
       } else if (this.template_id == 9) {
2083
       } else if (this.template_id == 9) {
2075
         this.$router.push({ path: "/dialysis/print/batch/nine" });
2084
         this.$router.push({ path: "/dialysis/print/batch/nine" });
2085
+      }else if (this.template_id == 11) {
2086
+        this.$router.push({ path: "/dialysis/print/batch/Eleven" });
2076
       } else if (this.template_id == 12) {
2087
       } else if (this.template_id == 12) {
2077
         this.$router.push({ path: "/dialysis/print/batch/twelve" });
2088
         this.$router.push({ path: "/dialysis/print/batch/twelve" });
2078
       } else if (this.template_id == 13) {
2089
       } else if (this.template_id == 13) {
2125
         this.$router.push({ path: "/dialysis/print/batch/sixtyOne" });
2136
         this.$router.push({ path: "/dialysis/print/batch/sixtyOne" });
2126
       }else if (this.template_id == 62) {
2137
       }else if (this.template_id == 62) {
2127
         this.$router.push({ path: "/dialysis/print/batch/sixtyTwo" });
2138
         this.$router.push({ path: "/dialysis/print/batch/sixtyTwo" });
2128
-      }else if (this.template_id == 65) {//dialysis/print/batch/sixtyFive
2139
+      }else if (this.template_id == 65) {
2129
         this.$router.push({ path: "/dialysis/print/batch/sixtyFive" });
2140
         this.$router.push({ path: "/dialysis/print/batch/sixtyFive" });
2130
       }
2141
       }
2131
 
2142
 

+ 22 - 20
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Целия файл

212
 
212
 
213
       </el-form-item>
213
       </el-form-item>
214
 
214
 
215
-      <el-form-item
216
-        label-width="150px"
217
-        label="跌倒风险预防措施: "
218
-        :prop="isName('跌倒风险预防措施')"
219
-        :rules="isCheckmust('跌倒风险预防措施')"
220
-        v-if="isShow('跌倒风险预防措施')"
221
-      >
222
-        <!-- isFalldown prop="precautionTwo" @change="precautionchange" isCheckmust('跌倒风险预防措施') :prop="isName('跌倒风险预防措施')" :rules="isCheckmust('跌倒风险预防措施')"
223
-           [{required: true, message: '请选择跌倒风险预防措施', trigger: 'change'}]-->
224
-        <el-checkbox-group v-model="precautionTwo" @change="precautionchange">
225
-          <el-checkbox
226
-            v-for="item in precaution_arr"
227
-            :label="item.name"
228
-            :key="item.id"
229
-            >{{ item.name }}</el-checkbox
230
-          >
231
-        </el-checkbox-group>
232
-      </el-form-item>
215
+      <div style="position: relative;">
216
+        <span v-if="isrequired" style="color: red;position: absolute;top: 10px;">*</span>
217
+        <el-form-item
218
+          label-width="138px"
219
+          label="跌倒风险预防措施: "
220
+          prop="precautionTwo"
221
+          :rules="isCheckmust('跌倒风险预防措施')"
222
+          v-if="isShow('跌倒风险预防措施')"
223
+          style="display: inline-block;"
224
+        >
225
+          <el-checkbox-group v-model="precautionTwo" @change="precautionchange" >
226
+            <el-checkbox
227
+              v-for="item in precaution_arr"
228
+              :label="item.name"
229
+              :key="item.id"
230
+              >{{ item.name }}</el-checkbox
231
+            >
232
+          </el-checkbox-group>
233
+        </el-form-item>
234
+      </div>
233
 
235
 
234
       <el-form-item
236
       <el-form-item
235
         label-width="200px"
237
         label-width="200px"
499
     },
501
     },
500
     // 复选框跌倒风险措施
502
     // 复选框跌倒风险措施
501
     precautionchange(){
503
     precautionchange(){
502
-
504
+      console.log('12345566',this.precautionTwo.length);
503
       if(this.precautionTwo.length>0){
505
       if(this.precautionTwo.length>0){
506
+        console.log('asdfasdfas',this.precautionTwo.length);
504
         this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
507
         this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
505
       }
508
       }
506
     },
509
     },
607
             if(this.precautionTwo.length<=0){
610
             if(this.precautionTwo.length<=0){
608
               this.isrequired=false
611
               this.isrequired=false
609
               return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
612
               return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
610
-
611
             }
613
             }
612
             this.precautionchange()
614
             this.precautionchange()
613
             this.isrequired=true
615
             this.isrequired=true

+ 3 - 6
src/xt_pages/dialysis/dialysisPrintOrder.vue Целия файл

1625
           scanStyles: false,
1625
           scanStyles: false,
1626
         });
1626
         });
1627
       } else if (
1627
       } else if (
1628
-        this.org_template_info.template_id == 2
1629
-       
1628
+        this.org_template_info.template_id == 2     
1630
       ) {
1629
       ) {
1631
         printJS({
1630
         printJS({
1632
           printable: "dialysis-print-box-1",
1631
           printable: "dialysis-print-box-1",
1908
           style: style,
1907
           style: style,
1909
           scanStyles: false,
1908
           scanStyles: false,
1910
         });
1909
         });
1911
-      } else if (
1912
-        this.org_template_info.template_id == 43
1913
-      ) {
1910
+      } else if (this.org_template_info.template_id == 43) {
1914
         printJS({
1911
         printJS({
1915
           printable: "dialysis-print-box-1",
1912
           printable: "dialysis-print-box-1",
1916
           type: "html",
1913
           type: "html",
1917
           style: style2,
1914
           style: style2,
1918
           scanStyles: false,
1915
           scanStyles: false,
1919
         });
1916
         });
1920
-      }else if (this.org_template_info.template_id == 44) {
1917
+      } else if (this.org_template_info.template_id == 44) {
1921
         printJS({
1918
         printJS({
1922
           printable: "dialysis-print-box-1",
1919
           printable: "dialysis-print-box-1",
1923
           type: "html",
1920
           type: "html",

Файловите разлики са ограничени, защото са твърде много
+ 3747 - 3749
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue


+ 6 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue Целия файл

378
                             }}
378
                             }}
379
                             </span>
379
                             </span>
380
                         </td >
380
                         </td >
381
-
382
                         <td style=" ">
381
                         <td style=" ">
383
                             <span v-if="getTime(monitor.operate_time) != ''">
382
                             <span v-if="getTime(monitor.operate_time) != ''">
384
                                 &nbsp;{{
383
                                 &nbsp;{{
444
 
443
 
445
                         <!-- <td style=" "> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td> -->
444
                         <!-- <td style=" "> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td> -->
446
                         <td style=" ">
445
                         <td style=" ">
447
-                          <span style="word-break: break-all;word-wrap: break-word;">
448
-
449
-                              {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{monitor.result}}
450
-                          </span>
446
+                          <!-- <span style="display:inline-block;word-break: break-all;word-wrap: break-word; text-align: left;text-indent:2em;">
447
+                            {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{monitor.result}}
448
+                          </span> -->
449
+                          <div style="word-break: break-all;word-wrap: break-word; text-align: left;text-indent:2em;">
450
+                            {{ monitor.symptom }} {{ monitor.dispose }} {{monitor.result}}
451
+                          </div>
451
                         </td>
452
                         </td>
452
                         <!-- <td>
453
                         <!-- <td>
453
                           <span v-if="
454
                           <span v-if="
481
                           />
482
                           />
482
                         </td> -->
483
                         </td> -->
483
                       </tr>
484
                       </tr>
484
-                    
485
                   </table>
485
                   </table>
486
                 </td>
486
                 </td>
487
               </tr>
487
               </tr>

+ 3 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue Целия файл

2079
             this.AlPanel = this.anticoagulantsConfit[thisALID]
2079
             this.AlPanel = this.anticoagulantsConfit[thisALID]
2080
           }
2080
           }
2081
           this.last_order = response.data.data.last_order
2081
           this.last_order = response.data.data.last_order
2082
+          console.log('123454576576',response.data.data);
2082
           this.advices = response.data.data.advices
2083
           this.advices = response.data.data.advices
2083
           this.monitors = response.data.data.monitors
2084
           this.monitors = response.data.data.monitors
2084
           console.log('透析监测', this.monitors)
2085
           console.log('透析监测', this.monitors)
2375
 
2376
 
2376
     const xtdate = this.$route.query && this.$route.query.xtdate
2377
     const xtdate = this.$route.query && this.$route.query.xtdate
2377
     const xtno = this.$route.query && this.$route.query.xtno
2378
     const xtno = this.$route.query && this.$route.query.xtno
2379
+    
2378
     if (typeof xtdate === 'string' && xtdate.length > 0 && typeof xtno === 'string' && xtno.length > 0) {
2380
     if (typeof xtdate === 'string' && xtdate.length > 0 && typeof xtno === 'string' && xtno.length > 0) {
2381
+      
2379
       this.queryParams.xtdate = xtdate
2382
       this.queryParams.xtdate = xtdate
2380
       this.queryParams.xtno = xtno
2383
       this.queryParams.xtno = xtno
2381
       this.getDialysisRecord()
2384
       this.getDialysisRecord()

+ 1 - 1
src/xt_pages/outpatientCharges/invoiceTemplate/printSix.vue Целия файл

16
                 <div v-if="list.otherCostTotal">其他费 {{ list.otherCostTotal }}</div>
16
                 <div v-if="list.otherCostTotal">其他费 {{ list.otherCostTotal }}</div>
17
                 <div v-if="list.materialCostTotal">材料费 {{ list.materialCostTotal }}</div>
17
                 <div v-if="list.materialCostTotal">材料费 {{ list.materialCostTotal }}</div>
18
             </div>
18
             </div>
19
-            <div :style="{position: 'absolute',top:(190 + (index * 660))  + 'px',left:300+ 'px'}">
19
+            <div :style="{position: 'absolute',top:(190 + (index * 660))  + 'px',left:280+ 'px'}">
20
                 <div v-for="item in list.order_info.slice(index * 10,(index * 10) + pageArr[index])">
20
                 <div v-for="item in list.order_info.slice(index * 10,(index * 10) + pageArr[index])">
21
                     <span style="display:inline-block;width:200px;">
21
                     <span style="display:inline-block;width:200px;">
22
                         <span v-if="item.advice.id == 0">
22
                         <span v-if="item.advice.id == 0">

+ 3 - 1
src/xt_pages/stock/stockInOrderAdd.vue Целия файл

58
                     @select="handleSelect"
58
                     @select="handleSelect"
59
                     @input="changeGoodName(scope.$index)"
59
                     @input="changeGoodName(scope.$index)"
60
                     style="width:160px;"
60
                     style="width:160px;"
61
+                    :popper-append-to-body="true"
61
                   >
62
                   >
62
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
63
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
63
                   <template slot-scope="{ item }">
64
                   <template slot-scope="{ item }">
1013
     background: #6fb5fa;
1014
     background: #6fb5fa;
1014
   }
1015
   }
1015
 .el-autocomplete-suggestion{
1016
 .el-autocomplete-suggestion{
1016
-    width: 400px !important;
1017
+    /* width: 400px !important; */
1018
+    width: auto !important;
1017
   }
1019
   }
1018
 
1020
 
1019
 
1021
 

+ 20 - 12
src/xt_pages/stock/stockOutOrderAdd.vue Целия файл

97
                     placeholder="请输入耗材名称"
97
                     placeholder="请输入耗材名称"
98
                     @select="handleSelect"
98
                     @select="handleSelect"
99
                     @input="changeGoodName(scope.$index)"
99
                     @input="changeGoodName(scope.$index)"
100
-                    style="width:150px;"
100
+                    :popper-append-to-body="true"
101
                   >
101
                   >
102
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
102
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
103
                   <template slot-scope="{ item }">
103
                   <template slot-scope="{ item }">
104
                     <div class="name">{{item.good_name +"  " +item.specification_name + "  "+  item.manufacturer}}</div>
104
                     <div class="name">{{item.good_name +"  " +item.specification_name + "  "+  item.manufacturer}}</div>
105
                   </template>
105
                   </template>
106
-                 </el-autocomplete>
106
+                </el-autocomplete>
107
+
108
+                 <!-- <el-autocomplete
109
+                    v-model="scope.row.good_name"
110
+                    :fetch-suggestions="querySearchAsync"
111
+                    :trigger-on-focus="true"
112
+                    placeholder="请输入耗材名称"
113
+                    @select="handleSelect"
114
+                    :popper-append-to-body="true"
115
+                  >
116
+                  
117
+                  <i class="el-icon-search el-input__icon" slot="suffix"></i>
118
+                  <template slot-scope="{ item }">
119
+                    <div class="name">{{item.good_name +"  " +item.specification_name + "  "+  item.manufacturer}}</div>
120
+                  </template>
121
+                 </el-autocomplete> -->
107
               </el-form-item>
122
               </el-form-item>
108
             </template>
123
             </template>
109
           </el-table-column>
124
           </el-table-column>
111
             <template slot="header" slot-scope="scope">
126
             <template slot="header" slot-scope="scope">
112
               <span>耗材类型</span>
127
               <span>耗材类型</span>
113
             </template>
128
             </template>
114
-
115
             <template slot-scope="scope">
129
             <template slot-scope="scope">
116
-
117
-
118
               <el-form-item style="padding-top: 20px">
130
               <el-form-item style="padding-top: 20px">
119
                 <el-input
131
                 <el-input
120
                   placeholder="请输入耗材类型"
132
                   placeholder="请输入耗材类型"
125
             </template>
137
             </template>
126
           </el-table-column>
138
           </el-table-column>
127
 
139
 
128
-
129
           <el-table-column width="140" align="center">
140
           <el-table-column width="140" align="center">
130
             <template slot="header" slot-scope="scope">
141
             <template slot="header" slot-scope="scope">
131
               <span>规格&单位<span style="color: red">*</span></span>
142
               <span>规格&单位<span style="color: red">*</span></span>
230
             </template>
241
             </template>
231
           </el-table-column>
242
           </el-table-column>
232
 
243
 
233
-
234
-
235
           <el-table-column label="总价"  width="80" align="center">
244
           <el-table-column label="总价"  width="80" align="center">
236
             <template slot-scope="scope">
245
             <template slot-scope="scope">
237
               {{ calculate(scope.row.price * scope.row.count) }}
246
               {{ calculate(scope.row.price * scope.row.count) }}
312
             </template>
321
             </template>
313
           </el-table-column>
322
           </el-table-column>
314
 
323
 
315
-
316
-
317
           <el-table-column label="备注"  width="150" align="center">
324
           <el-table-column label="备注"  width="150" align="center">
318
             <template slot-scope="scope">
325
             <template slot-scope="scope">
319
               <el-input v-model="scope.row.remark"></el-input>
326
               <el-input v-model="scope.row.remark"></el-input>
1057
 .sign-and-weigh-box .sign-and-weigh-box-patients .current-row > td {
1064
 .sign-and-weigh-box .sign-and-weigh-box-patients .current-row > td {
1058
   background: #6fb5fa;
1065
   background: #6fb5fa;
1059
 }
1066
 }
1060
-s.el-autocomplete-suggestion{
1061
-  width: 400px !important;
1067
+.el-autocomplete-suggestion{
1068
+  // width: 400px !important;
1069
+  width: auto !important;
1062
 }
1070
 }
1063
 ::-webkit-scrollbar{
1071
 ::-webkit-scrollbar{
1064
   height: 20px;
1072
   height: 20px;

+ 110 - 12
src/xt_pages/user/components/PatientSidebar.vue Целия файл

203
             },
203
             },
204
           ]
204
           ]
205
         },
205
         },
206
-
206
+        {
207
+          name: '5',
208
+          label: '评估工具',
209
+          children: [
210
+            {
211
+              name: '5-1',
212
+              label: '跌倒评估'
213
+            },
214
+            {
215
+              name: '5-2',
216
+              label: '小儿跌倒风险评估'
217
+            },
218
+            {
219
+              name: '5-3',
220
+              label: '压疮风险评估'
221
+            },
222
+            {
223
+              name: '5-4',
224
+              label: 'OH压疮评估'
225
+            },
226
+            {
227
+              name: '5-5',
228
+              label: '日常生活能力评估'
229
+            },
230
+            {
231
+              name: '5-6',
232
+              label: '导管脱离风险评估'
233
+            },
234
+            {
235
+              name: '5-7',
236
+              label: 'RASS及疼痛评估'
237
+            },
238
+            {
239
+              name: '5-8',
240
+              label: '营养状况评估'
241
+            },
242
+            {
243
+              name: '5-9',
244
+              label: '约束告知单'
245
+            },
246
+            {
247
+              name: '5-10',
248
+              label: '心理评估'
249
+            },
250
+            {
251
+              name: '5-11',
252
+              label: '瘙痒评估'
253
+            },
254
+            {
255
+              name: '5-12',
256
+              label: '血液透析患者评估'
257
+            },
258
+            {
259
+              name: '5-13',
260
+              label: 'Glasgow昏迷评分量表'
261
+            },
262
+            {
263
+              name: '5-14',
264
+              label: '肌力评估表'
265
+            },
266
+          ]
267
+        },
207
       ],
268
       ],
208
       name:""
269
       name:""
209
     }
270
     }
245
         this.$router.push({
306
         this.$router.push({
246
           path: '/patients/patient/' + this.id + '/proeducation'
307
           path: '/patients/patient/' + this.id + '/proeducation'
247
         })
308
         })
248
-      }else if (name == '1-7'){
309
+      } else if (name == '1-7'){
249
         this.$router.push({path:'/patients/patient/'+this.id+'/vascularAccess'})
310
         this.$router.push({path:'/patients/patient/'+this.id+'/vascularAccess'})
250
-      }else if (name == '1-8'){
311
+      } else if (name == '1-8'){
251
         this.$router.push({path:'/patients/patients/'+this.id+'/inspectionInfectious'})
312
         this.$router.push({path:'/patients/patients/'+this.id+'/inspectionInfectious'})
252
-      }else if (name == '1-9'){
313
+      } else if (name == '1-9'){
253
         this.$router.push({path:'/patient/patient/'+this.id+'/templateSummary'})
314
         this.$router.push({path:'/patient/patient/'+this.id+'/templateSummary'})
254
-      }else if(name == '1-10'){
315
+      } else if(name == '1-10'){
255
         this.$router.push({path:'/patient/patient/'+this.id+'/hospitalSummary'})
316
         this.$router.push({path:'/patient/patient/'+this.id+'/hospitalSummary'})
256
-      }else if(name == '1-11'){
317
+      } else if(name == '1-11'){
257
         this.$router.push({path:'/patient/patient/'+this.id+'/firstDisease'})
318
         this.$router.push({path:'/patient/patient/'+this.id+'/firstDisease'})
258
-      }else if(name == '3-1'){
319
+      } else if(name == '3-1'){
259
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
320
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
260
 
321
 
261
       } else if(name == '3-2'){
322
       } else if(name == '3-2'){
262
         this.$router.push({path:'/patients/physicalexamination?id='+this.id})
323
         this.$router.push({path:'/patients/physicalexamination?id='+this.id})
263
 
324
 
264
-      }else if(name == '4-1'){
325
+      } else if(name == '4-1'){
265
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
326
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
266
-      }else if(name == '4-3'){
327
+      } else if(name == '4-3'){
267
         this.$router.push({path:'/patients/ktv?id='+this.id})
328
         this.$router.push({path:'/patients/ktv?id='+this.id})
268
-      }
329
+      } else if (name == '5-1') {
330
+        this.$router.push({
331
+          path: '/patients/patient/'+ this.id +'/Fallassessment'
332
+        })
333
+      } else if (name == '5-2') {
334
+        this.$router.push({
335
+          path: '/patients/patient/' + this.id + '/pediatricFallAssessment'
336
+        })
337
+      } else if (name == '5-3') {
338
+        this.$router.push({
339
+          path: '/patients/patient/' + this.id + '/pressuresore'
340
+        })
341
+      } else if (name == '5-4') {
342
+        this.$router.push({
343
+          path: '/patients/patient/' + this.id + '/OHpressuresore'
344
+        })
345
+      } else if (name == '5-5'){
346
+        this.$router.push({path:'/patients/patient/'+this.id+'/dailyLife'})
347
+      } else if (name == '5-6'){
348
+        this.$router.push({path:'/patients/patient/'+this.id+'/Cathetershedding'})
349
+      } else if (name == '5-7'){
350
+        this.$router.push({path:'/patients/patient/'+this.id+'/RassAssessment'})
351
+      } else if(name == '5-8'){
352
+        this.$router.push({path:'/patients/patient/'+this.id+'/nourishmentAssessment'})
353
+      } else if(name == '5-9'){
354
+        this.$router.push({path:'/patients/patient/'+this.id+'/Constraintnotification'})
355
+      } else if(name == '5-10'){
356
+        this.$router.push({ path: '/patients/patient/' + this.id+'/mindAssessment'})
357
+      } else if(name == '5-11'){
358
+        this.$router.push({path:'/patients/patient/' + this.id+'/pruritusAssessment'})
359
+
360
+      } else if(name == '5-12'){
361
+        this.$router.push({path:'/patients/patient/' + this.id+'/hemodialysis'})
362
+      } else if(name == '5-13'){
363
+        this.$router.push({path:'/patients/patient/' + this.id+'/Glasgow'})
364
+      } else if(name == '5-14'){
365
+        this.$router.push({path:'/patients/patient/' + this.id+'/Muscleforce'})
366
+      } 
269
     },
367
     },
270
     changePatient(value) {
368
     changePatient(value) {
271
       console.log(value)
369
       console.log(value)
397
       }
495
       }
398
        else if (patientKey == '1-5') {
496
        else if (patientKey == '1-5') {
399
         this.$router.push({ path: '/patients/rescue?id=' + this.id })
497
         this.$router.push({ path: '/patients/rescue?id=' + this.id })
400
-      }else if (patientKey == '2-1') {
498
+      } else if (patientKey == '2-1') {
401
         this.$router.push({
499
         this.$router.push({
402
           path: '/patients/patient/' + this.id + '/dialysisSolution'
500
           path: '/patients/patient/' + this.id + '/dialysisSolution'
403
         })
501
         })
413
         this.$router.push({
511
         this.$router.push({
414
           path: '/patients/patient/' + this.id + '/proeducation'
512
           path: '/patients/patient/' + this.id + '/proeducation'
415
         })
513
         })
416
-      }else if (patientKey == '3-1') {
514
+      } else if (patientKey == '3-1') {
417
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
515
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
418
       }
516
       }
419
 
517
 

+ 0 - 6
src/xt_pages/user/dialysisSolution.vue Целия файл

243
 
243
 
244
     </div>
244
     </div>
245
 
245
 
246
-
247
-
248
-
249
     <el-dialog
246
     <el-dialog
250
       :title="isEdit ? '编辑透析处方' : '新增透析处方'"
247
       :title="isEdit ? '编辑透析处方' : '新增透析处方'"
251
       :visible.sync="dialogVisible"
248
       :visible.sync="dialogVisible"
806
       v-on:dialog-cancle="innerDialogCancle">
803
       v-on:dialog-cancle="innerDialogCancle">
807
     </multi-select-box>
804
     </multi-select-box>
808
 
805
 
809
-
810
-
811
-
812
     <el-dialog
806
     <el-dialog
813
       :visible.sync="startDialogVisible"
807
       :visible.sync="startDialogVisible"
814
       width="1010px"
808
       width="1010px"

+ 1 - 1
src/xt_pages/user/hospitalSummary.vue Целия файл

1
 <template>
1
 <template>
2
   <div class="patient-container">
2
   <div class="patient-container">
3
-    <patient-sidebar :id="patient_id" defaultActive="1-9"></patient-sidebar>
3
+    <patient-sidebar :id="patient_id" defaultActive="1-10"></patient-sidebar>
4
     <div v-loading="loading">
4
     <div v-loading="loading">
5
       <div class="patient-app-container advice-container app-container">
5
       <div class="patient-app-container advice-container app-container">
6
 
6
 

+ 40 - 7
src/xt_pages/user/inspection.vue Целия файл

167
             <el-row>
167
             <el-row>
168
               <template v-for="(item, index) in items">
168
               <template v-for="(item, index) in items">
169
                 <el-col :span="7" :key="index">
169
                 <el-col :span="7" :key="index">
170
-                  <div style="width: 400px">
170
+                  <div style=" margin: 5px;">
171
                     <el-row>
171
                     <el-row>
172
-                      <img  :src="item.value" alt="">
172
+                      <el-col :span="8" style="width: 100%;height: 100%;" >
173
+                        <div @click="imgClicks(item.value)">
174
+                          <el-tooltip
175
+                            class="item"
176
+                            effect="dark"
177
+                            :hide-after="2000"
178
+                            content="点击查看大图"
179
+                            placement="top-start"
180
+                            >
181
+                              <img :src="item.value" alt="">
182
+                            </el-tooltip>
183
+                        </div>
184
+                      </el-col>
173
                     </el-row>
185
                     </el-row>
174
                     <el-row>
186
                     <el-row>
175
-                      <div style="word-break: break-all;word-wrap: break-word">{{item.item_name}}</div>
187
+                      <div style="word-break: break-all;word-wrap: break-word; text-align:center">{{item.item_name}}</div>
176
                     </el-row>
188
                     </el-row>
177
                   </div>
189
                   </div>
178
                 </el-col>
190
                 </el-col>
375
         </el-button>
387
         </el-button>
376
       </div>
388
       </div>
377
     </el-dialog>
389
     </el-dialog>
390
+
391
+    <el-image-viewer
392
+        v-if="showViewer"
393
+        :on-close="closeViewer"
394
+        :url-list="imgs"
395
+      ></el-image-viewer>
378
   </div>
396
   </div>
379
 
397
 
380
 </template>
398
 </template>
381
 
399
 
382
 <script>
400
 <script>
383
 import PatientSidebar from './components/PatientSidebar'
401
 import PatientSidebar from './components/PatientSidebar'
402
+import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
384
 import { getToken } from '@/api/qiniu'
403
 import { getToken } from '@/api/qiniu'
385
 
404
 
386
 import {
405
 import {
396
 
415
 
397
 export default {
416
 export default {
398
   name: 'Inspection',
417
   name: 'Inspection',
399
-  components: { PatientSidebar },
418
+  components: { PatientSidebar, ElImageViewer},
400
   data() {
419
   data() {
401
     return {
420
     return {
421
+      showViewer:false,
422
+      imgs:[],
402
       total: 0,
423
       total: 0,
403
       qiniuDomain: 'https://images.shengws.com/',
424
       qiniuDomain: 'https://images.shengws.com/',
404
       isPic:false,
425
       isPic:false,
443
     }
464
     }
444
   },
465
   },
445
   methods: {
466
   methods: {
467
+    imgClicks(val){
468
+      console.log('asdasgg',val);
469
+      this.imgs = []
470
+      this.imgs.push(val)
471
+      this.showViewer = true
472
+    },
473
+    closeViewer(){
474
+      this.showViewer = false
475
+    },
446
     beforeAvatarUpload(file) {
476
     beforeAvatarUpload(file) {
447
       // const isJPG = file.type === "image/jpeg";
477
       // const isJPG = file.type === "image/jpeg";
448
       var fileType = file.type
478
       var fileType = file.type
633
 
663
 
634
       }
664
       }
635
 
665
 
636
-    }, openPic() {
666
+    }, 
667
+    openPic() {
637
       if (this.project == null) {
668
       if (this.project == null) {
638
         this.$message.error('请先选择项目')
669
         this.$message.error('请先选择项目')
639
         return false
670
         return false
888
           return false
919
           return false
889
         }
920
         }
890
       })
921
       })
891
-    }, submitEditPicNew() {
922
+    }, 
923
+    submitEditPicNew() {
892
       if (this.form.imgs.length == 0) {
924
       if (this.form.imgs.length == 0) {
893
         this.$message.error('未上传图片')
925
         this.$message.error('未上传图片')
894
         return false
926
         return false
925
         })
957
         })
926
       this.formLoading = false
958
       this.formLoading = false
927
 
959
 
928
-    },deletePic(item,index){
960
+    },
961
+    deletePic(item,index){
929
       if(item.id == 0){
962
       if(item.id == 0){
930
         this.form.imgs.splice(index,1)
963
         this.form.imgs.splice(index,1)
931
       }else{
964
       }else{

+ 1 - 1
src/xt_pages/user/patient.vue Целия файл

162
       </span>
162
       </span>
163
     </el-dialog>
163
     </el-dialog>
164
 
164
 
165
-    </div>
165
+  </div>
166
 
166
 
167
 </template>
167
 </template>
168
 
168
 

+ 0 - 1
src/xt_pages/workforce/appointment.vue Целия файл

130
                         :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone"
130
                         :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone"
131
                          title="" @event1="changePartition"
131
                          title="" @event1="changePartition"
132
                          @event2="changeSchedule" v-if="is_edit" @event3="changeWeekDay">
132
                          @event2="changeSchedule" v-if="is_edit" @event3="changeWeekDay">
133
-
134
         <div class="position">
133
         <div class="position">
135
           <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
134
           <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
136
           <div>
135
           <div>

+ 97 - 43
src/xt_pages/workforce/components/editTableData.vue Целия файл

131
             :header-cell-style="{
131
             :header-cell-style="{
132
             backgroundColor: 'rgb(245, 247, 250)',
132
             backgroundColor: 'rgb(245, 247, 250)',
133
             color: '#606266',
133
             color: '#606266',
134
+            border: '1px solid aqua',
134
           }"
135
           }"
135
             :fit="true"
136
             :fit="true"
136
             :data="scheduleZone"
137
             :data="scheduleZone"
137
             @cell-click="clickThis"
138
             @cell-click="clickThis"
139
+            @cell-mouse-enter="hoverMouse"
138
             @cell-dblclick="dblclickThis"
140
             @cell-dblclick="dblclickThis"
139
             :span-method="objectSpanMethod"
141
             :span-method="objectSpanMethod"
140
             :summary-method="getSummaries"
142
             :summary-method="getSummaries"
141
             :cell-class-name="cellClass"
143
             :cell-class-name="cellClass"
144
+            :cell-style ='cellstyle'
142
             :row-class-name="tableRowClassName"
145
             :row-class-name="tableRowClassName"
143
             show-summary
146
             show-summary
144
             sum-text="总数"
147
             sum-text="总数"
152
               min-width="60"
155
               min-width="60"
153
               align="center"
156
               align="center"
154
               fixed
157
               fixed
158
+              style="border-bottom: 1px solid aqua;"
155
           ></el-table-column>
159
           ></el-table-column>
156
           <el-table-column
160
           <el-table-column
157
               prop="cut"
161
               prop="cut"
159
               min-width="50"
163
               min-width="50"
160
               align="center"
164
               align="center"
161
               fixed
165
               fixed
162
-          >
163
-        </el-table-column>
166
+              style="border-bottom: 1px solid aqua;"
167
+          ></el-table-column>
164
           <el-table-column
168
           <el-table-column
165
               :label="'周一 (' + weekTitle[0] + ')'"
169
               :label="'周一 (' + weekTitle[0] + ')'"
166
               v-if="isShowOne"
170
               v-if="isShowOne"
1686
       </span>
1690
       </span>
1687
     </el-dialog>
1691
     </el-dialog>
1688
     
1692
     
1689
-</div>
1693
+  </div>
1690
 </template>
1694
 </template>
1691
 
1695
 
1692
 <script>
1696
 <script>
1917
       partitions: [],
1921
       partitions: [],
1918
       partitions_two: [],
1922
       partitions_two: [],
1919
       jihaos_two: [],
1923
       jihaos_two: [],
1920
-
1924
+      subzone:[],
1921
       jihaos: [],
1925
       jihaos: [],
1922
       weekTitle: ["", "", "", "", "", "", ""],
1926
       weekTitle: ["", "", "", "", "", "", ""],
1923
       isShowOne: true,
1927
       isShowOne: true,
3392
           return false;
3396
           return false;
3393
         }
3397
         }
3394
         var partitions = response.data.data.partitions;
3398
         var partitions = response.data.data.partitions;
3395
-
3399
+        this.subzone = response.data.data.partitions;
3396
         this.theWeek.thisWeek = response.data.data.theWeek;
3400
         this.theWeek.thisWeek = response.data.data.theWeek;
3397
 
3401
 
3398
         this.theWeek.lastWeek = this.theWeek.thisWeek - 1;
3402
         this.theWeek.lastWeek = this.theWeek.thisWeek - 1;
3654
         this.scheduleZone.sort(this.compare("sort"));
3658
         this.scheduleZone.sort(this.compare("sort"));
3655
       });
3659
       });
3656
     },
3660
     },
3657
-
3661
+    // 高亮
3662
+    hoverMouse(row, column, cell, event) {
3663
+      console.log('sdf12344565');
3664
+      if (row[column.property].schedule_id > 0) {
3665
+        let patient_id = row[column.property].patient_id
3666
+        this.patient_id_hover = patient_id
3667
+      } else {
3668
+        this.patient_id_hover = -1
3669
+      }
3670
+    },
3658
     // 单元格的 className 的回调方法
3671
     // 单元格的 className 的回调方法
3659
     cellClass({ row, column, rowIndex, columnIndex }) {
3672
     cellClass({ row, column, rowIndex, columnIndex }) {
3660
       // 传染病区机器橙色背景
3673
       // 传染病区机器橙色背景
3662
         //
3675
         //
3663
         return "table-row-new-class schedule-table-row Infectious_disease";
3676
         return "table-row-new-class schedule-table-row Infectious_disease";
3664
       }
3677
       }
3678
+      if(columnIndex==1 ){  
3679
+        return 'border_bott ' 
3680
+      }
3681
+      if(columnIndex==0){
3682
+        return 'border_left'
3683
+      }
3665
       if (columnIndex == 0 || columnIndex == 1 || columnIndex == 23) {
3684
       if (columnIndex == 0 || columnIndex == 1 || columnIndex == 23) {
3666
         return "";
3685
         return "";
3667
       } else {
3686
       } else {
3668
         if (this.weekTime == "lastWeek") {
3687
         if (this.weekTime == "lastWeek") {
3688
+          if(column.label == '晚' ){
3689
+            return 'evening_border schedule-table-cell-disable'
3690
+          }
3669
           if (
3691
           if (
3670
               row[column.property].patient_id > 0 &&
3692
               row[column.property].patient_id > 0 &&
3671
               row[column.property].patient_id == this.patient_id_hover
3693
               row[column.property].patient_id == this.patient_id_hover
3683
                 row[column.property].patient_id == this.patient_id_hover
3705
                 row[column.property].patient_id == this.patient_id_hover
3684
             ) {
3706
             ) {
3685
               return "hover-td schedule-table-cell-disable";
3707
               return "hover-td schedule-table-cell-disable";
3686
-            } else {
3687
-              return "schedule-table-cell-disable";
3708
+            } 
3709
+            if(column.label == '晚'){
3710
+              return 'evening_border schedule-table-cell-disable'
3688
             }
3711
             }
3689
-            // return "schedule-table-cell-disable";
3712
+            return "schedule-table-cell-disable";
3690
           } else {
3713
           } else {
3714
+            if(column.label == '晚' ){
3715
+                return 'evening_border'
3716
+            }
3691
             if (
3717
             if (
3692
                 row[column.property].patient_id > 0 &&
3718
                 row[column.property].patient_id > 0 &&
3693
                 row[column.property].patient_id == this.patient_id_hover
3719
                 row[column.property].patient_id == this.patient_id_hover
3698
             }
3724
             }
3699
           }
3725
           }
3700
         }else{
3726
         }else{
3727
+          if(column.label == '晚' ){
3728
+                return 'evening_border '
3729
+          }
3701
           if (
3730
           if (
3702
               row[column.property].patient_id > 0 &&
3731
               row[column.property].patient_id > 0 &&
3703
               row[column.property].patient_id == this.patient_id_hover
3732
               row[column.property].patient_id == this.patient_id_hover
3710
       }
3739
       }
3711
       return "";
3740
       return "";
3712
     },
3741
     },
3742
+    // 单元格的 style 的回调方法
3743
+    cellstyle({ row, column, rowIndex, columnIndex }){
3744
+      // 分区蓝线
3745
+      for(let i=0;i<this.subzone.length;i++){
3746
+        const subslice=this.subzone[i].jihaos.slice(-1)
3747
+        // console.log('这是row',subslice);
3748
+        if(row.zone_id==subslice[0].zone_id && row.jihao_id == subslice[0].id ){
3749
+          // console.log('33333333333');
3750
+          return 'border-top: 1px solid aqua;'
3751
+        }
3752
+      } 
3753
+    },
3713
     // 单元格的患者名称的回调方法
3754
     // 单元格的患者名称的回调方法
3714
     patientClass({row,column, rowIndex,columnIndex}){
3755
     patientClass({row,column, rowIndex,columnIndex}){
3715
       if(this.cur_info.patient_id == row.id){
3756
       if(this.cur_info.patient_id == row.id){
4847
     },
4888
     },
4848
     // 单击选中患者
4889
     // 单击选中患者
4849
     clickThis(row, column, cell, event) {
4890
     clickThis(row, column, cell, event) {
4850
-        if (row[column.property].schedule_id > 0) {
4851
-            this.cur_info.patient_id=row[column.property].patient_id
4852
-            this.cur_info.mode_id=row[column.property].mode_id
4853
-            this.patient_id_hover = this.cur_info.patient_id;
4854
-            this.cur_info.patient_name = row[column.property].patient
4855
-            this.cur_info.mode_name = row[column.property].mode_name
4856
-            // console.log('row的数据',row[column.property]);
4891
+      if (row[column.property].schedule_id > 0) {
4892
+          this.cur_info.patient_id=row[column.property].patient_id
4893
+          this.cur_info.mode_id=row[column.property].mode_id
4894
+          this.patient_id_hover = this.cur_info.patient_id;
4895
+          this.cur_info.patient_name = row[column.property].patient
4896
+          this.cur_info.mode_name = row[column.property].mode_name
4897
+          // console.log('row的数据',row[column.property]);
4857
 
4898
 
4858
-        } else {
4859
-          var week = this.weekDay(column.property);
4860
-        if (week[0] == -1 || week[1] == -1) {
4861
-          return false;
4862
-        }
4863
-        if (this.toDay > this.weekDays[week[0] - 1]) {
4864
-          return false;
4865
-        }
4866
-        this.currentData.schedule_date = this.weekDays[week[0] - 1];
4867
-        this.currentData.schedule_type = week[1];
4868
-        this.currentData.bed_id = row.jihao_id;
4869
-        this.currentData.partition_id = row.zone_id;
4870
-        this.currentData.schedule_week = week[0];
4871
-        this.currentData.type_name = this.dayType(week[1]);
4872
-        this.currentData.zone_name = row.area;
4873
-        this.currentData.bed_name = row.cut;
4874
-        this.currentData.partition_type = row.zone_type;
4875
-          this.patient_id_hover = -1;
4876
-          this.currentData.mode_id = 1;
4877
-          this.currentData.id = 0;
4878
-          this.currentData.patient_id = 0;
4879
-          this.currentData.patient = "";
4880
-          this.currentData.contagions = [];
4881
-          this.getSchedulePatients();
4882
-          this.dialogTableVisible = true;
4883
-        }
4899
+      } else {
4900
+        var week = this.weekDay(column.property);
4901
+      if (week[0] == -1 || week[1] == -1) {
4902
+        return false;
4903
+      }
4904
+      if (this.toDay > this.weekDays[week[0] - 1]) {
4905
+        return false;
4906
+      }
4907
+      this.currentData.schedule_date = this.weekDays[week[0] - 1];
4908
+      this.currentData.schedule_type = week[1];
4909
+      this.currentData.bed_id = row.jihao_id;
4910
+      this.currentData.partition_id = row.zone_id;
4911
+      this.currentData.schedule_week = week[0];
4912
+      this.currentData.type_name = this.dayType(week[1]);
4913
+      this.currentData.zone_name = row.area;
4914
+      this.currentData.bed_name = row.cut;
4915
+      this.currentData.partition_type = row.zone_type;
4916
+        this.patient_id_hover = -1;
4917
+        this.currentData.mode_id = 1;
4918
+        this.currentData.id = 0;
4919
+        this.currentData.patient_id = 0;
4920
+        this.currentData.patient = "";
4921
+        this.currentData.contagions = [];
4922
+        this.getSchedulePatients();
4923
+        this.dialogTableVisible = true;
4924
+      }
4884
     },
4925
     },
4885
     // 双击有内容的单元格
4926
     // 双击有内容的单元格
4886
     dblclickThis(row, column, cell, event){
4927
     dblclickThis(row, column, cell, event){
5827
   white-space: normal !important;
5868
   white-space: normal !important;
5828
 
5869
 
5829
 }
5870
 }
5830
-
5871
+// .el-table--medium td, .el-table--medium th {
5872
+//     padding: 5px 0 !important;
5873
+// }
5831
 // 动态样式
5874
 // 动态样式
5832
 .schedule-table-cell-disable {
5875
 .schedule-table-cell-disable {
5833
   background-color: rgb(245, 245, 245) !important;
5876
   background-color: rgb(245, 245, 245) !important;
5892
 .infectious {
5935
 .infectious {
5893
   color: red !important;
5936
   color: red !important;
5894
 }
5937
 }
5938
+.border_bott{
5939
+  border-left: 1px solid aqua !important;
5940
+  border-right: 1px solid aqua !important;
5941
+}
5942
+.border_left{
5943
+  border-left: 1px solid aqua !important;
5944
+}
5945
+ 
5946
+.evening_border{
5947
+  border-right: 1px solid aqua !important;
5948
+}
5895
 .Infectious_disease{
5949
 .Infectious_disease{
5896
   background-color: red !important;
5950
   background-color: red !important;
5897
   color: white;
5951
   color: white;

Файловите разлики са ограничени, защото са твърде много
+ 195 - 712
src/xt_pages/workforce/components/historyWeekTable.vue


+ 82 - 37
src/xt_pages/workforce/components/tableData.vue Целия файл

230
         :row-style="{ color: '#303133' }"
230
         :row-style="{ color: '#303133' }"
231
         :header-cell-style="{
231
         :header-cell-style="{
232
           backgroundColor: 'rgb(245, 247, 250)',
232
           backgroundColor: 'rgb(245, 247, 250)',
233
-          color: '#606266'
233
+          color: '#606266',
234
+          border: '1px solid aqua',
234
         }"
235
         }"
235
         :fit="true"
236
         :fit="true"
236
         :data="scheduleZone"
237
         :data="scheduleZone"
239
         @cell-mouse-enter="hoverMouse"
240
         @cell-mouse-enter="hoverMouse"
240
         :summary-method="getSummaries"
241
         :summary-method="getSummaries"
241
         show-summary
242
         show-summary
242
-        :row-class-name="tableRowClassName"
243
         :cell-class-name="cellClass"
243
         :cell-class-name="cellClass"
244
+        :cell-style ='cellstyle'
244
         sum-text="总数"
245
         sum-text="总数"
245
         :height="tableContainHeight"
246
         :height="tableContainHeight"
246
         ref="table"
247
         ref="table"
247
         style="table-layout: fixed;"
248
         style="table-layout: fixed;"
248
       >
249
       >
249
-
250
+<!--  -->
250
         <el-table-column
251
         <el-table-column
251
           prop="area"
252
           prop="area"
252
           label="分区"
253
           label="分区"
253
           width="50"
254
           width="50"
254
           align="center"
255
           align="center"
255
           fixed
256
           fixed
256
-        ></el-table-column>
257
+          style="border-bottom: 1px solid aqua;"
258
+        >
259
+        </el-table-column>
257
         <el-table-column
260
         <el-table-column
258
           prop="cut"
261
           prop="cut"
259
           label="机号"
262
           label="机号"
260
           align="center"
263
           align="center"
261
           min-width="40"
264
           min-width="40"
262
           fixed
265
           fixed
266
+          style="border-bottom: 1px solid aqua;"
263
         ></el-table-column>
267
         ></el-table-column>
264
         <el-table-column
268
         <el-table-column
265
           :label="' 周一(' + weekTitle[0] + ')'"
269
           :label="' 周一(' + weekTitle[0] + ')'"
266
           v-if="isShowOne"
270
           v-if="isShowOne"
267
           align="center"
271
           align="center"
272
+          
268
         >
273
         >
269
         <!-- :width="flexColumnWidth('Mon_M',scheduleZone)" -->
274
         <!-- :width="flexColumnWidth('Mon_M',scheduleZone)" -->
270
-          <el-table-column  prop="Mon_M" label="上" min-width="40" align="center"  v-if="isShowShangWu">
275
+          <el-table-column  prop="Mon_M" label="上" min-width="40" align="center"  v-if="isShowShangWu" >
271
             <schedule-item
276
             <schedule-item
272
               slot-scope="scope"
277
               slot-scope="scope"
273
               :schedule-detail="scope.row.Mon_M"
278
               :schedule-detail="scope.row.Mon_M"
285
               :schedulMode="modename_value"
290
               :schedulMode="modename_value"
286
             ></schedule-item>
291
             ></schedule-item>
287
           </el-table-column>
292
           </el-table-column>
288
-          <el-table-column prop="Mon_N" label="晚" min-width="40" align="center"  v-if="isShowWanShang">
293
+          <el-table-column prop="Mon_N" label="晚" min-width="40" align="center"  v-if="isShowWanShang" >
289
             <schedule-item
294
             <schedule-item
290
               slot-scope="scope"
295
               slot-scope="scope"
291
               :schedule-detail="scope.row.Mon_N"
296
               :schedule-detail="scope.row.Mon_N"
793
      // scheduleZone: this.scheduleZoneProp,
798
      // scheduleZone: this.scheduleZoneProp,
794
       scheduleZoneRow: -1,
799
       scheduleZoneRow: -1,
795
       partitions: [],
800
       partitions: [],
801
+      subzone:[],
796
       jihaos: [],
802
       jihaos: [],
797
       weekTitle: ["", "", "", "", "", "", ""],
803
       weekTitle: ["", "", "", "", "", "", ""],
798
       weekList: ["", "", "", "", "", "", ""],
804
       weekList: ["", "", "", "", "", "", ""],
808
         mode_id: 0,
814
         mode_id: 0,
809
         type_name: "",
815
         type_name: "",
810
         bed_name: "",
816
         bed_name: "",
811
-
812
         partition_type: 0,
817
         partition_type: 0,
813
         contagions: [],
818
         contagions: [],
814
         patient: ""
819
         patient: ""
839
         ],
844
         ],
840
         bed_id: [{ required: true, message: "请选择透析机", trigger: "blur" }]
845
         bed_id: [{ required: true, message: "请选择透析机", trigger: "blur" }]
841
       },
846
       },
842
-
843
       weekday: 0,
847
       weekday: 0,
844
-
845
       creating_schedule: false,
848
       creating_schedule: false,
846
       changing_mode: false,
849
       changing_mode: false,
847
       changing_bed: false,
850
       changing_bed: false,
848
-
849
       tableHeight: document.documentElement.clientHeight,
851
       tableHeight: document.documentElement.clientHeight,
850
-
851
       origin_schedules: [],
852
       origin_schedules: [],
852
       origin_device_numbers: [],
853
       origin_device_numbers: [],
853
       zone_device_map: {},
854
       zone_device_map: {},
1074
           if (response.data.state == 0) {
1075
           if (response.data.state == 0) {
1075
             return false
1076
             return false
1076
           }
1077
           }
1077
-          console.log("触发232332323232",response.data.data)
1078
+          // console.log("触发232332323232",response.data.data)
1078
           var partitions = response.data.data.partitions
1079
           var partitions = response.data.data.partitions
1080
+          this.subzone = response.data.data.partitions
1081
+          // this.subzone.push(response.data.data.partitions)
1079
           console.log("partitions",partitions)
1082
           console.log("partitions",partitions)
1080
           this.theWeek.thisWeek = response.data.data.theWeek
1083
           this.theWeek.thisWeek = response.data.data.theWeek
1081
           // this.theWeek.historyWeek=this.theWeek.thisWeek - 2
1084
           // this.theWeek.historyWeek=this.theWeek.thisWeek - 2
1326
           console.log("34455555566666",this.scheduleZone)
1329
           console.log("34455555566666",this.scheduleZone)
1327
         })
1330
         })
1328
      },
1331
      },
1329
-
1332
+    //  单元格样式的回调
1330
     cellClass({ row, column, rowIndex, columnIndex }) {
1333
     cellClass({ row, column, rowIndex, columnIndex }) {
1331
-
1334
+      
1332
       if(columnIndex==1&&row.zone_type!=1){
1335
       if(columnIndex==1&&row.zone_type!=1){
1333
         return "table-row-new-class schedule-table-row Infectious_disease";
1336
         return "table-row-new-class schedule-table-row Infectious_disease";
1334
       }
1337
       }
1335
-
1338
+      // 机号蓝线
1339
+      if(columnIndex==1 ){  
1340
+        return 'border_bott ' 
1341
+      }
1342
+      if(columnIndex==0){
1343
+        return 'border_left'
1344
+      }
1336
       if (columnIndex == 0 || columnIndex == 1 || columnIndex == 23) {
1345
       if (columnIndex == 0 || columnIndex == 1 || columnIndex == 23) {
1337
         return "";
1346
         return "";
1338
       } else {
1347
       } else {
1339
         if (this.weekTime == "lastWeek") {
1348
         if (this.weekTime == "lastWeek") {
1340
-          if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover){
1349
+          if(column.label == '晚' ){
1350
+            return 'evening_border schedule-table-cell-disable'
1351
+          }
1352
+          if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover ){
1341
             return 'hover-td schedule-table-cell-disable'
1353
             return 'hover-td schedule-table-cell-disable'
1342
           }else {
1354
           }else {
1343
             return 'schedule-table-cell-disable'
1355
             return 'schedule-table-cell-disable'
1345
           // return "schedule-table-cell-disable";
1357
           // return "schedule-table-cell-disable";
1346
         } else if (this.weekTime == "thisWeek") {
1358
         } else if (this.weekTime == "thisWeek") {
1347
           var weekday = Math.floor((columnIndex - 2) / 3 + 1);
1359
           var weekday = Math.floor((columnIndex - 2) / 3 + 1);
1360
+          // 判断日期
1348
           if (weekday < this.weekday) {
1361
           if (weekday < this.weekday) {
1349
-            if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover){
1362
+            // console.log('这是row',row);
1363
+            if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover ){
1350
               return 'hover-td schedule-table-cell-disable'
1364
               return 'hover-td schedule-table-cell-disable'
1351
-            }else {
1352
-              return 'schedule-table-cell-disable'
1353
             }
1365
             }
1354
-            // return "schedule-table-cell-disable";
1355
-          }else {
1366
+            if(column.label == '晚'){
1367
+              return 'evening_border schedule-table-cell-disable'
1368
+            }
1369
+            return "schedule-table-cell-disable";
1370
+          }else{
1371
+            // 分日期
1372
+            if(column.label == '晚' ){
1373
+                return 'evening_border'
1374
+            }
1356
             if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover){
1375
             if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover){
1357
               return 'hover-td '
1376
               return 'hover-td '
1358
             }else {
1377
             }else {
1359
               return ''
1378
               return ''
1360
             }
1379
             }
1361
           }
1380
           }
1381
+        } else {
1382
+          if(column.label == '晚' ){
1383
+            return 'evening_border'
1384
+          }
1362
         }
1385
         }
1363
       }
1386
       }
1364
       return "";
1387
       return "";
1365
     },
1388
     },
1366
-    // SubmitSearch() {
1367
-    //   this.patientQuery.keywords = this.searchKey;
1368
-    //   this.getSchedulePatients();
1369
-    // },
1389
+    cellstyle({ row, column, rowIndex, columnIndex }){
1390
+      // 分区蓝线
1391
+      for(let i=0;i<this.subzone.length;i++){
1392
+        const subslice=this.subzone[i].jihaos.slice(-1)
1393
+        console.log('这是row',subslice);
1394
+        if(row.zone_id==subslice[0].zone_id && row.jihao_id == subslice[0].id ){
1395
+          // console.log('33333333333');
1396
+          return 'border-top: 1px solid aqua;'
1397
+        }
1398
+      } 
1399
+    },
1400
+   
1370
     changeSearchContagion(id) {
1401
     changeSearchContagion(id) {
1371
       this.patientQuery.contagion = id;
1402
       this.patientQuery.contagion = id;
1372
       this.getSchedulePatients();
1403
       this.getSchedulePatients();
1373
     },
1404
     },
1374
-    // changeSearchSchedule(id) {
1375
-    //   this.patientQuery.schedule = id;
1376
-    //   this.getSchedulePatients();
1377
-    // },
1405
+   
1406
+    // 合计
1378
     getSummaries(param) {
1407
     getSummaries(param) {
1379
       const { columns, data } = param;
1408
       const { columns, data } = param;
1380
       const sums = [];
1409
       const sums = [];
2523
         });
2552
         });
2524
     },
2553
     },
2525
     hoverMouse(row, column, cell, event) {
2554
     hoverMouse(row, column, cell, event) {
2555
+      // console.log('sdf12344565');
2526
       if (row[column.property].schedule_id > 0) {
2556
       if (row[column.property].schedule_id > 0) {
2527
         let patient_id = row[column.property].patient_id
2557
         let patient_id = row[column.property].patient_id
2528
         this.patient_id_hover = patient_id
2558
         this.patient_id_hover = patient_id
3239
       this.searchTableVisible = false;
3269
       this.searchTableVisible = false;
3240
       this.msDialogVisible = true;
3270
       this.msDialogVisible = true;
3241
     },
3271
     },
3242
-    tableRowClassName({ row, rowIndex }) {
3243
-      if (row.zone_type == 1) {
3244
-        return 'table-row-new-class schedule-table-row'
3245
-      } else {
3246
-        return 'table-row-new-class schedule-table-row backPurple'
3247
-      }
3248
-    },
3272
+   
3249
     // 分区
3273
     // 分区
3250
     getAllZones() {
3274
     getAllZones() {
3251
       getAllZones().then(response => {
3275
       getAllZones().then(response => {
3300
       })();
3324
       })();
3301
     };
3325
     };
3302
   },
3326
   },
3327
+  computed: {
3328
+    // 计算属性,为最后一项数据添加边框样式
3329
+    lastItemStyle() {
3330
+      return {
3331
+        border: '1px solid red', // 边框样式
3332
+      };
3333
+    },
3334
+  },
3303
 
3335
 
3304
 };
3336
 };
3305
 </script>
3337
 </script>
3353
 }
3385
 }
3354
 
3386
 
3355
 .schedule-table-cell-disable {
3387
 .schedule-table-cell-disable {
3356
-  background-color: rgb(245, 245, 245) !important;
3388
+  background-color: rgb(248, 241, 241) !important;
3357
 }
3389
 }
3358
 
3390
 
3359
 #table_data {
3391
 #table_data {
3403
   .Infectious_disease{
3435
   .Infectious_disease{
3404
     background-color: red !important;
3436
     background-color: red !important;
3405
     color: white;
3437
     color: white;
3438
+    border-left: 1px solid aqua;
3439
+    border-right: 1px solid aqua;
3440
+  }
3441
+  .border_bott{
3442
+    border-left: 1px solid aqua;
3443
+    border-right: 1px solid aqua;
3444
+  }
3445
+  .border_left{
3446
+    border-left: 1px solid aqua;
3447
+  }
3448
+  .evening_border{
3449
+    border-right: 1px solid aqua;
3406
   }
3450
   }
3451
+  
3407
 }
3452
 }
3408
 .backPurple{
3453
 .backPurple{
3409
   color: #f32424 !important;
3454
   color: #f32424 !important;

+ 1 - 1
src/xt_pages/workforce/printOne.vue Целия файл

53
               <tbody>
53
               <tbody>
54
                 <tr v-for="(it, i) in item.zones" :key="i">
54
                 <tr v-for="(it, i) in item.zones" :key="i">
55
                   <td :width="td_1_width">
55
                   <td :width="td_1_width">
56
-                    <span v-if="hiddenFlag == false">总人数: {{getZonePatient(it.partition_id,item.schedule_type)}}<span v-if="getZonePatient(it.partition_id,item.schedule_type)>0">人</span><br></br></span> 
56
+                    <span v-if="hiddenFlag == false">总人数: {{getZonePatient(it.partition_id,item.schedule_type)}}<span v-if="getZonePatient(it.partition_id,item.schedule_type)>0">人</span><br/></span> 
57
                     {{ getZoneName(it.partition_id) }}
57
                     {{ getZoneName(it.partition_id) }}
58
                   </td>
58
                   </td>
59
                   <td :width="td_3_width" valign="top">
59
                   <td :width="td_3_width" valign="top">

+ 252 - 83
src/xt_pages/workforce/scheduleTablePrint.vue Целия файл

1
 <template>
1
 <template>
2
     <div>
2
     <div>
3
+      
3
       <el-button style="float:right;" type="primary" @click="printAction">打印</el-button>
4
       <el-button style="float:right;" type="primary" @click="printAction">打印</el-button>
4
 
5
 
5
 <!--      <el-button type="primary" @click="printAction">打印</el-button>-->
6
 <!--      <el-button type="primary" @click="printAction">打印</el-button>-->
6
-        <table id="scheduleTable" class="scheduleTable" border="1" cellspacing="0">
7
+      <div class="print_main_content">
8
+        <table v-if="$route.query.week_date ==''" id="scheduleTable" class="scheduleTable" border="1" cellspacing="0">
7
             <tr>
9
             <tr>
8
                 <td rowspan="2">分区</td>
10
                 <td rowspan="2">分区</td>
9
                 <td rowspan="2">机号</td>
11
                 <td rowspan="2">机号</td>
14
                 <td colspan="3">周五({{ weekTitle[4] }})</td>
16
                 <td colspan="3">周五({{ weekTitle[4] }})</td>
15
                 <td colspan="3">周六({{ weekTitle[5] }})</td>
17
                 <td colspan="3">周六({{ weekTitle[5] }})</td>
16
                 <td colspan="3">周日({{ weekTitle[6] }})</td>
18
                 <td colspan="3">周日({{ weekTitle[6] }})</td>
17
-                <td>总数</td>
19
+                <td rowspan="2">总数</td>
18
             </tr>
20
             </tr>
19
             <tr>
21
             <tr>
20
                 <td>上午</td>
22
                 <td>上午</td>
40
                 <td>晚上</td>
42
                 <td>晚上</td>
41
             </tr>
43
             </tr>
42
             <tr v-for="(item,index) in scheduleZone" :key="index">
44
             <tr v-for="(item,index) in scheduleZone" :key="index">
43
-                <td style="min-width:50px;">{{ item.area }}</td>
44
-                <td style="min-width:50px;">{{ item.cut }}</td>
45
-                <td style="min-width:50px;">
45
+                <td style="min-width:40px;">{{ item.area }}</td>
46
+                <td style="min-width:40px;">{{ item.cut }}</td>
47
+                <td style="min-width:40px;">
46
                     <span v-if="item.Mon_M.patient_id">
48
                     <span v-if="item.Mon_M.patient_id">
47
-                        <div>{{ item.Mon_M.patient }} </div>
48
-                        <div v-if="item.Mon_M.mode_name != 'HD'">
49
-                            {{ item.Mon_M.mode_name }}
50
-                     </div>
49
+                        <span>{{ item.Mon_M.patient }}</span>
50
+                        <span>{{ item.Mon_M.mode_name }}</span>
51
                     </span>
51
                     </span>
52
                 </td>
52
                 </td>
53
-                <td style="min-width:50px;">
53
+                <td style="min-width:40px;">
54
                     <span v-if="item.Mon_A.patient_id">
54
                     <span v-if="item.Mon_A.patient_id">
55
-                        <div>{{ item.Mon_A.patient }} </div>
56
-                        <div v-if="item.Mon_A.mode_name != 'HD'">{{ item.Mon_A.mode_name }}</div>
55
+                       
56
+                        <span>{{ item.Mon_A.patient }}</span>
57
+                        <span>{{ item.Mon_A.mode_name }}</span>
57
                     </span>
58
                     </span>
58
                 </td>
59
                 </td>
59
-                <td style="min-width:50px;">
60
+                <td style="min-width:40px;">
60
                     <span v-if="item.Mon_N.patient_id">
61
                     <span v-if="item.Mon_N.patient_id">
61
-                        <div>{{ item.Mon_N.patient }}</div>
62
-                        <div v-if="item.Mon_N.mode_name != 'HD'">{{ item.Mon_N.mode_name }}</div>
62
+                        
63
+                        <span>{{ item.Mon_N.patient }}</span>
64
+                        <span>{{ item.Mon_N.mode_name }}</span>
63
                     </span>
65
                     </span>
64
                 </td>
66
                 </td>
65
-                <td style="min-width:50px;">
67
+                <td style="min-width:40px;">
66
                     <span v-if="item.Tue_M.patient_id">
68
                     <span v-if="item.Tue_M.patient_id">
67
-                        <div>{{ item.Tue_M.patient }}</div>
68
-                        <div v-if="item.Tue_M.mode_name != 'HD'">{{ item.Tue_M.mode_name }}</div>
69
+                        
70
+                        <span>{{ item.Tue_M.patient }}</span>
71
+                        <span>{{ item.Tue_M.mode_name }}</span>
69
                     </span>
72
                     </span>
70
                 </td>
73
                 </td>
71
-                <td style="min-width:50px;">
74
+                <td style="min-width:40px;">
72
                     <span v-if="item.Tue_A.patient_id">
75
                     <span v-if="item.Tue_A.patient_id">
73
-                        <div>{{ item.Tue_A.patient }}</div>
74
-                        <div v-if="item.Tue_A.mode_name != 'HD'">{{ item.Tue_A.mode_name }}</div>
76
+                        
77
+                        <span>{{ item.Tue_A.patient }}</span>
78
+                        <span>{{ item.Tue_A.mode_name }}</span>
75
                     </span>
79
                     </span>
76
                 </td>
80
                 </td>
77
-                <td style="min-width:50px;">
81
+                <td style="min-width:40px;">
78
                     <span v-if="item.Tue_N.patient_id">
82
                     <span v-if="item.Tue_N.patient_id">
79
-                        <div>{{ item.Tue_N.patient }}</div>
80
-                        <div v-if="item.Tue_N.mode_name != 'HD'">{{ item.Tue_N.mode_name }}</div>
83
+                        
84
+                        <span>{{ item.Tue_N.patient }}</span>
85
+                        <span>{{ item.Tue_N.mode_name }}</span>
81
                     </span>
86
                     </span>
82
                 </td>
87
                 </td>
83
-                <td style="min-width:50px;">
88
+                <td style="min-width:40px;">
84
                     <span v-if="item.Wed_M.patient_id">
89
                     <span v-if="item.Wed_M.patient_id">
85
-                        <div>{{ item.Wed_M.patient }}</div>
86
-                        <div v-if="item.Wed_M.mode_name != 'HD'">{{ item.Wed_M.mode_name }}</div>
90
+                        
91
+                        <span>{{ item.Wed_M.patient }}</span>
92
+                        <span>{{ item.Wed_M.mode_name }}</span>
87
                     </span>
93
                     </span>
88
                 </td>
94
                 </td>
89
-                <td style="min-width:50px;">
95
+                <td style="min-width:40px;">
90
                     <span v-if="item.Wed_A.patient_id">
96
                     <span v-if="item.Wed_A.patient_id">
91
-                        <div>{{ item.Wed_A.patient }}</div>
92
-                        <div v-if="item.Wed_A.mode_name != 'HD'">{{ item.Wed_A.mode_name }}</div>
97
+                        <span>{{ item.Wed_A.patient }}</span>
98
+                        <span>{{ item.Wed_A.mode_name }}</span>
93
                     </span>
99
                     </span>
94
                 </td>
100
                 </td>
95
-                <td style="min-width:50px;">
101
+                <td style="min-width:40px;">
96
                     <span v-if="item.Wed_N.patient_id">
102
                     <span v-if="item.Wed_N.patient_id">
97
-                        <div>{{ item.Wed_N.patient }}</div>
98
-                        <div v-if="item.Wed_N.mode_name != 'HD'">{{ item.Wed_N.mode_name }}</div>
103
+                        <span>{{ item.Wed_N.patient }}</span>
104
+                        <span>{{ item.Wed_N.mode_name }}</span>
99
                     </span>
105
                     </span>
100
                 </td>
106
                 </td>
101
-                <td style="min-width:50px;">
102
-                    <span v-if="item.Thurs_M.patient_id">
103
-                        <div>{{ item.Thurs_M.patient }}</div>
104
-                        <div v-if="item.Thurs_M.mode_name != 'HD'">{{ item.Thurs_M.mode_name }}</div>
107
+                <td style="min-width:40px;">
108
+                    <span v-if="item.Thurs_M.patient_id">     
109
+                        <span>{{ item.Thurs_M.patient }}</span>
110
+                        <span>{{ item.Thurs_M.mode_name }}</span>
105
                     </span>
111
                     </span>
106
                 </td>
112
                 </td>
107
-                <td style="min-width:50px;">
108
-                    <span v-if="item.Thurs_A.patient_id">
109
-                        <div>{{ item.Thurs_A.patient }}</div>
110
-                        <div v-if="item.Thurs_A.mode_name != 'HD'">{{ item.Thurs_A.mode_name }}</div>
113
+                <td style="min-width:40px;">
114
+                    <span v-if="item.Thurs_A.patient_id">                   
115
+                        <span>{{ item.Thurs_A.patient }}</span>
116
+                        <span>{{ item.Thurs_A.mode_name }}</span>
111
                     </span>
117
                     </span>
112
                 </td>
118
                 </td>
113
-                <td style="min-width:50px;">
114
-                    <span v-if="item.Thurs_N.patient_id">
115
-                        <div>{{ item.Thurs_N.patient }}</div>
116
-                        <div v-if="item.Thurs_N.mode_name != 'HD'">{{ item.Thurs_N.mode_name }}</div>
119
+                <td style="min-width:40px;">
120
+                    <span v-if="item.Thurs_N.patient_id">           
121
+                        <span>{{ item.Thurs_N.patient }}</span>
122
+                        <span>{{ item.Thurs_N.mode_name }}</span>
117
                     </span>
123
                     </span>
118
                 </td>
124
                 </td>
119
-                <td style="min-width:50px;">
120
-                    <span v-if="item.Fri_M.patient_id">
121
-                        <div>{{ item.Fri_M.patient }}</div>
122
-                        <div v-if="item.Fri_M.mode_name != 'HD'">{{ item.Fri_M.mode_name }}</div>
125
+                <td style="min-width:40px;">
126
+                    <span v-if="item.Fri_M.patient_id">                  
127
+                        <span>{{ item.Fri_M.patient }}</span>
128
+                        <span>{{ item.Fri_M.mode_name }}</span>
123
                     </span>
129
                     </span>
124
                 </td>
130
                 </td>
125
-                <td style="min-width:50px;">
126
-                    <span v-if="item.Fri_A.patient_id">
127
-                        <div>{{ item.Fri_A.patient }}</div>
128
-                        <div v-if="item.Fri_A.mode_name != 'HD'">{{ item.Fri_A.mode_name }}</div>
131
+                <td style="min-width:40px;">
132
+                    <span v-if="item.Fri_A.patient_id">                     
133
+                        <span>{{ item.Fri_A.patient }}</span>
134
+                        <span>{{ item.Fri_A.mode_name }}</span>
129
                     </span>
135
                     </span>
130
                 </td>
136
                 </td>
131
-                <td style="min-width:50px;">
132
-                    <span v-if="item.Fri_N.patient_id">
133
-                        <div>{{ item.Fri_N.patient }}</div>
134
-                        <div v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</div>
137
+                <td style="min-width:40px;">
138
+                    <span v-if="item.Fri_N.patient_id">                      
139
+                        <span>{{ item.Fri_N.patient }}</span>
140
+                        <span>{{ item.Sat_M.mode_name }}</span>
135
                     </span>
141
                     </span>
136
                 </td>
142
                 </td>
137
-                <td style="min-width:50px;">
138
-                    <span v-if="item.Sat_M.patient_id">
139
-                        <div>{{ item.Sat_M.patient }}</div>
140
-                        <div v-if="item.Sat_M.mode_name != 'HD'">{{ item.Sat_M.mode_name }}</div>
143
+                <td style="min-width:40px;">
144
+                    <span v-if="item.Sat_M.patient_id">                      
145
+                        <span>{{ item.Sat_M.patient }}</span>
146
+                        <span>{{ item.Sat_M.mode_name }}</span>
141
                     </span>
147
                     </span>
142
                 </td>
148
                 </td>
143
-                <td style="min-width:50px;">
144
-                    <span v-if="item.Sat_A.patient_id">
145
-                        <div>{{ item.Sat_A.patient }}</div>
146
-                        <div v-if="item.Sat_A.mode_name != 'HD'">{{ item.Sat_A.mode_name }}</div>
149
+                <td style="min-width:40px;">
150
+                    <span v-if="item.Sat_A.patient_id">                       
151
+                        <span>{{ item.Sat_A.patient }}</span>
152
+                        <span>{{ item.Sat_A.mode_name }}</span>
147
                     </span>
153
                     </span>
148
                 </td>
154
                 </td>
149
-                <td style="min-width:50px;">
155
+                <td style="min-width:40px;">
150
                     <span v-if="item.Sat_N.patient_id">
156
                     <span v-if="item.Sat_N.patient_id">
151
-                        <div>{{ item.Sat_N.patient }}</div>
152
-                        <div v-if="item.Sat_N.mode_name != 'HD'">{{ item.Sat_N.mode_name }}</div>
157
+                        <span>{{ item.Sat_N.patient }}</span>
158
+                        <span>{{ item.Sat_N.mode_name }}</span>
153
                     </span>
159
                     </span>
154
                 </td>
160
                 </td>
155
-                <td style="min-width:50px;">
161
+                <td style="min-width:40px;">
156
                     <span v-if="item.Sun_M.patient_id">
162
                     <span v-if="item.Sun_M.patient_id">
157
-                        <div>{{ item.Sun_M.patient }}</div>
158
-                        <div v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }}</div>
163
+                        <span>{{ item.Sun_M.patient }}</span>
164
+                        <span>{{ item.Sun_M.mode_name }}</span>
159
                     </span>
165
                     </span>
160
                 </td>
166
                 </td>
161
-                <td style="min-width:50px;">
167
+                <td style="min-width:40px;">
162
                     <span v-if="item.Sun_A.patient_id">
168
                     <span v-if="item.Sun_A.patient_id">
163
-                        <div>{{ item.Sun_A.patient }}</div>
164
-                        <div v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }}</div>
169
+                        <span>{{ item.Sun_A.patient }}</span>
170
+                        <span>{{ item.Sun_A.mode_name }}</span>
165
                     </span>
171
                     </span>
166
                 </td>
172
                 </td>
167
-                <td style="min-width:50px;">
173
+                <td style="min-width:40px;">
168
                     <span v-if="item.Sun_N.patient_id">
174
                     <span v-if="item.Sun_N.patient_id">
169
-                        <div>{{ item.Sun_N.patient }}</div>
170
-                        <div v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }}</div>
175
+                        <span>{{ item.Sun_N.patient }}</span>
176
+                        <span>{{ item.Sun_N.mode_name }}</span>
171
                     </span>
177
                     </span>
172
                 </td>
178
                 </td>
173
                 <td>{{item.total}}</td>
179
                 <td>{{item.total}}</td>
174
             </tr>
180
             </tr>
175
         </table>
181
         </table>
182
+        <!-- 选择天数打印 -->
183
+        <table 
184
+            v-if="$route.query.week_date !=''" 
185
+            id="scheduleTable" class="scheduleTable" 
186
+            border="1" cellspacing="0"
187
+            style="margin: auto;"
188
+        >
189
+            <tr>
190
+                <td rowspan="2">分区</td>
191
+                <td rowspan="2">机号</td>
192
+                <td colspan="3" v-if="$route.query.week_date =='周一'">周一({{ weekTitle[0] }})</td>
193
+                <td colspan="3" v-if="$route.query.week_date =='周二'">周二({{ weekTitle[1] }})</td>
194
+                <td colspan="3" v-if="$route.query.week_date =='周三'">周三({{ weekTitle[2] }})</td>
195
+                <td colspan="3" v-if="$route.query.week_date =='周四'">周四({{ weekTitle[3] }})</td>
196
+                <td colspan="3" v-if="$route.query.week_date =='周五'">周五({{ weekTitle[4] }})</td>
197
+                <td colspan="3" v-if="$route.query.week_date =='周六'">周六({{ weekTitle[5] }})</td>
198
+                <td colspan="3" v-if="$route.query.week_date =='周日'">周日({{ weekTitle[6] }})</td>
199
+                <td rowspan="2">总数</td>
200
+            </tr>
201
+            <tr v-for="index in week_date.length" :key="index">
202
+                <td>上午</td>
203
+                <td>下午</td>
204
+                <td>晚上</td>
205
+            </tr>
206
+            <tr v-for="(item,index) in scheduleZone" :key="index">
207
+                <td style="min-width:180px;">{{ item.area }}</td>
208
+                <td style="min-width:180px;">{{ item.cut }}</td>
209
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
210
+                    <span v-if="item.Mon_M.patient_id ">
211
+                        <span>{{ item.Mon_M.patient }}</span>
212
+                        <span>{{ item.Mon_M.mode_name }}</span>
213
+                    </span>
214
+                </td>
215
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
216
+                    <span v-if="item.Mon_A.patient_id ">
217
+                        <span>{{ item.Mon_A.patient }}</span>
218
+                        <span>{{ item.Mon_A.mode_name }}</span>
219
+                    </span>
220
+                </td>
221
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周一'">
222
+                    <span v-if="item.Mon_N.patient_id ">
223
+                        <span>{{ item.Mon_N.patient }}</span>
224
+                        <span>{{ item.Mon_N.mode_name }}</span>
225
+                    </span>
226
+                </td>
227
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
228
+                    <span v-if="item.Tue_M.patient_id">
229
+                        
230
+                        <span>{{ item.Tue_M.patient }}</span>
231
+                        <span>{{ item.Tue_M.mode_name }}</span>
232
+                    </span>
233
+                </td>
234
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
235
+                    <span v-if="item.Tue_A.patient_id ">
236
+                        
237
+                        <span>{{ item.Tue_A.patient }}</span>
238
+                        <span>{{ item.Tue_A.mode_name }}</span>
239
+                    </span>
240
+                </td>
241
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周二'">
242
+                    <span v-if="item.Tue_N.patient_id ">
243
+                        
244
+                        <span>{{ item.Tue_N.patient }}</span>
245
+                        <span>{{ item.Tue_N.mode_name }}</span>
246
+                    </span>
247
+                </td>
248
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
249
+                    <span v-if="item.Wed_M.patient_id ">
250
+                        
251
+                        <span>{{ item.Wed_M.patient }}</span>
252
+                        <span>{{ item.Wed_M.mode_name }}</span>
253
+                    </span>
254
+                </td>
255
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
256
+                    <span v-if="item.Wed_A.patient_id ">
257
+                        <span>{{ item.Wed_A.patient }}</span>
258
+                        <span>{{ item.Wed_A.mode_name }}</span>
259
+                    </span>
260
+                </td>
261
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周三'">
262
+                    <span v-if="item.Wed_N.patient_id ">
263
+                        <span>{{ item.Wed_N.patient }}</span>
264
+                        <span>{{ item.Wed_N.mode_name }}</span>
265
+                    </span>
266
+                </td>
267
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
268
+                    <span v-if="item.Thurs_M.patient_id ">     
269
+                        <span>{{ item.Thurs_M.patient }}</span>
270
+                        <span>{{ item.Thurs_M.mode_name }}</span>
271
+                    </span>
272
+                </td>
273
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
274
+                    <span v-if="item.Thurs_A.patient_id ">                   
275
+                        <span>{{ item.Thurs_A.patient }}</span>
276
+                        <span>{{ item.Thurs_A.mode_name }}</span>
277
+                    </span>
278
+                </td>
279
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周四'">
280
+                    <span v-if="item.Thurs_N.patient_id ">           
281
+                        <span>{{ item.Thurs_N.patient }}</span>
282
+                        <span>{{ item.Thurs_N.mode_name }}</span>
283
+                    </span>
284
+                </td>
285
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
286
+                    <span v-if="item.Fri_M.patient_id">                  
287
+                        <span>{{ item.Fri_M.patient }}</span>
288
+                        <span>{{ item.Fri_M.mode_name }}</span>
289
+                    </span>
290
+                </td>
291
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
292
+                    <span v-if="item.Fri_A.patient_id ">                     
293
+                        <span>{{ item.Fri_A.patient }}</span>
294
+                        <span>{{ item.Fri_A.mode_name }}</span>
295
+                    </span>
296
+                </td>
297
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周五'">
298
+                    <span v-if="item.Fri_N.patient_id ">                      
299
+                        <span>{{ item.Fri_N.patient }}</span>
300
+                        <span>{{ item.Sat_M.mode_name }}</span>
301
+                    </span>
302
+                </td>
303
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
304
+                    <span v-if="item.Sat_M.patient_id ">                      
305
+                        <span>{{ item.Sat_M.patient }}</span>
306
+                        <span>{{ item.Sat_M.mode_name }}</span>
307
+                    </span>
308
+                </td>
309
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
310
+                    <span v-if="item.Sat_A.patient_id ">                       
311
+                        <span>{{ item.Sat_A.patient }}</span>
312
+                        <span>{{ item.Sat_A.mode_name }}</span>
313
+                    </span>
314
+                </td>
315
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周六'">
316
+                    <span v-if="item.Sat_N.patient_id ">
317
+                        <span>{{ item.Sat_N.patient }}</span>
318
+                        <span>{{ item.Sat_N.mode_name }}</span>
319
+                    </span>
320
+                </td>
321
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
322
+                    <span v-if="item.Sun_M.patient_id ">
323
+                        <span>{{ item.Sun_M.patient }}</span>
324
+                        <span>{{ item.Sun_M.mode_name }}</span>
325
+                    </span>
326
+                </td>
327
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
328
+                    <span v-if="item.Sun_A.patient_id ">
329
+                        <span>{{ item.Sun_A.patient }}</span>
330
+                        <span>{{ item.Sun_A.mode_name }}</span>
331
+                    </span>
332
+                </td>
333
+                <td style="min-width:180px;" v-if="$route.query.week_date =='周日'">
334
+                    <span v-if="item.Sun_N.patient_id ">
335
+                        <span>{{ item.Sun_N.patient }}</span>
336
+                        <span>{{ item.Sun_N.mode_name }}</span>
337
+                    </span>
338
+                </td>
339
+                <td style="min-width:60px;">{{item.total}}</td>
340
+            </tr>
341
+        </table>
342
+      </div>
176
     </div>
343
     </div>
177
 </template>
344
 </template>
178
 
345
 
252
 
419
 
253
         }else{
420
         }else{
254
              newList = [1,2,3,4,5,6,7]
421
              newList = [1,2,3,4,5,6,7]
255
-
256
             this.week_date = newList.join(",")
422
             this.week_date = newList.join(",")
257
 
423
 
258
         }
424
         }
259
 
425
 
260
     },
426
     },
261
     methods:{
427
     methods:{
262
-         getAllZones(){
428
+        getAllZones(){
263
            getAllZones().then(response=>{
429
            getAllZones().then(response=>{
264
              if(response.data.state == 1){
430
              if(response.data.state == 1){
265
                 var zones = response.data.data.zones
431
                 var zones = response.data.data.zones
682
                     });
848
                     });
683
                     var newArr= [{"area":"总数","cut":0,"Fri_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Fri_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Fri_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Mon_A":{mode_id:0,mode_name:"",patient:"",patient_id:"1"},"Mon_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Mon_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sat_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sat_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sat_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sun_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sun_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sun_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Thurs_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Thurs_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Thurs_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Tue_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Tue_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Tue_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Wed_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Wed_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Wed_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"jihao_id":"","total":"","zone_id":"","zone_type":"","sort":""}]
849
                     var newArr= [{"area":"总数","cut":0,"Fri_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Fri_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Fri_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Mon_A":{mode_id:0,mode_name:"",patient:"",patient_id:"1"},"Mon_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Mon_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sat_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sat_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sat_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sun_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sun_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Sun_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Thurs_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Thurs_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Thurs_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Tue_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Tue_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Tue_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Wed_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Wed_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"Wed_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1"},"jihao_id":"","total":"","zone_id":"","zone_type":"","sort":""}]
684
 
850
 
685
-
686
                      for(let i=0;i<newArr.length;i++){
851
                      for(let i=0;i<newArr.length;i++){
687
                        for(let j=0;j<this.scheduleCountList.length;j++){
852
                        for(let j=0;j<this.scheduleCountList.length;j++){
688
                             newArr[i].cut = this.total
853
                             newArr[i].cut = this.total
856
             return [weekArr[week], typeArr[schedule_type]];
1021
             return [weekArr[week], typeArr[schedule_type]];
857
         },
1022
         },
858
         printAction: function() {
1023
         printAction: function() {
859
-            const style = '@media print {#scheduleTable{font-size:16px;} .scheduleTable tr td{text-align: center;padding: 5px;}}'
860
-
1024
+            const style = '@media print { #scheduleTable{font-size:14px;} .scheduleTable tr td{text-align: center;padding: 5px 0px;min-width:40px;}}'
1025
+            // const style = '@media print { #scheduleTable{font-size:14px;} .scheduleTable tr td{text-align: center;padding: 5px;min-width:40px;}}'
861
             printJS({
1026
             printJS({
862
             printable: 'scheduleTable',
1027
             printable: 'scheduleTable',
863
             type: 'html',
1028
             type: 'html',
922
 </script>
1087
 </script>
923
 
1088
 
924
 
1089
 
925
-<style lang="scss">
1090
+<style lang="scss" scoped>
1091
+// .print_main_content{
1092
+//     width: 960px;
1093
+//     margin: 0 auto;
1094
+// }
926
 td{
1095
 td{
927
     text-align: center;
1096
     text-align: center;
928
     padding: 5px;
1097
     padding: 5px;

Файловите разлики са ограничени, защото са твърде много
+ 888 - 854
src/xt_pages/workforce/scheduleTablePrintTwo.vue