Pārlūkot izejas kodu

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 2 gadus atpakaļ
vecāks
revīzija
4609dadce8

+ 12 - 1
src/router/modules/patient.js Parādīt failu

@@ -233,7 +233,7 @@ export default {
233 233
     }
234 234
   },
235 235
   {
236
-    path: '/course/print',
236
+    path: '/course/print',//coursePrint
237 237
     component: () => import('@/xt_pages/user/coursePrint'),
238 238
     hidden: true,
239 239
     is_menu: false,
@@ -243,6 +243,17 @@ export default {
243 243
       noCache: true
244 244
     }
245 245
   },
246
+  {
247
+    path: '/physique/print',//coursePrint
248
+    component: () => import('@/xt_pages/user/physiqueprinting'),
249
+    hidden: true,
250
+    is_menu: false,
251
+    name: 'physiquePrinting',
252
+    meta: {
253
+      title: 'physiquePrinting',
254
+      noCache: true
255
+    }
256
+  },
246 257
   {
247 258
     path: '/patient/patient/templateSummary/print',
248 259
     component: () => import('@/xt_pages/user/templateSummaryPrint'),

+ 286 - 57
src/xt_pages/device/airDisinfectTwo.vue Parādīt failu

@@ -44,7 +44,7 @@
44 44
                 </el-table-column>
45 45
                 <el-table-column prop="fenopda" label="透析室" align="center" min-width="70">
46 46
                     <template slot-scope="scope">
47
-                      {{ getTimeTwo(scope.row.first_start_time)}} - {{ getTimeTwo(scope.row.first_end_time) }}
47
+                      {{getTimeTwo(scope.row.first_start_time)}} - {{ getTimeTwo(scope.row.first_end_time) }}
48 48
                     </template>
49 49
                 </el-table-column>
50 50
                 <el-table-column prop="dwaiod" label="累计时间" align="center" min-width="50">
@@ -54,7 +54,13 @@
54 54
                 </el-table-column>
55 55
                 <el-table-column prop="date" label="责任人" align="center" min-width="50">
56 56
                     <template slot-scope="scope">
57
-                      {{getName(scope.row.first_creator)}}
57
+                     <span v-if="setAdminUserES(scope.row.first_creator?scope.row.first_creator:scope.row.first_creator) == ''">
58
+                        {{getName(scope.row.first_creator)}}
59
+                     </span>
60
+                    <span v-else>
61
+                        <img style="height:30px;" :src="setAdminUserES(scope.row.first_creator?scope.row.first_creator:scope.row.first_creator)" alt="" srcset="">
62
+                    </span>
63
+
58 64
                     </template>
59 65
                 </el-table-column>
60 66
 
@@ -70,7 +76,13 @@
70 76
                 </el-table-column>
71 77
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
72 78
                     <template slot-scope="scope">
73
-                        {{getName(scope.row.first_creator)}}
79
+                        <!-- {{getName(scope.row.first_creator)}} -->
80
+                        <span v-if="setAdminUserES(scope.row.sencond_creator?scope.row.sencond_creator:scope.row.sencond_creator) == ''">
81
+                        {{getName(scope.row.sencond_creator)}}
82
+                     </span>
83
+                    <span v-else>
84
+                        <img style="height:30px;" :src="setAdminUserES(scope.row.sencond_creator?scope.row.sencond_creator:scope.row.sencond_creator)" alt="" srcset="">
85
+                    </span>
74 86
                    </template>
75 87
                 </el-table-column>
76 88
 
@@ -86,7 +98,13 @@
86 98
                 </el-table-column>
87 99
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
88 100
                     <template slot-scope="scope">
89
-                        {{getName(scope.row.sencond_creator)}}
101
+                        <!-- {{getName(scope.row.sencond_creator)}} -->
102
+                    <span v-if="setAdminUserES(scope.row.third_creator?scope.row.third_creator:scope.row.third_creator) == ''">
103
+                        {{getName(scope.row.third_creator)}}
104
+                     </span>
105
+                    <span v-else>
106
+                        <img style="height:30px;" :src="setAdminUserES(scope.row.third_creator?scope.row.third_creator:scope.row.third_creator)" alt="" srcset="">
107
+                    </span>
90 108
                     </template>
91 109
                 </el-table-column>
92 110
 
@@ -97,7 +115,13 @@
97 115
                 </el-table-column>
98 116
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
99 117
                     <template slot-scope="scope">
100
-                        {{getName(scope.row.third_creator)}}
118
+                        <!-- {{getName(scope.row.third_creator)}} -->
119
+                        <span v-if="setAdminUserES(scope.row.last_creator?scope.row.last_creator:scope.row.last_creator) == ''">
120
+                            {{getName(scope.row.third_creator)}}
121
+                        </span>
122
+                        <span v-else>
123
+                            <img style="height:30px;" :src="setAdminUserES(scope.row.last_creator?scope.row.last_creator:scope.row.last_creator)" alt="" srcset="">
124
+                        </span>
101 125
                     </template>
102 126
                 </el-table-column>
103 127
                 <el-table-column prop="city" label="操作" align="center" min-width="150">
@@ -123,7 +147,7 @@
123 147
               @size-change="handleSizeChange"
124 148
               @current-change="handleCurrentChange"
125 149
           >
126
-           
150
+
127 151
           </el-pagination>
128 152
          </div>
129 153
 
@@ -146,13 +170,29 @@
146 170
                   </div>
147 171
                   <div class="form_title"><span >透析室</span></div>
148 172
                   <el-form-item label="消毒液" label-width="110px">
149
-                      <el-input v-model="form.first_disinfection_water"></el-input>
173
+                      <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
174
+                      <el-select v-model="form.first_disinfection_water" placeholder="请选择">
175
+                          <el-option
176
+                          v-for="(item,index) in disInfectionWaterList"
177
+                          :key="index"
178
+                          :label="item.name"
179
+                          :value="item.name">
180
+                          </el-option>
181
+                      </el-select>
150 182
                   </el-form-item>
151 183
                   <el-form-item label="消毒方式" label-width="110px">
152
-                      <el-input v-model="form.first_disinfection_methods"></el-input>
184
+                      <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
185
+                      <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
186
+                          <el-option
187
+                          v-for="(item,index) in DisinfectionMode"
188
+                          :key="index"
189
+                          :label="item.name"
190
+                          :value="item.name">
191
+                          </el-option>
192
+                      </el-select>
153 193
                   </el-form-item>
154 194
                   <el-form-item label="消毒时间(h)" label-width="110px">
155
-                      <el-input v-model="form.first_disinfection_time " ></el-input>
195
+                      <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
156 196
                   </el-form-item>
157 197
                   <el-form-item label="开始时间" label-width="110px">
158 198
                     <el-date-picker
@@ -161,6 +201,7 @@
161 201
                         value-format="yyyy-MM-dd HH:mm"
162 202
                         placeholder="选择时间"
163 203
                         v-model="form.first_start_time"
204
+                        @change="firststartime"
164 205
                         style="width:100%;"
165 206
                     ></el-date-picker>
166 207
                   </el-form-item>
@@ -171,6 +212,7 @@
171 212
                         value-format="yyyy-MM-dd HH:mm"
172 213
                         placeholder="选择时间"
173 214
                         v-model="form.first_end_time"
215
+                        @change="firstendtime"
174 216
                         style="width:100%;"
175 217
                      ></el-date-picker>
176 218
                   </el-form-item>
@@ -204,16 +246,31 @@
204 246
                       </el-select>
205 247
                   </el-form-item>
206 248
 
207
-
208 249
                   <div class="form_title"><span >治疗室</span></div>
209 250
                   <el-form-item label="消毒液" label-width="110px">
210
-                      <el-input v-model="form.sencond_disinfection_water"></el-input>
251
+                      <!-- <el-input v-model="form.sencond_disinfection_water"></el-input> -->
252
+                      <el-select v-model="form.sencond_disinfection_water" placeholder="请选择">
253
+                          <el-option
254
+                          v-for="(item,index) in disInfectionWaterList"
255
+                          :key="index"
256
+                          :label="item.name"
257
+                          :value="item.name">
258
+                          </el-option>
259
+                      </el-select>
211 260
                   </el-form-item>
212 261
                   <el-form-item label="消毒方式" label-width="110px">
213
-                      <el-input v-model="form.sencond_disinfection_methods"></el-input>
262
+                      <!-- <el-input v-model="form.sencond_disinfection_methods"></el-input> -->
263
+                      <el-select v-model="form.sencond_disinfection_methods" placeholder="请选择">
264
+                          <el-option
265
+                          v-for="(item,index) in DisinfectionMode"
266
+                          :key="index"
267
+                          :label="item.name"
268
+                          :value="item.name">
269
+                          </el-option>
270
+                      </el-select>
214 271
                   </el-form-item>
215 272
                   <el-form-item label="消毒时间(h)" label-width="110px">
216
-                      <el-input v-model="form.sencond_disinfection_time " ></el-input>
273
+                      <el-input v-model="form.sencond_disinfection_time " :disabled="true"></el-input>
217 274
                   </el-form-item>
218 275
                   <el-form-item label="开始时间" label-width="110px">
219 276
                     <el-date-picker
@@ -222,6 +279,7 @@
222 279
                         value-format="yyyy-MM-dd HH:mm"
223 280
                         placeholder="选择时间"
224 281
                         v-model="form.sencond_start_time"
282
+                        @change="sencondstarttime"
225 283
                         style="width:100%;"
226 284
                     ></el-date-picker>
227 285
                   </el-form-item>
@@ -232,6 +290,7 @@
232 290
                         value-format="yyyy-MM-dd HH:mm"
233 291
                         placeholder="选择时间"
234 292
                         v-model="form.sencond_end_time"
293
+                        @change="sencondendtime"
235 294
                         style="width:100%;"
236 295
                     ></el-date-picker>
237 296
                   </el-form-item>
@@ -268,13 +327,29 @@
268 327
 
269 328
                   <div class="form_title"><span >水处理、库房</span></div>
270 329
                   <el-form-item label="消毒液" label-width="110px">
271
-                      <el-input v-model="form.third_disinfection_water"></el-input>
330
+                      <!-- <el-input v-model="form.third_disinfection_water"></el-input> -->
331
+                      <el-select v-model="form.third_disinfection_water" placeholder="请选择">
332
+                          <el-option
333
+                          v-for="(item,index) in disInfectionWaterList"
334
+                          :key="index"
335
+                          :label="item.name"
336
+                          :value="item.name">
337
+                          </el-option>
338
+                      </el-select>
272 339
                   </el-form-item>
273 340
                   <el-form-item label="消毒方式" label-width="110px">
274
-                      <el-input v-model="form.third_disinfection_methods"></el-input>
341
+                      <!-- <el-input v-model="form.third_disinfection_methods"></el-input> -->
342
+                      <el-select v-model="form.third_disinfection_methods" placeholder="请选择">
343
+                          <el-option
344
+                          v-for="(item,index) in DisinfectionMode"
345
+                          :key="index"
346
+                          :label="item.name"
347
+                          :value="item.name">
348
+                          </el-option>
349
+                      </el-select>
275 350
                   </el-form-item>
276 351
                   <el-form-item label="消毒时间(h)" label-width="110px">
277
-                      <el-input v-model="form.third_disinfection_time " ></el-input>
352
+                      <el-input v-model="form.third_disinfection_time " :disabled="true"></el-input>
278 353
                   </el-form-item>
279 354
                   <el-form-item label="开始时间"  label-width="110px">
280 355
                     <el-date-picker
@@ -283,6 +358,7 @@
283 358
                         value-format="yyyy-MM-dd HH:mm"
284 359
                         placeholder="选择时间"
285 360
                         v-model="form.third_start_time"
361
+                        @change="thirdstarttime"
286 362
                         style="width:100%;"
287 363
                     ></el-date-picker>
288 364
                   </el-form-item>
@@ -293,6 +369,7 @@
293 369
                         value-format="yyyy-MM-dd HH:mm"
294 370
                         placeholder="选择时间"
295 371
                         v-model="form.third_end_time"
372
+                        @change="thirdendtime"
296 373
                         style="width:100%;"
297 374
                     ></el-date-picker>
298 375
                   </el-form-item>
@@ -404,13 +481,29 @@
404 481
                   </div>
405 482
                   <div class="form_title"><span >透析室</span></div>
406 483
                   <el-form-item label="消毒液" label-width="110px">
407
-                      <el-input v-model="form.first_disinfection_water"></el-input>
484
+                      <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
485
+                      <el-select v-model="form.first_disinfection_water" placeholder="请选择">
486
+                          <el-option
487
+                          v-for="(item,index) in disInfectionWaterList"
488
+                          :key="index"
489
+                          :label="item.name"
490
+                          :value="item.name">
491
+                          </el-option>
492
+                      </el-select>
408 493
                   </el-form-item>
409 494
                   <el-form-item label="消毒方式" label-width="110px">
410
-                      <el-input v-model="form.first_disinfection_methods"></el-input>
495
+                      <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
496
+                      <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
497
+                          <el-option
498
+                          v-for="(item,index) in DisinfectionMode"
499
+                          :key="index"
500
+                          :label="item.name"
501
+                          :value="item.name">
502
+                          </el-option>
503
+                      </el-select>
411 504
                   </el-form-item>
412 505
                   <el-form-item label="消毒时间(h)" label-width="110px">
413
-                      <el-input v-model="form.first_disinfection_time " ></el-input>
506
+                      <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
414 507
                   </el-form-item>
415 508
                   <el-form-item label="开始时间" label-width="110px">
416 509
                     <el-date-picker
@@ -419,6 +512,7 @@
419 512
                         value-format="yyyy-MM-dd HH:mm"
420 513
                         placeholder="选择时间"
421 514
                         v-model="form.first_start_time"
515
+                        @change="firststartime"
422 516
                         style="width:100%;"
423 517
                     ></el-date-picker>
424 518
                   </el-form-item>
@@ -429,6 +523,7 @@
429 523
                         value-format="yyyy-MM-dd HH:mm"
430 524
                         placeholder="选择时间"
431 525
                         v-model="form.first_end_time"
526
+                        @change="firstendtime"
432 527
                         style="width:100%;"
433 528
                     ></el-date-picker>
434 529
                   </el-form-item>
@@ -461,15 +556,32 @@
461 556
                           </el-option>
462 557
                       </el-select>
463 558
                   </el-form-item>
559
+
464 560
                   <div class="form_title"><span >治疗室</span></div>
465 561
                   <el-form-item label="消毒液" label-width="110px">
466
-                      <el-input v-model="form.sencond_disinfection_water"></el-input>
562
+                      <!-- <el-input v-model="form.sencond_disinfection_water"></el-input> -->
563
+                      <el-select v-model="form.sencond_disinfection_water" placeholder="请选择">
564
+                          <el-option
565
+                          v-for="(item,index) in disInfectionWaterList"
566
+                          :key="index"
567
+                          :label="item.name"
568
+                          :value="item.name">
569
+                          </el-option>
570
+                      </el-select>
467 571
                   </el-form-item>
468 572
                   <el-form-item label="消毒方式" label-width="110px">
469
-                      <el-input v-model="form.sencond_disinfection_methods"></el-input>
573
+                      <!-- <el-input v-model="form.sencond_disinfection_methods"></el-input> -->
574
+                      <el-select v-model="form.sencond_disinfection_methods" placeholder="请选择">
575
+                          <el-option
576
+                          v-for="(item,index) in DisinfectionMode"
577
+                          :key="index"
578
+                          :label="item.name"
579
+                          :value="item.name">
580
+                          </el-option>
581
+                      </el-select>
470 582
                   </el-form-item>
471 583
                   <el-form-item label="消毒时间(h)" label-width="110px">
472
-                      <el-input v-model="form.sencond_disinfection_time " ></el-input>
584
+                      <el-input v-model="form.sencond_disinfection_time " :disabled="true"></el-input>
473 585
                   </el-form-item>
474 586
                   <el-form-item label="开始时间" required label-width="110px">
475 587
                     <el-date-picker
@@ -488,6 +600,7 @@
488 600
                         value-format="yyyy-MM-dd HH:mm"
489 601
                         placeholder="选择时间"
490 602
                         v-model="form.sencond_end_time"
603
+                        @change="sencondendtime"
491 604
                         style="width:100%;"
492 605
                     ></el-date-picker>
493 606
                   </el-form-item>
@@ -522,13 +635,29 @@
522 635
                   </el-form-item>
523 636
                   <div class="form_title"><span >水处理、库房</span></div>
524 637
                   <el-form-item label="消毒液" label-width="110px">
525
-                      <el-input v-model="form.third_disinfection_water"></el-input>
638
+                      <!-- <el-input v-model="form.third_disinfection_water"></el-input> -->
639
+                      <el-select v-model="form.third_disinfection_water" placeholder="请选择">
640
+                          <el-option
641
+                          v-for="(item,index) in disInfectionWaterList"
642
+                          :key="index"
643
+                          :label="item.name"
644
+                          :value="item.name">
645
+                          </el-option>
646
+                      </el-select>
526 647
                   </el-form-item>
527 648
                   <el-form-item label="消毒方式" label-width="110px">
528
-                      <el-input v-model="form.third_disinfection_methods"></el-input>
649
+                      <!-- <el-input v-model="form.third_disinfection_methods"></el-input> -->
650
+                      <el-select v-model="form.sencond_disinfection_methods" placeholder="请选择">
651
+                          <el-option
652
+                          v-for="(item,index) in DisinfectionMode"
653
+                          :key="index"
654
+                          :label="item.name"
655
+                          :value="item.name">
656
+                          </el-option>
657
+                      </el-select>
529 658
                   </el-form-item>
530 659
                   <el-form-item label="消毒时间(h)" label-width="110px">
531
-                      <el-input v-model="form.third_disinfection_time " ></el-input>
660
+                      <el-input v-model="form.third_disinfection_time " :disabled="true"></el-input>
532 661
                   </el-form-item>
533 662
                   <el-form-item label="开始时间"  label-width="110px">
534 663
                     <el-date-picker
@@ -537,6 +666,7 @@
537 666
                         value-format="yyyy-MM-dd HH:mm"
538 667
                         placeholder="选择时间"
539 668
                         v-model="form.third_start_time"
669
+                        @change="thirdstarttime"
540 670
                         style="width:100%;"
541 671
                     ></el-date-picker>
542 672
                   </el-form-item>
@@ -547,6 +677,7 @@
547 677
                         value-format="yyyy-MM-dd HH:mm"
548 678
                         placeholder="选择时间"
549 679
                         v-model="form.third_end_time"
680
+                         @change="thirdendtime"
550 681
                         style="width:100%;"
551 682
                     ></el-date-picker>
552 683
                   </el-form-item>
@@ -579,6 +710,7 @@
579 710
                           </el-option>
580 711
                       </el-select>
581 712
                   </el-form-item>
713
+
582 714
                   <div class="form_title"><span >通风</span></div>
583 715
                   <el-form-item label="开始时间"  label-width="110px">
584 716
                     <el-date-picker
@@ -649,12 +781,12 @@
649 781
                                     <span style="position: absolute; right: 10px; top: 10px; font-size: 12px;">名称</span>
650 782
 
651 783
                                     <span style="position: absolute; display: block; top: 0; left: 46px; width: 100px;
652
-                                    border-bottom:1px solid black ;transform: rotate(52deg); 
784
+                                    border-bottom:1px solid black ;transform: rotate(52deg);
653 785
                                     transform-origin: top left;"></span>
654 786
 
655 787
                                     <span style="position: absolute; right: 45px; top: 23px;font-size: 12px;">消毒 <br/>时间</span>
656 788
                                     <span style="position: absolute; display: block; top: 46px; left: 0; width: 113px;
657
-                                    border-bottom:1px solid black ;transform: rotate(17deg); 
789
+                                    border-bottom:1px solid black ;transform: rotate(17deg);
658 790
                                     transform-origin: top left;"></span>
659 791
                                     <span style="position: absolute; left: 6px; bottom: 6px;font-size: 12px;">日期</span>
660 792
                                 </td>
@@ -671,7 +803,7 @@
671 803
                                 <td>负责人</td>
672 804
                             </tr>
673 805
                             <tr v-for="(item,index) in tableData" :key="index">
674
-                               <td>{{getTimes(item.record_date) }}</td> 
806
+                               <td>{{getTimes(item.record_date) }}</td>
675 807
                                <td>{{ getTimeTwo(item.first_start_time)}} - {{ getTimeTwo(item.first_end_time) }}</td>
676 808
                                <td>{{item.first_total_time }}</td>
677 809
                                <td>{{getName(item.first_creator)}}</td>
@@ -720,7 +852,7 @@
720 852
             record_date:moment(new Date()).add('year',0).format("YYYY-MM-DD"), //创建日期
721 853
             first_disinfection_water:"",// 消毒液
722 854
             first_disinfection_methods:"",//消毒方式
723
-            first_disinfection_time:"",//消毒时长
855
+            first_disinfection_time:'',//消毒时长
724 856
             first_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
725 857
             first_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
726 858
             first_total_time:"",//累计时间
@@ -740,7 +872,7 @@
740 872
 
741 873
             third_disinfection_water:"",// 消毒液
742 874
             third_disinfection_methods:"",//消毒方式
743
-            third_disinfection_time:"",//消毒时长
875
+            third_disinfection_time:'',//消毒时长
744 876
             third_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
745 877
             third_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
746 878
             third_total_time:"",//累计时间
@@ -770,12 +902,60 @@
770 902
          total:0,
771 903
          tableData: [],
772 904
          hiddenShow:false,
905
+         disInfectionWaterList:[
906
+         { id: 1, name: "0.22%季铵盐" },
907
+         { id: 2, name: "500mg/l含氯消毒剂" },
908
+         { id: 3, name: "1000mg/l含氯消毒剂" },
909
+         { id: 4, name: "1500mg/l含氯消毒剂" },
910
+         { id: 5, name: "消毒湿巾" }
911
+         ],
912
+         DisinfectionMode: [
913
+            { id: 1, name: "化学消毒" },
914
+            { id: 2, name: "热消毒" },
915
+            { id: 3, name: "化学消毒+热消毒" }
916
+         ],
917
+         operators: [],
918
+         operatorMaps:{},
919
+         firststart:'',
920
+         firstend:'',
773 921
         }
774 922
       },
775 923
       created(){
776 924
         console.log("00000000000000000",this.$store.getters.xt_user.user.id)
777 925
         this.getAllDoctorList()
778 926
         this.getNewAirDisinfectList()
927
+        var time=moment(this.form.first_start_time).format("HH:mm");
928
+        console.log('sdfgsdfsdsddf',time,this.form.first_start_time);
929
+
930
+      },
931
+      computed:{
932
+        firstdisinfection_time (){
933
+            let firststart= Date.parse(new Date(this.form.first_start_time))
934
+            console.log('开始时间',firststart);
935
+            let firstend= Date.parse(new Date(this.form.first_end_time))
936
+            console.log('结束时间',firstend);
937
+            let time_interval = ((firstend - firststart)/(60*60*1000)).toFixed(1)
938
+            console.log('结束时间',((firstend - firststart)/(60*60*1000)).toFixed(1));
939
+            return time_interval
940
+        },
941
+        senconddisinfection_time (){
942
+            const sencondstart= Date.parse(new Date(this.form.sencond_start_time))
943
+            console.log('开始时间',sencondstart);
944
+            const sencondend= Date.parse(new Date(this.form.sencond_end_time))
945
+            console.log('结束时间',sencondstart);
946
+            const time_interval = ((sencondend - sencondstart)/(60*60*1000)).toFixed(1)
947
+            console.log('结束时间',time_interval);
948
+            return time_interval
949
+        },
950
+        thirddisinfection_time (){
951
+            const thirdstart= Date.parse(new Date(this.form.third_start_time))
952
+            console.log('开始时间',thirdstart);
953
+            const thirdend= Date.parse(new Date(this.form.third_end_time))
954
+            console.log('结束时间',thirdend);
955
+            const time_interval = ((thirdend - thirdstart)/(60*60*1000)).toFixed(1)
956
+            console.log('结束时间',time_interval);
957
+            return time_interval
958
+        }
779 959
       },
780 960
       methods:{
781 961
       handleSizeChange(val) {
@@ -787,7 +967,6 @@
787 967
         this.getNewAirDisinfectList()
788 968
       },
789 969
         changeStartime(val){
790
-          
791 970
           this.getNewAirDisinfectList()
792 971
         },
793 972
         changeEndtime(){
@@ -799,8 +978,19 @@
799 978
                var list = response.data.data.list
800 979
                console.log("list222222",list)
801 980
                this.docList = list
981
+               this.operators = response.data.data.operators
982
+            if (this.operators.length > 0) {
983
+                var operatorsLen = this.operators.length
984
+                for (var index = 0; index < operatorsLen; index++) {
985
+                this.$set(
986
+                    this.operatorMaps,
987
+                    this.operators[index].id,
988
+                    this.operators[index]
989
+                )
990
+                }
802 991
             }
803
-          })  
992
+           }
993
+          })
804 994
         },
805 995
         saveNewAirDisinfect(formName){
806 996
           this.$refs[formName].validate((valid)=>{
@@ -810,13 +1000,13 @@
810 1000
                 }else{
811 1001
                   this.form.first_is_check = 0
812 1002
                 }
813
-                
1003
+
814 1004
                 if( this.form.sencond_is_check!=""){
815 1005
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
816 1006
                 }else{
817 1007
                     this.form.sencond_is_check = ""
818 1008
                 }
819
-                
1009
+
820 1010
                 if( this.form.third_is_check!=""){
821 1011
                    this.form.third_is_check = parseInt(this.form.third_is_check)
822 1012
                 }else{
@@ -827,34 +1017,30 @@
827 1017
                 }else{
828 1018
                   this.form.last_is_check = 0
829 1019
                 }
830
-                
1020
+
831 1021
                 if(this.form.first_modifications!=""){
832 1022
                   this.form.first_modifications = parseInt(this.form.first_modifications)
833 1023
                 }else{
834
-                    this.form.first_modifications =0  
1024
+                    this.form.first_modifications =0
835 1025
                 }
836 1026
 
837 1027
                 if(this.form.sencond_modifications!=""){
838
-                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications)  
1028
+                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications)
839 1029
                 }else{
840 1030
                     this.form.sencond_modifications =0
841 1031
                 }
842
-                
1032
+
843 1033
                 if(this.form.third_modifications!=""){
844 1034
                    this.form.third_modifications = parseInt(this.form.third_modifications)
845 1035
                 }else{
846
-                    this.form.third_modifications= 0   
1036
+                    this.form.third_modifications= 0
847 1037
                 }
848
-                
1038
+
849 1039
                 if(this.form.last_modifications!=""){
850 1040
                     this.form.last_modifications = parseInt(this.form.last_modifications)
851 1041
                 }else{
852 1042
                     this.form.last_modifications= 0
853 1043
                 }
854
-            
855
-            
856
-            
857
-              
858 1044
               console.log("this232322323",this.form)
859 1045
               saveNewAirDisinfect(this.form).then(response=>{
860 1046
                  if(response.data.state == 1 ){
@@ -862,9 +1048,11 @@
862 1048
                    this.$message.success("保存成功!")
863 1049
                    this.dialogFormVisible = false
864 1050
                    this.getNewAirDisinfectList()
1051
+                   this.$refs[formName].resetFields();
865 1052
                  }
866 1053
               })
867 1054
             }
1055
+
868 1056
           })
869 1057
 
870 1058
         },
@@ -944,12 +1132,12 @@
944 1132
               this.form.last_modifications = list.last_modifications?list.last_modifications:""
945 1133
               this.form.last_creator = list.last_creator
946 1134
               this.editDialogFormVisible = true
947
-             
1135
+
948 1136
             }
949 1137
          })
950 1138
        },
951 1139
        updateAirDisinfect(formName){
952
-        
1140
+
953 1141
          this.$refs[formName].validate((valid)=>{
954 1142
             if(valid){
955 1143
                 if(this.form.first_is_check!=""){
@@ -957,13 +1145,13 @@
957 1145
                 }else{
958 1146
                   this.form.first_is_check = 0
959 1147
                 }
960
-                
1148
+
961 1149
                 if( this.form.sencond_is_check!=""){
962 1150
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
963 1151
                 }else{
964 1152
                     this.form.sencond_is_check = ""
965 1153
                 }
966
-                
1154
+
967 1155
                 if( this.form.third_is_check!=""){
968 1156
                    this.form.third_is_check = parseInt(this.form.third_is_check)
969 1157
                 }else{
@@ -974,41 +1162,43 @@
974 1162
                 }else{
975 1163
                   this.form.last_is_check = 0
976 1164
                 }
977
-                
1165
+
978 1166
                 if(this.form.first_modifications!=""){
979 1167
                   this.form.first_modifications = parseInt(this.form.first_modifications)
980 1168
                 }else{
981
-                    this.form.first_modifications =0  
1169
+                    this.form.first_modifications =0
982 1170
                 }
983 1171
 
984 1172
                 if(this.form.sencond_modifications!=""){
985
-                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications)  
1173
+                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications)
986 1174
                 }else{
987 1175
                     this.form.sencond_modifications =0
988 1176
                 }
989
-                
1177
+
990 1178
                 if(this.form.third_modifications!=""){
991 1179
                    this.form.third_modifications = parseInt(this.form.third_modifications)
992 1180
                 }else{
993
-                    this.form.third_modifications= 0   
1181
+                    this.form.third_modifications= 0
994 1182
                 }
995
-                
1183
+
996 1184
                 if(this.form.last_modifications!=""){
997 1185
                     this.form.last_modifications = parseInt(this.form.last_modifications)
998 1186
                 }else{
999 1187
                     this.form.last_modifications= 0
1000 1188
                 }
1001
-            
1189
+
1002 1190
               updateAirDisinfect(this.form).then(response=>{
1003 1191
                 if(response.data.state == 1){
1004 1192
                   var disinfect =  response.data.data.disinfect
1005 1193
                   this.editDialogFormVisible = false
1006 1194
                   this.getNewAirDisinfectList()
1195
+                  this.$refs[formName].resetFields()
1007 1196
                 }
1008 1197
              })
1009 1198
             }
1010
-           
1199
+
1011 1200
          })
1201
+
1012 1202
        },
1013 1203
        handleDelete(id){
1014 1204
          deleteNewAirDisInfect(id).then(response=>{
@@ -1037,7 +1227,46 @@
1037 1227
               });
1038 1228
             }, 1);
1039 1229
          },
1040
-      }
1230
+         setAdminUserES(id) {
1231
+            if (id === 0) {
1232
+            return ''
1233
+            }
1234
+            if (id in this.operatorMaps) {
1235
+
1236
+            return this.operatorMaps[id].url
1237
+
1238
+            } else {
1239
+            return ''
1240
+            }
1241
+        },
1242
+      
1243
+        
1244
+        firststartime(val){
1245
+            this.form.first_start_time = val
1246
+            this.form.first_disinfection_time = this.firstdisinfection_time
1247
+        },
1248
+        firstendtime(val){
1249
+            this.form.first_disinfection_time = this.firstdisinfection_time
1250
+            this.form.first_end_time = val
1251
+        },
1252
+        sencondstarttime(val){
1253
+            this.form.sencond_start_time = val
1254
+            this.form.sencond_disinfection_time = this.senconddisinfection_time
1255
+        },
1256
+         sencondendtime(val){
1257
+            this.form.sencond_end_time = val
1258
+            this.form.sencond_disinfection_time = this.senconddisinfection_time
1259
+        },
1260
+        thirdstarttime(val){
1261
+            this.form.third_start_time = val
1262
+            this.form.third_disinfection_time = this.thirddisinfection_time
1263
+        },
1264
+        thirdendtime(val){
1265
+            this.form.third_end_time = val
1266
+            this.form.third_disinfection_time = this.thirddisinfection_time
1267
+        },
1268
+      },
1269
+
1041 1270
     }
1042 1271
   </script>
1043 1272
 

+ 106 - 13
src/xt_pages/device/objectTableDisinfectTwo.vue Parādīt failu

@@ -142,7 +142,7 @@
142 142
                       <el-input v-model="form.first_disinfection_water"></el-input>
143 143
                   </el-form-item>
144 144
                   <el-form-item label="消毒时间(h)" label-width="110px">
145
-                      <el-input v-model="form.first_disinfection_time " ></el-input>
145
+                      <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
146 146
                   </el-form-item>
147 147
                   <el-form-item label="开始时间" label-width="110px">
148 148
                     <el-date-picker
@@ -151,6 +151,7 @@
151 151
                         value-format="yyyy-MM-dd HH:mm"
152 152
                         placeholder="选择时间"
153 153
                         v-model="form.first_start_time"
154
+                        @change="firststartime"
154 155
                         style="width:100%;"
155 156
                     ></el-date-picker>
156 157
                   </el-form-item>
@@ -161,6 +162,7 @@
161 162
                         value-format="yyyy-MM-dd HH:mm"
162 163
                         placeholder="选择时间"
163 164
                         v-model="form.first_end_time"
165
+                        @change="firstendtime"
164 166
                         style="width:100%;"
165 167
                     ></el-date-picker>
166 168
                   </el-form-item>
@@ -202,7 +204,7 @@
202 204
                       <el-input v-model="form.sencond_disinfection_water"></el-input>
203 205
                   </el-form-item>
204 206
                   <el-form-item label="消毒时间(h)" label-width="110px">
205
-                      <el-input v-model="form.sencond_disinfection_time " ></el-input>
207
+                      <el-input v-model="form.sencond_disinfection_time " :disabled="true"></el-input>
206 208
                   </el-form-item>
207 209
                   <el-form-item label="开始时间"  label-width="110px">
208 210
                     <el-date-picker
@@ -211,6 +213,7 @@
211 213
                         value-format="yyyy-MM-dd HH:mm"
212 214
                         placeholder="选择时间"
213 215
                         v-model="form.sencond_start_time"
216
+                        @change="sencondstarttime"
214 217
                         style="width:100%;"
215 218
                     ></el-date-picker>
216 219
                   </el-form-item> 
@@ -221,6 +224,7 @@
221 224
                         value-format="yyyy-MM-dd HH:mm"
222 225
                         placeholder="选择时间"
223 226
                         v-model="form.sencond_end_time"
227
+                        @change="sencondendtime"
224 228
                         style="width:100%;"
225 229
                     ></el-date-picker>
226 230
                   </el-form-item>
@@ -262,7 +266,7 @@
262 266
                       <el-input v-model="form.third_disinfection_water"></el-input>
263 267
                   </el-form-item>
264 268
                   <el-form-item label="消毒时间(h)" label-width="110px">
265
-                      <el-input v-model="form.third_disinfection_time " ></el-input>
269
+                      <el-input v-model="form.third_disinfection_time " :disabled="true"></el-input>
266 270
                   </el-form-item>
267 271
                   <el-form-item label="开始时间"  label-width="110px">
268 272
                     <el-date-picker
@@ -271,6 +275,7 @@
271 275
                         value-format="yyyy-MM-dd HH:mm"
272 276
                         placeholder="选择时间"
273 277
                         v-model="form.third_start_time"
278
+                        @change="thirdstarttime"
274 279
                         style="width:100%;"
275 280
                     ></el-date-picker>
276 281
                   </el-form-item>
@@ -281,6 +286,7 @@
281 286
                         value-format="yyyy-MM-dd HH:mm"
282 287
                         placeholder="选择时间"
283 288
                         v-model="form.third_end_time"
289
+                        @change="thirdendtime"
284 290
                         style="width:100%;"
285 291
                     ></el-date-picker>
286 292
                   </el-form-item>
@@ -322,7 +328,7 @@
322 328
                       <el-input v-model="form.fourth_disinfection_water"></el-input>
323 329
                   </el-form-item>
324 330
                   <el-form-item label="消毒时间(h)" label-width="110px">
325
-                      <el-input v-model="form.fourth_disinfection_time " ></el-input>
331
+                      <el-input v-model="form.fourth_disinfection_time " :disabled="true"></el-input>
326 332
                   </el-form-item>
327 333
                   <el-form-item label="开始时间"  label-width="110px">
328 334
                     <el-date-picker
@@ -331,6 +337,7 @@
331 337
                         value-format="yyyy-MM-dd HH:mm"
332 338
                         placeholder="选择时间"
333 339
                         v-model="form.fourth_start_time"
340
+                        @change="fourthstarttime"
334 341
                         style="width:100%;"
335 342
                     ></el-date-picker>
336 343
                   </el-form-item>
@@ -341,6 +348,7 @@
341 348
                         value-format="yyyy-MM-dd HH:mm"
342 349
                         placeholder="选择时间"
343 350
                         v-model="form.fourth_end_time"
351
+                        @change="fourthendtime"
344 352
                         style="width:100%;"
345 353
                     ></el-date-picker>
346 354
                   </el-form-item>
@@ -382,7 +390,7 @@
382 390
                       <el-input v-model="form.last_disinfection_water"></el-input>
383 391
                   </el-form-item>
384 392
                   <el-form-item label="消毒时间(h)" label-width="110px">
385
-                      <el-input v-model="form.last_disinfection_time " ></el-input>
393
+                      <el-input v-model="form.last_disinfection_time " :disabled="true"></el-input>
386 394
                   </el-form-item>
387 395
                   <el-form-item label="开始时间"  label-width="110px">
388 396
                     <el-date-picker
@@ -391,6 +399,7 @@
391 399
                         value-format="yyyy-MM-dd HH:mm"
392 400
                         placeholder="选择时间"
393 401
                         v-model="form.last_start_time"
402
+                        @change="laststarttime"
394 403
                         style="width:100%;"
395 404
                     ></el-date-picker>
396 405
                   </el-form-item>
@@ -401,6 +410,7 @@
401 410
                         value-format="yyyy-MM-dd HH:mm"
402 411
                         placeholder="选择时间"
403 412
                         v-model="form.last_end_time"
413
+                        @change="lastendtime"
404 414
                         style="width:100%;"
405 415
                     ></el-date-picker>
406 416
                   </el-form-item>
@@ -446,7 +456,7 @@
446 456
           width="1000px"
447 457
           title="编辑物表消毒表"
448 458
           :visible.sync="editDialogFormVisible">
449
-              <el-form :model="form" ref="form" class="airForm" :rules="airRules">
459
+          <el-form :model="form" ref="form" class="airForm" :rules="airRules">
450 460
                   <div style="width: 100%;">
451 461
                     <el-form-item label="创建日期" label-width="110px" required prop="record_date">
452 462
                         <el-date-picker
@@ -465,7 +475,7 @@
465 475
                       <el-input v-model="form.first_disinfection_water"></el-input>
466 476
                   </el-form-item>
467 477
                   <el-form-item label="消毒时间(h)" label-width="110px">
468
-                      <el-input v-model="form.first_disinfection_time " ></el-input>
478
+                      <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
469 479
                   </el-form-item>
470 480
                   <el-form-item label="开始时间" label-width="110px">
471 481
                     <el-date-picker
@@ -474,6 +484,7 @@
474 484
                         value-format="yyyy-MM-dd HH:mm"
475 485
                         placeholder="选择时间"
476 486
                         v-model="form.first_start_time"
487
+                        @change="firststartime"
477 488
                         style="width:100%;"
478 489
                     ></el-date-picker>
479 490
                   </el-form-item>
@@ -484,6 +495,7 @@
484 495
                         value-format="yyyy-MM-dd HH:mm"
485 496
                         placeholder="选择时间"
486 497
                         v-model="form.first_end_time"
498
+                        @change="firstendtime"
487 499
                         style="width:100%;"
488 500
                     ></el-date-picker>
489 501
                   </el-form-item>
@@ -525,7 +537,7 @@
525 537
                       <el-input v-model="form.sencond_disinfection_water"></el-input>
526 538
                   </el-form-item>
527 539
                   <el-form-item label="消毒时间(h)" label-width="110px">
528
-                      <el-input v-model="form.sencond_disinfection_time " ></el-input>
540
+                      <el-input v-model="form.sencond_disinfection_time " :disabled="true"></el-input>
529 541
                   </el-form-item>
530 542
                   <el-form-item label="开始时间"  label-width="110px">
531 543
                     <el-date-picker
@@ -534,6 +546,7 @@
534 546
                         value-format="yyyy-MM-dd HH:mm"
535 547
                         placeholder="选择时间"
536 548
                         v-model="form.sencond_start_time"
549
+                        @change="sencondstarttime"
537 550
                         style="width:100%;"
538 551
                     ></el-date-picker>
539 552
                   </el-form-item> 
@@ -544,6 +557,7 @@
544 557
                         value-format="yyyy-MM-dd HH:mm"
545 558
                         placeholder="选择时间"
546 559
                         v-model="form.sencond_end_time"
560
+                        @change="sencondendtime"
547 561
                         style="width:100%;"
548 562
                     ></el-date-picker>
549 563
                   </el-form-item>
@@ -585,7 +599,7 @@
585 599
                       <el-input v-model="form.third_disinfection_water"></el-input>
586 600
                   </el-form-item>
587 601
                   <el-form-item label="消毒时间(h)" label-width="110px">
588
-                      <el-input v-model="form.third_disinfection_time " ></el-input>
602
+                      <el-input v-model="form.third_disinfection_time " :disabled="true"></el-input>
589 603
                   </el-form-item>
590 604
                   <el-form-item label="开始时间"  label-width="110px">
591 605
                     <el-date-picker
@@ -594,6 +608,7 @@
594 608
                         value-format="yyyy-MM-dd HH:mm"
595 609
                         placeholder="选择时间"
596 610
                         v-model="form.third_start_time"
611
+                        @change="thirdstarttime"
597 612
                         style="width:100%;"
598 613
                     ></el-date-picker>
599 614
                   </el-form-item>
@@ -604,6 +619,7 @@
604 619
                         value-format="yyyy-MM-dd HH:mm"
605 620
                         placeholder="选择时间"
606 621
                         v-model="form.third_end_time"
622
+                        @change="thirdendtime"
607 623
                         style="width:100%;"
608 624
                     ></el-date-picker>
609 625
                   </el-form-item>
@@ -645,7 +661,7 @@
645 661
                       <el-input v-model="form.fourth_disinfection_water"></el-input>
646 662
                   </el-form-item>
647 663
                   <el-form-item label="消毒时间(h)" label-width="110px">
648
-                      <el-input v-model="form.fourth_disinfection_time " ></el-input>
664
+                      <el-input v-model="form.fourth_disinfection_time " :disabled="true"></el-input>
649 665
                   </el-form-item>
650 666
                   <el-form-item label="开始时间"  label-width="110px">
651 667
                     <el-date-picker
@@ -654,6 +670,7 @@
654 670
                         value-format="yyyy-MM-dd HH:mm"
655 671
                         placeholder="选择时间"
656 672
                         v-model="form.fourth_start_time"
673
+                        @change="fourthstarttime"
657 674
                         style="width:100%;"
658 675
                     ></el-date-picker>
659 676
                   </el-form-item>
@@ -664,6 +681,7 @@
664 681
                         value-format="yyyy-MM-dd HH:mm"
665 682
                         placeholder="选择时间"
666 683
                         v-model="form.fourth_end_time"
684
+                        @change="fourthendtime"
667 685
                         style="width:100%;"
668 686
                     ></el-date-picker>
669 687
                   </el-form-item>
@@ -705,7 +723,7 @@
705 723
                       <el-input v-model="form.last_disinfection_water"></el-input>
706 724
                   </el-form-item>
707 725
                   <el-form-item label="消毒时间(h)" label-width="110px">
708
-                      <el-input v-model="form.last_disinfection_time " ></el-input>
726
+                      <el-input v-model="form.last_disinfection_time " :disabled="true"></el-input>
709 727
                   </el-form-item>
710 728
                   <el-form-item label="开始时间"  label-width="110px">
711 729
                     <el-date-picker
@@ -714,6 +732,7 @@
714 732
                         value-format="yyyy-MM-dd HH:mm"
715 733
                         placeholder="选择时间"
716 734
                         v-model="form.last_start_time"
735
+                        @change="laststarttime"
717 736
                         style="width:100%;"
718 737
                     ></el-date-picker>
719 738
                   </el-form-item>
@@ -724,6 +743,7 @@
724 743
                         value-format="yyyy-MM-dd HH:mm"
725 744
                         placeholder="选择时间"
726 745
                         v-model="form.last_end_time"
746
+                        @change="lastendtime"
727 747
                         style="width:100%;"
728 748
                     ></el-date-picker>
729 749
                   </el-form-item>
@@ -927,8 +947,42 @@
927 947
         this.getAllDoctorList()
928 948
         this.getObjectTableDisInfectList()
929 949
       },
950
+      computed:{
951
+        firstdisinfection_time (){
952
+            const firststart= Date.parse(new Date(this.form.first_start_time))
953
+            console.log('开始时间',firststart);
954
+            const firstend= Date.parse(new Date(this.form.first_end_time)) 
955
+            console.log('结束时间',firstend);
956
+            const time_interval = ((firstend - firststart)/(60*60*1000)).toFixed(1)
957
+            console.log('结束时间',time_interval,Math.floor((firstend - firststart)/(60*60*1000)).toFixed(1));           
958
+            return time_interval
959
+        },
960
+        senconddisinfection_time (){
961
+            const sencondstart= Date.parse(new Date(this.form.sencond_start_time))
962
+            const sencondend= Date.parse(new Date(this.form.sencond_end_time))
963
+            const time_interval = ((sencondend - sencondstart)/(60*60*1000)).toFixed(1)
964
+            return time_interval
965
+        },
966
+        thirddisinfection_time (){
967
+            const thirdstart= Date.parse(new Date(this.form.third_start_time))
968
+            const thirdend= Date.parse(new Date(this.form.third_end_time))
969
+            const time_interval = ((thirdend - thirdstart)/(60*60*1000)).toFixed(1)
970
+            return time_interval
971
+        },
972
+        fourthdisinfection_time (){
973
+            const fourthstart= Date.parse(new Date(this.form.fourth_start_time))
974
+            const fourthend= Date.parse(new Date(this.form.fourth_end_time))
975
+            const time_interval = ((fourthend - fourthstart)/(60*60*1000)).toFixed(1)
976
+            return time_interval
977
+        },
978
+        lastdisinfection_time (){
979
+            const laststart= Date.parse(new Date(this.form.last_start_time))
980
+            const lastend= Date.parse(new Date(this.form.last_end_time))
981
+            const time_interval = ((lastend - laststart)/(60*60*1000)).toFixed(1)
982
+            return time_interval
983
+        },
984
+      },
930 985
       methods:{
931
-    
932 986
       printCard() {
933 987
         this.hiddenShow = true;
934 988
         var ptime = Math.round(new Date().getTime() / 1000);
@@ -1207,7 +1261,46 @@
1207 1261
             }
1208 1262
           })
1209 1263
         },
1210
-       
1264
+        firststartime(val){
1265
+            this.form.first_start_time = val
1266
+            this.form.first_disinfection_time = this.firstdisinfection_time
1267
+        },
1268
+        firstendtime(val){
1269
+            this.form.first_disinfection_time = this.firstdisinfection_time
1270
+            this.form.first_end_time = val   
1271
+        },
1272
+        sencondstarttime(val){
1273
+            this.form.sencond_start_time = val
1274
+            this.form.sencond_disinfection_time = this.senconddisinfection_time
1275
+        },
1276
+         sencondendtime(val){
1277
+            this.form.sencond_end_time = val
1278
+            this.form.sencond_disinfection_time = this.senconddisinfection_time
1279
+        },
1280
+        thirdstarttime(val){
1281
+            this.form.third_start_time = val
1282
+            this.form.third_disinfection_time = this.thirddisinfection_time
1283
+        },
1284
+        thirdendtime(val){
1285
+            this.form.third_end_time = val
1286
+            this.form.third_disinfection_time = this.thirddisinfection_time
1287
+        },
1288
+        fourthstarttime(val){
1289
+            this.form.fourth_start_time = val
1290
+            this.form.fourth_disinfection_time = this.fourthdisinfection_time
1291
+        },
1292
+        fourthendtime(val){
1293
+            this.form.fourth_end_time = val
1294
+            this.form.fourth_disinfection_time = this.fourthdisinfection_time
1295
+        },
1296
+        laststarttime(val){
1297
+            this.form.last_start_time = val
1298
+            this.form.last_disinfection_time = this.lastdisinfection_time
1299
+        },
1300
+        lastendtime(val){
1301
+            this.form.last_end_time = val
1302
+            this.form.last_disinfection_time = this.lastdisinfection_time
1303
+        }
1211 1304
         
1212 1305
       }
1213 1306
     }

+ 5 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue Parādīt failu

@@ -2397,7 +2397,7 @@
2397 2397
                             v-if="!record.check"
2398 2398
                           ></div>
2399 2399
                         </div> -->
2400
-                        <div class="inline_block" style="flex: 1">
2400
+                        <!-- <div class="inline_block" style="flex: 1">
2401 2401
                           下机护士:
2402 2402
                           <div
2403 2403
                             class="under_line"
@@ -2436,12 +2436,12 @@
2436 2436
                               style="height: 40px"
2437 2437
                             />
2438 2438
                           </div>
2439
-                        </div>
2440
-                          <!-- <div class="inline_block" style="flex: 1">
2439
+                        </div> -->
2440
+                          <div class="inline_block" style="flex: 1">
2441 2441
                           患者签名:
2442 2442
                           <div
2443 2443
                             class="under_line"
2444
-                            style="width: 80px; text-align: center"
2444
+                            style="width: 70px; text-align: center"
2445 2445
                           >
2446 2446
                            
2447 2447
                             <img
@@ -2453,7 +2453,7 @@
2453 2453
                               style="height: 40px"
2454 2454
                             />
2455 2455
                           </div>
2456
-                        </div> -->
2456
+                        </div>
2457 2457
                         <div class="inline_block" style="flex: 1">
2458 2458
                           治疗医生:
2459 2459
                           <div

+ 268 - 324
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyThree.vue Parādīt failu

@@ -204,43 +204,37 @@
204 204
                       colspan="2"
205 205
                     >
206 206
                       治疗方式:
207
-                      <label-box
208
-                        :isChecked="record&&record.prescription.mode_id == 1 ? true : false"
209
-                        showValue="HD"
207
+                     
208
+                      <check-box
209
+                        text="HD" 
210
+                        :checked="record&&record.prescription.mode_id == 1"
210 211
                       >
211
-                      </label-box>
212
-                      <label-box
213
-                        :isChecked="record&&record.prescription.mode_id == 2 ? true : false"
214
-                        showValue="HDF"
215
-                      ></label-box>
216
-                      (<label-box
217
-                        :isChecked="
218
-                          record&&record.prescription.mode_id == 2 &&
219
-                          record&&record.prescription.displace_liqui_part == 1
220
-                            ? true
221
-                            : false
222
-                        "
223
-                        showValue="前稀释"
224
-                      ></label-box>
225
-                      <label-box
226
-                        :isChecked="
227
-                          record&&record.prescription.mode_id == 2 &&
228
-                          record&&record.prescription.displace_liqui_part == 2
229
-                            ? true
230
-                            : false
231
-                        "
232
-                        showValue="后稀释"
233
-                      ></label-box>
212
+                     
213
+                      </check-box>
214
+
215
+                      <check-box
216
+                       :checked="record&&record.prescription.mode_id == 2"
217
+                        text="HDF"
218
+                      ></check-box>
219
+
220
+                      (<check-box
221
+                      :checked="record&&record.prescription.mode_id == 2 &&  record&&record.prescription.displace_liqui_part == 1"
222
+                        text="前稀释"
223
+                      ></check-box>
224
+                      <check-box
225
+                      :checked="record&&record.prescription.mode_id == 2 &&  record&&record.prescription.displace_liqui_part == 2"
226
+                        text="后稀释"
227
+                      ></check-box>
234 228
                       , 置换量:&nbsp;{{
235 229
                         record&&record.prescription.displace_liqui_value
236 230
                           ? record&&record.prescription.displace_liqui_value
237 231
                           : "/"
238 232
                       }}L&nbsp; )
239 233
 
240
-                      <label-box
241
-                        :isChecked="record&&record.prescription.mode_id > 2 ? true : false"
242
-                        showValue="其他:"
243
-                      ></label-box>
234
+                      <check-box
235
+                       :checked="record&&record.prescription.mode_id > 2" 
236
+                        text="其他"
237
+                      ></check-box>
244 238
                       &nbsp;
245 239
                       <span v-if="record&&record.prescription.mode_id > 2">
246 240
                         {{ record&&record.prescription.mode }}
@@ -264,27 +258,22 @@
264 258
 
265 259
                     <td colspan="12" style="padding-left: 10px">
266 260
                       治疗抗凝:
267
-                      <label-box
268
-                        v-if="record&&record.prescription.anticoagulant == 3"
269
-                        :isChecked="
270
-                          record&&record.prescription.anticoagulant == 3 ? true : false
271
-                        "
272
-                        showValue="低分子肝素:"
273
-                      ></label-box>
274
-                      <label-box
261
+                      <check-box
262
+                       :checked="record&&record.prescription.anticoagulant == 3" 
263
+                        text="低分子肝素"
264
+                      ></check-box>
265
+                     
266
+                      <check-box
275 267
                         v-if="record&&record.prescription.anticoagulant == 6"
276
-                        :isChecked="
277
-                          record&&record.prescription.anticoagulant == 6 ? true : false
278
-                        "
279
-                        showValue="低分子肝素钙:"
280
-                      ></label-box>
281
-                      <label-box
268
+                        :checked="record&&record.prescription.anticoagulant == 6" 
269
+                        text="低分子肝素钙:"
270
+                      ></check-box>
271
+                  
272
+                      <check-box
282 273
                         v-if="record&&record.prescription.anticoagulant == 7"
283
-                        :isChecked="
284
-                          record&&record.prescription.anticoagulant == 7 ? true : false
285
-                        "
286
-                        showValue="低分子肝素钠:"
287
-                      ></label-box>
274
+                        :checked="record&&record.prescription.anticoagulant == 7" 
275
+                        text="低分子肝素钠:"
276
+                      ></check-box>
288 277
 
289 278
                       &nbsp;&nbsp;{{
290 279
                         record&&record.prescription.anticoagulant_zongliang &&
@@ -294,13 +283,13 @@
294 283
                           ? record&&record.prescription.anticoagulant_zongliang
295 284
                           : ""
296 285
                       }}iu;&nbsp;&nbsp;
297
-                      <label-box
298
-                        :isChecked="
299
-                          record&&record.prescription.anticoagulant == 2 ? true : false
300
-                        "
301
-                        showValue="普通肝素:"
302
-                      ></label-box
303
-                      >首剂 &nbsp;&nbsp;<span
286
+                    
287
+                      <check-box
288
+                        v-if="record&&record.prescription.anticoagulant == 2"
289
+                        :checked="record&&record.prescription.anticoagulant == 2" 
290
+                        text="普通肝素:"
291
+                      ></check-box>
292
+                      首剂 &nbsp;&nbsp;<span
304 293
                         ><span style="width: 35px; display: inline-block">
305 294
                           {{
306 295
                             record&&record.prescription.anticoagulant_shouji &&
@@ -309,8 +298,7 @@
309 298
                               ? record&&record.prescription.anticoagulant_shouji
310 299
                               : ""
311 300
                           }}
312
-                        </span></span
313
-                      >
301
+                        </span></span>
314 302
                       &nbsp;mg&nbsp;&nbsp;&nbsp; 追加&nbsp;&nbsp;<span>{{
315 303
                         record&&record.prescription.anticoagulant_weichi &&
316 304
                         record&&record.prescription.anticoagulant == 2
@@ -324,26 +312,23 @@
324 312
                           : ""
325 313
                       }}</span
326 314
                       >&nbsp;&nbsp;mg;
327
-                      <label-box
328
-                        :isChecked="
329
-                          record&&record.prescription.anticoagulant == 1 ? true : false
330
-                        "
331
-                        showValue="无肝素"
332
-                      ></label-box
333
-                      >&nbsp;&nbsp;
334
-                      <label-box
335
-                        :isChecked="
336
-                          record&&record.prescription.anticoagulant != 1 &&
337
-                          record&&record.prescription.anticoagulant != 2 &&
338
-                          record&&record.prescription.anticoagulant != 3 &&
339
-                          record&&record.prescription.anticoagulant != 6 &&
340
-                          record&&record.prescription.anticoagulant != 7 &&
341
-                          record&&record.prescription.anticoagulant != 0
342
-                            ? true
343
-                            : false
344
-                        "
345
-                        showValue="其他"
346
-                      ></label-box>
315
+                    
316
+                      <check-box
317
+                        v-if="record&&record.prescription.anticoagulant == 1"
318
+                        :checked="record&&record.prescription.anticoagulant == 1" 
319
+                        text="无肝素"
320
+                      ></check-box>&nbsp;&nbsp;
321
+                      <check-box
322
+                        v-if="record&&record.prescription.anticoagulant == 1"
323
+                        :checked=" record&&record.prescription.anticoagulant != 1 && 
324
+                        record&&record.prescription.anticoagulant != 2 &&
325
+                        record&&record.prescription.anticoagulant != 3 &&
326
+                        record&&record.prescription.anticoagulant != 6&&
327
+                        record&&record.prescription.anticoagulant != 7 &&
328
+                        record&&record.prescription.anticoagulant != 0" 
329
+                        text="其他"
330
+                      ></check-box>&nbsp;&nbsp;
331
+                     
347 332
                       <span style="padding-left: 10px">
348 333
                         <span
349 334
                           style="
@@ -488,96 +473,60 @@
488 473
                       <div style="display: flex; justify-content: flex-start">
489 474
                         <div style="width: 100%">
490 475
                           血管通路: &nbsp;
491
-                          <label-box
492
-                            :isChecked="
493
-                              record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
494
-                                '自体内瘘'
495
-                              ) > -1
496
-                                ? true
497
-                                : false
498
-                            "
499
-                            showValue="自体内瘘"
500
-                          ></label-box>
476
+                        
477
+
478
+                          <check-box
479
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('自体内瘘') > -1" 
480
+                            text="自体内瘘"
481
+                          ></check-box>
501 482
                           &nbsp;
502
-                          <label-box
503
-                            :isChecked="
504
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
505
-                                '人造血管'
506
-                              ) > -1
507
-                                ? true
508
-                                : false
509
-                            "
510
-                            showValue="人造血管"
511
-                          ></label-box>
512
-                          &nbsp; &nbsp;
513
-                          <label-box
514
-                            :isChecked="
515
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
516
-                                '直穿'
517
-                              ) > -1
518
-                                ? true
519
-                                : false
520
-                            "
521
-                            showValue="直穿"
522
-                          ></label-box>
483
+                          <check-box
484
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('人造血管') > -1" 
485
+                            text="人造血管"
486
+                          ></check-box>
523 487
                           &nbsp;
524
-                          <label-box
525
-                            :isChecked="
526
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
527
-                                '颈内静脉'
528
-                              ) > -1
529
-                                ? true
530
-                                : false
531
-                            "
532
-                            showValue="颈内静脉"
533
-                          ></label-box>
488
+                          <check-box
489
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('直穿') > -1" 
490
+                            text="直穿"
491
+                          ></check-box>
534 492
                           &nbsp;
535
-                          <label-box
536
-                            :isChecked="
537
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
538
-                                '股静脉'
539
-                              ) > -1
540
-                                ? true
541
-                                : false
542
-                            "
543
-                            showValue="股静脉"
544
-                          ></label-box>
493
+
494
+                          <check-box
495
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('颈内静脉') > -1" 
496
+                            text="颈内静脉"
497
+                          ></check-box>
545 498
                           &nbsp;
546
-                          <label-box
547
-                            :isChecked="
548
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
549
-                                '锁骨下'
550
-                              ) > -1
551
-                                ? true
552
-                                : false
553
-                            "
554
-                            showValue="锁骨下"
555
-                          ></label-box>
499
+                       
500
+
501
+                          
502
+                          <check-box
503
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('股静脉') > -1" 
504
+                            text="股静脉"
505
+                          ></check-box>
556 506
                           &nbsp;
557
-                          <label-box
558
-                            :isChecked="
559
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
560
-                                '锁骨下'
561
-                              ) == -1 &&
562
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
563
-                                '股静脉'
564
-                              ) == -1 &&
565
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
566
-                                '颈内静脉'
567
-                              ) == -1 &&
568
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
569
-                                '人造血管'
570
-                              ) == -1 &&
571
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
572
-                                '自体内瘘'
573
-                              ) == -1 &&
574
-                               record&&record.assessment_before_dislysis.blood_access_part_id != ''
575
-                                ? true
576
-                                : false
577
-                            "
578
-                            showValue="其他"
579
-                          ></label-box>
580
-                          <span style="padding-left: 20px">
507
+
508
+                          <check-box
509
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('锁骨下') > -1" 
510
+                            text="锁骨下"
511
+                          ></check-box>
512
+                          &nbsp;
513
+
514
+
515
+                          
516
+                          <check-box
517
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('锁骨下') == -1
518
+                            && record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('股静脉') == -1
519
+                            && record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('颈内静脉') == -1
520
+                            && record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('人造血管') == -1
521
+                            && record&&record.assessment_before_dislysis.blood_access_part_id.indexOf('自体内瘘') == -1
522
+                            " 
523
+                             
524
+                             text="其他"
525
+                          ></check-box>
526
+                          &nbsp;
527
+                         
528
+                    
529
+                          <span style="padding-left:10px">
581 530
                             <span
582 531
                               style="
583 532
                                 display: inline-block;
@@ -828,177 +777,173 @@
828 777
             </tr>
829 778
             <tr style="transform: translateY(4px)">
830 779
                 <td colspan="11">
831
-                <table  class="inside_table" border="1" style="text-align: center">
832
-                    <tr>
833
-                    <td style="height: 20px" width="60">
834
-                        <p style="height: 20px; line-height: 20px">时间</p>
780
+                  <table  class="inside_table" border="1" style="text-align: center">
781
+                      <tr>
782
+                      <td style="height: 20px" width="60">
783
+                          <p style="height: 20px; line-height: 20px">时间</p>
784
+                      </td>
785
+                    
786
+                      <td style="height: 20px" width="344">
787
+                          <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
788
+                      </td>
789
+                  
790
+                  
791
+                      <td style="height: 20px" width="90">
792
+                          <p style="height: 20px; line-height: 20px">执行</p>
793
+                      </td>
794
+                      <td style="height: 20px" width="90">
795
+                          <p style="height: 20px; line-height: 20px">核对</p>
796
+                      </td>
797
+                      <td style="height: 20px" width="144">
798
+                          <p style="height: 20px; line-height: 20px">上次透后体重</p>
799
+                      </td>
800
+                      <td style="height: 20px" width="60">
801
+                          {{
802
+                          record.patient.total_dialysis +
803
+                              record.patient.user_sys_before_count >
804
+                          0
805
+                              ? record.assessment_after_dislysis.weight_after
806
+                              : "/"
807
+                          }}kg
808
+                      </td>
809
+                      </tr>
810
+                      <tr v-for="(advice, advice_index) in record.advices" :key="advice_index" style="transform: translateY(3px)">
811
+            
812
+                    <td width="60">
813
+                      {{ getTime(advice[0].start_time, "{h}:{i}") }}
835 814
                     </td>
836
-                   
837
-                    <td style="height: 20px" width="344">
838
-                        <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
815
+                  
816
+                    <td style="text-align: left; padding-left: 5px" width="340">
817
+                      <span v-if="advice[0].parent_id > 0">---></span>
818
+                      <span>{{ advice[0].advice_name }}</span>
819
+                      <span v-if="advice && advice[0].advice_desc"
820
+                        >({{ advice[0].advice_desc
821
+                        }}{{ advice[0].drug_spec_unit }})</span
822
+                      >
823
+                      <span v-if="advice[0].prescribing_number"
824
+                        >&nbsp;&nbsp; {{ advice[0].prescribing_number
825
+                        }}{{ advice[0].prescribing_number_unit }}</span
826
+                      >
827
+                      <span v-if="advice[0].single_dose != 0"
828
+                        >{{ advice[0].single_dose
829
+                        }}{{ advice[0].single_dose_unit }}</span
830
+                      >
831
+
832
+                      <span v-if="advice[0].parent_id == 0">{{
833
+                        advice[0].delivery_way
834
+                      }}</span>
835
+                      <span v-if="advice[0].parent_id == 0">{{
836
+                        advice[0].execution_frequency
837
+                      }}</span>
838
+                      <span>{{ advice[0].remark }}</span>
839 839
                     </td>
840
-                 
841 840
                 
842
-                    <td style="height: 20px" width="90">
843
-                        <p style="height: 20px; line-height: 20px">执行</p>
841
+                  
842
+                    <td style="line-height: 10px" width="90">
843
+                      <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{
844
+                        getAdminUser(advice[0].execution_staff)
845
+                      }}</span>
846
+                      <img
847
+                        style="height: 30px"
848
+                        :src="setAdminUserES(advice[0].execution_staff)"
849
+                        alt=""
850
+                        srcset=""
851
+                      />
844 852
                     </td>
845
-                    <td style="height: 20px" width="90">
846
-                        <p style="height: 20px; line-height: 20px">核对</p>
853
+                    <td style="line-height: 30px" width="90">
854
+                      <span v-if="setAdminUserES(advice[0].checker) == ''">{{
855
+                        getAdminUser(advice[0].checker)
856
+                      }}</span>
857
+                      <img
858
+                        style="height: 30px"
859
+                        :src="setAdminUserES(advice[0].checker)"
860
+                        alt=""
861
+                        srcset=""
862
+                        v-else
863
+                      />
847 864
                     </td>
848
-                    <td style="height: 20px" width="144">
849
-                        <p style="height: 20px; line-height: 20px">上次透后体重</p>
865
+
866
+                    <td v-if="advice_index === 0" width="145">透前体重:</td>
867
+                    <td v-if="advice_index === 0" width="60">
868
+                      {{record.patient.total_dialysis +record.patient.user_sys_before_count>0? record.assessment_before_dislysis.weight_before: "/"}}kg
850 869
                     </td>
851
-                    <td style="height: 20px" width="60">
852
-                        {{
870
+                    <td v-if="advice_index === 1" width="145">体重增加量:</td>
871
+                    <td v-if="advice_index === 1" width="60">
872
+                      {{
873
+                        record.assessment_after_dislysis.weight_after == 0 ||
874
+                        record.assessment_before_dislysis.weight_before == 0
875
+                          ? 0
876
+                          : (
877
+                              record.assessment_before_dislysis.weight_before -
878
+                              record.assessment_after_dislysis.weight_after
879
+                            ).toFixed(2)
880
+                      }}kg
881
+                    </td>
882
+                    <td v-if="advice_index === 2" width="145">干体重(DW):</td>
883
+                    <td v-if="advice_index === 2" width="60">
884
+                      {{
853 885
                         record.patient.total_dialysis +
854
-                            record.patient.user_sys_before_count >
886
+                          record.patient.user_sys_before_count >
855 887
                         0
856
-                            ? record.assessment_after_dislysis.weight_after
857
-                            : "/"
858
-                        }}kg
888
+                          ? record.assessment_before_dislysis.dry_weight
889
+                          : "/"
890
+                      }}kg
859 891
                     </td>
860
-                    </tr>
861
-                    
862
-                </table>
892
+                    <td v-if="advice_index === 3" width="145">较干体重增加量:</td>
893
+                    <td v-if="advice_index === 3" width="60">
894
+                      {{
895
+                        record.patient.total_dialysis +
896
+                          record.patient.user_sys_before_count >
897
+                          0 && record.assessment_after_dislysis.weight_after != 0
898
+                          ? (
899
+                              record.assessment_after_dislysis.weight_after - record.assessment_before_dislysis.dry_weight
900
+                            ).toFixed(2)
901
+                          : 0
902
+                      }}kg
903
+                    </td>
904
+                    <td v-if="advice_index === 4" width="145">机器显示脱水量:</td>
905
+                    <td v-if="advice_index === 4" width="60">
906
+                      {{
907
+                        record.patient.total_dialysis +
908
+                          record.patient.user_sys_before_count >
909
+                        0
910
+                          ? record.assessment_after_dislysis.actual_ultrafiltration
911
+                          : "/"
912
+                      }}ml
913
+                    </td>
914
+                    <td v-if="advice_index === 5" width="145">透后体重:</td>
915
+                    <td v-if="advice_index === 5" width="60">
916
+                      {{
917
+                        record.patient.total_dialysis +
918
+                          record.patient.user_sys_before_count >
919
+                        0
920
+                          ? record.assessment_after_dislysis.weight_after
921
+                          : "/"
922
+                      }}kg
923
+                    </td>
924
+                    <td v-if="advice_index === 6" width="145">
925
+                      本次透析体重下降量:
926
+                    </td>
927
+                    <td v-if="advice_index === 6" width="60">
928
+                      {{
929
+                        record.assessment_after_dislysis.weight_after == 0 ||
930
+                        record.assessment_before_dislysis.weight_before == 0
931
+                          ? 0
932
+                          : (
933
+                              record.assessment_before_dislysis.weight_before -
934
+                              record.assessment_after_dislysis.weight_after
935
+                            ).toFixed(2)
936
+                      }}kg
937
+                    </td>
938
+                    <td v-if="advice_index > 6" width="145"></td>
939
+                    <td v-if="advice_index > 6" width="60"></td>
940
+                
941
+                  </tr>
942
+                  </table>
863 943
                 </td>
864 944
             </tr>
865 945
          
866
-          <tr v-for="(advice, advice_index) in record.advices" :key="advice_index" style="transform: translateY(3px)">
867
-            <td colspan="11">
868
-              <table class="inside_table" border="1">
869
-                <tr>
870
-                  <td width="60">
871
-                    {{ getTime(advice[0].start_time, "{h}:{i}") }}
872
-                  </td>
873
-                
874
-                  <td style="text-align: left; padding-left: 5px" width="340">
875
-                    <span v-if="advice[0].parent_id > 0">---></span>
876
-                    <span>{{ advice[0].advice_name }}</span>
877
-                    <span v-if="advice && advice[0].advice_desc"
878
-                      >({{ advice[0].advice_desc
879
-                      }}{{ advice[0].drug_spec_unit }})</span
880
-                    >
881
-                    <span v-if="advice[0].prescribing_number"
882
-                      >&nbsp;&nbsp; {{ advice[0].prescribing_number
883
-                      }}{{ advice[0].prescribing_number_unit }}</span
884
-                    >
885
-                    <span v-if="advice[0].single_dose != 0"
886
-                      >{{ advice[0].single_dose
887
-                      }}{{ advice[0].single_dose_unit }}</span
888
-                    >
889
-
890
-                    <span v-if="advice[0].parent_id == 0">{{
891
-                      advice[0].delivery_way
892
-                    }}</span>
893
-                    <span v-if="advice[0].parent_id == 0">{{
894
-                      advice[0].execution_frequency
895
-                    }}</span>
896
-                    <span>{{ advice[0].remark }}</span>
897
-                  </td>
898
-              
899
-                
900
-                  <td style="line-height: 10px" width="90">
901
-                    <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{
902
-                      getAdminUser(advice[0].execution_staff)
903
-                    }}</span>
904
-                    <img
905
-                      style="height: 30px"
906
-                      :src="setAdminUserES(advice[0].execution_staff)"
907
-                      alt=""
908
-                      srcset=""
909
-                    />
910
-                  </td>
911
-                  <td style="line-height: 30px" width="90">
912
-                    <span v-if="setAdminUserES(advice[0].checker) == ''">{{
913
-                      getAdminUser(advice[0].checker)
914
-                    }}</span>
915
-                    <img
916
-                      style="height: 30px"
917
-                      :src="setAdminUserES(advice[0].checker)"
918
-                      alt=""
919
-                      srcset=""
920
-                      v-else
921
-                    />
922
-                  </td>
923
-
924
-                  <td v-if="advice_index === 0" width="145">透前体重:</td>
925
-                  <td v-if="advice_index === 0" width="60">
926
-                    {{record.patient.total_dialysis +record.patient.user_sys_before_count>0? record.assessment_before_dislysis.weight_before: "/"}}kg
927
-                  </td>
928
-                  <td v-if="advice_index === 1" width="145">体重增加量:</td>
929
-                  <td v-if="advice_index === 1" width="60">
930
-                    {{
931
-                      record.assessment_after_dislysis.weight_after == 0 ||
932
-                      record.assessment_before_dislysis.weight_before == 0
933
-                        ? 0
934
-                        : (
935
-                            record.assessment_before_dislysis.weight_before -
936
-                            record.assessment_after_dislysis.weight_after
937
-                          ).toFixed(2)
938
-                    }}kg
939
-                  </td>
940
-                  <td v-if="advice_index === 2" width="145">干体重(DW):</td>
941
-                  <td v-if="advice_index === 2" width="60">
942
-                    {{
943
-                      record.patient.total_dialysis +
944
-                        record.patient.user_sys_before_count >
945
-                      0
946
-                        ? record.assessment_before_dislysis.dry_weight
947
-                        : "/"
948
-                    }}kg
949
-                  </td>
950
-                  <td v-if="advice_index === 3" width="145">较干体重增加量:</td>
951
-                  <td v-if="advice_index === 3" width="60">
952
-                    {{
953
-                      record.patient.total_dialysis +
954
-                        record.patient.user_sys_before_count >
955
-                        0 && record.assessment_after_dislysis.weight_after != 0
956
-                        ? (
957
-                            record.assessment_after_dislysis.weight_after - record.assessment_before_dislysis.dry_weight
958
-                          ).toFixed(2)
959
-                        : 0
960
-                    }}kg
961
-                  </td>
962
-                  <td v-if="advice_index === 4" width="145">机器显示脱水量:</td>
963
-                  <td v-if="advice_index === 4" width="60">
964
-                    {{
965
-                      record.patient.total_dialysis +
966
-                        record.patient.user_sys_before_count >
967
-                      0
968
-                        ? record.assessment_after_dislysis.actual_ultrafiltration
969
-                        : "/"
970
-                    }}ml
971
-                  </td>
972
-                  <td v-if="advice_index === 5" width="145">透后体重:</td>
973
-                  <td v-if="advice_index === 5" width="60">
974
-                    {{
975
-                      record.patient.total_dialysis +
976
-                        record.patient.user_sys_before_count >
977
-                      0
978
-                        ? record.assessment_after_dislysis.weight_after
979
-                        : "/"
980
-                    }}kg
981
-                  </td>
982
-                  <td v-if="advice_index === 6" width="145">
983
-                    本次透析体重下降量:
984
-                  </td>
985
-                  <td v-if="advice_index === 6" width="60">
986
-                    {{
987
-                      record.assessment_after_dislysis.weight_after == 0 ||
988
-                      record.assessment_before_dislysis.weight_before == 0
989
-                        ? 0
990
-                        : (
991
-                            record.assessment_before_dislysis.weight_before -
992
-                            record.assessment_after_dislysis.weight_after
993
-                          ).toFixed(2)
994
-                    }}kg
995
-                  </td>
996
-                  <td v-if="advice_index > 6" width="145"></td>
997
-                  <td v-if="advice_index > 6" width="60"></td>
998
-                </tr>
999
-              </table>
1000
-            </td>
1001
-          </tr>
946
+      
1002 947
         <tr style="transform: translateY(1px)">
1003 948
             <td colspan="11">  
1004 949
             <table class="inside_table" border="1">
@@ -1131,7 +1076,7 @@
1131 1076
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
1132 1077
   import print from 'print-js'
1133 1078
 export default {
1134
-  name: "BatchPrintOrderSix",
1079
+  name: "BatchPrintOrderFiftyThree",
1135 1080
   components: {
1136 1081
     CheckBox,
1137 1082
     BreadCrumb,
@@ -1453,7 +1398,6 @@ export default {
1453 1398
         scanStyles: false,
1454 1399
       });
1455 1400
     },
1456
-
1457 1401
     complicationsOther: function (record) {
1458 1402
       if (record == null || typeof record === "undefined") {
1459 1403
         return "";

+ 3 - 2
src/xt_pages/dialysis/details/consumable/dialysisDrug.vue Parādīt failu

@@ -260,6 +260,7 @@
260 260
         },
261 261
         zoneIdList:[],
262 262
         partion_str:"",
263
+     
263 264
       }
264 265
     },
265 266
     created() {
@@ -662,7 +663,7 @@
662 663
           }
663 664
         }
664 665
 
665
-        if(this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 0){
666
+        if(this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 0 || this.$store.getters.xt_user.org_id == 10469){
666 667
           //  console.log("----------------------",this.selected_date)
667 668
             console.log("星期",this.getweekday(this.selected_date))
668 669
             var newArrList = []
@@ -704,7 +705,7 @@
704 705
             }
705 706
           }
706 707
         }
707
-        if(this.$store.getters.xt_user.org_id != 9671 && this.$store.getters.xt_user.org_id != 0){
708
+        if(this.$store.getters.xt_user.org_id != 9671 && this.$store.getters.xt_user.org_id != 0 && this.$store.getters.xt_user.org_id != 10469){
708 709
          
709 710
           if(newArr!=null && newArr.length > 0){
710 711
             for(let i=0;i<newArr.length;i++){

+ 1 - 1
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Parādīt failu

@@ -807,7 +807,7 @@
807 807
     methods: {
808 808
       handleSpanTempArrOne() {
809 809
           this.tempArrOne = [];
810
-          console.log("hhahhahahahahah",this.doctor_advices)
810
+         
811 811
           for (let i = 0; i < this.doctor_advices.length; i++) {
812 812
             if (i === 0) {
813 813
               this.tempArrOne.push(1);

+ 15 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Parādīt failu

@@ -9,6 +9,15 @@
9 9
                 class="newDialog"
10 10
         >
11 11
             <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo">{{ patient.name }}</el-button>
12
+            <!-- <span style="position: absolute;left: 22%;top: 3%">
13
+              上次透后体重:{{last_record.weight_after?last_record.weight_after:""}} --kg
14
+            </span> -->
15
+            <!-- <span style="position: absolute;left: 35%;top: 3%">
16
+              干体重:--kg
17
+            </span>
18
+            <span style="position: absolute;left: 48%;top: 3%">
19
+              衣物重:--kg
20
+            </span> -->
12 21
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
13 22
             <el-form
14 23
                     ref="dialysisPrescription"
@@ -1441,6 +1450,9 @@
1441 1450
       admins: {
1442 1451
         type: Array
1443 1452
       },
1453
+      last_record: {
1454
+        type: Object
1455
+      },
1444 1456
     },
1445 1457
     computed: {
1446 1458
       dialysis_date: function() {
@@ -2597,13 +2609,13 @@ mu
2597 2609
         if(moment().weekday() == 6){
2598 2610
            total_day ="周六"
2599 2611
         }
2600
-        if(moment().weekday() == 7){
2612
+        if(moment().weekday() == 0){
2601 2613
            total_day ="周日"
2602 2614
         }
2603
-        console.log("---------",this.targetAdvices)
2615
+        console.log("日期---------",moment().weekday())
2604 2616
         if(this.targetAdvices!=null && this.targetAdvices.length >0){
2605 2617
             for (let i = 0; i < this.targetAdvices.length; i++) {
2606
-              if(this.targetAdvices[i].week_day.indexOf(total_day)!=-1){
2618
+              if(this.targetAdvices[i].week_day!=""&&this.targetAdvices[i].week_day.indexOf(total_day)!=-1){
2607 2619
                 this.targetAdvices[i].isCheck = 1
2608 2620
               }
2609 2621
             }

+ 8 - 4
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Parādīt failu

@@ -470,7 +470,8 @@
470 470
                 template_id == 54 ||
471 471
                 template_id == 56 ||
472 472
                 org_id ==10432 || 
473
-                org_id ==10445
473
+                org_id ==10445 || 
474
+                org_id ==10410
474 475
               
475 476
                )
476 477
             "
@@ -498,7 +499,8 @@
498 499
               template_id != 54 &&
499 500
               template_id != 56 &&
500 501
               org_id !=10432 && 
501
-              org_id !=10445
502
+              org_id !=10445 &&
503
+              org_id !=10410
502 504
             "
503 505
           >
504 506
             <template slot-scope="scope">
@@ -1296,7 +1298,8 @@
1296 1298
               template_id != 56 &&
1297 1299
               template_id != 53 &&
1298 1300
               org_id!=10432 &&
1299
-              org_id!=10445
1301
+              org_id!=10445 &&
1302
+              org_id!=10410
1300 1303
             "
1301 1304
           >
1302 1305
             <el-form-item label="置换率(L/h):" :prop="isName('置换率')"
@@ -1320,7 +1323,8 @@
1320 1323
                 template_id == 56 ||
1321 1324
                 template_id == 48 ||
1322 1325
                 org_id==10432 ||
1323
-                org_id!=10445)
1326
+                org_id!=10445 ||
1327
+                org_id!=10410)
1324 1328
             "
1325 1329
           >
1326 1330
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue Parādīt failu

@@ -20,8 +20,8 @@
20 20
           <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22 22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
-          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445) " width="92px" > 置换率(ml/min) </th>
24
-          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445" width="92px" > 置换率(L/h)  </th>
23
+          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410) " width="92px" > 置换率(ml/min) </th>
24
+          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410" width="92px" > 置换率(L/h)  </th>
25 25
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
26 26
           <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 )" width="92px"  > 置换量(ml)  </th>
27 27
           <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10445)" width="92px" > 置换量(L) </th>

+ 4 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue Parādīt failu

@@ -2595,7 +2595,7 @@
2595 2595
                                 />
2596 2596
                               </div>
2597 2597
                             </div>
2598
-                            <div class="inline_block" style="flex: 1">
2598
+                            <!-- <div class="inline_block" style="flex: 1">
2599 2599
                               下机护士:
2600 2600
                               <div
2601 2601
                                 class="under_line"
@@ -2633,8 +2633,8 @@
2633 2633
                                   v-else
2634 2634
                                 />
2635 2635
                               </div>
2636
-                            </div>
2637
-                            <!-- <div class="inline_block" style="flex: 1">
2636
+                            </div> -->
2637
+                            <div class="inline_block" style="flex: 1">
2638 2638
                               患者签名:
2639 2639
                               <div
2640 2640
                                 class="under_line"
@@ -2648,7 +2648,7 @@
2648 2648
                                   srcset=""
2649 2649
                                 />
2650 2650
                               </div>
2651
-                            </div> -->
2651
+                            </div>
2652 2652
                             <div class="inline_block" style="flex: 1">
2653 2653
                               治疗医生:
2654 2654
                               <div

+ 23 - 9
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue Parādīt failu

@@ -688,9 +688,12 @@
688 688
                 <tr>
689 689
                   <td style="width: 60px" rowspan="2">时间</td>
690 690
                   <td colspan="4">透析参数</td>
691
-                  <td :colspan="org_id == 10441 || org_id == 9675 ? 4 : 5">
691
+                  <td :colspan="org_id == 10441 || org_id == 9675  ? 4 : 5">
692 692
                     生命体征
693 693
                   </td>
694
+                  <td v-if="org_id == 10430 || org_id == 0">
695
+                    KT/V
696
+                  </td>
694 697
                   <td colspan="1">治疗中病情变化</td>
695 698
                 </tr>
696 699
                 <tr class="short_tr">
@@ -716,6 +719,8 @@
716 719
                     <p style="height: 20px; line-height: 20px">℃</p>
717 720
                   </th>
718 721
 
722
+               
723
+
719 724
                   <th style="width: 80px; font-weight: normal">
720 725
                     <p style="height: 20px; line-height: 20px">T</p>
721 726
                     <p style="height: 20px; line-height: 20px">℃</p>
@@ -743,6 +748,11 @@
743 748
                     <p style="height: 20px; line-height: 20px">SpO₂</p>
744 749
                     <p style="height: 20px; line-height: 20px">%</p>
745 750
                   </th>
751
+                  <th style="width:50px; font-weight: normal" v-if="org_id == 10430 || org_id == 0">
752
+                    <p style="height: 20px; line-height: 20px">
753
+                      KT/V
754
+                    </p>
755
+                  </th>
746 756
                   <th style="width: 333px; font-weight: normal">
747 757
                     <p style="height: 20px; line-height: 20px">
748 758
                       记&nbsp;&nbsp;&nbsp;&nbsp;录
@@ -795,12 +805,14 @@
795 805
                     {{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}
796 806
                   </td>
797 807
 
808
+
798 809
                   <td>
799 810
                     <span v-if="getTime(monitor.operate_time) != ''">
800 811
                       {{ monitor.temperature ? monitor.temperature : "" }}
801 812
                     </span>
802 813
                   </td>
803 814
 
815
+                
804 816
                   <td>
805 817
                     <span v-if="getTime(monitor.operate_time) != ''">
806 818
                       {{
@@ -836,6 +848,9 @@
836 848
                       }}
837 849
                     </span>
838 850
                   </td>
851
+                  <td v-if="org_id == 10430 || org_id == 0">
852
+                    {{ monitor.ktv?monitor.ktv:"" }}
853
+                  </td>
839 854
                   <td>
840 855
                     <span
841 856
                       v-if="
@@ -851,7 +866,7 @@
851 866
               </table>
852 867
             </td>
853 868
           </tr>
854
-          <tr style="transform: translateY(4px)" v-if="org_id!=10346 && org_id!=0">
869
+          <tr style="transform: translateY(4px)" v-if="org_id!=10346">
855 870
             <td>
856 871
               <table class="print-table" border="1" style="text-align: center">
857 872
                 <tr>
@@ -899,8 +914,9 @@
899 914
               </table>
900 915
             </td>
901 916
           </tr>
902
-          <div v-if="org_id!=10346 && org_id!=0">
917
+
903 918
           <tr
919
+            v-if="org_id!=10346"
904 920
             v-for="(advice, advice_index) in advices"
905 921
             :key="advice_index"
906 922
             style="transform: translateY(3px)"
@@ -919,14 +935,14 @@
919 935
                     <span v-if="setAdminUserES(advice.advice_doctor) == ''">
920 936
                       {{ getAdminUser(advice.advice_doctor) }}
921 937
                     </span>
922
-                    <img
938
+                  <img
923 939
                       style="height: 30px"
924 940
                       :src="setAdminUserES(advice.advice_doctor)"
925 941
                       alt=""
926 942
                       srcset=""
927 943
                     />
928 944
                   </td>
929
-                  <td style="text-align: left; padding-left: 5px" width="340">
945
+                  <td style="text-align: left; padding-left: 5px" width="344">
930 946
                     <span v-if="advice.parent_id > 0">---></span>
931 947
                     <span>{{ advice.advice_name }}</span>
932 948
                     <span v-if="advice && advice.advice_desc"
@@ -1082,7 +1098,7 @@
1082 1098
               </table>
1083 1099
             </td>
1084 1100
           </tr>
1085
-          </div>
1101
+         
1086 1102
 
1087 1103
           <tr style="transform: translateY(1px)">
1088 1104
             <td>
@@ -1287,7 +1303,6 @@
1287 1303
               </table>
1288 1304
             </td>
1289 1305
           </tr>
1290
-          <div>
1291 1306
           <tr
1292 1307
             v-for="(advice, advice_index) in advices"
1293 1308
             :key="advice_index"
@@ -1313,7 +1328,7 @@
1313 1328
                       srcset=""
1314 1329
                     />
1315 1330
                   </td>
1316
-                  <td style="text-align: left; padding-left: 5px" width="340">
1331
+                  <td style="text-align: left; padding-left: 5px" width="344">
1317 1332
                     <span v-if="advice.parent_id > 0">---></span>
1318 1333
                     <span>{{ advice.advice_name }}</span>
1319 1334
                     <span v-if="advice && advice.advice_desc"
@@ -1469,7 +1484,6 @@
1469 1484
               </table>
1470 1485
             </td>
1471 1486
           </tr>
1472
-          </div>
1473 1487
 
1474 1488
         
1475 1489
         </tbody>

+ 82 - 208
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue Parādīt failu

@@ -56,7 +56,7 @@
56 56
                     上机前病情:
57 57
                     {{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : "/" }}
58 58
                   </div>
59
-                  
59
+
60 60
                 </td>
61 61
               </tr>
62 62
               <tr>
@@ -155,7 +155,7 @@
155 155
                   </div>
156 156
                   <div style="margin-left:70px ; display: inline-block;">
157 157
                     医师签名:
158
-                  
158
+
159 159
                     <span v-if="setAdminUserES(prescription.creater) == ''">
160 160
                       {{ getAdminUser(prescription.creater) }}
161 161
                     </span>
@@ -276,8 +276,8 @@
276 276
                   </div>
277 277
                 </td>
278 278
               </tr>
279
-              <tr>
280
-                <td colspan="3" style=" text-align: center;">
279
+              <tr style="border-bottom: none;">
280
+                <td colspan="3" style=" text-align: center; border-bottom: none;">
281 281
                   <span style="font-weight: bold;"
282 282
                     >治&nbsp;疗&nbsp;过&nbsp;程&nbsp;记&nbsp;录</span
283 283
                   >
@@ -285,34 +285,33 @@
285 285
               </tr>
286 286
               <tr>
287 287
                 <td colspan="3">
288
-                  <table
289
-                    style="border-collapse: collapse; width: 100%; text-align: center;"
288
+                  <table border="1" cellspacing="0" cellpadding="0"
289
+                    style=" width: 100%; text-align: center; border: none;"
290 290
                   >
291
-                    <!-- <thead> -->
292
-                      <tr style="border-bottom: 1px solid gray;">
293
-                        <td rowspan="2" style=" border-right: 1px solid gray;">时间</td>
294
-                        <td colspan="5" style=" border-right: 1px solid gray;">透析参数</td>
295
-                        <td colspan="3" style=" border-right: 1px solid gray;">生命体征</td>
296
-                        <td colspan="3" style=" border-right: 1px solid gray;">治疗中病情变化</td>
291
+                    <!-- border-bottom: 1px solid gray; border-right: 1px solid gray;-->
292
+                      <tr style="">
293
+                        <td rowspan="2" style=" ">时间</td>
294
+                        <td colspan="5" style=" ">透析参数</td>
295
+                        <td colspan="3" style=" ">生命体征</td>
296
+                        <td colspan="3" style=" ">治疗中病情变化</td>
297 297
                       </tr>
298
-                      <tr style="border-bottom: 1px solid gray;">
299
-                        <td style=" border-right: 1px solid gray;">TMP<br />mmHg</td>
300
-                        <td style=" border-right: 1px solid gray;">静脉压<br />mmHg</td>
301
-                        <td style=" border-right: 1px solid gray;">血流量<br />ml/min</td>
302
-                        <td style=" border-right: 1px solid gray;">脱水量<br />L</td>
303
-                        <td style=" border-right: 1px solid gray;">T<br />ºC</td>
304
-                        <td style=" border-right: 1px solid gray;">HR<br />bpm</td>
305
-                        <td style=" border-right: 1px solid gray;">R<br />bpm</td>
306
-                        <td style=" border-right: 1px solid gray;">BP<br />mmHg</td>
307
-                        <td style=" border-right: 1px solid gray;">时间</td>
308
-                        <td style=" border-right: 1px solid gray;">记录</td>
298
+                      <tr style="">
299
+                        <td style=" ">TMP<br />mmHg</td>
300
+                        <td style=" ">静脉压<br />mmHg</td>
301
+                        <td style=" ">血流量<br />ml/min</td>
302
+                        <td style="">脱水量<br />L</td>
303
+                        <td style=" ">T<br />ºC</td>
304
+                        <td style=" ">HR<br />bpm</td>
305
+                        <td style=" ">R<br />bpm</td>
306
+                        <td style=" ">BP<br />mmHg</td>
307
+                        <td style=" ">时间</td>
308
+                        <td style=" ">记录</td>
309 309
                         <td >护士签名</td>
310 310
                       </tr>
311
-                    <!-- </thead>
312
-                    <tbody> -->
313
-                      <tr style="border-bottom: 1px solid gray;" v-for="(monitor, monindex) in monitors" :key="monindex" >
314
-                        <td style=" border-right: 1px solid gray;"> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
315
-                        <td style=" border-right: 1px solid gray;">
311
+                    
312
+                      <tr style="" v-for="(monitor, monindex) in monitors" :key="monindex" >
313
+                        <td style=" "> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
314
+                        <td style=" ">
316 315
                             <span v-if="getTime(monitor.operate_time) != ''">
317 316
                             {{
318 317
                                 monitor.transmembrane_pressure
@@ -322,7 +321,7 @@
322 321
                             </span>
323 322
                         </td >
324 323
 
325
-                        <td style=" border-right: 1px solid gray;">
324
+                        <td style=" ">
326 325
                             <span v-if="getTime(monitor.operate_time) != ''">
327 326
                                 &nbsp;{{
328 327
                                     monitor.venous_pressure ? monitor.venous_pressure : ""
@@ -330,7 +329,7 @@
330 329
                             </span>
331 330
                         </td>
332 331
 
333
-                        <td style=" border-right: 1px solid gray;">
332
+                        <td style=" ">
334 333
                             <span v-if="getTime(monitor.operate_time) != ''">
335 334
                             {{
336 335
                                 monitor.blood_flow_volume
@@ -340,7 +339,7 @@
340 339
                             </span>
341 340
                         </td>
342 341
 
343
-                        <td style=" border-right: 1px solid gray;">
342
+                        <td style=" ">
344 343
                             <span v-if="getTime(monitor.operate_time) != ''&&monindex == 0 ">
345 344
                             {{'/'}}
346 345
                             </span>
@@ -350,134 +349,13 @@
350 349
                             <span v-else>{{monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
351 350
                         </td>
352 351
 
353
-                        <td style=" border-right: 1px solid gray;">
352
+                        <td style=" ">
354 353
                             <span v-if="getTime(monitor.operate_time) != ''">
355 354
                                 {{ monitor.temperature ? monitor.temperature : "" }}
356 355
                             </span>
357 356
                         </td>
358
-                        
359
-                        <td style=" border-right: 1px solid gray;"> 
360
-                            <span v-if="getTime(monitor.operate_time) != ''">
361
-                                {{
362
-                                  monitor.pulse_frequency ? monitor.pulse_frequency : ""
363
-                                }}
364
-                            </span>
365
-                        </td>
366
-
367
-                        <td style=" border-right: 1px solid gray;">
368
-                            <span v-if="getTime(monitor.operate_time) != ''">
369
-                                {{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
370
-                            </span>
371
-                        </td>
372
-
373
-                        <td style=" border-right: 1px solid gray;">
374
-                            <span v-if="getTime(monitor.operate_time) != ''">
375
-                                {{
376
-                                    monitor.systolic_blood_pressure
377
-                                    ? monitor.systolic_blood_pressure
378
-                                    : ""
379
-                                }}/{{
380
-                                    monitor.diastolic_blood_pressure
381
-                                    ? monitor.diastolic_blood_pressure
382
-                                    : ""
383
-                                }}
384
-                                
385
-                            </span>
386
-                        </td>
387
-
388
-                        <td style=" border-right: 1px solid gray;"> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
389
-                        <td style=" border-right: 1px solid gray;">
390
-                          <span style="word-break: break-all;word-wrap: break-word;">
391
-                            
392
-                              {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{monitor.result}}
393
-                          </span>
394
-                        </td>
395
-                        <td>
396
-                          <span v-if="
397
-                            setAdminUserES(
398
-                              dialysisOrder == null
399
-                                ? 0
400
-                                : dialysisOrder.start_nurse
401
-                            ) == ''
402
-                          "
403
-                          >{{
404
-                            getAdminUser(
405
-                              dialysisOrder == null
406
-                                ? 0
407
-                                : dialysisOrder.start_nurse
408
-                            )
409
-                          }}</span
410
-                          >
411
-                          <img
412
-                            class="es-img"
413
-                            style="height: 30px"
414
-                            :src="
415
-                              setAdminUserES(
416
-                                dialysisOrder == null
417
-                                  ? 0
418
-                                  : dialysisOrder.start_nurse
419
-                              )
420
-                            "
421
-                            alt=""
422
-                            srcset=""
423
-                            v-else
424
-                          />
425
-                        </td>
426
-                      </tr>
427
-                    <!-- </tbody> -->
428
-                  </table>
429
-                </td>
430
-              </tr>
431
-              <!-- <tr>
432
-                <td colspan="3">
433
-                  <table style="border-collapse: collapse; width: 100%;">
434
-                    <tr style="border-bottom: 1px solid gray;" v-for="(monitor, monindex) in monitors" :key="monindex" >
435
-                        <td style=" border-right: 1px solid gray;"> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
436
-                        <td style=" border-right: 1px solid gray;">
437
-                            <span v-if="getTime(monitor.operate_time) != ''">
438
-                            {{
439
-                                monitor.transmembrane_pressure
440
-                                ? monitor.transmembrane_pressure
441
-                                : ""
442
-                            }}
443
-                            </span>
444
-                        </td >
445
-
446
-                        <td style=" border-right: 1px solid gray;">
447
-                            <span v-if="getTime(monitor.operate_time) != ''">
448
-                                &nbsp;{{
449
-                                    monitor.venous_pressure ? monitor.venous_pressure : ""
450
-                                }}
451
-                            </span>
452
-                        </td>
453 357
 
454
-                        <td style=" border-right: 1px solid gray;">
455
-                            <span v-if="getTime(monitor.operate_time) != ''">
456
-                            {{
457
-                                monitor.blood_flow_volume
458
-                                ? monitor.blood_flow_volume
459
-                                : ""
460
-                            }}
461
-                            </span>
462
-                        </td>
463
-
464
-                        <td style=" border-right: 1px solid gray;">
465
-                            <span v-if="getTime(monitor.operate_time) != ''&&monindex == 0 ">
466
-                            {{'/'}}
467
-                            </span>
468
-                            <span v-else-if="getTime(monitor.operate_time) != ''&&monindex == 0 ">
469
-                            {{monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}
470
-                            </span>
471
-                            <span v-else>{{monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
472
-                        </td>
473
-
474
-                        <td style=" border-right: 1px solid gray;">
475
-                            <span v-if="getTime(monitor.operate_time) != ''">
476
-                                {{ monitor.temperature ? monitor.temperature : "" }}
477
-                            </span>
478
-                        </td>
479
-                        
480
-                        <td style=" border-right: 1px solid gray;"> 
358
+                        <td style=" ">
481 359
                             <span v-if="getTime(monitor.operate_time) != ''">
482 360
                                 {{
483 361
                                   monitor.pulse_frequency ? monitor.pulse_frequency : ""
@@ -485,13 +363,13 @@
485 363
                             </span>
486 364
                         </td>
487 365
 
488
-                        <td style=" border-right: 1px solid gray;">
366
+                        <td style=" ">
489 367
                             <span v-if="getTime(monitor.operate_time) != ''">
490 368
                                 {{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
491 369
                             </span>
492 370
                         </td>
493 371
 
494
-                        <td style=" border-right: 1px solid gray;">
372
+                        <td style=" ">
495 373
                             <span v-if="getTime(monitor.operate_time) != ''">
496 374
                                 {{
497 375
                                     monitor.systolic_blood_pressure
@@ -502,14 +380,14 @@
502 380
                                     ? monitor.diastolic_blood_pressure
503 381
                                     : ""
504 382
                                 }}
505
-                                
383
+
506 384
                             </span>
507 385
                         </td>
508 386
 
509
-                        <td style=" border-right: 1px solid gray;"> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
510
-                        <td style=" border-right: 1px solid gray;">
387
+                        <td style=" "> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
388
+                        <td style=" ">
511 389
                           <span style="word-break: break-all;word-wrap: break-word;">
512
-                            
390
+
513 391
                               {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{monitor.result}}
514 392
                           </span>
515 393
                         </td>
@@ -545,55 +423,60 @@
545 423
                           />
546 424
                         </td>
547 425
                       </tr>
426
+                    
548 427
                   </table>
549 428
                 </td>
550
-              </tr> -->
429
+              </tr>
430
+             
551 431
               <tr>
552 432
                 <td colspan="3">
553
-                  
554
-                    <table  class="inside_table" style="text-align: center; border-collapse:collapse;">
433
+                    <table  class="inside_table" border="1" cellspacing="0" cellpadding="0"
434
+                    style="text-align: center; border-top: none;border-bottom: none;
435
+                        border-right: none;border-left: none; box-sizing: border-box;">
555 436
                       <tr>
556
-                      <td style="height: 20px;border-right: 1px solid gray;" width="110">
437
+                      <td style="height: 20px;" width="110">
557 438
                           <p style="height: 20px; line-height: 20px" >提交时间</p>
558 439
                       </td>
559
-                    
560
-                      <td style="height: 20px; border-right: 1px solid gray;" width="350">
440
+
441
+                      <td style="height: 20px; " width="350">
561 442
                           <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
562 443
                       </td>
563
-                      <td style="height: 20px; border-right: 1px solid gray;" width="130">
444
+                      <td style="height: 20px; " width="130">
564 445
                           <p style="height: 20px; line-height: 20px">执行时间</p>
565 446
                       </td>
566
-                  
567
-                      <td style="height: 20px; border-right: 1px solid gray;" width="110">
447
+
448
+                      <td style="height: 20px; " width="110">
568 449
                           <p style="height: 20px; line-height: 20px">执行</p>
569 450
                       </td>
570
-                      
571
-                      <td style="height: 20px; border-right: 1px solid gray;" width="150">
451
+
452
+                      <td style="height: 20px; " width="150">
572 453
                           <p style="height: 20px; line-height: 20px">上次透后体重</p>
573 454
                       </td>
574 455
                       <td style="height: 20px;" width="110">
575 456
                         {{ lastafterdialysis.weight_after.toFixed(2) }}kg
576 457
                       </td>
577 458
                       </tr>
578
-                      
459
+
579 460
                     </table>
580 461
                 </td>
581 462
               </tr>
582
-              <tr v-for="(advice, advice_index) in advices" :key="advice_index">
463
+              <tr v-for="(advice, advice_index) in advices" :key="advice_index" >
583 464
                 <td colspan="3">
584
-                  <table class="inside_table"   cellspacing="0" cellpadding="0" style="text-align: center;">
585
-                    <tr >
586
-                      <td width="110" style="border-right: 1px solid gray;">
465
+                  <table class="inside_table"  border="1" cellspacing="0" cellpadding="0" 
466
+                        style="text-align: center; border-top: none;border-bottom: none;
467
+                        border-right: none;border-left: none; box-sizing: border-box;">
468
+                    <tr style="border-bottom:none;">
469
+                      <td width="110" style="">
587 470
                         {{ getTime(advice.start_time, "{h}:{i}") }}
588 471
                       </td>
589
-                    
590
-                      <td style="border-right: 1px solid gray; text-align: left; padding-left: 5px ; word-break: break-all;word-wrap: break-word;" width="350">
472
+
473
+                      <td style=" text-align: left; padding-left: 5px ; word-break: break-all;word-wrap: break-word; box-sizing: border-box;" width="350">
591 474
                         <span v-if="advice.parent_id > 0"></span>
592 475
                         <span>{{ advice.advice_name }}</span>
593 476
                         <span v-if="advice && advice.advice_desc">
594 477
                           ({{ advice.advice_desc}}{{ advice.drug_spec_unit }})
595 478
                         </span>
596
-                        <span v-if="advice.prescribing_number">&nbsp;&nbsp; 
479
+                        <span v-if="advice.prescribing_number">&nbsp;&nbsp;
597 480
                           {{ advice.prescribing_number}}{{ advice.prescribing_number_unit }}
598 481
                         </span>
599 482
                         <span v-if="advice.single_dose != 0">
@@ -607,11 +490,11 @@
607 490
                         </span>
608 491
                         <span>{{ advice.remark }}</span>
609 492
                       </td>
610
-                  
611
-                      <td width="130" style="border-right: 1px solid gray;">
493
+
494
+                      <td width="130" style="">
612 495
                         {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
613 496
                       </td>
614
-                      <td width="110" style="border-right: 1px solid gray;">
497
+                      <td width="110" style="">
615 498
                         <span
616 499
                           v-if="setAdminUserES(advice.advice_doctor) == ''"
617 500
                         >
@@ -624,36 +507,28 @@
624 507
                           srcset=""
625 508
                         />
626 509
                       </td>
627
-
628
-                      <td v-if="advice_index === 0" width="150" style="border-right: 1px solid gray;">透前体重</td>
510
+                      <td v-if="advice_index === 0" width="150" style="">透前体重</td>
629 511
                       <td v-if="advice_index === 0" width="110" >
630 512
                         {{predialysis.weight_before.toFixed(2) }}kg
631 513
                       </td>
632
-                      <td v-if="advice_index === 1" width="150" style="border-right: 1px solid gray;">体重增加量</td>
514
+                      <td v-if="advice_index === 1" width="150" style="">体重增加量</td>
633 515
                       <td v-if="advice_index === 1" width="110">
634 516
                         {{
635 517
                           assessmentafter.weight_after == 0 ||
636 518
                           predialysis.weight_before == 0
637
-                            ? 0
519
+                            ? '0.00'
638 520
                             : (
639 521
                                 predialysis.weight_before -
640 522
                                 assessmentafter.weight_after
641 523
                               ).toFixed(2)
642 524
                         }}kg
643 525
                       </td>
644
-                      <td v-if="advice_index === 2" width="150" style="border-right: 1px solid gray;">干体重(DW)</td>
526
+                      <td v-if="advice_index === 2" width="150" style="">干体重(DW)</td>
645 527
                       <td v-if="advice_index === 2" width="110">
646 528
                         {{ predialysis.dry_weight.toFixed(2) }}kg
647 529
                       </td>
648
-                      <td v-if="advice_index === 3" width="150" style="border-right: 1px solid gray;">较干体重增加量</td>
530
+                      <td v-if="advice_index === 3" width="150" style="">较干体重增加量</td>
649 531
                       <td v-if="advice_index === 3" width="110">
650
-                       
651
-                        <!-- {{
652
-                          (
653
-                            afterdialysis.weight_after -
654
-                            predialysis.dry_weight
655
-                          ).toFixed(2)
656
-                        }}kg -->
657 532
                           {{
658 533
                             patientInfo.total_dialysis +
659 534
                             patientInfo.user_sys_before_count >
@@ -661,28 +536,27 @@
661 536
                             ? (
662 537
                                 afterdialysis.weight_after - predialysis.dry_weight
663 538
                               ).toFixed(2)
664
-                            : 0
539
+                            : '0.00'
665 540
                           }}kg
666 541
                       </td>
667
-                     
668
-                      <td v-if="advice_index === 4" width="150" style="border-right: 1px solid gray;">透后体重</td>
542
+
543
+                      <td v-if="advice_index === 4" width="150" style="">透后体重</td>
669 544
                       <td v-if="advice_index === 4" width="110">
670
-                        
671 545
                         {{ afterdialysis.weight_after.toFixed(2) }}kg
672 546
                       </td>
673
-                      <td v-if="advice_index === 5" width="150" style="border-right: 1px solid gray;">
547
+                      <td v-if="advice_index === 5" width="150" style="">
674 548
                         本次透析体重下降量
675 549
                       </td>
676 550
                       <td v-if="advice_index === 5" width="110">
677 551
                         {{
678 552
                           afterdialysis.weight_after == 0 || predialysis.weight_before == 0
679
-                            ? 0
553
+                            ? '0.00'
680 554
                             : (
681 555
                                 predialysis.weight_before - afterdialysis.weight_after
682 556
                               ).toFixed(2)
683 557
                         }}kg
684 558
                       </td>
685
-                      <td v-if="advice_index > 5" width="150" style="border-right: 1px solid gray;"></td>
559
+                      <td v-if="advice_index > 5" width="150" style=""></td>
686 560
                       <td v-if="advice_index > 5" width="110"></td>
687 561
                     </tr>
688 562
                   </table>
@@ -696,7 +570,7 @@
696 570
                   <div style="display: inline-block; margin-left: 40px;">
697 571
                     姓别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
698 572
                   </div>
699
-                  <div style="display: inline-block; margin-left: 40px;"> 
573
+                  <div style="display: inline-block; margin-left: 40px;">
700 574
                     透析机号:{{ getNumber() }}
701 575
                   </div> -->
702 576
                   <div style="word-break: break-all;word-wrap: break-word;">
@@ -706,9 +580,9 @@
706 580
                         summary.dialysis_summary ? summary.dialysis_summary : "/"
707 581
                       }}
708 582
                     </div>
709
-                    <div style="display: inline-block; margin-left: 150px;">
583
+                    <div style="display: inline-block; margin-left: 120px;">
710 584
                       医生签名:
711
-                    
585
+
712 586
                       <span v-if="setAdminUserES(prescription.creater) == ''">
713 587
                         {{ getAdminUser(prescription.creater) }}
714 588
                       </span>
@@ -993,13 +867,13 @@ export default {
993 867
         //     this.anticoagulantsConfit[thisALID].name;
994 868
         //     this.AlPanel = this.anticoagulantsConfit[thisALID];
995 869
         // }
996
-        
870
+
997 871
         this.advices = response.data.data.advices;
998
-        
872
+
999 873
         this.monitors = response.data.data.monitors;
1000 874
         this.summary = response.data.data.summary;
1001 875
         this.org_template_info = response.data.data.org_template_info;
1002
-        
876
+
1003 877
         if (this.monitors.length <= 0) {
1004 878
           var nl = 8 - this.monitors.length;
1005 879
           for (let index = 0; index < nl; index++) {

+ 16 - 1
src/xt_pages/management/components/ManageForm.vue Parādīt failu

@@ -851,8 +851,10 @@ export default {
851 851
     padding: 0;
852 852
   }
853 853
   .el-form-item__error {
854
-    margin-left: 60px;
854
+    //  margin-left: 60px; 
855
+    margin-left: 200px;
855 856
   }
857
+  
856 858
 }
857 859
 .el-checkbox {
858 860
   color: #606266;
@@ -866,3 +868,16 @@ export default {
866 868
   margin-right: 26px;
867 869
 }
868 870
 </style>
871
+<!-- <style lang="scss" scoped>
872
+#manage-form {
873
+  .el-form-item__label {
874
+    width: 100px;
875
+    padding: 0;
876
+  }
877
+  .el-form-item__error {
878
+     /* margin-left: 60px; */
879
+    margin-left: 200px;
880
+  }
881
+}
882
+  
883
+</style> -->

+ 32 - 32
src/xt_pages/management/components/WaterFormList.vue Parādīt failu

@@ -1089,8 +1089,8 @@
1089 1089
         if(this.form.machine_status!=""){
1090 1090
           this.form.machine_status = parseInt(this.form.machine_status)
1091 1091
         }
1092
-      
1093
-       
1092
+
1093
+
1094 1094
         if(this.form.reverse_osmosis_membrane_disinfection == true){
1095 1095
            this.form.reverse_osmosis_membrane_disinfection = 1
1096 1096
         }
@@ -1106,9 +1106,9 @@
1106 1106
         if(this.form.water_conductivity!=""){
1107 1107
           this.form.water_conductivity = parseFloat(this.form.water_conductivity)== NaN ? 0:parseFloat(this.form.water_conductivity)
1108 1108
         }else{
1109
-           this.form.water_conductivity = 0 
1109
+           this.form.water_conductivity = 0
1110 1110
         }
1111
-        
1111
+
1112 1112
         if(this.form.water_pressure!=""){
1113 1113
           this.form.water_pressure = parseFloat(this.form.water_pressure) == NaN ? 0:parseFloat(this.form.water_pressure)
1114 1114
         }else{
@@ -1118,15 +1118,15 @@
1118 1118
         if(this.form.temperature!=""){
1119 1119
           this.form.temperature = parseFloat(this.form.temperature)== NaN ? 0:parseFloat(this.form.temperature)
1120 1120
         }else{
1121
-          this.form.temperature = 0    
1121
+          this.form.temperature = 0
1122 1122
         }
1123
-        
1123
+
1124 1124
         if(this.form.force_pump_status!=""){
1125 1125
           this.form.force_pump_status = parseFloat(this.form.force_pump_status) ==  NaN ? 0: parseFloat(this.form.force_pump_status)
1126 1126
         }else{
1127 1127
             this.form.force_pump_status = 0
1128 1128
         }
1129
-        
1129
+
1130 1130
         if(this.form.first_ro_membrane_water!=""){
1131 1131
           this.form.first_ro_membrane_water = parseFloat(this.form.first_ro_membrane_water) == NaN?0:parseFloat(this.form.first_ro_membrane_water)
1132 1132
         }else{
@@ -1138,11 +1138,11 @@
1138 1138
         }else{
1139 1139
           this.form.first_ro_film_thick_water = 0
1140 1140
         }
1141
-        
1141
+
1142 1142
         if(this.form.first_ro_membrane_effluent!=""){
1143
-          this.form.first_ro_membrane_effluent =parseFloat(this.form.first_ro_membrane_effluent) == NaN?0:parseFloat(this.form.first_ro_membrane_effluent) 
1143
+          this.form.first_ro_membrane_effluent =parseFloat(this.form.first_ro_membrane_effluent) == NaN?0:parseFloat(this.form.first_ro_membrane_effluent)
1144 1144
         }else{
1145
-           this.form.first_ro_membrane_effluent = 0 
1145
+           this.form.first_ro_membrane_effluent = 0
1146 1146
         }
1147 1147
 
1148 1148
         if(this.form.first_production_of_water_conductivity!=""){
@@ -1150,37 +1150,37 @@
1150 1150
         }else{
1151 1151
           this.form.first_production_of_water_conductivity = 0
1152 1152
         }
1153
-        
1153
+
1154 1154
         if(this.form.first_water_yield !=""){
1155
-           this.form.first_water_yield = parseFloat(this.form.first_water_yield) == NaN?0:parseFloat(this.form.first_water_yield)  
1155
+           this.form.first_water_yield = parseFloat(this.form.first_water_yield) == NaN?0:parseFloat(this.form.first_water_yield)
1156 1156
         }else{
1157 1157
             this.form.first_water_yield =0
1158 1158
         }
1159
-       
1159
+
1160 1160
         if(this.form.last_ro_membrane_water!=""){
1161
-          this.form.last_ro_membrane_water = parseFloat(this.form.last_ro_membrane_water) ==NaN?0:parseFloat(this.form.last_ro_membrane_water)  
1161
+          this.form.last_ro_membrane_water = parseFloat(this.form.last_ro_membrane_water) ==NaN?0:parseFloat(this.form.last_ro_membrane_water)
1162 1162
         }else{
1163 1163
           this.form.last_ro_membrane_water = 0
1164 1164
         }
1165
-      
1165
+
1166 1166
         if(this.form.last_ro_membrane_effluent!=""){
1167 1167
           this.form.last_ro_membrane_effluent = parseFloat(this.form.last_ro_membrane_effluent) == NaN?0:parseFloat(this.form.last_ro_membrane_effluent)
1168 1168
         }else{
1169 1169
           this.form.last_ro_membrane_effluent = 0
1170 1170
         }
1171
-      
1171
+
1172 1172
         if(this.form.last_ro_film_thick_water!=""){
1173 1173
             this.form.last_ro_film_thick_water = parseFloat(this.form.last_ro_film_thick_water) == NaN?0:parseFloat(this.form.last_ro_film_thick_water)
1174 1174
         }else{
1175 1175
           this.form.last_ro_film_thick_water = 0
1176 1176
         }
1177
-   
1177
+
1178 1178
         if( this.form.last_production_of_water_conductivity!=""){
1179 1179
             this.form.last_production_of_water_conductivity = parseFloat(this.form.last_production_of_water_conductivity) == NaN?0:parseFloat(this.form.last_production_of_water_conductivity)
1180 1180
         }else{
1181 1181
             this.form.last_production_of_water_conductivity =0
1182 1182
         }
1183
-       
1183
+
1184 1184
         if(this.form.last_water_yield!=""){
1185 1185
             this.form.last_water_yield = parseFloat(this.form.last_water_yield)==NaN?0: parseFloat(this.form.last_water_yield)
1186 1186
         }else{
@@ -1192,25 +1192,25 @@
1192 1192
         }else{
1193 1193
             this.form.carbon_tank = 0
1194 1194
         }
1195
-        
1195
+
1196 1196
         if( this.form.snd_tank!=""){
1197 1197
             this.form.snd_tank = parseFloat(this.form.snd_tank) == NaN?0:parseFloat(this.form.snd_tank)
1198 1198
         }else{
1199 1199
             this.form.snd_tank = 0
1200 1200
         }
1201
-         
1201
+
1202 1202
         if(this.form.resin_tank!=""){
1203 1203
             this.form.resin_tank= parseFloat(this.form.resin_tank) ==NaN?0:parseFloat(this.form.resin_tank)
1204 1204
         }else{
1205 1205
             this.form.resin_tank= 0
1206 1206
         }
1207
-      
1207
+
1208 1208
         if( this.form.ultrafilter!=""){
1209 1209
             this.form.ultrafilter = parseFloat(this.form.ultrafilter)== NaN?0:parseFloat(this.form.ultrafilter)
1210 1210
         }else{
1211 1211
           this.form.ultrafilter = 0
1212 1212
         }
1213
-        
1213
+
1214 1214
         if(this.form.hardness_monitoring !=""){
1215 1215
             this.form.hardness_monitoring = parseFloat(this.form.hardness_monitoring) ==NaN?0: parseFloat(this.form.hardness_monitoring)
1216 1216
         }else{
@@ -1222,7 +1222,7 @@
1222 1222
         }else{
1223 1223
             this.form.total_chlorine_detection = 0
1224 1224
         }
1225
-        
1225
+
1226 1226
         if( this.form.ph_detection!=""){
1227 1227
             this.form.ph_detection = parseFloat(this.form.ph_detection) == NaN?0:parseFloat(this.form.ph_detection)
1228 1228
         }else{
@@ -1230,7 +1230,7 @@
1230 1230
         }
1231 1231
 
1232 1232
         if(this.form.concentration_of_peroxyacetic_acid!="" ){
1233
-            this.form.concentration_of_peroxyacetic_acid = parseFloat(this.form.concentration_of_peroxyacetic_acid) == NaN?0: parseFloat(this.form.concentration_of_peroxyacetic_acid)   
1233
+            this.form.concentration_of_peroxyacetic_acid = parseFloat(this.form.concentration_of_peroxyacetic_acid) == NaN?0: parseFloat(this.form.concentration_of_peroxyacetic_acid)
1234 1234
         }else{
1235 1235
             this.form.concentration_of_peroxyacetic_acid = 0
1236 1236
         }
@@ -1246,26 +1246,26 @@
1246 1246
         }else{
1247 1247
             this.form.first_disinfection_method = 0
1248 1248
         }
1249
-      
1250
-       
1249
+
1250
+
1251 1251
         if(this.form.last_disinfection_method !=""){
1252 1252
            this.form.last_disinfection_method = parseFloat(this.form.last_disinfection_method) == NaN?0:parseFloat(this.form.last_disinfection_method)
1253 1253
         }else{
1254 1254
             this.form.last_disinfection_method = 0
1255 1255
         }
1256
-       
1256
+
1257 1257
         if(this.form.first_disinfection_time !=""){
1258 1258
           this.form.first_disinfection_time = parseFloat(this.form.first_disinfection_time) == NaN?0:parseFloat(this.form.first_disinfection_time)
1259 1259
         }else{
1260 1260
             this.form.first_disinfection_time = 0
1261 1261
         }
1262
-        
1262
+
1263 1263
         if( this.form.last_disinfection_time!=""){
1264 1264
             this.form.last_disinfection_time = parseFloat(this.form.last_disinfection_time) == NaN?0:parseFloat(this.form.last_disinfection_time)
1265 1265
         }else{
1266
-            this.form.last_disinfection_time = 0  
1266
+            this.form.last_disinfection_time = 0
1267 1267
         }
1268
-      
1268
+
1269 1269
         if(this.form.filter_replacement!=""){
1270 1270
             this.form.filter_replacement = parseFloat(this.form.filter_replacement) == NaN?0:parseFloat(this.form.filter_replacement)
1271 1271
         }else{
@@ -1277,13 +1277,13 @@
1277 1277
         }else{
1278 1278
             this.form.admin_user_id =0
1279 1279
         }
1280
-        
1280
+
1281 1281
         if(this.form.disinfection_of_water_pipeline !=""){
1282 1282
             this.form.disinfection_of_water_pipeline = parseFloat(this.form.disinfection_of_water_pipeline) == NaN?0:parseFloat(this.form.disinfection_of_water_pipeline)
1283 1283
         }else{
1284 1284
             this.form.disinfection_of_water_pipeline =0
1285 1285
         }
1286
-      
1286
+
1287 1287
          this.$refs[formName].validate((valid) => {
1288 1288
           if (valid) {
1289 1289
             UpdateDilaysisWater(this.form,this.equimentid).then(response=>{

+ 8 - 6
src/xt_pages/management/home.vue Parādīt failu

@@ -941,7 +941,7 @@
941 941
                        <div class="userbutton">
942 942
                           <el-button type="primary" @click="ToReminders">自动生成使用登记</el-button>
943 943
                        </div>
944
-                     <div v-show="UserShow">
944
+                     <div v-show="UserShow" class="new-registration">
945 945
                         <el-tabs type="border-card" v-model="activeNameThree" @tab-click="handleClick">
946 946
                           <el-tab-pane label="新增使用登记" name="first">
947 947
 
@@ -1379,7 +1379,7 @@
1379 1379
                    </el-tab-pane>
1380 1380
 
1381 1381
                    <el-tab-pane label="质量控制" name="fourth">
1382
-                      <div v-show="zhiShow">
1382
+                      <div v-show="zhiShow" class="new-registration">
1383 1383
                        <el-tabs type="border-card" v-model="activeNameSix" @tab-click="handleClick">
1384 1384
                          <el-tab-pane label="新增质量控制" name="first">
1385 1385
 
@@ -5410,7 +5410,7 @@ export default {
5410 5410
         // top:4px;
5411 5411
         // z-index: 9;
5412 5412
         margin-bottom: 10px;
5413
-    margin-left: 90%;
5413
+        margin-left: 90%;
5414 5414
       }
5415 5415
     }
5416 5416
     .disinfectOne{
@@ -5456,14 +5456,16 @@ export default {
5456 5456
   }
5457 5457
   .el-form-item__error {
5458 5458
     margin-left: 130px;
5459
-    
5460 5459
   }
5461 5460
 
5462 5461
 </style>
5463 5462
 <style lang="scss">
5464
-    .el-form-item__error {
5465
-      left:103px !important;
5463
+    .new-registration{
5464
+      .el-form-item__error {
5465
+        left:103px ;
5466
+      }
5466 5467
     }
5468
+    
5467 5469
    .a{
5468 5470
      margin-bottom: 10px;
5469 5471
       margin-top: 6px;

+ 2 - 3
src/xt_pages/outpatientDoctorStation/template/printOne.vue Parādīt failu

@@ -154,11 +154,11 @@
154 154
           </p>
155 155
           <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
156 156
         </div>
157
-        <div class="doctorBoxtwo" v-if="org_id == 10188 || org_id == 0">
157
+        <div class="doctorBoxtwo" v-if="org_id == 10188">
158 158
           <p >审核、调配:</p>
159 159
           <p style="margin-right: 43px">药师:</p>
160 160
         </div>
161
-        <div class="doctorBox" v-if="org_id == 10188 || org_id == 0">
161
+        <div class="doctorBox" v-if="org_id == 10188">
162 162
           <p >核对、发药:</p>
163 163
           <p>医师:{{ item.doctor ? item.doctor : "" }}</p>
164 164
         </div>
@@ -534,7 +534,6 @@ export default {
534 534
   justify-content: space-between;
535 535
   padding: 0 10px;
536 536
   line-height: 24px;
537
-
538 537
 }
539 538
 .actionBar {
540 539
   display: flex;

+ 3 - 6
src/xt_pages/user/courseOfDisease.vue Parādīt failu

@@ -72,9 +72,9 @@
72 72
             <el-col :span="15">
73 73
               <div class="record_content_panel">
74 74
                 <div style="background-color:rgb(245, 247, 250)" class="title">病程内容</div>
75
-                <!--v-html="current_select_record.content"-->
75
+                
76 76
                 <div class="content">
77
-                  <span v-if="current_select_record" >{{current_select_record.content }}</span>
77
+                  <span v-if="current_select_record" v-html="current_select_record.content"></span>
78 78
                   <span v-else></span>
79 79
                 </div>
80 80
                 <!-- <el-form>
@@ -1034,15 +1034,12 @@
1034 1034
         this.table_current_index = row.index
1035 1035
       },
1036 1036
       print(){
1037
-        // if (this.table_current_index == -1) {
1038
-        //   this.$message.error('请选择要打印的病程')
1039
-        //   return
1040
-        // }
1041 1037
         if(this.ids.length == 0){
1042 1038
           this.$message.error('请选择要打印的病程')
1043 1039
           return
1044 1040
         }
1045 1041
         this.$router.push({ path: "/course/print?ids="+this.ids+"&patient_id="+this.patient_id});
1042
+        // this.$router.push({ path: "/physique/print?ids="+this.ids+"&patient_id="+this.patient_id});
1046 1043
       }
1047 1044
     }
1048 1045
   }

+ 229 - 0
src/xt_pages/user/physiqueprinting.vue Parādīt failu

@@ -0,0 +1,229 @@
1
+<template>
2
+    <div>
3
+        <div class="position">
4
+            <bread-crumb :crumbs='crumbs'></bread-crumb>
5
+            <el-button :loading="loading" size="small" icon="el-icon-printer" @click="printAction" type="primary">打印
6
+            </el-button>
7
+        </div>
8
+        <div class="app-container">
9
+            <div id="print_content">
10
+                <div class="print_page_main_content">
11
+                    
12
+                    <h1 style="text-align: center; padding-top:12px;">{{orgname}}血液净化治疗病历</h1> 
13
+                    <div style="border-bottom: 1px solid black;display: flex;padding-bottom: 10px;padding-top: 10px;">
14
+                        <div  style="flex:1;text-align: center;">
15
+                            姓名:
16
+                            <div  style="width: 120px;text-align: left;display:inline-block;">{{patient.name }}</div>
17
+                        </div>
18
+
19
+                        <div style="flex:1;text-align: center;" >
20
+                            病历号:
21
+                            <div  style="width: 120px;text-align: left;display:inline-block;">
22
+                                {{patient.disease_no?patient.disease_no:"/"}}
23
+                            </div>
24
+                        </div>
25
+
26
+                        <div style="flex:1;text-align: center;" >
27
+                           病区-床号:
28
+                            <div  style="width: 120px;text-align: left;display:inline-block;">
29
+                                {{patient.ward}}-{{patient.bed_no}}
30
+                            </div>
31
+                        </div>
32
+
33
+                        <div  style="flex:1;text-align: center;">
34
+                           接收日期:
35
+                            <div style="width: 100px;text-align: left;display:inline-block;">
36
+                                {{patient.date}}
37
+                            </div>
38
+                        </div>
39
+                    </div>
40
+
41
+                    <div style="display: flex; justify-self: start;margin-top: 5px ;">
42
+                        <div style="flex: 1;">性别:{{information.sex}}</div>
43
+                        <div style="flex: 1;">年龄:{{information.age}}</div>
44
+                        <div style="flex: 1;">出生日期:{{information.birthday}}</div>
45
+                    </div>
46
+                    <div style="display: flex; justify-self: start; margin-top: 5px ;">
47
+                        <div style="flex: 1;">身份证号:{{information.id_number}}</div>
48
+                        <div style="flex: 1;">病人来源:{{information.patient_source}}</div>
49
+                        <div style="flex: 1;">透析号:{{information.dialysis_num}}</div>
50
+                    </div>
51
+                    <div style="display: flex; justify-self: start; margin-top: 5px ;">
52
+                        <div style="flex: 1;">首次透析日期:{{information.first_date}}</div>
53
+                        <div style="flex: 1;">血型:{{information.blood_type}}</div>
54
+                        <div style="flex: 1;">报销方式:{{information.reimbursement}}</div>
55
+                    </div>
56
+                    <div style="display: flex; justify-self: start; margin-top: 5px ;">
57
+                        <div style="flex: 1;">工作单位:{{information.work_unit}}</div>
58
+                        <div style="flex: 1;">联系电话:{{information.contact_number}}</div>
59
+                        <div style="flex: 1;">家庭住址:{{information.home_address}}</div>
60
+                    </div>
61
+                    <div style="display: flex; justify-self: start; margin-top: 5px ;">
62
+                        <div style="flex: 1;">肾移植史:{{information.transplantation}}</div>
63
+                        <div style="flex: 1;">腹膜透析史:{{information.peritoneum}}</div>
64
+                        <div style="flex: 1;">过敏药物:{{information.allergy_drug}}</div>
65
+                    </div>
66
+
67
+                    <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
68
+                    <div>
69
+                        <div>主诉:</div>
70
+                        <div>{{ medical_history.chief_complaint }}</div>
71
+                        <div>现病史:</div>
72
+                        <div>{{ medical_history.present_disease }}</div>
73
+                        <div>既往史:</div>
74
+                        <div>{{ medical_history.past }}</div>
75
+                        <div>个人史:</div>
76
+                        <div>{{ medical_history.personal }}</div>
77
+                        <div>婚育史:</div>
78
+                        <div>{{ medical_history.marriage }}</div>
79
+                        <div>家族史:</div>
80
+                        <div>{{ medical_history.family }}</div>
81
+                    </div>
82
+                    <h3 style="text-align: center; margin: 30px 0px 10px 0px;">体格检查</h3>
83
+                    <div>
84
+                        <div style="display: flex; justify-self: start;">
85
+                            <div style="flex:1;text-align: center;">T: {{physique.temperature}}℃</div>
86
+                            <div style="flex:1;text-align: center;">P:{{ physique.heartbeat }}次/分</div>
87
+                            <div style="flex:1;text-align: center;">R:{{ physique.R }}次/分</div>
88
+                            <div style="flex:1;text-align: center;">Bp:{{ physique.Bp }}mmHg</div>
89
+                        </div>
90
+                        <div style="margin-top: 5px;">
91
+                            无贫血容貌,自主体位,无浮肿,出血点/瘀斑/血肿:无,发育正常,营养良好,神志:清楚
92
+                            {{ physique.anemia }}
93
+                        </div>
94
+                        <div style="margin-top: 5px;">
95
+                            <span style="font-weight: bold;">皮肤黏膜</span>:
96
+                            {{ physique.cutaneous }}
97
+                        </div>
98
+                        <div style="margin-top: 5px;">
99
+                            <span style="font-weight: bold;">淋巴结</span>:
100
+                            {{ physique.lymph_node }}
101
+                        </div>
102
+                        <div style="margin-top: 5px;">
103
+                            <span style="font-weight: bold;">头部</span>:
104
+                            {{ physique.head }}
105
+                        </div>
106
+                        <div style="margin-top: 5px;">
107
+                            <span style="font-weight: bold;">颈部</span>:    
108
+                            {{ physique.neck }}
109
+                        </div>
110
+                        <div style="margin-top: 5px;">
111
+                            <span style="font-weight: bold;">肺脏</span>:
112
+                            {{ physique.lung }}
113
+                        </div>
114
+                        <div style="margin-top: 5px;">
115
+                            <span style="font-weight: bold;">心脏</span>:
116
+                            {{ physique.heart }}
117
+                        </div>
118
+                        <div style="margin-top: 5px;">
119
+                            <span style="font-weight: bold;">腹部</span>:
120
+                            {{ physique.abdomen }}
121
+                        </div>
122
+                        <div style="margin-top: 5px;">
123
+                            <span style="font-weight: bold;">其他</span>:
124
+                             {{ physique.other }}
125
+                        </div>
126
+                    </div>
127
+
128
+                    <div style="margin-top: 30px;">
129
+                        <span style="font-weight: bold; display: block;">初步诊断:</span>
130
+                        {{ diagnosis }}                       
131
+                    </div>
132
+                </div>
133
+                
134
+                
135
+            </div>
136
+        </div>
137
+    </div>
138
+</template>
139
+
140
+<script>
141
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
142
+import print from "print-js";
143
+export default {
144
+    name:'physiquePrinting',
145
+    data() {
146
+        return {
147
+          crumbs: [
148
+            { path: false, name: '病人管理' },
149
+            { path: false, name: '病程打印' }
150
+          ],  
151
+          loading: false,
152
+          orgname:'',
153
+          patient:{
154
+            name:'',
155
+            disease_no:'',
156
+            ward:'',
157
+            bed_no:'',
158
+            date:'',
159
+          },
160
+          information:{
161
+            sex:'',
162
+            age:'',
163
+            birthday:'',
164
+            id_number:'',
165
+            patient_source:'',
166
+            dialysis_num:'',
167
+            first_date:'',
168
+            blood_type:'',
169
+            reimbursement:'',
170
+            work_unit:'',
171
+            contact_number:'',
172
+            home_address:'',
173
+            transplantation:'',
174
+            peritoneum:'',
175
+            allergy_drug:'',
176
+          },
177
+          medical_history:{
178
+            chief_complaint:'',
179
+            present_disease:'',
180
+            past:'',
181
+            personal:'',
182
+            marriage:'',
183
+            family:'',
184
+          },
185
+          physique:{
186
+            temperature:'',
187
+            heartbeat:'',
188
+            R:'',
189
+            Bp:'',
190
+            anemia:'',
191
+            cutaneous:'',
192
+            lymph_node:'',
193
+            head:'',
194
+            neck:'',
195
+            lung:'',
196
+            heart:'',
197
+            abdomen:'',
198
+            other:''
199
+          },
200
+          diagnosis:'',
201
+        }
202
+    },
203
+    components: {
204
+      BreadCrumb
205
+    },
206
+    methods: {
207
+        printAction: function () {
208
+            const style = '@media print {.printP div{margin-bottom:5px;} .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; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; 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 50px;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: 20px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.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: 5px 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: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
209
+            printJS({
210
+                printable: 'print_content',
211
+                type: 'html',
212
+                documentTitle: '  ',
213
+                style: style,
214
+                scanStyles: false
215
+            })
216
+        },
217
+    }
218
+}
219
+</script>
220
+<style scoped>
221
+.print_page_main_content {
222
+    background-color: white;
223
+    width: 960px;
224
+    margin: 0 auto 50px;
225
+    padding: 0 0 0 0;
226
+    page-break-after: always;
227
+}
228
+
229
+</style>

+ 80 - 2
src/xt_pages/workforce/components/tableData.vue Parādīt failu

@@ -74,7 +74,85 @@
74 74
       </div>
75 75
     </div>
76 76
 
77
-    <el-dialog :visible.sync="searchTableVisible" width="80%" class="eldialog">
77
+    <!-- <el-dialog :visible.sync="searchTableVisible" width="80%" class="eldialog">
78
+      <div style="position: relative;">
79
+        <el-table
80
+          :data="schedulePatients"
81
+          :header-cell-style="{
82
+            backgroundColor: 'rgb(245, 247, 250)',
83
+            color: '#606266'
84
+          }"
85
+          :row-style="{ color: '#303133' }"
86
+          style="width: 100%"
87
+          border
88
+        >
89
+          <el-table-column label="姓名" width="120">
90
+            <template slot-scope="scope">
91
+              {{ scope.row.patient }}
92
+            </template>
93
+          </el-table-column>
94
+          <el-table-column label="透析日期" width="200">
95
+            <template slot-scope="scope">
96
+              {{ getDialysisDate(scope.row) }}
97
+            </template>
98
+          </el-table-column>
99
+          <el-table-column label="分区">
100
+            <template slot-scope="scope">
101
+              {{ scope.row.zone.name }}
102
+            </template>
103
+          </el-table-column>
104
+          <el-table-column label="班次" width="80">
105
+            <template slot-scope="scope">
106
+              {{ getSchedulesType(scope.row.schedule_type,scope.row) }}
107
+            </template>
108
+          </el-table-column>
109
+          <el-table-column label="机号" width="80">
110
+            <template slot-scope="scope">
111
+              {{ scope.row.number.number }}
112
+            </template>
113
+          </el-table-column>
114
+          <el-table-column label="透析模式" width="100">
115
+            <template slot-scope="scope">
116
+              {{ scope.row.mode.name }}
117
+            </template>
118
+          </el-table-column>
119
+          <el-table-column label="操作" align="center" width="300">
120
+            <template slot-scope="scope">
121
+              <span v-if="now_time <=scope.row.schedule_date">
122
+                <el-button
123
+                size="mini"
124
+                type="primary"
125
+                @click="CancelSchedule(scope.row.id)"
126
+              >
127
+                取消排班
128
+              </el-button>
129
+              <el-button
130
+                size="mini"
131
+                type="primary"
132
+                @click="changeMachineNumber(scope.$index, scope.row)"
133
+              >
134
+                调整机号
135
+              </el-button>
136
+              <el-button
137
+                size="mini"
138
+                type="primary"
139
+                @click="changeMode(scope.$index, scope.row)"
140
+              >
141
+                调整模式
142
+              </el-button>
143
+              </span>
144
+            </template>
145
+          </el-table-column>
146
+        </el-table>
147
+      </div>
148
+    </el-dialog> -->
149
+
150
+    <el-dialog
151
+      title="提示"
152
+      :visible.sync="searchTableVisible"
153
+      width="80%"
154
+      
155
+      class="eldialog">
78 156
       <div style="position: relative;">
79 157
         <el-table
80 158
           :data="schedulePatients"
@@ -146,7 +224,7 @@
146 224
         </el-table>
147 225
       </div>
148 226
     </el-dialog>
149
-    
227
+
150 228
     <div class="center-tab">
151 229
       <el-table
152 230
         :row-style="{ color: '#303133' }"