瀏覽代碼

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

陈少旭 2 年之前
父節點
當前提交
4609dadce8

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

233
     }
233
     }
234
   },
234
   },
235
   {
235
   {
236
-    path: '/course/print',
236
+    path: '/course/print',//coursePrint
237
     component: () => import('@/xt_pages/user/coursePrint'),
237
     component: () => import('@/xt_pages/user/coursePrint'),
238
     hidden: true,
238
     hidden: true,
239
     is_menu: false,
239
     is_menu: false,
243
       noCache: true
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
     path: '/patient/patient/templateSummary/print',
258
     path: '/patient/patient/templateSummary/print',
248
     component: () => import('@/xt_pages/user/templateSummaryPrint'),
259
     component: () => import('@/xt_pages/user/templateSummaryPrint'),

+ 286 - 57
src/xt_pages/device/airDisinfectTwo.vue 查看文件

44
                 </el-table-column>
44
                 </el-table-column>
45
                 <el-table-column prop="fenopda" label="透析室" align="center" min-width="70">
45
                 <el-table-column prop="fenopda" label="透析室" align="center" min-width="70">
46
                     <template slot-scope="scope">
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
                     </template>
48
                     </template>
49
                 </el-table-column>
49
                 </el-table-column>
50
                 <el-table-column prop="dwaiod" label="累计时间" align="center" min-width="50">
50
                 <el-table-column prop="dwaiod" label="累计时间" align="center" min-width="50">
54
                 </el-table-column>
54
                 </el-table-column>
55
                 <el-table-column prop="date" label="责任人" align="center" min-width="50">
55
                 <el-table-column prop="date" label="责任人" align="center" min-width="50">
56
                     <template slot-scope="scope">
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
                     </template>
64
                     </template>
59
                 </el-table-column>
65
                 </el-table-column>
60
 
66
 
70
                 </el-table-column>
76
                 </el-table-column>
71
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
77
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
72
                     <template slot-scope="scope">
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
                    </template>
86
                    </template>
75
                 </el-table-column>
87
                 </el-table-column>
76
 
88
 
86
                 </el-table-column>
98
                 </el-table-column>
87
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
99
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
88
                     <template slot-scope="scope">
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
                     </template>
108
                     </template>
91
                 </el-table-column>
109
                 </el-table-column>
92
 
110
 
97
                 </el-table-column>
115
                 </el-table-column>
98
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
116
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
99
                     <template slot-scope="scope">
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
                     </template>
125
                     </template>
102
                 </el-table-column>
126
                 </el-table-column>
103
                 <el-table-column prop="city" label="操作" align="center" min-width="150">
127
                 <el-table-column prop="city" label="操作" align="center" min-width="150">
123
               @size-change="handleSizeChange"
147
               @size-change="handleSizeChange"
124
               @current-change="handleCurrentChange"
148
               @current-change="handleCurrentChange"
125
           >
149
           >
126
-           
150
+
127
           </el-pagination>
151
           </el-pagination>
128
          </div>
152
          </div>
129
 
153
 
146
                   </div>
170
                   </div>
147
                   <div class="form_title"><span >透析室</span></div>
171
                   <div class="form_title"><span >透析室</span></div>
148
                   <el-form-item label="消毒液" label-width="110px">
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
                   </el-form-item>
182
                   </el-form-item>
151
                   <el-form-item label="消毒方式" label-width="110px">
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
                   </el-form-item>
193
                   </el-form-item>
154
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
196
                   </el-form-item>
157
                   <el-form-item label="开始时间" label-width="110px">
197
                   <el-form-item label="开始时间" label-width="110px">
158
                     <el-date-picker
198
                     <el-date-picker
161
                         value-format="yyyy-MM-dd HH:mm"
201
                         value-format="yyyy-MM-dd HH:mm"
162
                         placeholder="选择时间"
202
                         placeholder="选择时间"
163
                         v-model="form.first_start_time"
203
                         v-model="form.first_start_time"
204
+                        @change="firststartime"
164
                         style="width:100%;"
205
                         style="width:100%;"
165
                     ></el-date-picker>
206
                     ></el-date-picker>
166
                   </el-form-item>
207
                   </el-form-item>
171
                         value-format="yyyy-MM-dd HH:mm"
212
                         value-format="yyyy-MM-dd HH:mm"
172
                         placeholder="选择时间"
213
                         placeholder="选择时间"
173
                         v-model="form.first_end_time"
214
                         v-model="form.first_end_time"
215
+                        @change="firstendtime"
174
                         style="width:100%;"
216
                         style="width:100%;"
175
                      ></el-date-picker>
217
                      ></el-date-picker>
176
                   </el-form-item>
218
                   </el-form-item>
204
                       </el-select>
246
                       </el-select>
205
                   </el-form-item>
247
                   </el-form-item>
206
 
248
 
207
-
208
                   <div class="form_title"><span >治疗室</span></div>
249
                   <div class="form_title"><span >治疗室</span></div>
209
                   <el-form-item label="消毒液" label-width="110px">
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
                   </el-form-item>
260
                   </el-form-item>
212
                   <el-form-item label="消毒方式" label-width="110px">
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
                   </el-form-item>
271
                   </el-form-item>
215
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
274
                   </el-form-item>
218
                   <el-form-item label="开始时间" label-width="110px">
275
                   <el-form-item label="开始时间" label-width="110px">
219
                     <el-date-picker
276
                     <el-date-picker
222
                         value-format="yyyy-MM-dd HH:mm"
279
                         value-format="yyyy-MM-dd HH:mm"
223
                         placeholder="选择时间"
280
                         placeholder="选择时间"
224
                         v-model="form.sencond_start_time"
281
                         v-model="form.sencond_start_time"
282
+                        @change="sencondstarttime"
225
                         style="width:100%;"
283
                         style="width:100%;"
226
                     ></el-date-picker>
284
                     ></el-date-picker>
227
                   </el-form-item>
285
                   </el-form-item>
232
                         value-format="yyyy-MM-dd HH:mm"
290
                         value-format="yyyy-MM-dd HH:mm"
233
                         placeholder="选择时间"
291
                         placeholder="选择时间"
234
                         v-model="form.sencond_end_time"
292
                         v-model="form.sencond_end_time"
293
+                        @change="sencondendtime"
235
                         style="width:100%;"
294
                         style="width:100%;"
236
                     ></el-date-picker>
295
                     ></el-date-picker>
237
                   </el-form-item>
296
                   </el-form-item>
268
 
327
 
269
                   <div class="form_title"><span >水处理、库房</span></div>
328
                   <div class="form_title"><span >水处理、库房</span></div>
270
                   <el-form-item label="消毒液" label-width="110px">
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
                   </el-form-item>
339
                   </el-form-item>
273
                   <el-form-item label="消毒方式" label-width="110px">
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
                   </el-form-item>
350
                   </el-form-item>
276
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
353
                   </el-form-item>
279
                   <el-form-item label="开始时间"  label-width="110px">
354
                   <el-form-item label="开始时间"  label-width="110px">
280
                     <el-date-picker
355
                     <el-date-picker
283
                         value-format="yyyy-MM-dd HH:mm"
358
                         value-format="yyyy-MM-dd HH:mm"
284
                         placeholder="选择时间"
359
                         placeholder="选择时间"
285
                         v-model="form.third_start_time"
360
                         v-model="form.third_start_time"
361
+                        @change="thirdstarttime"
286
                         style="width:100%;"
362
                         style="width:100%;"
287
                     ></el-date-picker>
363
                     ></el-date-picker>
288
                   </el-form-item>
364
                   </el-form-item>
293
                         value-format="yyyy-MM-dd HH:mm"
369
                         value-format="yyyy-MM-dd HH:mm"
294
                         placeholder="选择时间"
370
                         placeholder="选择时间"
295
                         v-model="form.third_end_time"
371
                         v-model="form.third_end_time"
372
+                        @change="thirdendtime"
296
                         style="width:100%;"
373
                         style="width:100%;"
297
                     ></el-date-picker>
374
                     ></el-date-picker>
298
                   </el-form-item>
375
                   </el-form-item>
404
                   </div>
481
                   </div>
405
                   <div class="form_title"><span >透析室</span></div>
482
                   <div class="form_title"><span >透析室</span></div>
406
                   <el-form-item label="消毒液" label-width="110px">
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
                   </el-form-item>
493
                   </el-form-item>
409
                   <el-form-item label="消毒方式" label-width="110px">
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
                   </el-form-item>
504
                   </el-form-item>
412
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
507
                   </el-form-item>
415
                   <el-form-item label="开始时间" label-width="110px">
508
                   <el-form-item label="开始时间" label-width="110px">
416
                     <el-date-picker
509
                     <el-date-picker
419
                         value-format="yyyy-MM-dd HH:mm"
512
                         value-format="yyyy-MM-dd HH:mm"
420
                         placeholder="选择时间"
513
                         placeholder="选择时间"
421
                         v-model="form.first_start_time"
514
                         v-model="form.first_start_time"
515
+                        @change="firststartime"
422
                         style="width:100%;"
516
                         style="width:100%;"
423
                     ></el-date-picker>
517
                     ></el-date-picker>
424
                   </el-form-item>
518
                   </el-form-item>
429
                         value-format="yyyy-MM-dd HH:mm"
523
                         value-format="yyyy-MM-dd HH:mm"
430
                         placeholder="选择时间"
524
                         placeholder="选择时间"
431
                         v-model="form.first_end_time"
525
                         v-model="form.first_end_time"
526
+                        @change="firstendtime"
432
                         style="width:100%;"
527
                         style="width:100%;"
433
                     ></el-date-picker>
528
                     ></el-date-picker>
434
                   </el-form-item>
529
                   </el-form-item>
461
                           </el-option>
556
                           </el-option>
462
                       </el-select>
557
                       </el-select>
463
                   </el-form-item>
558
                   </el-form-item>
559
+
464
                   <div class="form_title"><span >治疗室</span></div>
560
                   <div class="form_title"><span >治疗室</span></div>
465
                   <el-form-item label="消毒液" label-width="110px">
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
                   </el-form-item>
571
                   </el-form-item>
468
                   <el-form-item label="消毒方式" label-width="110px">
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
                   </el-form-item>
582
                   </el-form-item>
471
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
585
                   </el-form-item>
474
                   <el-form-item label="开始时间" required label-width="110px">
586
                   <el-form-item label="开始时间" required label-width="110px">
475
                     <el-date-picker
587
                     <el-date-picker
488
                         value-format="yyyy-MM-dd HH:mm"
600
                         value-format="yyyy-MM-dd HH:mm"
489
                         placeholder="选择时间"
601
                         placeholder="选择时间"
490
                         v-model="form.sencond_end_time"
602
                         v-model="form.sencond_end_time"
603
+                        @change="sencondendtime"
491
                         style="width:100%;"
604
                         style="width:100%;"
492
                     ></el-date-picker>
605
                     ></el-date-picker>
493
                   </el-form-item>
606
                   </el-form-item>
522
                   </el-form-item>
635
                   </el-form-item>
523
                   <div class="form_title"><span >水处理、库房</span></div>
636
                   <div class="form_title"><span >水处理、库房</span></div>
524
                   <el-form-item label="消毒液" label-width="110px">
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
                   </el-form-item>
647
                   </el-form-item>
527
                   <el-form-item label="消毒方式" label-width="110px">
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
                   </el-form-item>
658
                   </el-form-item>
530
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
661
                   </el-form-item>
533
                   <el-form-item label="开始时间"  label-width="110px">
662
                   <el-form-item label="开始时间"  label-width="110px">
534
                     <el-date-picker
663
                     <el-date-picker
537
                         value-format="yyyy-MM-dd HH:mm"
666
                         value-format="yyyy-MM-dd HH:mm"
538
                         placeholder="选择时间"
667
                         placeholder="选择时间"
539
                         v-model="form.third_start_time"
668
                         v-model="form.third_start_time"
669
+                        @change="thirdstarttime"
540
                         style="width:100%;"
670
                         style="width:100%;"
541
                     ></el-date-picker>
671
                     ></el-date-picker>
542
                   </el-form-item>
672
                   </el-form-item>
547
                         value-format="yyyy-MM-dd HH:mm"
677
                         value-format="yyyy-MM-dd HH:mm"
548
                         placeholder="选择时间"
678
                         placeholder="选择时间"
549
                         v-model="form.third_end_time"
679
                         v-model="form.third_end_time"
680
+                         @change="thirdendtime"
550
                         style="width:100%;"
681
                         style="width:100%;"
551
                     ></el-date-picker>
682
                     ></el-date-picker>
552
                   </el-form-item>
683
                   </el-form-item>
579
                           </el-option>
710
                           </el-option>
580
                       </el-select>
711
                       </el-select>
581
                   </el-form-item>
712
                   </el-form-item>
713
+
582
                   <div class="form_title"><span >通风</span></div>
714
                   <div class="form_title"><span >通风</span></div>
583
                   <el-form-item label="开始时间"  label-width="110px">
715
                   <el-form-item label="开始时间"  label-width="110px">
584
                     <el-date-picker
716
                     <el-date-picker
649
                                     <span style="position: absolute; right: 10px; top: 10px; font-size: 12px;">名称</span>
781
                                     <span style="position: absolute; right: 10px; top: 10px; font-size: 12px;">名称</span>
650
 
782
 
651
                                     <span style="position: absolute; display: block; top: 0; left: 46px; width: 100px;
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
                                     transform-origin: top left;"></span>
785
                                     transform-origin: top left;"></span>
654
 
786
 
655
                                     <span style="position: absolute; right: 45px; top: 23px;font-size: 12px;">消毒 <br/>时间</span>
787
                                     <span style="position: absolute; right: 45px; top: 23px;font-size: 12px;">消毒 <br/>时间</span>
656
                                     <span style="position: absolute; display: block; top: 46px; left: 0; width: 113px;
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
                                     transform-origin: top left;"></span>
790
                                     transform-origin: top left;"></span>
659
                                     <span style="position: absolute; left: 6px; bottom: 6px;font-size: 12px;">日期</span>
791
                                     <span style="position: absolute; left: 6px; bottom: 6px;font-size: 12px;">日期</span>
660
                                 </td>
792
                                 </td>
671
                                 <td>负责人</td>
803
                                 <td>负责人</td>
672
                             </tr>
804
                             </tr>
673
                             <tr v-for="(item,index) in tableData" :key="index">
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
                                <td>{{ getTimeTwo(item.first_start_time)}} - {{ getTimeTwo(item.first_end_time) }}</td>
807
                                <td>{{ getTimeTwo(item.first_start_time)}} - {{ getTimeTwo(item.first_end_time) }}</td>
676
                                <td>{{item.first_total_time }}</td>
808
                                <td>{{item.first_total_time }}</td>
677
                                <td>{{getName(item.first_creator)}}</td>
809
                                <td>{{getName(item.first_creator)}}</td>
720
             record_date:moment(new Date()).add('year',0).format("YYYY-MM-DD"), //创建日期
852
             record_date:moment(new Date()).add('year',0).format("YYYY-MM-DD"), //创建日期
721
             first_disinfection_water:"",// 消毒液
853
             first_disinfection_water:"",// 消毒液
722
             first_disinfection_methods:"",//消毒方式
854
             first_disinfection_methods:"",//消毒方式
723
-            first_disinfection_time:"",//消毒时长
855
+            first_disinfection_time:'',//消毒时长
724
             first_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
856
             first_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
725
             first_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
857
             first_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
726
             first_total_time:"",//累计时间
858
             first_total_time:"",//累计时间
740
 
872
 
741
             third_disinfection_water:"",// 消毒液
873
             third_disinfection_water:"",// 消毒液
742
             third_disinfection_methods:"",//消毒方式
874
             third_disinfection_methods:"",//消毒方式
743
-            third_disinfection_time:"",//消毒时长
875
+            third_disinfection_time:'',//消毒时长
744
             third_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
876
             third_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
745
             third_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
877
             third_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
746
             third_total_time:"",//累计时间
878
             third_total_time:"",//累计时间
770
          total:0,
902
          total:0,
771
          tableData: [],
903
          tableData: [],
772
          hiddenShow:false,
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
       created(){
923
       created(){
776
         console.log("00000000000000000",this.$store.getters.xt_user.user.id)
924
         console.log("00000000000000000",this.$store.getters.xt_user.user.id)
777
         this.getAllDoctorList()
925
         this.getAllDoctorList()
778
         this.getNewAirDisinfectList()
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
       methods:{
960
       methods:{
781
       handleSizeChange(val) {
961
       handleSizeChange(val) {
787
         this.getNewAirDisinfectList()
967
         this.getNewAirDisinfectList()
788
       },
968
       },
789
         changeStartime(val){
969
         changeStartime(val){
790
-          
791
           this.getNewAirDisinfectList()
970
           this.getNewAirDisinfectList()
792
         },
971
         },
793
         changeEndtime(){
972
         changeEndtime(){
799
                var list = response.data.data.list
978
                var list = response.data.data.list
800
                console.log("list222222",list)
979
                console.log("list222222",list)
801
                this.docList = list
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
         saveNewAirDisinfect(formName){
995
         saveNewAirDisinfect(formName){
806
           this.$refs[formName].validate((valid)=>{
996
           this.$refs[formName].validate((valid)=>{
810
                 }else{
1000
                 }else{
811
                   this.form.first_is_check = 0
1001
                   this.form.first_is_check = 0
812
                 }
1002
                 }
813
-                
1003
+
814
                 if( this.form.sencond_is_check!=""){
1004
                 if( this.form.sencond_is_check!=""){
815
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
1005
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
816
                 }else{
1006
                 }else{
817
                     this.form.sencond_is_check = ""
1007
                     this.form.sencond_is_check = ""
818
                 }
1008
                 }
819
-                
1009
+
820
                 if( this.form.third_is_check!=""){
1010
                 if( this.form.third_is_check!=""){
821
                    this.form.third_is_check = parseInt(this.form.third_is_check)
1011
                    this.form.third_is_check = parseInt(this.form.third_is_check)
822
                 }else{
1012
                 }else{
827
                 }else{
1017
                 }else{
828
                   this.form.last_is_check = 0
1018
                   this.form.last_is_check = 0
829
                 }
1019
                 }
830
-                
1020
+
831
                 if(this.form.first_modifications!=""){
1021
                 if(this.form.first_modifications!=""){
832
                   this.form.first_modifications = parseInt(this.form.first_modifications)
1022
                   this.form.first_modifications = parseInt(this.form.first_modifications)
833
                 }else{
1023
                 }else{
834
-                    this.form.first_modifications =0  
1024
+                    this.form.first_modifications =0
835
                 }
1025
                 }
836
 
1026
 
837
                 if(this.form.sencond_modifications!=""){
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
                 }else{
1029
                 }else{
840
                     this.form.sencond_modifications =0
1030
                     this.form.sencond_modifications =0
841
                 }
1031
                 }
842
-                
1032
+
843
                 if(this.form.third_modifications!=""){
1033
                 if(this.form.third_modifications!=""){
844
                    this.form.third_modifications = parseInt(this.form.third_modifications)
1034
                    this.form.third_modifications = parseInt(this.form.third_modifications)
845
                 }else{
1035
                 }else{
846
-                    this.form.third_modifications= 0   
1036
+                    this.form.third_modifications= 0
847
                 }
1037
                 }
848
-                
1038
+
849
                 if(this.form.last_modifications!=""){
1039
                 if(this.form.last_modifications!=""){
850
                     this.form.last_modifications = parseInt(this.form.last_modifications)
1040
                     this.form.last_modifications = parseInt(this.form.last_modifications)
851
                 }else{
1041
                 }else{
852
                     this.form.last_modifications= 0
1042
                     this.form.last_modifications= 0
853
                 }
1043
                 }
854
-            
855
-            
856
-            
857
-              
858
               console.log("this232322323",this.form)
1044
               console.log("this232322323",this.form)
859
               saveNewAirDisinfect(this.form).then(response=>{
1045
               saveNewAirDisinfect(this.form).then(response=>{
860
                  if(response.data.state == 1 ){
1046
                  if(response.data.state == 1 ){
862
                    this.$message.success("保存成功!")
1048
                    this.$message.success("保存成功!")
863
                    this.dialogFormVisible = false
1049
                    this.dialogFormVisible = false
864
                    this.getNewAirDisinfectList()
1050
                    this.getNewAirDisinfectList()
1051
+                   this.$refs[formName].resetFields();
865
                  }
1052
                  }
866
               })
1053
               })
867
             }
1054
             }
1055
+
868
           })
1056
           })
869
 
1057
 
870
         },
1058
         },
944
               this.form.last_modifications = list.last_modifications?list.last_modifications:""
1132
               this.form.last_modifications = list.last_modifications?list.last_modifications:""
945
               this.form.last_creator = list.last_creator
1133
               this.form.last_creator = list.last_creator
946
               this.editDialogFormVisible = true
1134
               this.editDialogFormVisible = true
947
-             
1135
+
948
             }
1136
             }
949
          })
1137
          })
950
        },
1138
        },
951
        updateAirDisinfect(formName){
1139
        updateAirDisinfect(formName){
952
-        
1140
+
953
          this.$refs[formName].validate((valid)=>{
1141
          this.$refs[formName].validate((valid)=>{
954
             if(valid){
1142
             if(valid){
955
                 if(this.form.first_is_check!=""){
1143
                 if(this.form.first_is_check!=""){
957
                 }else{
1145
                 }else{
958
                   this.form.first_is_check = 0
1146
                   this.form.first_is_check = 0
959
                 }
1147
                 }
960
-                
1148
+
961
                 if( this.form.sencond_is_check!=""){
1149
                 if( this.form.sencond_is_check!=""){
962
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
1150
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
963
                 }else{
1151
                 }else{
964
                     this.form.sencond_is_check = ""
1152
                     this.form.sencond_is_check = ""
965
                 }
1153
                 }
966
-                
1154
+
967
                 if( this.form.third_is_check!=""){
1155
                 if( this.form.third_is_check!=""){
968
                    this.form.third_is_check = parseInt(this.form.third_is_check)
1156
                    this.form.third_is_check = parseInt(this.form.third_is_check)
969
                 }else{
1157
                 }else{
974
                 }else{
1162
                 }else{
975
                   this.form.last_is_check = 0
1163
                   this.form.last_is_check = 0
976
                 }
1164
                 }
977
-                
1165
+
978
                 if(this.form.first_modifications!=""){
1166
                 if(this.form.first_modifications!=""){
979
                   this.form.first_modifications = parseInt(this.form.first_modifications)
1167
                   this.form.first_modifications = parseInt(this.form.first_modifications)
980
                 }else{
1168
                 }else{
981
-                    this.form.first_modifications =0  
1169
+                    this.form.first_modifications =0
982
                 }
1170
                 }
983
 
1171
 
984
                 if(this.form.sencond_modifications!=""){
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
                 }else{
1174
                 }else{
987
                     this.form.sencond_modifications =0
1175
                     this.form.sencond_modifications =0
988
                 }
1176
                 }
989
-                
1177
+
990
                 if(this.form.third_modifications!=""){
1178
                 if(this.form.third_modifications!=""){
991
                    this.form.third_modifications = parseInt(this.form.third_modifications)
1179
                    this.form.third_modifications = parseInt(this.form.third_modifications)
992
                 }else{
1180
                 }else{
993
-                    this.form.third_modifications= 0   
1181
+                    this.form.third_modifications= 0
994
                 }
1182
                 }
995
-                
1183
+
996
                 if(this.form.last_modifications!=""){
1184
                 if(this.form.last_modifications!=""){
997
                     this.form.last_modifications = parseInt(this.form.last_modifications)
1185
                     this.form.last_modifications = parseInt(this.form.last_modifications)
998
                 }else{
1186
                 }else{
999
                     this.form.last_modifications= 0
1187
                     this.form.last_modifications= 0
1000
                 }
1188
                 }
1001
-            
1189
+
1002
               updateAirDisinfect(this.form).then(response=>{
1190
               updateAirDisinfect(this.form).then(response=>{
1003
                 if(response.data.state == 1){
1191
                 if(response.data.state == 1){
1004
                   var disinfect =  response.data.data.disinfect
1192
                   var disinfect =  response.data.data.disinfect
1005
                   this.editDialogFormVisible = false
1193
                   this.editDialogFormVisible = false
1006
                   this.getNewAirDisinfectList()
1194
                   this.getNewAirDisinfectList()
1195
+                  this.$refs[formName].resetFields()
1007
                 }
1196
                 }
1008
              })
1197
              })
1009
             }
1198
             }
1010
-           
1199
+
1011
          })
1200
          })
1201
+
1012
        },
1202
        },
1013
        handleDelete(id){
1203
        handleDelete(id){
1014
          deleteNewAirDisInfect(id).then(response=>{
1204
          deleteNewAirDisInfect(id).then(response=>{
1037
               });
1227
               });
1038
             }, 1);
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
   </script>
1271
   </script>
1043
 
1272
 

+ 106 - 13
src/xt_pages/device/objectTableDisinfectTwo.vue 查看文件

142
                       <el-input v-model="form.first_disinfection_water"></el-input>
142
                       <el-input v-model="form.first_disinfection_water"></el-input>
143
                   </el-form-item>
143
                   </el-form-item>
144
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
146
                   </el-form-item>
147
                   <el-form-item label="开始时间" label-width="110px">
147
                   <el-form-item label="开始时间" label-width="110px">
148
                     <el-date-picker
148
                     <el-date-picker
151
                         value-format="yyyy-MM-dd HH:mm"
151
                         value-format="yyyy-MM-dd HH:mm"
152
                         placeholder="选择时间"
152
                         placeholder="选择时间"
153
                         v-model="form.first_start_time"
153
                         v-model="form.first_start_time"
154
+                        @change="firststartime"
154
                         style="width:100%;"
155
                         style="width:100%;"
155
                     ></el-date-picker>
156
                     ></el-date-picker>
156
                   </el-form-item>
157
                   </el-form-item>
161
                         value-format="yyyy-MM-dd HH:mm"
162
                         value-format="yyyy-MM-dd HH:mm"
162
                         placeholder="选择时间"
163
                         placeholder="选择时间"
163
                         v-model="form.first_end_time"
164
                         v-model="form.first_end_time"
165
+                        @change="firstendtime"
164
                         style="width:100%;"
166
                         style="width:100%;"
165
                     ></el-date-picker>
167
                     ></el-date-picker>
166
                   </el-form-item>
168
                   </el-form-item>
202
                       <el-input v-model="form.sencond_disinfection_water"></el-input>
204
                       <el-input v-model="form.sencond_disinfection_water"></el-input>
203
                   </el-form-item>
205
                   </el-form-item>
204
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
208
                   </el-form-item>
207
                   <el-form-item label="开始时间"  label-width="110px">
209
                   <el-form-item label="开始时间"  label-width="110px">
208
                     <el-date-picker
210
                     <el-date-picker
211
                         value-format="yyyy-MM-dd HH:mm"
213
                         value-format="yyyy-MM-dd HH:mm"
212
                         placeholder="选择时间"
214
                         placeholder="选择时间"
213
                         v-model="form.sencond_start_time"
215
                         v-model="form.sencond_start_time"
216
+                        @change="sencondstarttime"
214
                         style="width:100%;"
217
                         style="width:100%;"
215
                     ></el-date-picker>
218
                     ></el-date-picker>
216
                   </el-form-item> 
219
                   </el-form-item> 
221
                         value-format="yyyy-MM-dd HH:mm"
224
                         value-format="yyyy-MM-dd HH:mm"
222
                         placeholder="选择时间"
225
                         placeholder="选择时间"
223
                         v-model="form.sencond_end_time"
226
                         v-model="form.sencond_end_time"
227
+                        @change="sencondendtime"
224
                         style="width:100%;"
228
                         style="width:100%;"
225
                     ></el-date-picker>
229
                     ></el-date-picker>
226
                   </el-form-item>
230
                   </el-form-item>
262
                       <el-input v-model="form.third_disinfection_water"></el-input>
266
                       <el-input v-model="form.third_disinfection_water"></el-input>
263
                   </el-form-item>
267
                   </el-form-item>
264
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
270
                   </el-form-item>
267
                   <el-form-item label="开始时间"  label-width="110px">
271
                   <el-form-item label="开始时间"  label-width="110px">
268
                     <el-date-picker
272
                     <el-date-picker
271
                         value-format="yyyy-MM-dd HH:mm"
275
                         value-format="yyyy-MM-dd HH:mm"
272
                         placeholder="选择时间"
276
                         placeholder="选择时间"
273
                         v-model="form.third_start_time"
277
                         v-model="form.third_start_time"
278
+                        @change="thirdstarttime"
274
                         style="width:100%;"
279
                         style="width:100%;"
275
                     ></el-date-picker>
280
                     ></el-date-picker>
276
                   </el-form-item>
281
                   </el-form-item>
281
                         value-format="yyyy-MM-dd HH:mm"
286
                         value-format="yyyy-MM-dd HH:mm"
282
                         placeholder="选择时间"
287
                         placeholder="选择时间"
283
                         v-model="form.third_end_time"
288
                         v-model="form.third_end_time"
289
+                        @change="thirdendtime"
284
                         style="width:100%;"
290
                         style="width:100%;"
285
                     ></el-date-picker>
291
                     ></el-date-picker>
286
                   </el-form-item>
292
                   </el-form-item>
322
                       <el-input v-model="form.fourth_disinfection_water"></el-input>
328
                       <el-input v-model="form.fourth_disinfection_water"></el-input>
323
                   </el-form-item>
329
                   </el-form-item>
324
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
332
                   </el-form-item>
327
                   <el-form-item label="开始时间"  label-width="110px">
333
                   <el-form-item label="开始时间"  label-width="110px">
328
                     <el-date-picker
334
                     <el-date-picker
331
                         value-format="yyyy-MM-dd HH:mm"
337
                         value-format="yyyy-MM-dd HH:mm"
332
                         placeholder="选择时间"
338
                         placeholder="选择时间"
333
                         v-model="form.fourth_start_time"
339
                         v-model="form.fourth_start_time"
340
+                        @change="fourthstarttime"
334
                         style="width:100%;"
341
                         style="width:100%;"
335
                     ></el-date-picker>
342
                     ></el-date-picker>
336
                   </el-form-item>
343
                   </el-form-item>
341
                         value-format="yyyy-MM-dd HH:mm"
348
                         value-format="yyyy-MM-dd HH:mm"
342
                         placeholder="选择时间"
349
                         placeholder="选择时间"
343
                         v-model="form.fourth_end_time"
350
                         v-model="form.fourth_end_time"
351
+                        @change="fourthendtime"
344
                         style="width:100%;"
352
                         style="width:100%;"
345
                     ></el-date-picker>
353
                     ></el-date-picker>
346
                   </el-form-item>
354
                   </el-form-item>
382
                       <el-input v-model="form.last_disinfection_water"></el-input>
390
                       <el-input v-model="form.last_disinfection_water"></el-input>
383
                   </el-form-item>
391
                   </el-form-item>
384
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
394
                   </el-form-item>
387
                   <el-form-item label="开始时间"  label-width="110px">
395
                   <el-form-item label="开始时间"  label-width="110px">
388
                     <el-date-picker
396
                     <el-date-picker
391
                         value-format="yyyy-MM-dd HH:mm"
399
                         value-format="yyyy-MM-dd HH:mm"
392
                         placeholder="选择时间"
400
                         placeholder="选择时间"
393
                         v-model="form.last_start_time"
401
                         v-model="form.last_start_time"
402
+                        @change="laststarttime"
394
                         style="width:100%;"
403
                         style="width:100%;"
395
                     ></el-date-picker>
404
                     ></el-date-picker>
396
                   </el-form-item>
405
                   </el-form-item>
401
                         value-format="yyyy-MM-dd HH:mm"
410
                         value-format="yyyy-MM-dd HH:mm"
402
                         placeholder="选择时间"
411
                         placeholder="选择时间"
403
                         v-model="form.last_end_time"
412
                         v-model="form.last_end_time"
413
+                        @change="lastendtime"
404
                         style="width:100%;"
414
                         style="width:100%;"
405
                     ></el-date-picker>
415
                     ></el-date-picker>
406
                   </el-form-item>
416
                   </el-form-item>
446
           width="1000px"
456
           width="1000px"
447
           title="编辑物表消毒表"
457
           title="编辑物表消毒表"
448
           :visible.sync="editDialogFormVisible">
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
                   <div style="width: 100%;">
460
                   <div style="width: 100%;">
451
                     <el-form-item label="创建日期" label-width="110px" required prop="record_date">
461
                     <el-form-item label="创建日期" label-width="110px" required prop="record_date">
452
                         <el-date-picker
462
                         <el-date-picker
465
                       <el-input v-model="form.first_disinfection_water"></el-input>
475
                       <el-input v-model="form.first_disinfection_water"></el-input>
466
                   </el-form-item>
476
                   </el-form-item>
467
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
479
                   </el-form-item>
470
                   <el-form-item label="开始时间" label-width="110px">
480
                   <el-form-item label="开始时间" label-width="110px">
471
                     <el-date-picker
481
                     <el-date-picker
474
                         value-format="yyyy-MM-dd HH:mm"
484
                         value-format="yyyy-MM-dd HH:mm"
475
                         placeholder="选择时间"
485
                         placeholder="选择时间"
476
                         v-model="form.first_start_time"
486
                         v-model="form.first_start_time"
487
+                        @change="firststartime"
477
                         style="width:100%;"
488
                         style="width:100%;"
478
                     ></el-date-picker>
489
                     ></el-date-picker>
479
                   </el-form-item>
490
                   </el-form-item>
484
                         value-format="yyyy-MM-dd HH:mm"
495
                         value-format="yyyy-MM-dd HH:mm"
485
                         placeholder="选择时间"
496
                         placeholder="选择时间"
486
                         v-model="form.first_end_time"
497
                         v-model="form.first_end_time"
498
+                        @change="firstendtime"
487
                         style="width:100%;"
499
                         style="width:100%;"
488
                     ></el-date-picker>
500
                     ></el-date-picker>
489
                   </el-form-item>
501
                   </el-form-item>
525
                       <el-input v-model="form.sencond_disinfection_water"></el-input>
537
                       <el-input v-model="form.sencond_disinfection_water"></el-input>
526
                   </el-form-item>
538
                   </el-form-item>
527
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
541
                   </el-form-item>
530
                   <el-form-item label="开始时间"  label-width="110px">
542
                   <el-form-item label="开始时间"  label-width="110px">
531
                     <el-date-picker
543
                     <el-date-picker
534
                         value-format="yyyy-MM-dd HH:mm"
546
                         value-format="yyyy-MM-dd HH:mm"
535
                         placeholder="选择时间"
547
                         placeholder="选择时间"
536
                         v-model="form.sencond_start_time"
548
                         v-model="form.sencond_start_time"
549
+                        @change="sencondstarttime"
537
                         style="width:100%;"
550
                         style="width:100%;"
538
                     ></el-date-picker>
551
                     ></el-date-picker>
539
                   </el-form-item> 
552
                   </el-form-item> 
544
                         value-format="yyyy-MM-dd HH:mm"
557
                         value-format="yyyy-MM-dd HH:mm"
545
                         placeholder="选择时间"
558
                         placeholder="选择时间"
546
                         v-model="form.sencond_end_time"
559
                         v-model="form.sencond_end_time"
560
+                        @change="sencondendtime"
547
                         style="width:100%;"
561
                         style="width:100%;"
548
                     ></el-date-picker>
562
                     ></el-date-picker>
549
                   </el-form-item>
563
                   </el-form-item>
585
                       <el-input v-model="form.third_disinfection_water"></el-input>
599
                       <el-input v-model="form.third_disinfection_water"></el-input>
586
                   </el-form-item>
600
                   </el-form-item>
587
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
603
                   </el-form-item>
590
                   <el-form-item label="开始时间"  label-width="110px">
604
                   <el-form-item label="开始时间"  label-width="110px">
591
                     <el-date-picker
605
                     <el-date-picker
594
                         value-format="yyyy-MM-dd HH:mm"
608
                         value-format="yyyy-MM-dd HH:mm"
595
                         placeholder="选择时间"
609
                         placeholder="选择时间"
596
                         v-model="form.third_start_time"
610
                         v-model="form.third_start_time"
611
+                        @change="thirdstarttime"
597
                         style="width:100%;"
612
                         style="width:100%;"
598
                     ></el-date-picker>
613
                     ></el-date-picker>
599
                   </el-form-item>
614
                   </el-form-item>
604
                         value-format="yyyy-MM-dd HH:mm"
619
                         value-format="yyyy-MM-dd HH:mm"
605
                         placeholder="选择时间"
620
                         placeholder="选择时间"
606
                         v-model="form.third_end_time"
621
                         v-model="form.third_end_time"
622
+                        @change="thirdendtime"
607
                         style="width:100%;"
623
                         style="width:100%;"
608
                     ></el-date-picker>
624
                     ></el-date-picker>
609
                   </el-form-item>
625
                   </el-form-item>
645
                       <el-input v-model="form.fourth_disinfection_water"></el-input>
661
                       <el-input v-model="form.fourth_disinfection_water"></el-input>
646
                   </el-form-item>
662
                   </el-form-item>
647
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
665
                   </el-form-item>
650
                   <el-form-item label="开始时间"  label-width="110px">
666
                   <el-form-item label="开始时间"  label-width="110px">
651
                     <el-date-picker
667
                     <el-date-picker
654
                         value-format="yyyy-MM-dd HH:mm"
670
                         value-format="yyyy-MM-dd HH:mm"
655
                         placeholder="选择时间"
671
                         placeholder="选择时间"
656
                         v-model="form.fourth_start_time"
672
                         v-model="form.fourth_start_time"
673
+                        @change="fourthstarttime"
657
                         style="width:100%;"
674
                         style="width:100%;"
658
                     ></el-date-picker>
675
                     ></el-date-picker>
659
                   </el-form-item>
676
                   </el-form-item>
664
                         value-format="yyyy-MM-dd HH:mm"
681
                         value-format="yyyy-MM-dd HH:mm"
665
                         placeholder="选择时间"
682
                         placeholder="选择时间"
666
                         v-model="form.fourth_end_time"
683
                         v-model="form.fourth_end_time"
684
+                        @change="fourthendtime"
667
                         style="width:100%;"
685
                         style="width:100%;"
668
                     ></el-date-picker>
686
                     ></el-date-picker>
669
                   </el-form-item>
687
                   </el-form-item>
705
                       <el-input v-model="form.last_disinfection_water"></el-input>
723
                       <el-input v-model="form.last_disinfection_water"></el-input>
706
                   </el-form-item>
724
                   </el-form-item>
707
                   <el-form-item label="消毒时间(h)" label-width="110px">
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
                   </el-form-item>
727
                   </el-form-item>
710
                   <el-form-item label="开始时间"  label-width="110px">
728
                   <el-form-item label="开始时间"  label-width="110px">
711
                     <el-date-picker
729
                     <el-date-picker
714
                         value-format="yyyy-MM-dd HH:mm"
732
                         value-format="yyyy-MM-dd HH:mm"
715
                         placeholder="选择时间"
733
                         placeholder="选择时间"
716
                         v-model="form.last_start_time"
734
                         v-model="form.last_start_time"
735
+                        @change="laststarttime"
717
                         style="width:100%;"
736
                         style="width:100%;"
718
                     ></el-date-picker>
737
                     ></el-date-picker>
719
                   </el-form-item>
738
                   </el-form-item>
724
                         value-format="yyyy-MM-dd HH:mm"
743
                         value-format="yyyy-MM-dd HH:mm"
725
                         placeholder="选择时间"
744
                         placeholder="选择时间"
726
                         v-model="form.last_end_time"
745
                         v-model="form.last_end_time"
746
+                        @change="lastendtime"
727
                         style="width:100%;"
747
                         style="width:100%;"
728
                     ></el-date-picker>
748
                     ></el-date-picker>
729
                   </el-form-item>
749
                   </el-form-item>
927
         this.getAllDoctorList()
947
         this.getAllDoctorList()
928
         this.getObjectTableDisInfectList()
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
       methods:{
985
       methods:{
931
-    
932
       printCard() {
986
       printCard() {
933
         this.hiddenShow = true;
987
         this.hiddenShow = true;
934
         var ptime = Math.round(new Date().getTime() / 1000);
988
         var ptime = Math.round(new Date().getTime() / 1000);
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 查看文件

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

+ 268 - 324
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyThree.vue 查看文件

204
                       colspan="2"
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
                       , 置换量:&nbsp;{{
228
                       , 置换量:&nbsp;{{
235
                         record&&record.prescription.displace_liqui_value
229
                         record&&record.prescription.displace_liqui_value
236
                           ? record&&record.prescription.displace_liqui_value
230
                           ? record&&record.prescription.displace_liqui_value
237
                           : "/"
231
                           : "/"
238
                       }}L&nbsp; )
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
                       &nbsp;
238
                       &nbsp;
245
                       <span v-if="record&&record.prescription.mode_id > 2">
239
                       <span v-if="record&&record.prescription.mode_id > 2">
246
                         {{ record&&record.prescription.mode }}
240
                         {{ record&&record.prescription.mode }}
264
 
258
 
265
                     <td colspan="12" style="padding-left: 10px">
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
                         v-if="record&&record.prescription.anticoagulant == 6"
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
                         v-if="record&&record.prescription.anticoagulant == 7"
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
                       &nbsp;&nbsp;{{
278
                       &nbsp;&nbsp;{{
290
                         record&&record.prescription.anticoagulant_zongliang &&
279
                         record&&record.prescription.anticoagulant_zongliang &&
294
                           ? record&&record.prescription.anticoagulant_zongliang
283
                           ? record&&record.prescription.anticoagulant_zongliang
295
                           : ""
284
                           : ""
296
                       }}iu;&nbsp;&nbsp;
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
                         ><span style="width: 35px; display: inline-block">
293
                         ><span style="width: 35px; display: inline-block">
305
                           {{
294
                           {{
306
                             record&&record.prescription.anticoagulant_shouji &&
295
                             record&&record.prescription.anticoagulant_shouji &&
309
                               ? record&&record.prescription.anticoagulant_shouji
298
                               ? record&&record.prescription.anticoagulant_shouji
310
                               : ""
299
                               : ""
311
                           }}
300
                           }}
312
-                        </span></span
313
-                      >
301
+                        </span></span>
314
                       &nbsp;mg&nbsp;&nbsp;&nbsp; 追加&nbsp;&nbsp;<span>{{
302
                       &nbsp;mg&nbsp;&nbsp;&nbsp; 追加&nbsp;&nbsp;<span>{{
315
                         record&&record.prescription.anticoagulant_weichi &&
303
                         record&&record.prescription.anticoagulant_weichi &&
316
                         record&&record.prescription.anticoagulant == 2
304
                         record&&record.prescription.anticoagulant == 2
324
                           : ""
312
                           : ""
325
                       }}</span
313
                       }}</span
326
                       >&nbsp;&nbsp;mg;
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
                       <span style="padding-left: 10px">
332
                       <span style="padding-left: 10px">
348
                         <span
333
                         <span
349
                           style="
334
                           style="
488
                       <div style="display: flex; justify-content: flex-start">
473
                       <div style="display: flex; justify-content: flex-start">
489
                         <div style="width: 100%">
474
                         <div style="width: 100%">
490
                           血管通路: &nbsp;
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
                           &nbsp;
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
                           &nbsp;
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
                           &nbsp;
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
                           &nbsp;
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
                           &nbsp;
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
                             <span
530
                             <span
582
                               style="
531
                               style="
583
                                 display: inline-block;
532
                                 display: inline-block;
828
             </tr>
777
             </tr>
829
             <tr style="transform: translateY(4px)">
778
             <tr style="transform: translateY(4px)">
830
                 <td colspan="11">
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
                     </td>
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
                     </td>
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
                     </td>
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
                     </td>
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
                     </td>
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
                         record.patient.total_dialysis +
885
                         record.patient.total_dialysis +
854
-                            record.patient.user_sys_before_count >
886
+                          record.patient.user_sys_before_count >
855
                         0
887
                         0
856
-                            ? record.assessment_after_dislysis.weight_after
857
-                            : "/"
858
-                        }}kg
888
+                          ? record.assessment_before_dislysis.dry_weight
889
+                          : "/"
890
+                      }}kg
859
                     </td>
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
                 </td>
943
                 </td>
864
             </tr>
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
         <tr style="transform: translateY(1px)">
947
         <tr style="transform: translateY(1px)">
1003
             <td colspan="11">  
948
             <td colspan="11">  
1004
             <table class="inside_table" border="1">
949
             <table class="inside_table" border="1">
1131
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
1076
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
1132
   import print from 'print-js'
1077
   import print from 'print-js'
1133
 export default {
1078
 export default {
1134
-  name: "BatchPrintOrderSix",
1079
+  name: "BatchPrintOrderFiftyThree",
1135
   components: {
1080
   components: {
1136
     CheckBox,
1081
     CheckBox,
1137
     BreadCrumb,
1082
     BreadCrumb,
1453
         scanStyles: false,
1398
         scanStyles: false,
1454
       });
1399
       });
1455
     },
1400
     },
1456
-
1457
     complicationsOther: function (record) {
1401
     complicationsOther: function (record) {
1458
       if (record == null || typeof record === "undefined") {
1402
       if (record == null || typeof record === "undefined") {
1459
         return "";
1403
         return "";

+ 3 - 2
src/xt_pages/dialysis/details/consumable/dialysisDrug.vue 查看文件

260
         },
260
         },
261
         zoneIdList:[],
261
         zoneIdList:[],
262
         partion_str:"",
262
         partion_str:"",
263
+     
263
       }
264
       }
264
     },
265
     },
265
     created() {
266
     created() {
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
           //  console.log("----------------------",this.selected_date)
667
           //  console.log("----------------------",this.selected_date)
667
             console.log("星期",this.getweekday(this.selected_date))
668
             console.log("星期",this.getweekday(this.selected_date))
668
             var newArrList = []
669
             var newArrList = []
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
           if(newArr!=null && newArr.length > 0){
710
           if(newArr!=null && newArr.length > 0){
710
             for(let i=0;i<newArr.length;i++){
711
             for(let i=0;i<newArr.length;i++){

+ 1 - 1
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue 查看文件

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

+ 15 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

9
                 class="newDialog"
9
                 class="newDialog"
10
         >
10
         >
11
             <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo">{{ patient.name }}</el-button>
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
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
21
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
13
             <el-form
22
             <el-form
14
                     ref="dialysisPrescription"
23
                     ref="dialysisPrescription"
1441
       admins: {
1450
       admins: {
1442
         type: Array
1451
         type: Array
1443
       },
1452
       },
1453
+      last_record: {
1454
+        type: Object
1455
+      },
1444
     },
1456
     },
1445
     computed: {
1457
     computed: {
1446
       dialysis_date: function() {
1458
       dialysis_date: function() {
2597
         if(moment().weekday() == 6){
2609
         if(moment().weekday() == 6){
2598
            total_day ="周六"
2610
            total_day ="周六"
2599
         }
2611
         }
2600
-        if(moment().weekday() == 7){
2612
+        if(moment().weekday() == 0){
2601
            total_day ="周日"
2613
            total_day ="周日"
2602
         }
2614
         }
2603
-        console.log("---------",this.targetAdvices)
2615
+        console.log("日期---------",moment().weekday())
2604
         if(this.targetAdvices!=null && this.targetAdvices.length >0){
2616
         if(this.targetAdvices!=null && this.targetAdvices.length >0){
2605
             for (let i = 0; i < this.targetAdvices.length; i++) {
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
                 this.targetAdvices[i].isCheck = 1
2619
                 this.targetAdvices[i].isCheck = 1
2608
               }
2620
               }
2609
             }
2621
             }

+ 8 - 4
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

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

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue 查看文件

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>
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
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
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
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
25
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
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>
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
           <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>
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 查看文件

2595
                                 />
2595
                                 />
2596
                               </div>
2596
                               </div>
2597
                             </div>
2597
                             </div>
2598
-                            <div class="inline_block" style="flex: 1">
2598
+                            <!-- <div class="inline_block" style="flex: 1">
2599
                               下机护士:
2599
                               下机护士:
2600
                               <div
2600
                               <div
2601
                                 class="under_line"
2601
                                 class="under_line"
2633
                                   v-else
2633
                                   v-else
2634
                                 />
2634
                                 />
2635
                               </div>
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
                               <div
2639
                               <div
2640
                                 class="under_line"
2640
                                 class="under_line"
2648
                                   srcset=""
2648
                                   srcset=""
2649
                                 />
2649
                                 />
2650
                               </div>
2650
                               </div>
2651
-                            </div> -->
2651
+                            </div>
2652
                             <div class="inline_block" style="flex: 1">
2652
                             <div class="inline_block" style="flex: 1">
2653
                               治疗医生:
2653
                               治疗医生:
2654
                               <div
2654
                               <div

+ 23 - 9
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue 查看文件

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

+ 82 - 208
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue 查看文件

56
                     上机前病情:
56
                     上机前病情:
57
                     {{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : "/" }}
57
                     {{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : "/" }}
58
                   </div>
58
                   </div>
59
-                  
59
+
60
                 </td>
60
                 </td>
61
               </tr>
61
               </tr>
62
               <tr>
62
               <tr>
155
                   </div>
155
                   </div>
156
                   <div style="margin-left:70px ; display: inline-block;">
156
                   <div style="margin-left:70px ; display: inline-block;">
157
                     医师签名:
157
                     医师签名:
158
-                  
158
+
159
                     <span v-if="setAdminUserES(prescription.creater) == ''">
159
                     <span v-if="setAdminUserES(prescription.creater) == ''">
160
                       {{ getAdminUser(prescription.creater) }}
160
                       {{ getAdminUser(prescription.creater) }}
161
                     </span>
161
                     </span>
276
                   </div>
276
                   </div>
277
                 </td>
277
                 </td>
278
               </tr>
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
                   <span style="font-weight: bold;"
281
                   <span style="font-weight: bold;"
282
                     >治&nbsp;疗&nbsp;过&nbsp;程&nbsp;记&nbsp;录</span
282
                     >治&nbsp;疗&nbsp;过&nbsp;程&nbsp;记&nbsp;录</span
283
                   >
283
                   >
285
               </tr>
285
               </tr>
286
               <tr>
286
               <tr>
287
                 <td colspan="3">
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
                       </tr>
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
                         <td >护士签名</td>
309
                         <td >护士签名</td>
310
                       </tr>
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
                             <span v-if="getTime(monitor.operate_time) != ''">
315
                             <span v-if="getTime(monitor.operate_time) != ''">
317
                             {{
316
                             {{
318
                                 monitor.transmembrane_pressure
317
                                 monitor.transmembrane_pressure
322
                             </span>
321
                             </span>
323
                         </td >
322
                         </td >
324
 
323
 
325
-                        <td style=" border-right: 1px solid gray;">
324
+                        <td style=" ">
326
                             <span v-if="getTime(monitor.operate_time) != ''">
325
                             <span v-if="getTime(monitor.operate_time) != ''">
327
                                 &nbsp;{{
326
                                 &nbsp;{{
328
                                     monitor.venous_pressure ? monitor.venous_pressure : ""
327
                                     monitor.venous_pressure ? monitor.venous_pressure : ""
330
                             </span>
329
                             </span>
331
                         </td>
330
                         </td>
332
 
331
 
333
-                        <td style=" border-right: 1px solid gray;">
332
+                        <td style=" ">
334
                             <span v-if="getTime(monitor.operate_time) != ''">
333
                             <span v-if="getTime(monitor.operate_time) != ''">
335
                             {{
334
                             {{
336
                                 monitor.blood_flow_volume
335
                                 monitor.blood_flow_volume
340
                             </span>
339
                             </span>
341
                         </td>
340
                         </td>
342
 
341
 
343
-                        <td style=" border-right: 1px solid gray;">
342
+                        <td style=" ">
344
                             <span v-if="getTime(monitor.operate_time) != ''&&monindex == 0 ">
343
                             <span v-if="getTime(monitor.operate_time) != ''&&monindex == 0 ">
345
                             {{'/'}}
344
                             {{'/'}}
346
                             </span>
345
                             </span>
350
                             <span v-else>{{monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
349
                             <span v-else>{{monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
351
                         </td>
350
                         </td>
352
 
351
 
353
-                        <td style=" border-right: 1px solid gray;">
352
+                        <td style=" ">
354
                             <span v-if="getTime(monitor.operate_time) != ''">
353
                             <span v-if="getTime(monitor.operate_time) != ''">
355
                                 {{ monitor.temperature ? monitor.temperature : "" }}
354
                                 {{ monitor.temperature ? monitor.temperature : "" }}
356
                             </span>
355
                             </span>
357
                         </td>
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
                             <span v-if="getTime(monitor.operate_time) != ''">
359
                             <span v-if="getTime(monitor.operate_time) != ''">
482
                                 {{
360
                                 {{
483
                                   monitor.pulse_frequency ? monitor.pulse_frequency : ""
361
                                   monitor.pulse_frequency ? monitor.pulse_frequency : ""
485
                             </span>
363
                             </span>
486
                         </td>
364
                         </td>
487
 
365
 
488
-                        <td style=" border-right: 1px solid gray;">
366
+                        <td style=" ">
489
                             <span v-if="getTime(monitor.operate_time) != ''">
367
                             <span v-if="getTime(monitor.operate_time) != ''">
490
                                 {{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
368
                                 {{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
491
                             </span>
369
                             </span>
492
                         </td>
370
                         </td>
493
 
371
 
494
-                        <td style=" border-right: 1px solid gray;">
372
+                        <td style=" ">
495
                             <span v-if="getTime(monitor.operate_time) != ''">
373
                             <span v-if="getTime(monitor.operate_time) != ''">
496
                                 {{
374
                                 {{
497
                                     monitor.systolic_blood_pressure
375
                                     monitor.systolic_blood_pressure
502
                                     ? monitor.diastolic_blood_pressure
380
                                     ? monitor.diastolic_blood_pressure
503
                                     : ""
381
                                     : ""
504
                                 }}
382
                                 }}
505
-                                
383
+
506
                             </span>
384
                             </span>
507
                         </td>
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
                           <span style="word-break: break-all;word-wrap: break-word;">
389
                           <span style="word-break: break-all;word-wrap: break-word;">
512
-                            
390
+
513
                               {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{monitor.result}}
391
                               {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{monitor.result}}
514
                           </span>
392
                           </span>
515
                         </td>
393
                         </td>
545
                           />
423
                           />
546
                         </td>
424
                         </td>
547
                       </tr>
425
                       </tr>
426
+                    
548
                   </table>
427
                   </table>
549
                 </td>
428
                 </td>
550
-              </tr> -->
429
+              </tr>
430
+             
551
               <tr>
431
               <tr>
552
                 <td colspan="3">
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
                       <tr>
436
                       <tr>
556
-                      <td style="height: 20px;border-right: 1px solid gray;" width="110">
437
+                      <td style="height: 20px;" width="110">
557
                           <p style="height: 20px; line-height: 20px" >提交时间</p>
438
                           <p style="height: 20px; line-height: 20px" >提交时间</p>
558
                       </td>
439
                       </td>
559
-                    
560
-                      <td style="height: 20px; border-right: 1px solid gray;" width="350">
440
+
441
+                      <td style="height: 20px; " width="350">
561
                           <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
442
                           <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
562
                       </td>
443
                       </td>
563
-                      <td style="height: 20px; border-right: 1px solid gray;" width="130">
444
+                      <td style="height: 20px; " width="130">
564
                           <p style="height: 20px; line-height: 20px">执行时间</p>
445
                           <p style="height: 20px; line-height: 20px">执行时间</p>
565
                       </td>
446
                       </td>
566
-                  
567
-                      <td style="height: 20px; border-right: 1px solid gray;" width="110">
447
+
448
+                      <td style="height: 20px; " width="110">
568
                           <p style="height: 20px; line-height: 20px">执行</p>
449
                           <p style="height: 20px; line-height: 20px">执行</p>
569
                       </td>
450
                       </td>
570
-                      
571
-                      <td style="height: 20px; border-right: 1px solid gray;" width="150">
451
+
452
+                      <td style="height: 20px; " width="150">
572
                           <p style="height: 20px; line-height: 20px">上次透后体重</p>
453
                           <p style="height: 20px; line-height: 20px">上次透后体重</p>
573
                       </td>
454
                       </td>
574
                       <td style="height: 20px;" width="110">
455
                       <td style="height: 20px;" width="110">
575
                         {{ lastafterdialysis.weight_after.toFixed(2) }}kg
456
                         {{ lastafterdialysis.weight_after.toFixed(2) }}kg
576
                       </td>
457
                       </td>
577
                       </tr>
458
                       </tr>
578
-                      
459
+
579
                     </table>
460
                     </table>
580
                 </td>
461
                 </td>
581
               </tr>
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
                 <td colspan="3">
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
                         {{ getTime(advice.start_time, "{h}:{i}") }}
470
                         {{ getTime(advice.start_time, "{h}:{i}") }}
588
                       </td>
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
                         <span v-if="advice.parent_id > 0"></span>
474
                         <span v-if="advice.parent_id > 0"></span>
592
                         <span>{{ advice.advice_name }}</span>
475
                         <span>{{ advice.advice_name }}</span>
593
                         <span v-if="advice && advice.advice_desc">
476
                         <span v-if="advice && advice.advice_desc">
594
                           ({{ advice.advice_desc}}{{ advice.drug_spec_unit }})
477
                           ({{ advice.advice_desc}}{{ advice.drug_spec_unit }})
595
                         </span>
478
                         </span>
596
-                        <span v-if="advice.prescribing_number">&nbsp;&nbsp; 
479
+                        <span v-if="advice.prescribing_number">&nbsp;&nbsp;
597
                           {{ advice.prescribing_number}}{{ advice.prescribing_number_unit }}
480
                           {{ advice.prescribing_number}}{{ advice.prescribing_number_unit }}
598
                         </span>
481
                         </span>
599
                         <span v-if="advice.single_dose != 0">
482
                         <span v-if="advice.single_dose != 0">
607
                         </span>
490
                         </span>
608
                         <span>{{ advice.remark }}</span>
491
                         <span>{{ advice.remark }}</span>
609
                       </td>
492
                       </td>
610
-                  
611
-                      <td width="130" style="border-right: 1px solid gray;">
493
+
494
+                      <td width="130" style="">
612
                         {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
495
                         {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
613
                       </td>
496
                       </td>
614
-                      <td width="110" style="border-right: 1px solid gray;">
497
+                      <td width="110" style="">
615
                         <span
498
                         <span
616
                           v-if="setAdminUserES(advice.advice_doctor) == ''"
499
                           v-if="setAdminUserES(advice.advice_doctor) == ''"
617
                         >
500
                         >
624
                           srcset=""
507
                           srcset=""
625
                         />
508
                         />
626
                       </td>
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
                       <td v-if="advice_index === 0" width="110" >
511
                       <td v-if="advice_index === 0" width="110" >
630
                         {{predialysis.weight_before.toFixed(2) }}kg
512
                         {{predialysis.weight_before.toFixed(2) }}kg
631
                       </td>
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
                       <td v-if="advice_index === 1" width="110">
515
                       <td v-if="advice_index === 1" width="110">
634
                         {{
516
                         {{
635
                           assessmentafter.weight_after == 0 ||
517
                           assessmentafter.weight_after == 0 ||
636
                           predialysis.weight_before == 0
518
                           predialysis.weight_before == 0
637
-                            ? 0
519
+                            ? '0.00'
638
                             : (
520
                             : (
639
                                 predialysis.weight_before -
521
                                 predialysis.weight_before -
640
                                 assessmentafter.weight_after
522
                                 assessmentafter.weight_after
641
                               ).toFixed(2)
523
                               ).toFixed(2)
642
                         }}kg
524
                         }}kg
643
                       </td>
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
                       <td v-if="advice_index === 2" width="110">
527
                       <td v-if="advice_index === 2" width="110">
646
                         {{ predialysis.dry_weight.toFixed(2) }}kg
528
                         {{ predialysis.dry_weight.toFixed(2) }}kg
647
                       </td>
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
                       <td v-if="advice_index === 3" width="110">
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
                             patientInfo.total_dialysis +
533
                             patientInfo.total_dialysis +
659
                             patientInfo.user_sys_before_count >
534
                             patientInfo.user_sys_before_count >
661
                             ? (
536
                             ? (
662
                                 afterdialysis.weight_after - predialysis.dry_weight
537
                                 afterdialysis.weight_after - predialysis.dry_weight
663
                               ).toFixed(2)
538
                               ).toFixed(2)
664
-                            : 0
539
+                            : '0.00'
665
                           }}kg
540
                           }}kg
666
                       </td>
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
                       <td v-if="advice_index === 4" width="110">
544
                       <td v-if="advice_index === 4" width="110">
670
-                        
671
                         {{ afterdialysis.weight_after.toFixed(2) }}kg
545
                         {{ afterdialysis.weight_after.toFixed(2) }}kg
672
                       </td>
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
                       </td>
549
                       </td>
676
                       <td v-if="advice_index === 5" width="110">
550
                       <td v-if="advice_index === 5" width="110">
677
                         {{
551
                         {{
678
                           afterdialysis.weight_after == 0 || predialysis.weight_before == 0
552
                           afterdialysis.weight_after == 0 || predialysis.weight_before == 0
679
-                            ? 0
553
+                            ? '0.00'
680
                             : (
554
                             : (
681
                                 predialysis.weight_before - afterdialysis.weight_after
555
                                 predialysis.weight_before - afterdialysis.weight_after
682
                               ).toFixed(2)
556
                               ).toFixed(2)
683
                         }}kg
557
                         }}kg
684
                       </td>
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
                       <td v-if="advice_index > 5" width="110"></td>
560
                       <td v-if="advice_index > 5" width="110"></td>
687
                     </tr>
561
                     </tr>
688
                   </table>
562
                   </table>
696
                   <div style="display: inline-block; margin-left: 40px;">
570
                   <div style="display: inline-block; margin-left: 40px;">
697
                     姓别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
571
                     姓别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
698
                   </div>
572
                   </div>
699
-                  <div style="display: inline-block; margin-left: 40px;"> 
573
+                  <div style="display: inline-block; margin-left: 40px;">
700
                     透析机号:{{ getNumber() }}
574
                     透析机号:{{ getNumber() }}
701
                   </div> -->
575
                   </div> -->
702
                   <div style="word-break: break-all;word-wrap: break-word;">
576
                   <div style="word-break: break-all;word-wrap: break-word;">
706
                         summary.dialysis_summary ? summary.dialysis_summary : "/"
580
                         summary.dialysis_summary ? summary.dialysis_summary : "/"
707
                       }}
581
                       }}
708
                     </div>
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
                       <span v-if="setAdminUserES(prescription.creater) == ''">
586
                       <span v-if="setAdminUserES(prescription.creater) == ''">
713
                         {{ getAdminUser(prescription.creater) }}
587
                         {{ getAdminUser(prescription.creater) }}
714
                       </span>
588
                       </span>
993
         //     this.anticoagulantsConfit[thisALID].name;
867
         //     this.anticoagulantsConfit[thisALID].name;
994
         //     this.AlPanel = this.anticoagulantsConfit[thisALID];
868
         //     this.AlPanel = this.anticoagulantsConfit[thisALID];
995
         // }
869
         // }
996
-        
870
+
997
         this.advices = response.data.data.advices;
871
         this.advices = response.data.data.advices;
998
-        
872
+
999
         this.monitors = response.data.data.monitors;
873
         this.monitors = response.data.data.monitors;
1000
         this.summary = response.data.data.summary;
874
         this.summary = response.data.data.summary;
1001
         this.org_template_info = response.data.data.org_template_info;
875
         this.org_template_info = response.data.data.org_template_info;
1002
-        
876
+
1003
         if (this.monitors.length <= 0) {
877
         if (this.monitors.length <= 0) {
1004
           var nl = 8 - this.monitors.length;
878
           var nl = 8 - this.monitors.length;
1005
           for (let index = 0; index < nl; index++) {
879
           for (let index = 0; index < nl; index++) {

+ 16 - 1
src/xt_pages/management/components/ManageForm.vue 查看文件

851
     padding: 0;
851
     padding: 0;
852
   }
852
   }
853
   .el-form-item__error {
853
   .el-form-item__error {
854
-    margin-left: 60px;
854
+    //  margin-left: 60px; 
855
+    margin-left: 200px;
855
   }
856
   }
857
+  
856
 }
858
 }
857
 .el-checkbox {
859
 .el-checkbox {
858
   color: #606266;
860
   color: #606266;
866
   margin-right: 26px;
868
   margin-right: 26px;
867
 }
869
 }
868
 </style>
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 查看文件

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

+ 8 - 6
src/xt_pages/management/home.vue 查看文件

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

+ 2 - 3
src/xt_pages/outpatientDoctorStation/template/printOne.vue 查看文件

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

+ 3 - 6
src/xt_pages/user/courseOfDisease.vue 查看文件

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

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 查看文件

74
       </div>
74
       </div>
75
     </div>
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
       <div style="position: relative;">
156
       <div style="position: relative;">
79
         <el-table
157
         <el-table
80
           :data="schedulePatients"
158
           :data="schedulePatients"
146
         </el-table>
224
         </el-table>
147
       </div>
225
       </div>
148
     </el-dialog>
226
     </el-dialog>
149
-    
227
+
150
     <div class="center-tab">
228
     <div class="center-tab">
151
       <el-table
229
       <el-table
152
         :row-style="{ color: '#303133' }"
230
         :row-style="{ color: '#303133' }"