Selaa lähdekoodia

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

28169 3 viikkoa sitten
vanhempi
commit
e2a5b7065b

+ 101 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue Näytä tiedosto

@@ -879,7 +879,106 @@
879 879
                               />
880 880
                             </td>
881 881
                           </tr>
882
-                          <template v-if="record.advices.length<3">
882
+                          <tr v-for="(advice, advice_index) in record.advices"
883
+                            :key="advice_index"
884
+                          >
885
+                            <td height="35px">
886
+                              <span v-if="advice[0].start_time">
887
+                                {{ getTime(advice[0].start_time, "{h}:{i}") }}
888
+                              </span>
889
+                            </td>
890
+
891
+                            <td
892
+                              height="35px"
893
+                              colspan="2"
894
+                              class="advice-name"
895
+                              style="padding-left: 7px"
896
+
897
+                            >
898
+                             
899
+                              <span>{{ advice[0].advice_name }}</span>
900
+
901
+                              <span v-if="advice[0].advice_desc">
902
+                                ({{ advice[0].advice_desc
903
+                                }}{{ advice[0].drug_spec_unit }} )
904
+                              </span>
905
+
906
+                              <span v-if="advice[0].prescribing_number"
907
+                                >&nbsp;{{ advice[0].prescribing_number
908
+                                }}{{ advice[0].prescribing_number_unit }}</span
909
+                              >
910
+                              <span v-if="advice[0].single_dose != 0">
911
+                                {{ advice[0].single_dose
912
+                                }}{{ advice[0].single_dose_unit }}</span
913
+                              >
914
+
915
+                              <span v-if="advice[0].parent_id == 0">{{
916
+                                advice[0].delivery_way
917
+                              }}</span>
918
+                              <span v-if="advice[0].parent_id == 0">{{
919
+                                advice[0].execution_frequency
920
+                              }}</span>
921
+                              <span
922
+                                v-if="
923
+                                  advice[0].parent_id == 0 &&
924
+                                  advice[0].remark.length > 0
925
+                                "
926
+                                >({{ advice[0].remark }})</span>
927
+                              <!-- <span v-if="advice.child.length >1"> + </span> -->
928
+                            
929
+                            </td>
930
+
931
+                            <td height="35px">
932
+                              <span
933
+                                v-if="
934
+                                  setAdminUserES(advice[0], 'advice_doctor') ==
935
+                                  ''
936
+                                "
937
+                                >{{
938
+                                  getAdminUser(advice[0], "advice_doctor")
939
+                                }}</span
940
+                              >
941
+                              <img
942
+                                class="es-img"
943
+                                :src="
944
+                                  setAdminUserES(advice[0], 'advice_doctor')
945
+                                "
946
+                                alt=""
947
+                                srcset=""
948
+                                v-else
949
+                                style="height: 30px"
950
+                              />
951
+                            </td>
952
+                            <td height="35px">
953
+                              <span v-if="advice[0].execution_time">{{
954
+                                getTime(advice[0].execution_time, " {h}:{i}")
955
+                              }}</span>
956
+                            </td>
957
+                            <td height="35px">
958
+                              <span
959
+                                v-if="
960
+                                  setAdminUserES(
961
+                                    advice[0],
962
+                                    'execution_staff'
963
+                                  ) == ''
964
+                                "
965
+                                >{{
966
+                                  getAdminUser(advice[0], "execution_staff")
967
+                                }}</span
968
+                              >
969
+                              <img
970
+                                class="es-img"
971
+                                :src="
972
+                                  setAdminUserES(advice[0], 'execution_staff')
973
+                                "
974
+                                alt=""
975
+                                srcset=""
976
+                                v-else
977
+                                style="height: 30px"
978
+                              />
979
+                            </td>
980
+                          </tr>
981
+                          <!-- <template v-if="record.advices.length<3">
883 982
                             <tr v-for="item in 3">
884 983
                               <td height="35px"></td>
885 984
                               <td colspan="2"></td>
@@ -887,7 +986,7 @@
887 986
                               <td></td>
888 987
                               <td></td>
889 988
                             </tr>
890
-                          </template>
989
+                          </template> -->
891 990
 
892 991
                         </template>
893 992
                       </tbody>

+ 24 - 21
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue Näytä tiedosto

@@ -753,8 +753,7 @@
753 753
                         <td style="font-size: 16px" width="10%">执行人员</td>
754 754
                       </tr>
755 755
 
756
-                      <tr
757
-                        v-for="(advice, advice_index) in doctor_advices"
756
+                      <tr v-for="(advice, advice_index) in doctor_advices"
758 757
                         :key="advice_index"
759 758
                       >
760 759
                         <td height="32px">
@@ -1368,7 +1367,7 @@
1368 1367
                       治疗医生:
1369 1368
                       <div class="under_line"
1370 1369
                         style="width: 80px; text-align: center"
1371
-                      > 
1370
+                      >
1372 1371
                       <!-- {{ getAdminUser(prescription.creater) }} -->
1373 1372
                         <span style="height: 30px; display: inline-block"
1374 1373
                           v-if=" setAdminUserES(prescription.creater) == ''"
@@ -1998,7 +1997,7 @@ export default {
1998 1997
         return "";
1999 1998
       }
2000 1999
       for (let i = 0; i < this.adminUser.length; i++) {
2001
-        if (this.adminUser[i].id == id) {        
2000
+        if (this.adminUser[i].id == id) {
2002 2001
           return this.adminUser[i].name;
2003 2002
         }
2004 2003
       }
@@ -2352,10 +2351,12 @@ export default {
2352 2351
         this.loading = false;
2353 2352
         this.doctor_advices =
2354 2353
           response.data.data.advices == null ? [] : response.data.data.advices;
2354
+          const advices = response.data.data.doctorAdevieInfo
2355 2355
         for (let index = 0; index < this.doctor_advices.length; index++) {
2356 2356
           this.doctor_advices[index]["isShow"] = 2;
2357 2357
         }
2358
-        console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
2358
+        this.doctor_advices = this.doctor_advices.concat(advices)
2359
+        console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices,advices)
2359 2360
 
2360 2361
         if(this.org_id == 10489 ){
2361 2362
           let projectsOne = [];
@@ -2560,27 +2561,29 @@ export default {
2560 2561
           }
2561 2562
           this.doctor_advices = []
2562 2563
           this.doctor_advices = docArr
2564
+          console.log('222222222222',docArr);
2565
+          
2563 2566
         }
2564 2567
 
2565
-        if (this.doctor_advices.length + this.projectsOne.length <= 6) {
2566
-            var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
2567
-            this.print_length = 6;
2568
-
2569
-            for (let index = 0; index < nl; index++) {
2570
-              if (
2571
-                this.projectsOne[index] == undefined ||
2572
-                this.projectsOne[index].length <= 0
2573
-              ) {
2574
-                this.projectsOne.push([]);
2575
-              } else {
2576
-                continue;
2577
-              }
2578
-            }
2579
-          }
2568
+        // if (this.doctor_advices.length + this.projectsOne.length <= 6) {
2569
+        //     var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
2570
+        //     this.print_length = 6;
2571
+
2572
+        //     for (let index = 0; index < nl; index++) {
2573
+        //       if (
2574
+        //         this.projectsOne[index] == undefined ||
2575
+        //         this.projectsOne[index].length <= 0
2576
+        //       ) {
2577
+        //         this.projectsOne.push([]);
2578
+        //       } else {
2579
+        //         continue;
2580
+        //       }
2581
+        //     }
2582
+        //   }
2580 2583
 
2581 2584
 
2582 2585
         this.totollength = this.doctor_advices.length + this.monitors.length;
2583
-        console.log("this.totollength",this.totollength)
2586
+        console.log("this.totollength",this.totollength,this.doctor_advices)
2584 2587
 
2585 2588
 
2586 2589
         if (this.totollength > 18) {

+ 833 - 17
src/xt_pages/user/courseOfDisease_new.vue Näytä tiedosto

@@ -128,9 +128,33 @@
128 128
                 <el-button type="primary" size="small" @click="template_click">
129 129
                   {{ add_index ==0 ? '设置模板' : '模板库' }}
130 130
                 </el-button>
131
-                <el-button type="primary" size="small" @click="auto_click">
131
+                <el-button type="primary" size="small" @click="auto_click" style="padding-bottom: 10px;">
132 132
                   自动生成
133 133
                 </el-button>
134
+                <el-button type="primary" size="small" @click="Inspect_click" style="padding-bottom: 10px;">
135
+                  科室检查
136
+                </el-button>
137
+                <el-button type="primary" size="small" @click="blood_click" style="padding-bottom: 10px;">
138
+                  血压
139
+                </el-button>
140
+                <el-button type="primary" size="small" @click="summary_click" style="margin-bottom: 10px;">
141
+                  透析小结汇总
142
+                </el-button>
143
+                <el-button type="primary" size="small" @click="weight_click" style="margin-bottom: 10px;">
144
+                  干体重
145
+                </el-button>
146
+                <el-button type="primary" size="small" @click="option_click" style="margin-bottom: 10px;">
147
+                  透析方案
148
+                </el-button>
149
+                <el-button type="primary" size="small" @click="advice_click" style="margin-bottom: 10px;">
150
+                  医嘱
151
+                </el-button>
152
+                <el-button type="primary" size="small" @click="diagnosis_click" style="margin-bottom: 10px;">
153
+                  诊断
154
+                </el-button>
155
+                <el-button type="primary" size="small" @click="hospital_click" style="margin-bottom: 10px;">
156
+                  出入院记录
157
+                </el-button>
134 158
               </div>
135 159
               <ueditor ref="editor" id="editors" :content="new_content"></ueditor>
136 160
             </div>
@@ -153,6 +177,7 @@
153 177
           <el-button type="primary" @click="saveTemplate">确 定</el-button>
154 178
         </span>
155 179
       </el-dialog>
180
+
156 181
       <el-dialog
157 182
         title="模板库"
158 183
         :visible.sync="library_dialog"
@@ -198,6 +223,7 @@
198 223
           <el-button @click="library_dialog = false">取消</el-button>
199 224
         </span>
200 225
       </el-dialog>
226
+
201 227
       <el-dialog
202 228
         title="提示"
203 229
         :visible.sync="auto_dialog"
@@ -258,12 +284,462 @@
258 284
         </div>
259 285
 
260 286
       </el-dialog>
287
+      <!-- 血压 -->
288
+      <el-dialog
289
+        title="血压"
290
+        :visible.sync="blood_dialog"
291
+        width="70%"
292
+        class="lirary"
293
+        >
294
+        <div>
295
+          <div style="display:flex;">
296
+            <div>
297
+              日期:
298
+              <el-select v-model="blood_date" @change="blood_chang" placeholder="请选择" style="width: 120px;">
299
+                <el-option
300
+                  v-for="item in date_options"
301
+                  :key="item.value"
302
+                  :label="item.label"
303
+                  :value="item.value">
304
+                </el-option>
305
+              </el-select>
306
+            </div>
307
+            <div style="margin:0 10px">
308
+              <el-date-picker
309
+               @change="changStartDate"
310
+                v-model="start_date1"
311
+                type="date"
312
+                value-format="yyyy-MM-dd"
313
+                placeholder="选择日期"
314
+                style="width: 150px;">
315
+              </el-date-picker>
316
+              <span>-</span>
317
+              <el-date-picker
318
+               @change="changEndDate"
319
+                v-model="end_date1"
320
+                type="date"
321
+                value-format="yyyy-MM-dd"
322
+                placeholder="选择日期"
323
+                style="width: 150px;">
324
+              </el-date-picker>
325
+            </div>
326
+            <div style="text-align: right;margin-bottom: 10px;">
327
+              <el-button type="primary" size="small" @click="bloodsearch">
328
+                查询
329
+              </el-button>
330
+            </div>
331
+          </div>
332
+          <div style="display: flex;">
333
+            <div style="width: 27%;">
334
+              <div class="Second_title">血压列表</div>
335
+              <el-table
336
+                :data="bloodList"
337
+                :highlight-current-row="true"
338
+                 ref="blood_table"
339
+                 @current-change="bloodChange"
340
+                 @selection-change="selectionchange"
341
+                style="width: 100%">
342
+                <el-table-column type="selection"width="55">
343
+                </el-table-column>
344
+                <el-table-column prop="date" label="透析日期"  width="">
261 345
 
346
+                </el-table-column>
347
+                <el-table-column prop="mode" label="透析方式" width="">
262 348
 
263
-    </div>
264
-  </div>
349
+                </el-table-column>
350
+              </el-table>
351
+            </div>
352
+            <div style="width: 72%;margin-left: 10px;">
353
+              <div class="Second_title">内容</div>
354
+              <div class="blood_text" style="" >
355
+                <div v-html="blood_context"></div>
356
+                <!-- {{ blood_context }} -->
357
+              </div>
358
+            </div>
359
+          </div>
360
+        </div>
361
+        <span slot="footer" class="dialog-footer" style="text-align: center;">
362
+          <!-- <el-button type="danger" @click="template_dele">删除模板</el-button>
363
+          <el-button type="primary" @click="template_save">保存模板</el-button> -->
364
+          <el-button type="primary" @click="toContentPint">应用</el-button>
365
+          <el-button @click="blood_dialog = false">取消</el-button>
366
+        </span>
367
+      </el-dialog>
368
+
369
+      <!-- 透析小结汇总 -->
370
+      <el-dialog
371
+        title="透析小结"
372
+        :visible.sync="summary_dialog"
373
+        width="70%"
374
+        class="lirary"
375
+        >
376
+        <div>
377
+          <div style="display:flex;">
378
+            <div>
379
+              日期:
380
+              <el-select v-model="blood_date" @change="blood_chang" placeholder="请选择" style="width: 120px;">
381
+                <el-option
382
+                  v-for="item in date_options"
383
+                  :key="item.value"
384
+                  :label="item.label"
385
+                  :value="item.value">
386
+                </el-option>
387
+              </el-select>
388
+            </div>
389
+            <div style="margin:0 10px">
390
+              <el-date-picker
391
+               @change="changStartDate"
392
+                v-model="start_date1"
393
+                type="date"
394
+                value-format="yyyy-MM-dd"
395
+                placeholder="选择日期"
396
+                style="width: 150px;">
397
+              </el-date-picker>
398
+              <span>-</span>
399
+              <el-date-picker
400
+               @change="changEndDate"
401
+                v-model="end_date1"
402
+                type="date"
403
+                value-format="yyyy-MM-dd"
404
+                placeholder="选择日期"
405
+                style="width: 150px;">
406
+              </el-date-picker>
407
+            </div>
408
+            <div style="text-align: right;margin-bottom: 10px;">
409
+              <el-button type="primary" size="small" @click="bloodsearch">
410
+                查询
411
+              </el-button>
412
+            </div>
413
+          </div>
414
+          <div style="display: flex;">
415
+            <div style="width: 27%;">
416
+              <div class="Second_title">透析小结汇总列表</div>
417
+              <el-table
418
+                :data="bloodList"
419
+                :highlight-current-row="true"
420
+                 ref="blood_table"
421
+                 @current-change="summaryChange"
422
+                 @selection-change="selectionchange2"
423
+                style="width: 100%">
424
+                <el-table-column type="selection"width="55">
425
+                </el-table-column>
426
+                <el-table-column prop="date" label="透析日期"  width="">
427
+
428
+                </el-table-column>
429
+                <el-table-column prop="mode" label="透析方式" width="">
430
+
431
+                </el-table-column>
432
+              </el-table>
433
+            </div>
434
+            <div style="width: 72%;margin-left: 10px;">
435
+              <div class="Second_title">内容</div>
436
+              <div class="blood_text" style="" >
437
+                <div v-html="summary_context"></div>
438
+                <!-- {{ blood_context }} -->
439
+              </div>
440
+            </div>
441
+          </div>
442
+        </div>
443
+        <span slot="footer" class="dialog-footer" style="text-align: center;">
444
+          <!-- <el-button type="danger" @click="template_dele">删除模板</el-button>
445
+          <el-button type="primary" @click="template_save">保存模板</el-button> -->
446
+          <el-button type="primary" @click="toContentPint">应用</el-button>
447
+          <el-button @click="summary_dialog = false">取消</el-button>
448
+        </span>
449
+      </el-dialog>
450
+
451
+      <!-- 干体重 -->
452
+      <el-dialog
453
+        title="干体重"
454
+        :visible.sync="weight_dialog"
455
+        width="70%"
456
+        class="lirary"
457
+        >
458
+        <div>
459
+          <div style="display:flex;">
460
+            <div>
461
+              日期:
462
+              <el-select v-model="blood_date" @change="blood_chang" placeholder="请选择" style="width: 120px;">
463
+                <el-option
464
+                  v-for="item in date_options"
465
+                  :key="item.value"
466
+                  :label="item.label"
467
+                  :value="item.value">
468
+                </el-option>
469
+              </el-select>
470
+            </div>
471
+            <div style="margin:0 10px">
472
+              <el-date-picker
473
+               @change="changStartDate"
474
+                v-model="start_date1"
475
+                type="date"
476
+                value-format="yyyy-MM-dd"
477
+                placeholder="选择日期"
478
+                style="width: 150px;">
479
+              </el-date-picker>
480
+              <span>-</span>
481
+              <el-date-picker
482
+               @change="changEndDate"
483
+                v-model="end_date1"
484
+                type="date"
485
+                value-format="yyyy-MM-dd"
486
+                placeholder="选择日期"
487
+                style="width: 150px;">
488
+              </el-date-picker>
489
+            </div>
490
+            <div style="text-align: right;margin-bottom: 10px;">
491
+              <el-button type="primary" size="small" @click="bloodsearch">
492
+                查询
493
+              </el-button>
494
+            </div>
495
+          </div>
496
+          <div style="display: flex;">
497
+            <div style="width: 27%;">
498
+              <div class="Second_title">干体重调整列表</div>
499
+              <el-table
500
+                :data="weightlist"
501
+                :highlight-current-row="true"
502
+                 ref="weight_table"
503
+                 @current-change="weightChange"
504
+                 @selection-change="selectionchange3"
505
+                style="width: 100%">
506
+                <el-table-column type="selection"width="55">
507
+                </el-table-column>
508
+                <el-table-column prop="date" label="时间"  width="">
509
+
510
+                </el-table-column>
511
+              </el-table>
512
+            </div>
513
+            <div style="width: 72%;margin-left: 10px;">
514
+              <div class="Second_title">内容</div>
515
+              <div class="blood_text" style="" >
516
+                <div v-html="weight_context"></div>
517
+                <!-- {{ blood_context }} -->
518
+              </div>
519
+            </div>
520
+          </div>
521
+        </div>
522
+        <span slot="footer" class="dialog-footer" style="text-align: center;">
523
+          <!-- <el-button type="danger" @click="template_dele">删除模板</el-button>
524
+          <el-button type="primary" @click="template_save">保存模板</el-button> -->
525
+          <el-button type="primary" @click="toContentPint">应用</el-button>
526
+          <el-button @click="weight_dialog = false">取消</el-button>
527
+        </span>
528
+      </el-dialog>
529
+
530
+      <!-- 透析方案 -->
531
+      <el-dialog
532
+        title="透析方案"
533
+        :visible.sync="option_dialog"
534
+        width="70%"
535
+        class="lirary"
536
+        >
537
+        <div>      
538
+          <div style="display: flex;">
539
+            <div style="width: 27%;">
540
+              <div class="Second_title">透析方案列表</div>
541
+              <el-table
542
+                 ref="option_table"
543
+                :data="optionlist"
544
+                :highlight-current-row="true"
545
+                @selection-change="selectionchange4"
546
+                style="width: 100%">
547
+                <el-table-column type="selection"width="55">
548
+                </el-table-column>
549
+                <el-table-column prop="start" label="状态"  width=""></el-table-column>
550
+                <el-table-column prop="mode" label="透析模式"  width=""></el-table-column>
551
+              </el-table>
552
+            </div>
553
+            <div style="width: 72%;margin-left: 10px;">
554
+              <div class="Second_title">方案详情</div>
555
+              <div style="">
556
+                <keep-alive>
557
+                  <ueditor ref="editor" id="editors" :content="option_context"></ueditor>
558
+                </keep-alive>
559
+              </div>
560
+            </div>
561
+          </div>
562
+        </div>
563
+        <span slot="footer" class="dialog-footer" style="text-align: center;">
564
+          <el-button type="primary" @click="toContentPint">应用</el-button>
565
+          <el-button @click="option_dialog = false">取消</el-button>
566
+        </span>
567
+      </el-dialog>
265 568
 
569
+      <!-- 医嘱 -->
570
+      <el-dialog
571
+        title="医嘱"
572
+        :visible.sync="advice_dialog"
573
+        width="80%"
574
+        class="lirary"
575
+        >
576
+        <div>
577
+          <div style="display:flex;">
578
+            <div>
579
+              医嘱类型:
580
+              <el-select v-model="advice_type" @change="type_chang" placeholder="请选择" style="width: 120px;">
581
+                <el-option
582
+                  v-for="item in type_option"
583
+                  :key="item.value"
584
+                  :label="item.label"
585
+                  :value="item.value">
586
+                </el-option>
587
+              </el-select>
588
+            </div>
589
+            <div style="margin-left: 10px;">
590
+              医嘱状态:
591
+              <el-select v-model="advice_status" @change="status_chang" placeholder="请选择" style="width: 120px;">
592
+                <el-option
593
+                  v-for="item in status_option"
594
+                  :key="item.value"
595
+                  :label="item.label"
596
+                  :value="item.value">
597
+                </el-option>
598
+              </el-select>
599
+            </div>
600
+          </div>
601
+          <div style="">
602
+            <el-table
603
+              :data="advicelist"
604
+              :highlight-current-row="true"
605
+                ref="weight_table"
606
+                @selection-change="selectionchange5"
607
+              style="width: 100%">
608
+              <el-table-column type="selection"width="55">
609
+              </el-table-column>
610
+              <el-table-column prop="date" label="开始时间"  width=""></el-table-column>
611
+              <el-table-column prop="name" label="医嘱名称"  width=""></el-table-column>
612
+              <el-table-column prop="guige" label="规格"  width=""></el-table-column>
613
+              <el-table-column prop="danci" label="单次用量"  width=""></el-table-column>
614
+              <el-table-column prop="geiyao" label="给药途径"  width=""></el-table-column>
615
+              <el-table-column prop="pinlv" label="执行频率"  width=""></el-table-column>
616
+              <el-table-column prop="beizhu" label="备注"  width=""></el-table-column>
617
+              <el-table-column prop="tingzhi" label="停止时间/执行时间"  width=""></el-table-column>
618
+              <el-table-column prop="yuanyin" label="停止原因"  width=""></el-table-column>
619
+              <el-table-column prop="yisheng" label="停止医生"  width=""></el-table-column>
620
+            </el-table>
621
+          </div>
622
+        </div>
623
+        <span slot="footer" class="dialog-footer" style="text-align: center;">
624
+          <!-- <el-button type="danger" @click="template_dele">删除模板</el-button>
625
+          <el-button type="primary" @click="template_save">保存模板</el-button> -->
626
+          <el-button type="primary" @click="toContentPint">应用</el-button>
627
+          <el-button @click="advice_dialog = false">取消</el-button>
628
+        </span>
629
+      </el-dialog>
266 630
 
631
+      <!-- 科室检查 -->
632
+      <el-dialog
633
+        title="干体重"
634
+        :visible.sync="Inspect_dialog"
635
+        width="70%"
636
+        class="lirary"
637
+        >
638
+        <div>
639
+          <div style="display:flex;">
640
+            <div>
641
+              日期:
642
+              <el-select v-model="blood_date" @change="blood_chang" placeholder="请选择" style="width: 120px;">
643
+                <el-option
644
+                  v-for="item in date_options"
645
+                  :key="item.value"
646
+                  :label="item.label"
647
+                  :value="item.value">
648
+                </el-option>
649
+              </el-select>
650
+            </div>
651
+            <div style="margin:0 10px">
652
+              <el-date-picker
653
+               @change="changStartDate"
654
+                v-model="start_date1"
655
+                type="date"
656
+                value-format="yyyy-MM-dd"
657
+                placeholder="选择日期"
658
+                style="width: 150px;">
659
+              </el-date-picker>
660
+              <span>-</span>
661
+              <el-date-picker
662
+               @change="changEndDate"
663
+                v-model="end_date1"
664
+                type="date"
665
+                value-format="yyyy-MM-dd"
666
+                placeholder="选择日期"
667
+                style="width: 150px;">
668
+              </el-date-picker>
669
+            </div>
670
+            <div style="text-align: right;margin-bottom: 10px;">
671
+              <el-button type="primary" size="small" @click="bloodsearch">
672
+                查询
673
+              </el-button>
674
+            </div>
675
+          </div>
676
+          <div style="display: flex;">
677
+            <div style="width: 27%;">
678
+              <div style="display: flex;">
679
+                <div style="flex: 1;">
680
+                  <div class="Second_title">检验项目</div>
681
+                </div>
682
+                <div style="flex: 1;text-align: right;">
683
+                  全选<el-checkbox v-model="checked"></el-checkbox>
684
+                </div>
685
+              </div>
686
+              <div>
687
+                <el-collapse v-model="activeNames" @change="handleChange" v-for="(item,index) in Inspectlist" :key="item.id">
688
+                  <el-collapse-item :title="item.name" :name="item.id">
689
+                    <ul>
690
+                      <li v-for="i in item.child" class="inspect" @click="childclick(i.date)">{{ i.date }}</li>
691
+                    </ul>
692
+                  </el-collapse-item>
693
+                </el-collapse>
694
+              </div>
695
+            </div>
696
+            <div style="width: 72%;margin-left: 10px;">
697
+              <div class="Second_title">内容</div>
698
+              <div class="blood_text" style="" >
699
+                <div v-html="weight_context"></div>
700
+                <!-- {{ blood_context }} -->
701
+              </div>
702
+            </div>
703
+          </div>
704
+        </div>
705
+        <span slot="footer" class="dialog-footer" style="text-align: center;">
706
+          <!-- <el-button type="danger" @click="template_dele">删除模板</el-button>
707
+          <el-button type="primary" @click="template_save">保存模板</el-button> -->
708
+          <el-button type="primary" @click="toContentPint">应用</el-button>
709
+          <el-button @click="Inspect_dialog = false">取消</el-button>
710
+        </span>
711
+      </el-dialog>
712
+    </div>
713
+    
714
+    <!-- <table border="1" style="border-collapse: collapse;width: 100%;">
715
+      <tr><td colspan="4">HD,每周3次,启用</td></tr>
716
+      <tr>
717
+        <td>透析时长(h):4</td>
718
+        <td>置换方式:</td>
719
+        <td>血流量(ml/min):250</td>
720
+        <td></td>
721
+      </tr>
722
+      <tr>
723
+        <td>血透器:空心纤维血液透析器B-18BHF(B-18BHF)</td>
724
+        <td>血滤器:</td>
725
+        <td>灌流器:</td>
726
+        <td>透析液流量(ml/min):500</td>
727
+      </tr>
728
+      <tr>
729
+        <td>钾(mmol/L):2.0</td>
730
+        <td>钠(mmol/L):138</td>
731
+        <td>钙(mmol/L):1.5</td>
732
+        <td>碳酸氢根(mmol/L):32</td>
733
+      </tr>
734
+      <tr>
735
+        <td>抗凝剂:低分子肝素</td>
736
+        <td>首剂(iu):4500</td>
737
+        <td>维持(iu): 0</td>
738
+        <td>总量(iu):4500</td>
739
+      </tr>
740
+      <tr><td colspan="4">抗凝剂公式:自定义维持时长(H)</td></tr>
741
+    </table> -->
742
+  </div>
267 743
 </template>
268 744
 
269 745
 <script>
@@ -307,6 +783,7 @@
307 783
         date: [],
308 784
         start_time: '',
309 785
         end_time: '',
786
+
310 787
         course_of_disease_time: moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),
311 788
         records: [],
312 789
         doctors: [],
@@ -331,9 +808,18 @@
331 808
         template_dialog:false,
332 809
         library_dialog:false,
333 810
         auto_dialog:false,
811
+        blood_dialog:false,
812
+        summary_dialog:false,
813
+        weight_dialog:false,
814
+        option_dialog:false,
815
+        advice_dialog:false,
816
+        Inspect_dialog:false,
817
+        checked:false,
334 818
         quzhi_date:1,
335 819
         start_date:'',
336 820
         end_date:'',
821
+        start_date1:'',
822
+        end_date1:'',
337 823
         quzhi_options:[{value:1,label:'本周'},{value:2,label:'上周'},{value:3,label:'本月'},{value:4,label:'上月'},],
338 824
         tableData:[],
339 825
         admin_user_id:"",
@@ -379,6 +865,44 @@
379 865
             right:[{c_id:1,c_name:'白细胞1',c_value:110},{c_id:2,c_name:'白细胞3',c_value:110}]}
380 866
         ],
381 867
         textcontent:'',
868
+
869
+// before:'150/66mmHg',monitor:['150/66mmHg','拒测/拒测mmHg','142/69mmHg','拒测/拒测mmHg',],after:'145/69mmHg',
870
+        bloodList:[
871
+          {date:'2024-12-14',mode:'HD',
872
+            content:'2024-12-14(HD) 透前血压:150/66mmHg;监测记录:150/66mmHg,拒测/拒测mmHg,142/69mmHg,拒测/拒测mmHg,145/69mmHg;透后血压:145/69mmHg。'
873
+          },
874
+          {date:'2024-12-12',mode:'HD',
875
+            content:'2024-12-12(HD) 透前血压:150/66mmHg;监测记录:150/66mmHg,拒测/拒测mmHg,142/69mmHg,拒测/拒测mmHg,145/69mmHg;透后血压:145/69mmHg。'}
876
+        ],
877
+        weightlist:[{date:'2024-12-17 07:13',value:0.3,weight:62.5},{date:'2024-12-10 07:08',value:0.2,weight:62.2}],
878
+        optionlist:[{start:'启',mode:'HD',content:''},{start:'启',mode:'HDF',content:''}],
879
+        advicelist:[{date:'2024-12-17 07:13',name:'非布司他片',guige:'40mg*16T',danci:'25 mg',geiyao:'口服',pinlv:'qn',beizhu:'40mg*16T',tingzhi:'',yuanyin:'口服',yisheng:'qn',}],
880
+        Inspectlist:[{id:1,name:'传染病四项',child:[{c_id:1,date:'2024-12-17 07:13',text:'传染病四项 - 检验日期:2024-06-12;HbsAg阴性;抗-HCV阴性;抗-HIV阴性; 梅毒TP阴性;'},
881
+          {c_id:2,date:'2024-12-14 07:13',text:'传染病四项 - 检验日期:2024-06-12;HbsAg阴性;抗-HCV阴性;抗-HIV阴性; 梅毒TP阴性;'},{c_id:3,date:'2024-12-17 07:13'},{c_id:4,date:'2024-12-14 07:13'}]},
882
+            {id:2,name:'铁五项',child:[{c_id:1,date:'2024-12-15 07:13'},{c_id:2,date:'2024-12-16 07:13'}]}
883
+        ],
884
+        bloodRows:[],
885
+        summaryRows:[],
886
+        weightRows:[],
887
+        optionRows:[],
888
+        adviceRows:[],
889
+        activeNames:[],
890
+        InspectRows:[],
891
+        blood_context:'',
892
+        summary_context:'',
893
+        weight_context:'',
894
+        option_context:'',
895
+        blood_date:2,
896
+        advice_type:2,
897
+        advice_status:1,
898
+        date_options:[{value:1,label:'当天'},{value:2,label:'最近七天'},{value:3,label:'最近30天'},{value:4,label:'本周'},
899
+          {value:5,label:'上周'},{value:6,label:'本月'},{value:7,label:'上月'},{value:8,label:'今年一季度'},
900
+          {value:9,label:'今年二季度'},{value:10,label:'今年三季度'},{value:11,label:'今年四季度'},{value:12,label:'今年上半年'},
901
+          {value:13,label:'今年下半年'},{value:14,label:'今年'},{value:15,label:'上一年'},{value:16,label:'自定义'},
902
+        ],
903
+        type_option:[{value:1,label:'不限'},{value:2,label:'长期医嘱'},{value:3,label:'临时医嘱'}],
904
+        status_option:[{value:1,label:'不限'},{value:2,label:'未停止'},{value:3,label:'已停止'}]
905
+
382 906
       }
383 907
     },
384 908
     created() {
@@ -424,8 +948,9 @@
424 948
           this.start_date = this.getFirstDayOfMonth(new Date())
425 949
           this.end_date = this.getTime(new Date())
426 950
         }else if(val ==4){
427
-          this.getLastMonthFirstDay()
428
-          this.getLastMonthLastDay()
951
+          this.start_date = this.getLastMonthFirstDay()
952
+          this.end_date = this.getLastMonthLastDay()
953
+
429 954
         }
430 955
       },
431 956
       toContentPint(){
@@ -605,7 +1130,7 @@
605 1130
         // this.auto_dialog = true
606 1131
       },
607 1132
       autotext_click(){
608
-       
1133
+
609 1134
           //  医嘱
610 1135
           if(this.longAdvice!=null && this.longAdvice.length>0){
611 1136
             for(let i=0;i<this.longAdvice.length;i++){
@@ -870,7 +1395,7 @@
870 1395
               id:this.longAdvice[j].id,
871 1396
               newlist:'newList'+j
872 1397
             }
873
-            newListArr.push(obj) 
1398
+            newListArr.push(obj)
874 1399
           }
875 1400
           for(let i in this.longAdvice){
876 1401
             for(let j in newListArr){
@@ -1039,6 +1564,80 @@
1039 1564
          this.AuToShow = true
1040 1565
 
1041 1566
 
1567
+      },
1568
+      blood_chang(val){
1569
+        if(val == 1){
1570
+          this.start_date1 = this.getTime(new Date())
1571
+          this.end_date1 = this.getTime(new Date())
1572
+        }else if (val == 2){
1573
+          this.start_date1 = this.timeForMat(7)
1574
+          this.end_date1 = this.getTime(new Date())
1575
+        }else if (val == 3){
1576
+          this.start_date1 = this.timeForMat(30)
1577
+          this.end_date1 = this.getTime(new Date())
1578
+        }else if (val == 4){
1579
+          this.start_date1 = this.getFirstDayOfWeek(new Date())
1580
+          this.end_date1 = this.getTime(new Date())
1581
+        }else if (val == 5){
1582
+          this.getlastweek(new Date())
1583
+        }else if (val == 6){
1584
+          this.start_date1 = this.getFirstDayOfMonth(new Date())
1585
+          this.end_date1 = this.getTime(new Date())
1586
+        }else if (val == 7){
1587
+          this.start_date1 = this.getLastMonthFirstDay()
1588
+          this.end_date1 = this.getLastMonthLastDay()
1589
+        }else if (val == 8){
1590
+          this.start_date1 = this.getquarterstart(0,1)
1591
+          this.end_date1 = this.getquarterend(2,31)
1592
+        }else if (val == 9){
1593
+          this.start_date1 = this.getquarterstart(3,1)
1594
+          this.end_date1 = this.getquarterend(5,30)
1595
+        }else if (val == 10){
1596
+          this.start_date1 = this.getquarterstart(6,1)
1597
+          this.end_date1 = this.getquarterend(8,30)
1598
+        }else if (val == 11){
1599
+          this.start_date1 = this.getquarterstart(9,1)
1600
+          this.end_date1 = this.getquarterend(11,31)
1601
+        }else if (val == 12){
1602
+          this.start_date1 = this.getquarterstart(0,1)
1603
+          this.end_date1 = this.getquarterend(5,30)
1604
+        }else if (val == 13){
1605
+          this.start_date1 = this.getquarterstart(6,1)
1606
+          this.end_date1 = this.getquarterend(11,31)
1607
+        }else if (val == 14){
1608
+          this.start_date1 = this.getFirstDayOfYear(new Date())
1609
+          this.end_date1 = this.getTime(new Date())
1610
+        }else if (val == 15){
1611
+          this.start_date1 = this.getLastYearFirstDay()
1612
+          this.end_date1 = this.getLastYearLastDay()
1613
+        }else{
1614
+          this.start_date1 = this.getPreviousDate(7)
1615
+          this.end_date1 = this.getTime(new Date())
1616
+        }
1617
+      },
1618
+      // 最近七,30天
1619
+      timeForMat(count) {
1620
+        // 拼接时间
1621
+        const time1 = new Date()
1622
+        const time2 = new Date()
1623
+        if (count === 1) {
1624
+          time1.setTime(time1.getTime() - (24 * 60 * 60 * 1000))
1625
+        } else {
1626
+          time1.setTime(time1.getTime())
1627
+        }
1628
+
1629
+        const Y1 = time1.getFullYear()
1630
+        const M1 = ((time1.getMonth() + 1) > 9 ? (time1.getMonth() + 1) : '0' + (time1.getMonth() + 1))
1631
+        const D1 = (time1.getDate() > 9 ? time1.getDate() : '0' + time1.getDate())
1632
+        const timer1 = Y1 + '-' + M1 + '-' + D1 + ' ' + '23:59:59' // 当前时间
1633
+
1634
+        time2.setTime(time2.getTime() - (24 * 60 * 60 * 1000 * count))
1635
+        const Y2 = time2.getFullYear()
1636
+        const M2 = ((time2.getMonth() + 1) > 9 ? (time2.getMonth() + 1) : '0' + (time2.getMonth() + 1))
1637
+        const D2 = (time2.getDate() > 9 ? time2.getDate() : '0' + time2.getDate())
1638
+        const timer2 = Y2 + '-' + M2 + '-' + D2  // 之前的7天或者30天
1639
+        console.log('timer2, timer1',timer2, timer1);
1640
+        return timer2
1042 1641
       },
1043 1642
       // 本周
1044 1643
       getFirstDayOfWeek(date){
@@ -1063,6 +1662,7 @@
1063 1662
         }
1064 1663
         // this.start_date = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate() ;
1065 1664
         this.start_date = date.getFullYear() + "-" + m + "-" + d ;
1665
+        this.start_date1 = date.getFullYear() + "-" + m + "-" + d ;
1066 1666
         date.setDate(date.getDate() +6);
1067 1667
         var mm = ''
1068 1668
         var dd = ''
@@ -1076,10 +1676,8 @@
1076 1676
         }else{
1077 1677
           dd = date.getDate()
1078 1678
         }
1079
-        // if(date.getMonth() + 1<10)
1080
-        // this.end_date = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate();
1081 1679
         this.end_date = date.getFullYear() + "-" + mm + "-" + dd ;
1082
-        console.log('this.end_date',this.end_date);
1680
+        this.end_date1 = date.getFullYear() + "-" + mm + "-" + dd ;
1083 1681
       },
1084 1682
       // 本月
1085 1683
       getFirstDayOfMonth (date) {
@@ -1093,8 +1691,8 @@
1093 1691
           var y = date.getFullYear(); //获取年份
1094 1692
           var m = date.getMonth() + 1; //获取月份
1095 1693
           m = m < 10 ? "0" + m : m;
1096
-          this.start_date = [y, m, '01'].join("-")
1097
-          // return [y, m, '01'].join("-");
1694
+          // this.start_date = [y, m, '01'].join("-")
1695
+          return [y, m, '01'].join("-");
1098 1696
       },
1099 1697
       // 上个月最后一天
1100 1698
       getLastMonthLastDay() {
@@ -1105,9 +1703,51 @@
1105 1703
           var d = new Date(y, m, 0).getDate(); //获取当月最后一日
1106 1704
           m = m < 10 ? "0" + m : m; //月份补 0
1107 1705
           d = d < 10 ? "0" + d : d; //日数补 0
1108
-          this.end_date = [y, m, d].join("-")
1109
-          // return [y, m, d].join("-");
1706
+          // this.end_date = [y, m, d].join("-")
1707
+          return [y, m, d].join("-");
1708
+      },
1709
+      // 本年
1710
+      getFirstDayOfYear (date) {
1711
+        date.setDate(1);
1712
+        date.setMonth(0);
1713
+        return this.timeFormat(date);
1110 1714
       },
1715
+      // 上一年第一天
1716
+      getLastYearFirstDay() {
1717
+          let date = new Date();
1718
+         const year= date.setFullYear(date.getFullYear() - 1); // 设置年份为前一年
1719
+         const start_month= date.setMonth(0); // 设置月份为1月(注意月份是从0开始的)
1720
+         const start_day = date.setDate(1); // 设置日期为1日
1721
+        //  const last_month = date.setMonth(11); // 设置月份为12月
1722
+        //  const last_day = date.setDate(0); // 设置日期为0,这将自动设置为该月的最后一天
1723
+        //  this.start_date = year+ "-" +start_month+ "-" +start_day
1724
+        //  this.start_date = this.getTime(start_day)
1725
+         return this.getTime(start_day)
1726
+      },
1727
+      // 上一年最后一天
1728
+      getLastYearLastDay() {
1729
+          let date = new Date();
1730
+          const year= date.setFullYear(date.getFullYear() - 1); // 设置年份为前一年
1731
+          const last_month = date.setMonth(12); // 设置月份为12月
1732
+          const last_day = date.setDate(0);// 设置日期为0,这将自动设置为该月的最后一天
1733
+          // this.end_date =  year+ "-" +last_month+ "-" +last_day
1734
+          // this.end_date = this.getTime(last_day)
1735
+          console.log('this.end_date',this.end_date);
1736
+          return this.getTime(last_day)
1737
+      },
1738
+      // 季度第一天
1739
+      getquarterstart(index,number){
1740
+        const currentYear = new Date().getFullYear();
1741
+        const Start = this.timeFormat(new Date(currentYear, index, number));
1742
+        return Start
1743
+      },
1744
+      // 季度最后一天
1745
+      getquarterend(index,number){
1746
+        const currentYear = new Date().getFullYear();
1747
+        const End = this.timeFormat(new Date(currentYear, index, number));
1748
+        return End
1749
+      },
1750
+
1111 1751
       // 日期格式化
1112 1752
       timeFormat(date) {
1113 1753
           if (!date || typeof(date) === "string") {
@@ -1129,7 +1769,6 @@
1129 1769
           return y + "-" + m + "-" + d;
1130 1770
       },
1131 1771
 
1132
-
1133 1772
       requestCourseRecords: function() {
1134 1773
         this.loading = true
1135 1774
         getCourseOfDiseaseRecords(this.patient_id, this.start_time, this.end_time).then(rs => {
@@ -1519,16 +2158,183 @@
1519 2158
       getTimeOne (time) {
1520 2159
       return uParseTime(time, '{y}-{m}-{d}')
1521 2160
       },
1522
-
1523 2161
       newcontent(val){
1524 2162
         this.new_content =''
1525 2163
         this.new_content = val
1526 2164
         console.log('1111112323',val);
1527 2165
         this.$refs.editor.contents = this.new_content
2166
+      },
2167
+      bloodChange(val){
2168
+        this.bloodRows = []
2169
+        const text = val.content
2170
+        this.blood_context = text
2171
+        console.log('this.blood_context',this.blood_context);
2172
+      },
2173
+      summaryChange(val){
2174
+        this.summaryRows =[]
2175
+        const text = val.date + '('+ val.mode + ')' + ' 透析过程平稳,无不适主诉,顺利结束透析治疗。'
2176
+        this.summary_context = text
2177
+      },
2178
+      weightChange(val){
2179
+        const text = val.date + '调整值'+ val.value + 'kg' + '干体重'+ val.weight+'kg'
2180
+        this.weight_context = text
2181
+      },
2182
+      type_chang(val){
2183
+        this.advice_type = val
2184
+      },
2185
+      status_chang(val){
2186
+        this.advice_status = val
2187
+      },
2188
+      selectionchange(val){
2189
+        this.bloodRows = val
2190
+        this.gettext(val)
2191
+        console.log('血压',this.bloodRows);
2192
+      },
2193
+      selectionchange2(val){
2194
+        this.summaryRows = val
2195
+        this.getsummary(val)
2196
+        console.log('透析小结',this.summaryRows);
2197
+      },
2198
+      selectionchange3(val){
2199
+        this.weightRows = val
2200
+        this.getweight(val)
2201
+        console.log('透析小结',this.weightRows);
2202
+      },
2203
+      selectionchange4(val){
2204
+        this.optionRows = val
2205
+        this.getoption(val)
2206
+        console.log('透析小结',this.weightRows);
2207
+      },
2208
+      selectionchange5(val){
2209
+        this.adviceRows = val
2210
+      },
2211
+      gettext(val){
2212
+        const arr= []
2213
+        if(val.length>0){
2214
+          for(let i in val){
2215
+            arr.push(val[i].content)
2216
+          }
2217
+        }
2218
+        this.blood_context = arr.join('<br/>')
2219
+        console.log('拼接val.content.join()',arr.join('<br/>'));
2220
+
2221
+      },
2222
+      getsummary(val){
2223
+        const arr= []
2224
+        if(val.length>0){
2225
+          for(let i in val){
2226
+            const obj = val[i].date +'('+ val[i].mode + ')'+'透析过程平稳,无不适主诉,顺利结束透析治疗。'
2227
+            arr.push(obj)
2228
+          }
2229
+        }
2230
+        console.log('1111111',arr);
2231
+
2232
+        this.summary_context = `${arr.join('<br/>')}`
2233
+      },
2234
+      getweight(val){
2235
+        const arr= []
2236
+        if(val.length>0){
2237
+          for(let i in val){
2238
+            const obj = val[i].date + '调整值'+ val[i].value + 'kg' + '干体重'+ val[i].weight+'kg'
2239
+            arr.push(obj)
2240
+          }
2241
+        }
2242
+        console.log('1111111',arr);
2243
+        this.weight_context = `${arr.join('<br/>')}`
2244
+      },
2245
+      getoption(val){
2246
+        const arr= []
2247
+        if(val.length>0){
2248
+          for(let i in val){
2249
+            const text = `1111111111${val[i].mode}`
2250
+            arr.push(text)
2251
+          }
2252
+        }
2253
+        const contenttext = `${arr.join('<br/>')}`
2254
+        this.option_context = contenttext
2255
+        console.log('option_context',this.option_context);
2256
+        this.$refs.editor.contents = this.option_context
2257
+      },
2258
+      // 血压搜索
2259
+      bloodsearch(val){
2260
+
2261
+      },
2262
+      blood_click(){
2263
+        this.blood_dialog =true
2264
+        this.start_date1 = this.timeForMat(7)
2265
+        this.end_date1 = this.getTime(new Date())
2266
+        this.$nextTick(()=>{
2267
+          this.$refs.blood_table.setCurrentRow(this.bloodList[0])
2268
+        })
2269
+
2270
+      },
2271
+      summary_click(){
2272
+        this.summary_dialog = true
2273
+        this.start_date1 = this.timeForMat(7)
2274
+        this.end_date1 = this.getTime(new Date())
2275
+        this.$nextTick(()=>{
2276
+          this.$refs.blood_table.setCurrentRow(this.bloodList[0])
2277
+        })
2278
+      },
2279
+      weight_click(){
2280
+        this.weight_dialog =true
2281
+        this.start_date1 = this.timeForMat(7)
2282
+        this.end_date1 = this.getTime(new Date())
2283
+        this.$nextTick(()=>{
2284
+          this.$refs.weight_table.setCurrentRow(this.weightlist[0])
2285
+        })
2286
+      },
2287
+      option_click(){
2288
+        this.option_dialog =true
2289
+        // this.start_date1 = this.timeForMat(7)
2290
+        // this.end_date1 = this.getTime(new Date())
2291
+        // this.$nextTick(()=>{
2292
+        //   this.$refs.option_table.setCurrentRow(this.weightlist[0])
2293
+        // })
2294
+      },
2295
+      advice_click(){
2296
+        this.advice_dialog = true
2297
+      },
2298
+      diagnosis_click(){
2299
+        const text =`<table border="1" style="border-collapse: collapse;text-align: center;">
2300
+          <tr><td>1</td><td>高尿酸血症</td></tr>
2301
+          <tr><td>2</td><td>继发性甲状旁腺功能亢进</td></tr>
2302
+        </table>`
2303
+        this.new_content = text
2304
+        this.$refs.editor.contents = this.new_content
2305
+      },
2306
+      hospital_click(){
2307
+        const text = `<p style="line-height: 50px;display: flex;"><span style="display: inline-block;flex: 1;">住院日期:</span><span style="display: inline-block;flex: 1;">出院日期:</span></p>
2308
+    <p style="line-height: 50px;display: flex;"><span style="display: inline-block;flex: 1;">入院诊断:</span><span style="display: inline-block;flex: 1;">出院诊断:</span></p>`
2309
+        this.new_content = text 
2310
+        this.$refs.editor.contents = this.new_content
2311
+      },
2312
+      Inspect_click(){
2313
+        this.Inspect_dialog = true
2314
+        this.start_date1 = this.timeForMat(7)
2315
+        this.end_date1 = this.getTime(new Date())
2316
+      },
2317
+      handleChange(val){
2318
+
2319
+      },
2320
+      childclick(eve){
2321
+        // const arr = []
2322
+        // arr.push(eve)
2323
+        // 
2324
+        this.InspectRows.push(eve)
2325
+        console.log('检查',this.InspectRows);
2326
+      },
2327
+      getinspect(val){
2328
+        // if(val != ''){
2329
+        //   for(let i in this.Inspectlist){
2330
+
2331
+        //   }
2332
+        // }
1528 2333
       }
2334
+
1529 2335
     },
1530 2336
     beforeMount(){
1531
-      
2337
+
1532 2338
     },
1533 2339
     mounted(){
1534 2340
 
@@ -1607,6 +2413,16 @@
1607 2413
   .text_margin{
1608 2414
     display: block;
1609 2415
   }
2416
+  .blood_text{
2417
+    border: 1px solid #cfcaca;
2418
+    min-height: 400px;
2419
+    padding: 5px;
2420
+  }
2421
+  .inspect{
2422
+    line-height: 40px;
2423
+    text-align: center;
2424
+    border: 1px solid gainsboro;
2425
+  }
1610 2426
 </style>
1611 2427
 <style lang="scss">
1612 2428
 .el-table td,