Browse Source

6月30日杨青

杨青 1 year ago
parent
commit
3384913208
28 changed files with 9127 additions and 5653 deletions
  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 View File

@@ -478,6 +478,18 @@ export default {
478 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 494
       path: '/dialysis/print/batch/twelve',
483 495
       component: () =>

+ 187 - 29
src/router/modules/patient.js View File

@@ -181,35 +181,39 @@ export default {
181 181
       title: 'CourseOfDiseaseManage',
182 182
       noCache: true
183 183
     }
184
-  }, {
184
+  },
185
+  {
185 186
       path: '/patients/sickhistory',
186 187
       component: () => import('@/xt_pages/user/sickHistory'),
187 188
       hidden: true,
188 189
       is_menu: false,
189 190
       name: 'sickHistory',
190 191
       meta: { title: 'sickHistory', noCache: true }
191
-    }, {
192
+  }, 
193
+  {
192 194
       path: '/patients/inspection_check',
193 195
       component: () => import('@/xt_pages/user/inspectionCheck'),
194 196
       hidden: true,
195 197
       is_menu: false,
196 198
       name: 'inspectionCheck',
197 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 218
     path: '/patients/rescue',
215 219
     component: () => import('@/xt_pages/user/rescueRecord'),
@@ -254,17 +258,17 @@ export default {
254 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 273
     path: '/patient/patient/templateSummary/print',
270 274
     component: () => import('@/xt_pages/user/templateSummaryPrint'),
@@ -319,7 +323,161 @@ export default {
319 323
       title: 'firstDiseasePrint',
320 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 View File

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

+ 0 - 1
src/xt_pages/data/printTemplate/prescriptionPrint.vue View File

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

File diff suppressed because it is too large
+ 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 View File

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

+ 98 - 56
src/xt_pages/dialysis/batch_print/batch_print_order_twentySeven.vue View File

@@ -47,7 +47,7 @@
47 47
                         </div>
48 48
                       </td>
49 49
                       <td>岁</td>
50
-
50
+                      <td width="10"></td>
51 51
                       <td width="50">门诊号:</td>
52 52
                       <td width="150">
53 53
                         <div class="under-line">
@@ -72,44 +72,60 @@
72 72
                         </div>
73 73
                       </td>
74 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 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 124
                     </tr>
84 125
                   </tbody>
85 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 129
                   <tbody>
114 130
                     <tr>
115 131
                       <td width="80">床位号:</td>
@@ -566,8 +582,8 @@
566 582
                         <table class="table-box">
567 583
                           <tbody>
568 584
                             <tr>
569
-                              <td width="70">通路类型:</td>
570
-                              <td width="210">
585
+                              <td width="69">通路类型:</td>
586
+                              <td width="212">
571 587
                                 <div>
572 588
                                   <label-box
573 589
                                     :isChecked="
@@ -603,7 +619,7 @@
603 619
                                 </div>
604 620
                               </td>
605 621
 
606
-                              <td width="70">穿刺方法:</td>
622
+                              <td width="68">穿刺方法:</td>
607 623
                               <td width="180">
608 624
                                 <div>
609 625
                                   <label-box
@@ -670,8 +686,8 @@
670 686
                                 </div>
671 687
                               </td>
672 688
 
673
-                              <td width="50">导管:</td>
674
-                              <td width="130">
689
+                              <td width="40">导管:</td>
690
+                              <td width="120">
675 691
                                 <div>
676 692
                                   <label-box
677 693
                                     :isChecked="
@@ -3196,6 +3212,7 @@ import { jsGetAge, uParseTime } from "@/utils/tools";
3196 3212
 import { getDataConfig } from "@/utils/data";
3197 3213
 import LabelBox from "../printItem/LabelBox";
3198 3214
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
3215
+// import { getDialysisRecord } from '@/api/dialysis';
3199 3216
 import print from "print-js";
3200 3217
 export default {
3201 3218
   name: "BatchPrintOrder",
@@ -3254,6 +3271,12 @@ export default {
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 3282
   created() {
@@ -3292,16 +3315,18 @@ export default {
3292 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 3331
   mounted() {
3307 3332
     console.log(this.records);
@@ -3651,10 +3676,12 @@ export default {
3651 3676
       }
3652 3677
     },
3653 3678
     printAction: function () {
3679
+     
3654 3680
       const style =
3655 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 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 3685
       printJS({
3659 3686
         printable: "print_content",
3660 3687
         type: "html",
@@ -3778,6 +3805,21 @@ export default {
3778 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 3825
 </script>
@@ -3802,7 +3844,7 @@ export default {
3802 3844
   text-align: center;
3803 3845
   font-size: 23px;
3804 3846
   line-height: 40px;
3805
-  font-weight: 500;
3847
+  /* font-weight: 500; */
3806 3848
 }
3807 3849
 
3808 3850
 .row {
@@ -3974,7 +4016,7 @@ export default {
3974 4016
 
3975 4017
 .dialysis-print-order .order-title {
3976 4018
   margin: auto;
3977
-  font-weight: 600;
4019
+  /* font-weight: 600; */
3978 4020
   text-align: center;
3979 4021
   font-size: 22px;
3980 4022
   padding: 10px 20px 20px 20px;
@@ -4014,7 +4056,7 @@ export default {
4014 4056
 }
4015 4057
 
4016 4058
 .dialysis-print-order .radio-lebel-box {
4017
-  font-weight: 400;
4059
+  /* font-weight: 400; */
4018 4060
   cursor: pointer;
4019 4061
 }
4020 4062
 
@@ -4125,7 +4167,7 @@ export default {
4125 4167
 
4126 4168
 .dialysis-print-order .order-title {
4127 4169
   margin: auto;
4128
-  font-weight: 600;
4170
+  /* font-weight: 600; */
4129 4171
   text-align: center;
4130 4172
   font-size: 22px;
4131 4173
   padding: 10px 20px 20px 20px;
@@ -4165,7 +4207,7 @@ export default {
4165 4207
 }
4166 4208
 
4167 4209
 .dialysis-print-order .radio-lebel-box {
4168
-  font-weight: 400;
4210
+  /* font-weight: 400; */
4169 4211
   cursor: pointer;
4170 4212
 }
4171 4213
 

+ 15 - 4
src/xt_pages/dialysis/bloodPresssWatch.vue View File

@@ -130,6 +130,15 @@
130 130
           >批量打印</el-button
131 131
         >
132 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 142
       <template v-if="this.template_id == 12">
134 143
         <el-button
135 144
           size="small"
@@ -219,7 +228,7 @@
219 228
           >批量打印</el-button
220 229
         >
221 230
       </template>
222
-      <!-- <template v-if="this.template_id == 27">
231
+      <template v-if="this.template_id == 27">
223 232
         <el-button
224 233
           size="small"
225 234
           icon="el-icon-printer"
@@ -228,7 +237,7 @@
228 237
           type="primary"
229 238
           >批量打印</el-button
230 239
         >
231
-      </template> -->
240
+      </template>
232 241
       <template v-if="this.template_id == 28">
233 242
         <el-button
234 243
           size="small"
@@ -392,7 +401,7 @@
392 401
           type="primary"
393 402
           >批量打印</el-button>
394 403
       </template>
395
-
404
+      
396 405
     </div>
397 406
     <div class="app-container">
398 407
       <!-- <div class="filter-container">
@@ -2073,6 +2082,8 @@ export default {
2073 2082
         this.$router.push({ path: "/dialysis/print/batch/eight" });
2074 2083
       } else if (this.template_id == 9) {
2075 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 2087
       } else if (this.template_id == 12) {
2077 2088
         this.$router.push({ path: "/dialysis/print/batch/twelve" });
2078 2089
       } else if (this.template_id == 13) {
@@ -2125,7 +2136,7 @@ export default {
2125 2136
         this.$router.push({ path: "/dialysis/print/batch/sixtyOne" });
2126 2137
       }else if (this.template_id == 62) {
2127 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 2140
         this.$router.push({ path: "/dialysis/print/batch/sixtyFive" });
2130 2141
       }
2131 2142
 

+ 22 - 20
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue View File

@@ -212,24 +212,26 @@
212 212
 
213 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 236
       <el-form-item
235 237
         label-width="200px"
@@ -499,8 +501,9 @@ export default {
499 501
     },
500 502
     // 复选框跌倒风险措施
501 503
     precautionchange(){
502
-
504
+      console.log('12345566',this.precautionTwo.length);
503 505
       if(this.precautionTwo.length>0){
506
+        console.log('asdfasdfas',this.precautionTwo.length);
504 507
         this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
505 508
       }
506 509
     },
@@ -607,7 +610,6 @@ export default {
607 610
             if(this.precautionTwo.length<=0){
608 611
               this.isrequired=false
609 612
               return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
610
-
611 613
             }
612 614
             this.precautionchange()
613 615
             this.isrequired=true

+ 3 - 6
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -1625,8 +1625,7 @@ export default {
1625 1625
           scanStyles: false,
1626 1626
         });
1627 1627
       } else if (
1628
-        this.org_template_info.template_id == 2
1629
-       
1628
+        this.org_template_info.template_id == 2     
1630 1629
       ) {
1631 1630
         printJS({
1632 1631
           printable: "dialysis-print-box-1",
@@ -1908,16 +1907,14 @@ export default {
1908 1907
           style: style,
1909 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 1911
         printJS({
1915 1912
           printable: "dialysis-print-box-1",
1916 1913
           type: "html",
1917 1914
           style: style2,
1918 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 1918
         printJS({
1922 1919
           printable: "dialysis-print-box-1",
1923 1920
           type: "html",

File diff suppressed because it is too large
+ 3747 - 3749
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue


+ 6 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue View File

@@ -378,7 +378,6 @@
378 378
                             }}
379 379
                             </span>
380 380
                         </td >
381
-
382 381
                         <td style=" ">
383 382
                             <span v-if="getTime(monitor.operate_time) != ''">
384 383
                                 &nbsp;{{
@@ -444,10 +443,12 @@
444 443
 
445 444
                         <!-- <td style=" "> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td> -->
446 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 452
                         </td>
452 453
                         <!-- <td>
453 454
                           <span v-if="
@@ -481,7 +482,6 @@
481 482
                           />
482 483
                         </td> -->
483 484
                       </tr>
484
-                    
485 485
                   </table>
486 486
                 </td>
487 487
               </tr>

+ 3 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue View File

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

+ 1 - 1
src/xt_pages/outpatientCharges/invoiceTemplate/printSix.vue View File

@@ -16,7 +16,7 @@
16 16
                 <div v-if="list.otherCostTotal">其他费 {{ list.otherCostTotal }}</div>
17 17
                 <div v-if="list.materialCostTotal">材料费 {{ list.materialCostTotal }}</div>
18 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 20
                 <div v-for="item in list.order_info.slice(index * 10,(index * 10) + pageArr[index])">
21 21
                     <span style="display:inline-block;width:200px;">
22 22
                         <span v-if="item.advice.id == 0">

+ 3 - 1
src/xt_pages/stock/stockInOrderAdd.vue View File

@@ -58,6 +58,7 @@
58 58
                     @select="handleSelect"
59 59
                     @input="changeGoodName(scope.$index)"
60 60
                     style="width:160px;"
61
+                    :popper-append-to-body="true"
61 62
                   >
62 63
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
63 64
                   <template slot-scope="{ item }">
@@ -1013,7 +1014,8 @@
1013 1014
     background: #6fb5fa;
1014 1015
   }
1015 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 View File

@@ -97,13 +97,28 @@
97 97
                     placeholder="请输入耗材名称"
98 98
                     @select="handleSelect"
99 99
                     @input="changeGoodName(scope.$index)"
100
-                    style="width:150px;"
100
+                    :popper-append-to-body="true"
101 101
                   >
102 102
                     <i class="el-icon-search el-input__icon" slot="suffix"></i>
103 103
                   <template slot-scope="{ item }">
104 104
                     <div class="name">{{item.good_name +"  " +item.specification_name + "  "+  item.manufacturer}}</div>
105 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 122
               </el-form-item>
108 123
             </template>
109 124
           </el-table-column>
@@ -111,10 +126,7 @@
111 126
             <template slot="header" slot-scope="scope">
112 127
               <span>耗材类型</span>
113 128
             </template>
114
-
115 129
             <template slot-scope="scope">
116
-
117
-
118 130
               <el-form-item style="padding-top: 20px">
119 131
                 <el-input
120 132
                   placeholder="请输入耗材类型"
@@ -125,7 +137,6 @@
125 137
             </template>
126 138
           </el-table-column>
127 139
 
128
-
129 140
           <el-table-column width="140" align="center">
130 141
             <template slot="header" slot-scope="scope">
131 142
               <span>规格&单位<span style="color: red">*</span></span>
@@ -230,8 +241,6 @@
230 241
             </template>
231 242
           </el-table-column>
232 243
 
233
-
234
-
235 244
           <el-table-column label="总价"  width="80" align="center">
236 245
             <template slot-scope="scope">
237 246
               {{ calculate(scope.row.price * scope.row.count) }}
@@ -312,8 +321,6 @@
312 321
             </template>
313 322
           </el-table-column>
314 323
 
315
-
316
-
317 324
           <el-table-column label="备注"  width="150" align="center">
318 325
             <template slot-scope="scope">
319 326
               <el-input v-model="scope.row.remark"></el-input>
@@ -1057,8 +1064,9 @@ export default {
1057 1064
 .sign-and-weigh-box .sign-and-weigh-box-patients .current-row > td {
1058 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 1071
 ::-webkit-scrollbar{
1064 1072
   height: 20px;

+ 110 - 12
src/xt_pages/user/components/PatientSidebar.vue View File

@@ -203,7 +203,68 @@ export default {
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 269
       name:""
209 270
     }
@@ -245,27 +306,64 @@ export default {
245 306
         this.$router.push({
246 307
           path: '/patients/patient/' + this.id + '/proeducation'
247 308
         })
248
-      }else if (name == '1-7'){
309
+      } else if (name == '1-7'){
249 310
         this.$router.push({path:'/patients/patient/'+this.id+'/vascularAccess'})
250
-      }else if (name == '1-8'){
311
+      } else if (name == '1-8'){
251 312
         this.$router.push({path:'/patients/patients/'+this.id+'/inspectionInfectious'})
252
-      }else if (name == '1-9'){
313
+      } else if (name == '1-9'){
253 314
         this.$router.push({path:'/patient/patient/'+this.id+'/templateSummary'})
254
-      }else if(name == '1-10'){
315
+      } else if(name == '1-10'){
255 316
         this.$router.push({path:'/patient/patient/'+this.id+'/hospitalSummary'})
256
-      }else if(name == '1-11'){
317
+      } else if(name == '1-11'){
257 318
         this.$router.push({path:'/patient/patient/'+this.id+'/firstDisease'})
258
-      }else if(name == '3-1'){
319
+      } else if(name == '3-1'){
259 320
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
260 321
 
261 322
       } else if(name == '3-2'){
262 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 326
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
266
-      }else if(name == '4-3'){
327
+      } else if(name == '4-3'){
267 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 368
     changePatient(value) {
271 369
       console.log(value)
@@ -397,7 +495,7 @@ export default {
397 495
       }
398 496
        else if (patientKey == '1-5') {
399 497
         this.$router.push({ path: '/patients/rescue?id=' + this.id })
400
-      }else if (patientKey == '2-1') {
498
+      } else if (patientKey == '2-1') {
401 499
         this.$router.push({
402 500
           path: '/patients/patient/' + this.id + '/dialysisSolution'
403 501
         })
@@ -413,7 +511,7 @@ export default {
413 511
         this.$router.push({
414 512
           path: '/patients/patient/' + this.id + '/proeducation'
415 513
         })
416
-      }else if (patientKey == '3-1') {
514
+      } else if (patientKey == '3-1') {
417 515
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
418 516
       }
419 517
 

+ 0 - 6
src/xt_pages/user/dialysisSolution.vue View File

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

+ 1 - 1
src/xt_pages/user/hospitalSummary.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 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 4
     <div v-loading="loading">
5 5
       <div class="patient-app-container advice-container app-container">
6 6
 

+ 40 - 7
src/xt_pages/user/inspection.vue View File

@@ -167,12 +167,24 @@
167 167
             <el-row>
168 168
               <template v-for="(item, index) in items">
169 169
                 <el-col :span="7" :key="index">
170
-                  <div style="width: 400px">
170
+                  <div style=" margin: 5px;">
171 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 185
                     </el-row>
174 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 188
                     </el-row>
177 189
                   </div>
178 190
                 </el-col>
@@ -375,12 +387,19 @@
375 387
         </el-button>
376 388
       </div>
377 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 396
   </div>
379 397
 
380 398
 </template>
381 399
 
382 400
 <script>
383 401
 import PatientSidebar from './components/PatientSidebar'
402
+import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
384 403
 import { getToken } from '@/api/qiniu'
385 404
 
386 405
 import {
@@ -396,9 +415,11 @@ import { getFileExtension, uParseTime } from '@/utils/tools'
396 415
 
397 416
 export default {
398 417
   name: 'Inspection',
399
-  components: { PatientSidebar },
418
+  components: { PatientSidebar, ElImageViewer},
400 419
   data() {
401 420
     return {
421
+      showViewer:false,
422
+      imgs:[],
402 423
       total: 0,
403 424
       qiniuDomain: 'https://images.shengws.com/',
404 425
       isPic:false,
@@ -443,6 +464,15 @@ export default {
443 464
     }
444 465
   },
445 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 476
     beforeAvatarUpload(file) {
447 477
       // const isJPG = file.type === "image/jpeg";
448 478
       var fileType = file.type
@@ -633,7 +663,8 @@ export default {
633 663
 
634 664
       }
635 665
 
636
-    }, openPic() {
666
+    }, 
667
+    openPic() {
637 668
       if (this.project == null) {
638 669
         this.$message.error('请先选择项目')
639 670
         return false
@@ -888,7 +919,8 @@ export default {
888 919
           return false
889 920
         }
890 921
       })
891
-    }, submitEditPicNew() {
922
+    }, 
923
+    submitEditPicNew() {
892 924
       if (this.form.imgs.length == 0) {
893 925
         this.$message.error('未上传图片')
894 926
         return false
@@ -925,7 +957,8 @@ export default {
925 957
         })
926 958
       this.formLoading = false
927 959
 
928
-    },deletePic(item,index){
960
+    },
961
+    deletePic(item,index){
929 962
       if(item.id == 0){
930 963
         this.form.imgs.splice(index,1)
931 964
       }else{

+ 1 - 1
src/xt_pages/user/patient.vue View File

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

+ 0 - 1
src/xt_pages/workforce/appointment.vue View File

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

+ 97 - 43
src/xt_pages/workforce/components/editTableData.vue View File

@@ -131,14 +131,17 @@
131 131
             :header-cell-style="{
132 132
             backgroundColor: 'rgb(245, 247, 250)',
133 133
             color: '#606266',
134
+            border: '1px solid aqua',
134 135
           }"
135 136
             :fit="true"
136 137
             :data="scheduleZone"
137 138
             @cell-click="clickThis"
139
+            @cell-mouse-enter="hoverMouse"
138 140
             @cell-dblclick="dblclickThis"
139 141
             :span-method="objectSpanMethod"
140 142
             :summary-method="getSummaries"
141 143
             :cell-class-name="cellClass"
144
+            :cell-style ='cellstyle'
142 145
             :row-class-name="tableRowClassName"
143 146
             show-summary
144 147
             sum-text="总数"
@@ -152,6 +155,7 @@
152 155
               min-width="60"
153 156
               align="center"
154 157
               fixed
158
+              style="border-bottom: 1px solid aqua;"
155 159
           ></el-table-column>
156 160
           <el-table-column
157 161
               prop="cut"
@@ -159,8 +163,8 @@
159 163
               min-width="50"
160 164
               align="center"
161 165
               fixed
162
-          >
163
-        </el-table-column>
166
+              style="border-bottom: 1px solid aqua;"
167
+          ></el-table-column>
164 168
           <el-table-column
165 169
               :label="'周一 (' + weekTitle[0] + ')'"
166 170
               v-if="isShowOne"
@@ -1686,7 +1690,7 @@
1686 1690
       </span>
1687 1691
     </el-dialog>
1688 1692
     
1689
-</div>
1693
+  </div>
1690 1694
 </template>
1691 1695
 
1692 1696
 <script>
@@ -1917,7 +1921,7 @@ export default {
1917 1921
       partitions: [],
1918 1922
       partitions_two: [],
1919 1923
       jihaos_two: [],
1920
-
1924
+      subzone:[],
1921 1925
       jihaos: [],
1922 1926
       weekTitle: ["", "", "", "", "", "", ""],
1923 1927
       isShowOne: true,
@@ -3392,7 +3396,7 @@ export default {
3392 3396
           return false;
3393 3397
         }
3394 3398
         var partitions = response.data.data.partitions;
3395
-
3399
+        this.subzone = response.data.data.partitions;
3396 3400
         this.theWeek.thisWeek = response.data.data.theWeek;
3397 3401
 
3398 3402
         this.theWeek.lastWeek = this.theWeek.thisWeek - 1;
@@ -3654,7 +3658,16 @@ export default {
3654 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 3671
     // 单元格的 className 的回调方法
3659 3672
     cellClass({ row, column, rowIndex, columnIndex }) {
3660 3673
       // 传染病区机器橙色背景
@@ -3662,10 +3675,19 @@ export default {
3662 3675
         //
3663 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 3684
       if (columnIndex == 0 || columnIndex == 1 || columnIndex == 23) {
3666 3685
         return "";
3667 3686
       } else {
3668 3687
         if (this.weekTime == "lastWeek") {
3688
+          if(column.label == '晚' ){
3689
+            return 'evening_border schedule-table-cell-disable'
3690
+          }
3669 3691
           if (
3670 3692
               row[column.property].patient_id > 0 &&
3671 3693
               row[column.property].patient_id == this.patient_id_hover
@@ -3683,11 +3705,15 @@ export default {
3683 3705
                 row[column.property].patient_id == this.patient_id_hover
3684 3706
             ) {
3685 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 3713
           } else {
3714
+            if(column.label == '晚' ){
3715
+                return 'evening_border'
3716
+            }
3691 3717
             if (
3692 3718
                 row[column.property].patient_id > 0 &&
3693 3719
                 row[column.property].patient_id == this.patient_id_hover
@@ -3698,6 +3724,9 @@ export default {
3698 3724
             }
3699 3725
           }
3700 3726
         }else{
3727
+          if(column.label == '晚' ){
3728
+                return 'evening_border '
3729
+          }
3701 3730
           if (
3702 3731
               row[column.property].patient_id > 0 &&
3703 3732
               row[column.property].patient_id == this.patient_id_hover
@@ -3710,6 +3739,18 @@ export default {
3710 3739
       }
3711 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 3755
     patientClass({row,column, rowIndex,columnIndex}){
3715 3756
       if(this.cur_info.patient_id == row.id){
@@ -4847,40 +4888,40 @@ export default {
4847 4888
     },
4848 4889
     // 单击选中患者
4849 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 4927
     dblclickThis(row, column, cell, event){
@@ -5827,7 +5868,9 @@ textarea{
5827 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 5875
 .schedule-table-cell-disable {
5833 5876
   background-color: rgb(245, 245, 245) !important;
@@ -5892,6 +5935,17 @@ textarea{
5892 5935
 .infectious {
5893 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 5949
 .Infectious_disease{
5896 5950
   background-color: red !important;
5897 5951
   color: white;

File diff suppressed because it is too large
+ 195 - 712
src/xt_pages/workforce/components/historyWeekTable.vue


+ 82 - 37
src/xt_pages/workforce/components/tableData.vue View File

@@ -230,7 +230,8 @@
230 230
         :row-style="{ color: '#303133' }"
231 231
         :header-cell-style="{
232 232
           backgroundColor: 'rgb(245, 247, 250)',
233
-          color: '#606266'
233
+          color: '#606266',
234
+          border: '1px solid aqua',
234 235
         }"
235 236
         :fit="true"
236 237
         :data="scheduleZone"
@@ -239,35 +240,39 @@
239 240
         @cell-mouse-enter="hoverMouse"
240 241
         :summary-method="getSummaries"
241 242
         show-summary
242
-        :row-class-name="tableRowClassName"
243 243
         :cell-class-name="cellClass"
244
+        :cell-style ='cellstyle'
244 245
         sum-text="总数"
245 246
         :height="tableContainHeight"
246 247
         ref="table"
247 248
         style="table-layout: fixed;"
248 249
       >
249
-
250
+<!--  -->
250 251
         <el-table-column
251 252
           prop="area"
252 253
           label="分区"
253 254
           width="50"
254 255
           align="center"
255 256
           fixed
256
-        ></el-table-column>
257
+          style="border-bottom: 1px solid aqua;"
258
+        >
259
+        </el-table-column>
257 260
         <el-table-column
258 261
           prop="cut"
259 262
           label="机号"
260 263
           align="center"
261 264
           min-width="40"
262 265
           fixed
266
+          style="border-bottom: 1px solid aqua;"
263 267
         ></el-table-column>
264 268
         <el-table-column
265 269
           :label="' 周一(' + weekTitle[0] + ')'"
266 270
           v-if="isShowOne"
267 271
           align="center"
272
+          
268 273
         >
269 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 276
             <schedule-item
272 277
               slot-scope="scope"
273 278
               :schedule-detail="scope.row.Mon_M"
@@ -285,7 +290,7 @@
285 290
               :schedulMode="modename_value"
286 291
             ></schedule-item>
287 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 294
             <schedule-item
290 295
               slot-scope="scope"
291 296
               :schedule-detail="scope.row.Mon_N"
@@ -793,6 +798,7 @@ export default {
793 798
      // scheduleZone: this.scheduleZoneProp,
794 799
       scheduleZoneRow: -1,
795 800
       partitions: [],
801
+      subzone:[],
796 802
       jihaos: [],
797 803
       weekTitle: ["", "", "", "", "", "", ""],
798 804
       weekList: ["", "", "", "", "", "", ""],
@@ -808,7 +814,6 @@ export default {
808 814
         mode_id: 0,
809 815
         type_name: "",
810 816
         bed_name: "",
811
-
812 817
         partition_type: 0,
813 818
         contagions: [],
814 819
         patient: ""
@@ -839,15 +844,11 @@ export default {
839 844
         ],
840 845
         bed_id: [{ required: true, message: "请选择透析机", trigger: "blur" }]
841 846
       },
842
-
843 847
       weekday: 0,
844
-
845 848
       creating_schedule: false,
846 849
       changing_mode: false,
847 850
       changing_bed: false,
848
-
849 851
       tableHeight: document.documentElement.clientHeight,
850
-
851 852
       origin_schedules: [],
852 853
       origin_device_numbers: [],
853 854
       zone_device_map: {},
@@ -1074,8 +1075,10 @@ export default {
1074 1075
           if (response.data.state == 0) {
1075 1076
             return false
1076 1077
           }
1077
-          console.log("触发232332323232",response.data.data)
1078
+          // console.log("触发232332323232",response.data.data)
1078 1079
           var partitions = response.data.data.partitions
1080
+          this.subzone = response.data.data.partitions
1081
+          // this.subzone.push(response.data.data.partitions)
1079 1082
           console.log("partitions",partitions)
1080 1083
           this.theWeek.thisWeek = response.data.data.theWeek
1081 1084
           // this.theWeek.historyWeek=this.theWeek.thisWeek - 2
@@ -1326,18 +1329,27 @@ export default {
1326 1329
           console.log("34455555566666",this.scheduleZone)
1327 1330
         })
1328 1331
      },
1329
-
1332
+    //  单元格样式的回调
1330 1333
     cellClass({ row, column, rowIndex, columnIndex }) {
1331
-
1334
+      
1332 1335
       if(columnIndex==1&&row.zone_type!=1){
1333 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 1345
       if (columnIndex == 0 || columnIndex == 1 || columnIndex == 23) {
1337 1346
         return "";
1338 1347
       } else {
1339 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 1353
             return 'hover-td schedule-table-cell-disable'
1342 1354
           }else {
1343 1355
             return 'schedule-table-cell-disable'
@@ -1345,36 +1357,53 @@ export default {
1345 1357
           // return "schedule-table-cell-disable";
1346 1358
         } else if (this.weekTime == "thisWeek") {
1347 1359
           var weekday = Math.floor((columnIndex - 2) / 3 + 1);
1360
+          // 判断日期
1348 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 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 1375
             if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover){
1357 1376
               return 'hover-td '
1358 1377
             }else {
1359 1378
               return ''
1360 1379
             }
1361 1380
           }
1381
+        } else {
1382
+          if(column.label == '晚' ){
1383
+            return 'evening_border'
1384
+          }
1362 1385
         }
1363 1386
       }
1364 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 1401
     changeSearchContagion(id) {
1371 1402
       this.patientQuery.contagion = id;
1372 1403
       this.getSchedulePatients();
1373 1404
     },
1374
-    // changeSearchSchedule(id) {
1375
-    //   this.patientQuery.schedule = id;
1376
-    //   this.getSchedulePatients();
1377
-    // },
1405
+   
1406
+    // 合计
1378 1407
     getSummaries(param) {
1379 1408
       const { columns, data } = param;
1380 1409
       const sums = [];
@@ -2523,6 +2552,7 @@ export default {
2523 2552
         });
2524 2553
     },
2525 2554
     hoverMouse(row, column, cell, event) {
2555
+      // console.log('sdf12344565');
2526 2556
       if (row[column.property].schedule_id > 0) {
2527 2557
         let patient_id = row[column.property].patient_id
2528 2558
         this.patient_id_hover = patient_id
@@ -3239,13 +3269,7 @@ export default {
3239 3269
       this.searchTableVisible = false;
3240 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 3274
     getAllZones() {
3251 3275
       getAllZones().then(response => {
@@ -3300,6 +3324,14 @@ export default {
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 3337
 </script>
@@ -3353,7 +3385,7 @@ textarea{
3353 3385
 }
3354 3386
 
3355 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 3391
 #table_data {
@@ -3403,7 +3435,20 @@ textarea{
3403 3435
   .Infectious_disease{
3404 3436
     background-color: red !important;
3405 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 3453
 .backPurple{
3409 3454
   color: #f32424 !important;

+ 1 - 1
src/xt_pages/workforce/printOne.vue View File

@@ -53,7 +53,7 @@
53 53
               <tbody>
54 54
                 <tr v-for="(it, i) in item.zones" :key="i">
55 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 57
                     {{ getZoneName(it.partition_id) }}
58 58
                   </td>
59 59
                   <td :width="td_3_width" valign="top">

+ 252 - 83
src/xt_pages/workforce/scheduleTablePrint.vue View File

@@ -1,9 +1,11 @@
1 1
 <template>
2 2
     <div>
3
+      
3 4
       <el-button style="float:right;" type="primary" @click="printAction">打印</el-button>
4 5
 
5 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 9
             <tr>
8 10
                 <td rowspan="2">分区</td>
9 11
                 <td rowspan="2">机号</td>
@@ -14,7 +16,7 @@
14 16
                 <td colspan="3">周五({{ weekTitle[4] }})</td>
15 17
                 <td colspan="3">周六({{ weekTitle[5] }})</td>
16 18
                 <td colspan="3">周日({{ weekTitle[6] }})</td>
17
-                <td>总数</td>
19
+                <td rowspan="2">总数</td>
18 20
             </tr>
19 21
             <tr>
20 22
                 <td>上午</td>
@@ -40,139 +42,304 @@
40 42
                 <td>晚上</td>
41 43
             </tr>
42 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 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 51
                     </span>
52 52
                 </td>
53
-                <td style="min-width:50px;">
53
+                <td style="min-width:40px;">
54 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 58
                     </span>
58 59
                 </td>
59
-                <td style="min-width:50px;">
60
+                <td style="min-width:40px;">
60 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 65
                     </span>
64 66
                 </td>
65
-                <td style="min-width:50px;">
67
+                <td style="min-width:40px;">
66 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 72
                     </span>
70 73
                 </td>
71
-                <td style="min-width:50px;">
74
+                <td style="min-width:40px;">
72 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 79
                     </span>
76 80
                 </td>
77
-                <td style="min-width:50px;">
81
+                <td style="min-width:40px;">
78 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 86
                     </span>
82 87
                 </td>
83
-                <td style="min-width:50px;">
88
+                <td style="min-width:40px;">
84 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 93
                     </span>
88 94
                 </td>
89
-                <td style="min-width:50px;">
95
+                <td style="min-width:40px;">
90 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 99
                     </span>
94 100
                 </td>
95
-                <td style="min-width:50px;">
101
+                <td style="min-width:40px;">
96 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 105
                     </span>
100 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 111
                     </span>
106 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 117
                     </span>
112 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 123
                     </span>
118 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 129
                     </span>
124 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 135
                     </span>
130 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 141
                     </span>
136 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 147
                     </span>
142 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 153
                     </span>
148 154
                 </td>
149
-                <td style="min-width:50px;">
155
+                <td style="min-width:40px;">
150 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 159
                     </span>
154 160
                 </td>
155
-                <td style="min-width:50px;">
161
+                <td style="min-width:40px;">
156 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 165
                     </span>
160 166
                 </td>
161
-                <td style="min-width:50px;">
167
+                <td style="min-width:40px;">
162 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 171
                     </span>
166 172
                 </td>
167
-                <td style="min-width:50px;">
173
+                <td style="min-width:40px;">
168 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 177
                     </span>
172 178
                 </td>
173 179
                 <td>{{item.total}}</td>
174 180
             </tr>
175 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 343
     </div>
177 344
 </template>
178 345
 
@@ -252,14 +419,13 @@ export default {
252 419
 
253 420
         }else{
254 421
              newList = [1,2,3,4,5,6,7]
255
-
256 422
             this.week_date = newList.join(",")
257 423
 
258 424
         }
259 425
 
260 426
     },
261 427
     methods:{
262
-         getAllZones(){
428
+        getAllZones(){
263 429
            getAllZones().then(response=>{
264 430
              if(response.data.state == 1){
265 431
                 var zones = response.data.data.zones
@@ -682,7 +848,6 @@ export default {
682 848
                     });
683 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 851
                      for(let i=0;i<newArr.length;i++){
687 852
                        for(let j=0;j<this.scheduleCountList.length;j++){
688 853
                             newArr[i].cut = this.total
@@ -856,8 +1021,8 @@ export default {
856 1021
             return [weekArr[week], typeArr[schedule_type]];
857 1022
         },
858 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 1026
             printJS({
862 1027
             printable: 'scheduleTable',
863 1028
             type: 'html',
@@ -922,7 +1087,11 @@ export default {
922 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 1095
 td{
927 1096
     text-align: center;
928 1097
     padding: 5px;

File diff suppressed because it is too large
+ 888 - 854
src/xt_pages/workforce/scheduleTablePrintTwo.vue