Przeglądaj źródła

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

28169 6 miesięcy temu
rodzic
commit
4749f8e923

+ 12 - 0
src/router/modules/dialysis.js Wyświetl plik

@@ -841,6 +841,18 @@ export default {
841 841
         noCache: true
842 842
       }
843 843
     },
844
+    {
845
+      path: '/dialysis/print/batch/fortyeight',
846
+      component: () =>
847
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_fortyeight'),
848
+      hidden: true,
849
+      is_menu: false,
850
+      name: 'batch_print_order_fortyeight',
851
+      meta: {
852
+        title: '批量打印',
853
+        noCache: true
854
+      }
855
+    },
844 856
     {
845 857
       path: '/dialysis/print/batch/fortyOne',
846 858
       component: () =>

Plik diff jest za duży
+ 1915 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_fortyeight.vue


+ 16 - 9
src/xt_pages/dialysis/bloodPresssWatch.vue Wyświetl plik

@@ -91,7 +91,7 @@
91 91
           >
92 92
         </div>
93 93
       </template>
94
-      <template v-if="this.template_id == 6 || this.template_id == 48 || this.template_id == 0">
94
+      <template v-if="this.template_id == 6 || this.template_id == 0">
95 95
         <el-button
96 96
           size="small"
97 97
           icon="el-icon-printer"
@@ -328,7 +328,17 @@
328 328
           >批量打印</el-button
329 329
         >
330 330
       </template>
331
-        <template v-if="this.template_id == 47 && this.org_id!=10318">
331
+      <template v-if="this.template_id == 47 && this.org_id!=10318">
332
+        <el-button
333
+          size="small"
334
+          icon="el-icon-printer"
335
+          :disabled="selecting_schs.length == 0"
336
+          @click="batchPrintAction"
337
+          type="primary"
338
+          >批量打印</el-button
339
+        >
340
+      </template>
341
+      <template v-if="this.template_id == 48">
332 342
         <el-button
333 343
           size="small"
334 344
           icon="el-icon-printer"
@@ -553,6 +563,8 @@
553 563
         <el-button type="primary" @click="changeSearchMode">{{
554 564
           search_mode == 1 ? "改为病人查询" : "改为日期查询"
555 565
         }}</el-button>
566
+        <el-button type="primary" @click="printOrder">透析并发症登记打印</el-button>
567
+        <el-button type="primary" @click="toExport">导出</el-button>
556 568
       </div>
557 569
       <div class="cell clearfix"  v-show="search_mode == 2">
558 570
          <label class="title">
@@ -615,11 +627,6 @@
615 627
         </div>
616 628
       </div>
617 629
 
618
-      <div style="margin-left: 10px; margin-bottom: 10px;">
619
-        <el-button type="primary" size="small" @click="printOrder">透析并发症登记打印</el-button>
620
-        <el-button type="primary" size="small" @click="toExport">导出</el-button>
621
-      </div>
622
-
623 630
       <el-table
624 631
         :row-style="{ color: '#303133' }"
625 632
         :header-cell-style="{
@@ -634,6 +641,7 @@
634 641
         @selection-change="handleSelectionChange"
635 642
         highlight-current-row
636 643
         :cell-class-name="cellStyle"
644
+        height="calc(100vh - 300px)"
637 645
       >
638 646
         <el-table-column
639 647
           type="selection"
@@ -1667,7 +1675,6 @@
1667 1675
         layout="total, sizes, prev, pager, next, jumper"
1668 1676
         :total="total"
1669 1677
       ></el-pagination>
1670
-      <!-- :page-sizes="[20, 40, 60, 80,100,300,500]" -->
1671 1678
     </div>
1672 1679
   </div>
1673 1680
 </template>
@@ -2693,7 +2700,7 @@ export default {
2693 2700
       } else if (this.template_id == 47 && this.org_id!=10318) {
2694 2701
         this.$router.push({ path: "/dialysis/print/batch/fortyThree" });
2695 2702
       } else if (this.template_id == 48) {
2696
-        this.$router.push({ path: "/dialysis/print/batch/six" });
2703
+        this.$router.push({ path: "/dialysis/print/batch/fortyeight" });
2697 2704
       }else if (this.template_id == 51) {
2698 2705
         this.$router.push({ path: "/dialysis/print/batch/fiftyOne" });
2699 2706
       }else if (this.template_id == 53) {

+ 302 - 307
src/xt_pages/dialysis/newDoctorAdvice.vue Wyświetl plik

@@ -24,30 +24,44 @@
24 24
     </div>
25 25
     <div class="app-container">
26 26
       <div class="filter-container">
27
-      <el-autocomplete
28
-          class="checkSearch"
29
-          popper-class="my-autocomplete"
30
-          v-model.trim="listQuery.keyword"
31
-          :fetch-suggestions="querySearchAsync"
32
-          :trigger-on-focus="false"
33
-          placeholder="患者姓名"
34
-          @select="handleSelect"
35
-        >
36
-          <i class="el-icon-search el-input__icon" slot="suffix"></i>
37
-          <template slot-scope="{ item }">
38
-            <div class="name">{{ item.name }}</div>
39
-          </template>
40
-       </el-autocomplete>
41
-       <el-button type="primary" @click="toSeach">搜索</el-button>
42
-
43
-
44
-      </div>
45
-      <div class="filter-container">
46
-      <el-input style="width:200px" placeholder="请输入药品名称" v-model="keyword"></el-input>
47
-       <el-button type="primary" @click="toSeachOne">搜索</el-button>
48
-
49
-
27
+        <div style="display: flex;">
28
+          <div style="flex: 1;">
29
+            <el-autocomplete
30
+            class="checkSearch"
31
+            popper-class="my-autocomplete"
32
+            v-model.trim="listQuery.keyword"
33
+            :fetch-suggestions="querySearchAsync"
34
+            :trigger-on-focus="false"
35
+            placeholder="患者姓名"
36
+            @select="handleSelect"
37
+          >
38
+            <i class="el-icon-search el-input__icon" slot="suffix"></i>
39
+            <template slot-scope="{ item }">
40
+              <div class="name">{{ item.name }}</div>
41
+            </template>
42
+            </el-autocomplete>
43
+            <el-button type="primary" @click="toSeach">搜索</el-button>
44
+            
45
+            <el-input style="width:200px" placeholder="请输入药品名称" v-model="keyword"></el-input>
46
+            <el-button type="primary" @click="toSeachOne">搜索</el-button>
47
+          </div>
48
+          <div style="flex: 1;text-align: right;">
49
+            <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=0  && org_id!=10340">药品统计</el-button>
50
+
51
+            <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id == 0 || org_id==10340">药品统计</el-button>
52
+            <el-button type="primary" size="small" @click="toStaticThree">药品月统计</el-button>
53
+
54
+            <el-button type="primary" size="small" @click="toStaticTwo">耗材统计</el-button>
55
+
56
+            <el-button type="primary" size="small" @click="toStaticFour">耗材月统计</el-button>
57
+          </div>
58
+        </div>
59
+        
50 60
       </div>
61
+      <!-- <div class="filter-container">
62
+        <el-input style="width:200px" placeholder="请输入药品名称" v-model="keyword"></el-input>
63
+        <el-button type="primary" @click="toSeachOne">搜索</el-button>
64
+      </div> -->
51 65
       <div class="cell clearfix">
52 66
         <label class="title">
53 67
           <span class="name">日期查询:</span>
@@ -57,16 +71,14 @@
57 71
           prefix-icon="el-icon-date"
58 72
           @change="changeTime"
59 73
           :editable="false"
60
-          style="width: 250px;"
74
+          style="width: 180px;margin-right: 10px;"
61 75
           type="date"
62 76
           placeholder="选择日期时间"
63 77
           align="right"
64 78
           format="yyyy-MM-dd"
65 79
           value-format="timestamp"
66 80
         ></el-date-picker>
67
-      </div>
68 81
 
69
-      <div class="cell clearfix">
70 82
         <label class="title">
71 83
           <span class="name">排序:</span>
72 84
         </label>
@@ -81,6 +93,21 @@
81 93
         </el-select>
82 94
       </div>
83 95
 
96
+      <!-- <div class="cell clearfix">
97
+        <label class="title">
98
+          <span class="name">排序:</span>
99
+        </label>
100
+        <el-select v-model="sort" placeholder="请选择" @change="selectSortType">
101
+          <el-option
102
+            v-for="item in options"
103
+            :key="item.name"
104
+            :label="item.name"
105
+            :value="item.id"
106
+            >
107
+          </el-option>
108
+        </el-select>
109
+      </div> -->
110
+
84 111
 
85 112
       <div class="cell clearfix">
86 113
         <label class="title"> <span class="name">排班班次</span> : </label>
@@ -98,7 +125,7 @@
98 125
         </div>
99 126
       </div>
100 127
      <div class="cell clearfix">
101
-        <label class="title"> <span class="name">收费状态</span> : </label>
128
+        <label class="title"><span class="name">收费状态</span> : </label>
102 129
         <div class="time">
103 130
           <ul class>
104 131
             <li
@@ -114,7 +141,7 @@
114 141
       </div>
115 142
 
116 143
       <div class="cell clearfix">
117
-        <label class="title"> <span class="name">分区</span> : </label>
144
+        <label class="title"><span class="name">分区</span> : </label>
118 145
         <div class="time">
119 146
           <ul class>
120 147
             <li
@@ -131,7 +158,7 @@
131 158
 
132 159
      <div class="cell clearfix">
133 160
         <label class="title"> <span class="name">给药途径</span> : </label>
134
-        <div class="time">
161
+        <div class="time" style="width: 90%;">
135 162
           <ul class>
136 163
             <li
137 164
               :class="item.id == delivery_way ? 'active' : ''"
@@ -147,7 +174,7 @@
147 174
 
148 175
       <div class="cell clearfix">
149 176
         <label class="title"> <span class="name">执行频率</span> : </label>
150
-        <div class="time">
177
+        <div class="time" style="width: 90%;">
151 178
           <ul class>
152 179
             <li
153 180
               :class="item.id == execution_frequency ? 'active' : ''"
@@ -182,7 +209,7 @@
182 209
         <el-button type="primary" size="small" @click="toSettle">收费</el-button>
183 210
       </div> -->
184 211
 
185
-      <div style="margin-top: 10px;margin-bottom:10px">
212
+      <!-- <div style="margin-top: 10px;margin-bottom:10px">
186 213
         <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=9671  && org_id!=10340">药品统计</el-button>
187 214
 
188 215
         <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id == 9671 || org_id==10340">药品统计</el-button>
@@ -195,8 +222,7 @@
195 222
         <el-button type="primary" size="small" @click="toStaticFour">耗材月统计</el-button>
196 223
 
197 224
 
198
-      </div>
199
-
225
+      </div> -->
200 226
 
201 227
       <el-table :data="scheduleMap" border :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
202 228
         @selection-change="handleSelectionChange"
@@ -269,13 +295,7 @@
269 295
             </el-dropdown>
270 296
           </template>
271 297
         </el-table-column>
272
-        <el-table-column
273
-          prop="start_time"
274
-          align="center"
275
-          min-width="30px"
276
-          label="执行时间"
277
-          sortable
278
-        >
298
+        <el-table-column prop="start_time" min-width="30px" label="执行时间" align="center" sortable>
279 299
           <template slot-scope="scope">
280 300
             <span v-if="scope.row.execution_time != 0">
281 301
               {{scope.row.execution_time | parseTime('{m}-{d} {h}:{i}')}}
@@ -299,13 +319,7 @@
299 319
             <span v-else>{{getXuserName(scope.row.checker)}}</span>
300 320
           </template>
301 321
         </el-table-column>
302
-        <el-table-column
303
-          prop="check_time"
304
-          align="center"
305
-          min-width="30px"
306
-          label="校对时间"
307
-          sortable
308
-        >
322
+        <el-table-column prop="check_time" align="center" label="校对时间" min-width="30px" sortable>
309 323
           <template slot-scope="scope">
310 324
             <span v-if="scope.row.check_time != 0  && org_id!=10460">
311 325
               {{scope.row.check_time | parseTime('{m}-{d} {h}:{i}')}}
@@ -321,13 +335,7 @@
321 335
             <span>{{ getXuserName(scope.row.advice_doctor) }}</span>
322 336
           </template>
323 337
         </el-table-column>
324
-        <el-table-column
325
-          prop="created_time"
326
-          align="center"
327
-          min-width="30px"
328
-          label="校对时间"
329
-          sortable
330
-        >
338
+        <el-table-column prop="created_time" align="center" min-width="30px" label="校对时间" sortable>
331 339
           <template slot-scope="scope">
332 340
             <span v-if="scope.row.created_time != 0 && org_id!=10460">
333 341
               {{scope.row.created_time | parseTime('{m}-{d} {h}:{i}')}}
@@ -335,13 +343,7 @@
335 343
             <span v-else></span>
336 344
           </template>
337 345
         </el-table-column>
338
-        <el-table-column
339
-          prop="created_time"
340
-          align="center"
341
-          min-width="30px"
342
-          label="收费状态"
343
-          sortable
344
-        >
346
+        <el-table-column prop="created_time"  align="center" min-width="30px" label="收费状态" sortable>
345 347
           <template slot-scope="scope">
346 348
             <span v-if="scope.row.is_settle == 1">
347 349
               已收费
@@ -354,7 +356,6 @@
354 356
         </el-table-column>
355 357
       </el-table>
356 358
 
357
-
358 359
      <el-table :data="scheduleMap" border :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
359 360
         @selection-change="handleSelectionChangeOne"
360 361
         @current-change="handleCurrentChangeList"
@@ -363,7 +364,7 @@
363 364
         highlight-current-row
364 365
         :modal-append-to-body="false"
365 366
         v-show="showOne">
366
-        <el-table-column type="selection" width="55" align="center"></el-table-column>
367
+        <el-table-column type="selection" width="50" align="center"></el-table-column>
367 368
         <el-table-column prop="date" label="姓名" align="center" min-width="26px">
368 369
           <template slot-scope="scope">
369 370
             <span>{{ scope.row.name }}</span>
@@ -418,13 +419,7 @@
418 419
             </el-dropdown>
419 420
           </template>
420 421
         </el-table-column>
421
-        <el-table-column
422
-          prop="start_time"
423
-          align="center"
424
-          min-width="30px"
425
-          label="执行时间"
426
-          sortable
427
-        >
422
+        <el-table-column prop="start_time" align="center" min-width="30px" label="执行时间" sortable>
428 423
           <template slot-scope="scope">
429 424
             <span v-if="scope.row.execution_time != 0">
430 425
               {{scope.row.start_time | parseTime('{m}-{d} {h}:{i}')}}
@@ -448,13 +443,7 @@
448 443
             <span v-else></span>
449 444
           </template>
450 445
         </el-table-column>
451
-        <el-table-column
452
-          prop="check_time"
453
-          align="center"
454
-          min-width="30px"
455
-          label="校对时间"
456
-          sortable
457
-        >
446
+        <el-table-column prop="check_time" align="center" min-width="30px" label="校对时间" sortable>
458 447
           <template slot-scope="scope">
459 448
             <span v-if="scope.row.check_time != 0">
460 449
               {{scope.row.check_time | parseTime('{m}-{d} {h}:{i}')}}
@@ -467,13 +456,7 @@
467 456
             <span>{{ getXuserName(scope.row.advice_doctor) }}</span>
468 457
           </template>
469 458
         </el-table-column>
470
-        <el-table-column
471
-          prop="created_time"
472
-          align="center"
473
-          min-width="30px"
474
-          label="校对时间"
475
-          sortable
476
-        >
459
+        <el-table-column prop="created_time" align="center" min-width="30px" label="校对时间" sortable>
477 460
           <template slot-scope="scope">
478 461
             <span v-if="scope.row.created_time != 0">
479 462
               {{scope.row.created_time | parseTime('{m}-{d} {h}:{i}')}}
@@ -482,13 +465,7 @@
482 465
           </template>
483 466
         </el-table-column>
484 467
 
485
-       <el-table-column
486
-          prop="created_time"
487
-          align="center"
488
-          min-width="30px"
489
-          label="收费状态"
490
-          sortable
491
-        >
468
+       <el-table-column prop="created_time" align="center" min-width="30px" label="收费状态" sortable>
492 469
           <template slot-scope="scope">
493 470
             <span v-if="scope.row.is_settle == 1">
494 471
               已收费
@@ -542,33 +519,40 @@
542 519
       </span>
543 520
     </el-dialog>
544 521
 
545
-
522
+    <!-- 药品统计表 -->
546 523
     <el-dialog
547 524
       title="药品统计表"
548 525
       :visible.sync="startdialogVisible"
549 526
       width="60%">
550 527
       <span>
551
-        <div class="cell clearfix" style="margin-bottom:10px">
552
-          <label class="title"> <span class="name">排班班次</span> : </label>
553
-           <el-select v-model="schedule_type" placeholder="请选择" @change="changeScheduleType" >
554
-            <el-option
555
-              v-for="item in schedulArr"
556
-              :key="item.value"
557
-              :label="item.label"
558
-              :value="item.value">
559
-            </el-option>
560
-           </el-select>
561
-           <label class="title"> <span class="name">病区选择</span> : </label>
562
-           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionType" multiple >
563
-            <el-option
564
-              v-for="item in partitionArr"
565
-              :key="item.id"
566
-              :label="item.name"
567
-              :value="item.id">
568
-            </el-option>
569
-           </el-select>
570
-           <el-button size="small" icon="el-icon-printer"  @click="toPrintOne" type="primary">打印</el-button>
571
-           <el-button size="small"  @click="toExportListOne" type="primary">导出</el-button>
528
+        <div class="eldialog" style="margin-bottom:10px">
529
+          <div>
530
+            <label class="title"> <span class="name">排班班次</span> : </label>
531
+            <el-select v-model="schedule_type" placeholder="请选择" 
532
+              @change="changeScheduleType"  style="width: 120px;">
533
+              <el-option
534
+                v-for="item in schedulArr"
535
+                :key="item.value"
536
+                :label="item.label"
537
+                :value="item.value">
538
+              </el-option>
539
+            </el-select>
540
+            <label class="title"> <span class="name">病区选择</span> : </label>
541
+            <el-select v-model="partion_type" placeholder="请选择" 
542
+                  @change="changePartionType" multiple  style="width: 120px;"
543
+              >
544
+              <el-option
545
+                v-for="item in partitionArr"
546
+                :key="item.id"
547
+                :label="item.name"
548
+                :value="item.id">
549
+              </el-option>
550
+            </el-select>
551
+          </div>
552
+          <div>
553
+            <el-button size="small" icon="el-icon-printer"  @click="toPrintOne" type="primary">打印</el-button>
554
+            <el-button size="small"  @click="toExportListOne" type="primary">导出</el-button>
555
+          </div>
572 556
         </div>
573 557
 
574 558
       <el-table
@@ -619,40 +603,44 @@
619 603
     </el-dialog>
620 604
 
621 605
 
622
-  <!-- 长沙南雅 -->
606
+    <!-- 长沙南雅 -->
623 607
     <el-dialog
624 608
       title="药品统计表"
625 609
       :visible.sync="startdialogVisibleOne"
626 610
       width="70%">
627 611
       <span>
628
-        <div class="cell clearfix" style="margin-bottom:10px">
629
-          <label class="title"> <span class="name">排班班次</span> : </label>
630
-           <el-select v-model="schedule_type" placeholder="请选择" @change="changeScheduleTypeOne" >
631
-            <el-option
632
-              v-for="item in schedulArr"
633
-              :key="item.value"
634
-              :label="item.label"
635
-              :value="item.value">
636
-            </el-option>
637
-           </el-select>
638
-           <label class="title"> <span class="name">病区选择</span> : </label>
639
-           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionTypeOne" multiple>
640
-            <el-option
641
-              v-for="item in partitionArr"
642
-              :key="item.id"
643
-              :label="item.name"
644
-              :value="item.id">
645
-            </el-option>
646
-           </el-select>
647
-           <el-button size="small" icon="el-icon-printer"  @click="toPrintTwo" type="primary">打印</el-button>
612
+        <div class="eldialog" style="margin-bottom:10px">
613
+          <div>
614
+            <label class="title"> <span class="name">排班班次</span> : </label>
615
+            <el-select v-model="schedule_type" placeholder="请选择"
616
+               @change="changeScheduleTypeOne" style="width: 120px;">
617
+              <el-option
618
+                v-for="item in schedulArr"
619
+                :key="item.value"
620
+                :label="item.label"
621
+                :value="item.value">
622
+              </el-option>
623
+            </el-select>
624
+            <label class="title"> <span class="name">病区选择</span> : </label>
625
+            <el-select v-model="partion_type" placeholder="请选择" 
626
+              @change="changePartionTypeOne" multiple style="width: 120px;">
627
+              <el-option
628
+                v-for="item in partitionArr"
629
+                :key="item.id"
630
+                :label="item.name"
631
+                :value="item.id">
632
+              </el-option>
633
+            </el-select>
634
+          </div>
635
+          <div>
636
+            <el-button size="small" icon="el-icon-printer"  @click="toPrintTwo" type="primary">打印</el-button>
637
+          </div>
648 638
            <!-- <el-button size="small"  @click="toExportListOne" type="primary">导出</el-button> -->
649
-
650 639
            <!-- <el-button @click="toJiao()">脚本</el-button> -->
651 640
         </div>
652 641
 
653 642
       <el-table
654 643
         :data="tableDataList"
655
-
656 644
         border
657 645
         :row-style="{ color: '#303133' }"
658 646
         :header-cell-style="{
@@ -664,7 +652,7 @@
664 652
           align="center"
665 653
           prop="name"
666 654
           label="序号"
667
-          width="100"
655
+          width="60"
668 656
         >
669 657
           <template slot-scope="scope" >
670 658
             <span v-if="scope.row.is_total == 1">{{scope.$index+1}}</span>
@@ -704,7 +692,7 @@
704 692
           align="center"
705 693
           prop="name"
706 694
           label="透析模式"
707
-          width="150"
695
+          width="130"
708 696
         >
709 697
           <template slot-scope="scope">
710 698
             <span v-if="scope.row.is_total == 1">
@@ -751,33 +739,39 @@
751 739
       </span>
752 740
     </el-dialog>
753 741
 
754
-
742
+    <!-- 耗材统计表 -->
755 743
     <el-dialog
756 744
       title="耗材统计表"
757 745
       :visible.sync="startdialogVisibleTwo"
758 746
       width="60%">
759 747
       <span>
760
-        <div class="cell clearfix" style="margin-bottom:10px">
761
-          <label class="title"> <span class="name">排班班次</span> : </label>
762
-           <el-select v-model="schedule_type" placeholder="请选择" @change="changeScheduleTypeTwo" >
763
-            <el-option
764
-              v-for="item in schedulArr"
765
-              :key="item.value"
766
-              :label="item.label"
767
-              :value="item.value">
768
-            </el-option>
769
-           </el-select>
770
-           <label class="title"> <span class="name">病区选择</span> : </label>
771
-           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionTypeTwo" multiple >
772
-            <el-option
773
-              v-for="item in partitionArr"
774
-              :key="item.id"
775
-              :label="item.name"
776
-              :value="item.id">
777
-            </el-option>
778
-           </el-select>
779
-           <el-button size="small" icon="el-icon-printer"  @click="toPrintThree" type="primary">打印</el-button>
780
-           <el-button size="small"  @click="toExportListTwo" type="primary">导出</el-button>
748
+        <div class="eldialog" style="margin-bottom:10px">
749
+          <div>
750
+            <label class="title"> <span class="name">排班班次</span> : </label>
751
+            <el-select v-model="schedule_type" placeholder="请选择" 
752
+              @change="changeScheduleTypeTwo" style="width: 120px;">
753
+              <el-option
754
+                v-for="item in schedulArr"
755
+                :key="item.value"
756
+                :label="item.label"
757
+                :value="item.value">
758
+              </el-option>
759
+            </el-select>
760
+            <label class="title"> <span class="name">病区选择</span> : </label>
761
+            <el-select v-model="partion_type" placeholder="请选择" 
762
+              @change="changePartionTypeTwo" multiple  style="width: 120px;">
763
+              <el-option
764
+                v-for="item in partitionArr"
765
+                :key="item.id"
766
+                :label="item.name"
767
+                :value="item.id">
768
+              </el-option>
769
+            </el-select>
770
+          </div>
771
+          <div>
772
+            <el-button size="small" icon="el-icon-printer"  @click="toPrintThree" type="primary">打印</el-button>
773
+            <el-button size="small"  @click="toExportListTwo" type="primary">导出</el-button>
774
+          </div>
781 775
         </div>
782 776
 
783 777
       <el-table
@@ -810,9 +804,6 @@
810 804
               {{scope.row.count}}
811 805
            </template>
812 806
         </el-table-column>
813
-
814
-
815
-
816 807
       </el-table>
817 808
       </span>
818 809
       <span slot="footer" class="dialog-footer">
@@ -820,164 +811,173 @@
820 811
         <el-button type="primary" @click="startdialogVisibleTwo = false">确 定</el-button>
821 812
       </span>
822 813
     </el-dialog>
823
-
814
+    <!-- 药品月统计表 -->
824 815
     <el-dialog
825 816
       title="药品月统计表"
826 817
       :visible.sync="startMothdialogVisible"
827 818
       width="60%">
828 819
       <span>
829
-        <div class="cell clearfix" style="margin-bottom:10px">
830
-          <label class="title"> <span class="name">日期查询</span> : </label>
831
-          开始:
832
-          <el-date-picker
833
-            v-model="start_time"
834
-            prefix-icon="el-icon-date"
835
-            :editable="false"
836
-            style="width: 250px;"
837
-            type="date"
838
-            placeholder="选择日期时间"
839
-            align="right"
840
-            format="yyyy-MM-dd"
841
-            value-format="yyyy-MM-dd"
842
-           
843
-        ></el-date-picker>
844
-          结束:
845
-          <el-date-picker
846
-            v-model="end_time"
847
-            prefix-icon="el-icon-date"
848
-            :editable="false"
849
-            style="width: 250px;"
850
-            type="date"
851
-            placeholder="选择日期时间"
852
-            align="right"
853
-            format="yyyy-MM-dd"
854
-            value-format="yyyy-MM-dd"
820
+        <div class="eldialog" style="margin-bottom:10px">
821
+          <div>
822
+            <label class="title"> <span class="name">日期查询</span> : </label>
823
+            
824
+              <el-date-picker
825
+                v-model="start_time"
826
+                prefix-icon="el-icon-date"
827
+                :editable="false"
828
+                style="width: 150px;"
829
+                type="date"
830
+                placeholder="选择日期时间"
831
+                align="right"
832
+                format="yyyy-MM-dd"
833
+                value-format="yyyy-MM-dd"
834
+              
835
+            ></el-date-picker>
836
+              <span>-</span>
837
+              <el-date-picker
838
+                v-model="end_time"
839
+                prefix-icon="el-icon-date"
840
+                :editable="false"
841
+                style="width: 150px;"
842
+                type="date"
843
+                placeholder="选择日期时间"
844
+                align="right"
845
+                format="yyyy-MM-dd"
846
+                value-format="yyyy-MM-dd"
847
+              
848
+            ></el-date-picker>
849
+          </div>
850
+          <div>
851
+            <el-button size="small"  @click="getAllQuery" type="primary">查询</el-button>
852
+            <el-button size="small" icon="el-icon-printer"  @click="toPrintTen" type="primary">打印</el-button>
853
+            <el-button size="small"  @click="toExportListThree" type="primary">导出</el-button>
854
+          </div>
855
+          
855 856
            
856
-        ></el-date-picker>
857
-           <el-button size="small"  @click="getAllQuery" type="primary">查询</el-button>
858
-           <el-button size="small" icon="el-icon-printer"  @click="toPrintTen" type="primary">打印</el-button>
859
-           <el-button size="small"  @click="toExportListThree" type="primary">导出</el-button>
860 857
         </div>
861 858
      
862
-      <el-table
863
-        :data="tableMonthList"
864
-        border
865
-        :row-style="{ color: '#303133' }"
866
-        :header-cell-style="{
867
-          backgroundColor: 'rgb(245, 247, 250)',
868
-          color: '#606266'
869
-        }"
870
-      >
871
-         <el-table-column  align="center"  label="序号">
872
-           <template slot-scope="scope">
873
-              {{scope.$index+1}}
874
-           </template>
875
-        </el-table-column>
876
-        <el-table-column  align="center"   label="药品名称">
877
-         <template slot-scope="scope">
878
-            {{scope.row.advice_name}}
879
-          </template>
880
-        </el-table-column>
881
-        <el-table-column  align="center"  label="规格">
882
-           <template slot-scope="scope">
883
-             {{scope.row.specification_name}}
884
-           </template>
885
-        </el-table-column>
886
-
887
-        <el-table-column  align="center"   label="数量">
888
-           <template slot-scope="scope">
889
-             <span v-if="config.is_open!=1">{{getCount(scope.row.child)}}</span>
890
-             <span v-if="config.is_open ==1">{{getHisCount(scope.row.child,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
891
-           </template>
892
-        </el-table-column>
893
-      
894
-        <el-table-column align="center" label="厂家">
895
-           <template slot-scope="scope">
896
-             {{scope.row.manufacturer_name}}
897
-           </template>
898
-        </el-table-column>
899
-
900
-
901
-      </el-table>
859
+        <el-table
860
+          :data="tableMonthList"
861
+          border
862
+          :row-style="{ color: '#303133' }"
863
+          :header-cell-style="{
864
+            backgroundColor: 'rgb(245, 247, 250)',
865
+            color: '#606266'
866
+          }"
867
+        >
868
+          <el-table-column  align="center"  label="序号">
869
+            <template slot-scope="scope">
870
+                {{scope.$index+1}}
871
+            </template>
872
+          </el-table-column>
873
+          <el-table-column  align="center"   label="药品名称">
874
+          <template slot-scope="scope">
875
+              {{scope.row.advice_name}}
876
+            </template>
877
+          </el-table-column>
878
+          <el-table-column  align="center"  label="规格">
879
+            <template slot-scope="scope">
880
+              {{scope.row.specification_name}}
881
+            </template>
882
+          </el-table-column>
883
+
884
+          <el-table-column  align="center"   label="数量">
885
+            <template slot-scope="scope">
886
+              <span v-if="config.is_open!=1">{{getCount(scope.row.child)}}</span>
887
+              <span v-if="config.is_open ==1">{{getHisCount(scope.row.child,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
888
+            </template>
889
+          </el-table-column>
890
+        
891
+          <el-table-column align="center" label="厂家">
892
+            <template slot-scope="scope">
893
+              {{scope.row.manufacturer_name}}
894
+            </template>
895
+          </el-table-column>
896
+
897
+
898
+        </el-table>
902 899
       </span>
903 900
       <span slot="footer" class="dialog-footer">
904 901
         <el-button @click="startMothdialogVisible = false">取 消</el-button>
905 902
         <el-button type="primary" @click="startMothdialogVisible = false">确 定</el-button>
906 903
       </span>
907 904
     </el-dialog>
908
-
909
-
905
+    <!-- 耗材统计表 -->
910 906
     <el-dialog
911 907
       title="耗材统计表"
912 908
       :visible.sync="startMonthdialogVisible"
913 909
       width="60%">
914 910
       <span>
915
-        <div class="cell clearfix" style="margin-bottom:10px">
916
-          <label class="title"> <span class="name">日期查询</span> : </label>
917
-          开始:
918
-          <el-date-picker
919
-            v-model="start_time"
920
-            prefix-icon="el-icon-date"
921
-            :editable="false"
922
-            style="width: 250px;"
923
-            type="date"
924
-            placeholder="选择日期时间"
925
-            align="right"
926
-            format="yyyy-MM-dd"
927
-            value-format="yyyy-MM-dd"
928
-           
929
-        ></el-date-picker>
930
-          结束:
931
-          <el-date-picker
932
-            v-model="end_time"
933
-            prefix-icon="el-icon-date"
934
-            :editable="false"
935
-            style="width: 250px;"
936
-            type="date"
937
-            placeholder="选择日期时间"
938
-            align="right"
939
-            format="yyyy-MM-dd"
940
-            value-format="yyyy-MM-dd"
941
-           
942
-        ></el-date-picker>
943
-           <el-button size="small"  @click="getGoodAllQuery" type="primary">查询</el-button>
944
-           <el-button size="small" icon="el-icon-printer"  @click="toExportListFour" type="primary">打印</el-button>
945
-           <el-button size="small"  @click="toExportListFour" type="primary">导出</el-button>
911
+        <div class="eldialog" style="margin-bottom:10px">
912
+          <div>
913
+            <label class="title"> <span class="name">日期查询</span> : </label>
914
+              <el-date-picker
915
+                v-model="start_time"
916
+                prefix-icon="el-icon-date"
917
+                :editable="false"
918
+                style="width: 150px;"
919
+                type="date"
920
+                placeholder="选择日期时间"
921
+                align="right"
922
+                format="yyyy-MM-dd"
923
+                value-format="yyyy-MM-dd"
924
+              
925
+            ></el-date-picker>
926
+              <span>-</span>
927
+              <el-date-picker
928
+                v-model="end_time"
929
+                prefix-icon="el-icon-date"
930
+                :editable="false"
931
+                style="width: 150px;"
932
+                type="date"
933
+                placeholder="选择日期时间"
934
+                align="right"
935
+                format="yyyy-MM-dd"
936
+                value-format="yyyy-MM-dd"
937
+              
938
+            ></el-date-picker>
939
+          </div>
940
+
941
+          <div>
942
+            <el-button size="small"  @click="getGoodAllQuery" type="primary">查询</el-button>
943
+            <el-button size="small" icon="el-icon-printer"  @click="toExportListFour" type="primary">打印</el-button>
944
+            <el-button size="small"  @click="toExportListFour" type="primary">导出</el-button>
945
+          </div>
946 946
         </div>
947
-      <el-table
948
-        :data="tableProjectList"
949
-        border
950
-        :row-style="{ color: '#303133' }"
951
-        :header-cell-style="{
952
-          backgroundColor: 'rgb(245, 247, 250)',
953
-          color: '#606266'
954
-        }"
955
-      >
956
-         <el-table-column  align="center"  label="序号">
957
-           <template slot-scope="scope">
958
-              {{scope.$index+1}}
959
-           </template>
960
-        </el-table-column>
961
-        <el-table-column  align="center"   label="耗材名称">
962
-         <template slot-scope="scope">
963
-            {{scope.row.good_name}}
964
-          </template>
965
-        </el-table-column>
966
-        <el-table-column  align="center"  label="规格">
967
-           <template slot-scope="scope">
968
-             {{scope.row.specification_name}}
969
-           </template>
970
-        </el-table-column>
947
+        <el-table
948
+          :data="tableProjectList"
949
+          border
950
+          :row-style="{ color: '#303133' }"
951
+          :header-cell-style="{
952
+            backgroundColor: 'rgb(245, 247, 250)',
953
+            color: '#606266'
954
+          }"
955
+        >
956
+          <el-table-column  align="center"  label="序号">
957
+            <template slot-scope="scope">
958
+                {{scope.$index+1}}
959
+            </template>
960
+          </el-table-column>
961
+          <el-table-column  align="center"   label="耗材名称">
962
+          <template slot-scope="scope">
963
+              {{scope.row.good_name}}
964
+            </template>
965
+          </el-table-column>
966
+          <el-table-column  align="center"  label="规格">
967
+            <template slot-scope="scope">
968
+              {{scope.row.specification_name}}
969
+            </template>
970
+          </el-table-column>
971 971
 
972
-        <el-table-column  align="center"   label="数量">
973
-           <template slot-scope="scope">
974
-              {{scope.row.count}}
975
-           </template>
976
-        </el-table-column>
972
+          <el-table-column  align="center"   label="数量">
973
+            <template slot-scope="scope">
974
+                {{scope.row.count}}
975
+            </template>
976
+          </el-table-column>
977 977
 
978 978
 
979 979
 
980
-      </el-table>
980
+        </el-table>
981 981
       </span>
982 982
       <span slot="footer" class="dialog-footer">
983 983
         <el-button @click="startMonthdialogVisible = false">取 消</el-button>
@@ -986,8 +986,6 @@
986 986
     </el-dialog>
987 987
 
988 988
     </div>
989
-
990
-
991 989
   </div>
992 990
 </template>
993 991
 
@@ -2288,15 +2286,9 @@ export default {
2288 2286
                 this.tableDataList = newList
2289 2287
                 console.log("999999999999999999-------",this.tableDataList)
2290 2288
               }
2291
-
2292
-
2293
-
2294 2289
              }
2295
-
2296
-
2297 2290
           }
2298 2291
         })
2299
-
2300 2292
       },
2301 2293
       toStaticTwo(){
2302 2294
         var str = ""
@@ -2373,6 +2365,7 @@ export default {
2373 2365
           start_time:this.start_time,
2374 2366
           end_time:this.end_time
2375 2367
         }
2368
+        this.startMothdialogVisible = true
2376 2369
         getDoctorAdviceMonthList(params).then(response=>{
2377 2370
           if(response.data.state == 1){
2378 2371
             this.startMothdialogVisible = true
@@ -3176,11 +3169,13 @@ export default {
3176 3169
       padding: 0 2px;
3177 3170
     }
3178 3171
   }
3179
-
3180
-
3181 3172
   .el-table td .cell{
3182 3173
     white-space: pre-wrap;
3183 3174
   }
3175
+  .eldialog{
3176
+    display: flex;
3177
+    justify-content: space-between;
3178
+  }
3184 3179
 }
3185 3180
 .el-table td,
3186 3181
 .el-table th.is-leaf,

+ 8 - 31
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue Wyświetl plik

@@ -1189,39 +1189,17 @@
1189 1189
                     >
1190 1190
                       &nbsp;
1191 1191
                       <span
1192
-                        v-if="
1193
-                          setAdminUserES(
1194
-                            advices == null
1195
-                              ? 0
1196
-                              : advices[0].advice_doctor
1197
-                              ? advices[0].advice_doctor
1198
-                              : ''
1199
-                          ) == ''
1200
-                        "
1192
+                        style="height: 20px"
1193
+                        v-if="setAdminUserES(advices[0].advice_doctor) == ''"
1201 1194
                       >
1202
-                        {{
1203
-                          getAdminUser(
1204
-                            advices == null
1205
-                              ? 0
1206
-                              : advices[0].advice_doctor
1207
-                              ? advices[0].advice_doctor
1208
-                              : ""
1209
-                          )
1210
-                        }}
1195
+                        {{ getAdminUser(advices[0].advice_doctor) }}
1211 1196
                       </span>
1212 1197
                       <img
1213
-                        style="height: 30px"
1214
-                        :src="
1215
-                          setAdminUserES(
1216
-                            prescription == null
1217
-                              ? 0
1218
-                              : prescription.creater
1219
-                              ? prescription.creater
1220
-                              : ''
1221
-                          )
1222
-                        "
1223
-                        alt=""
1224
-                        srcset=""
1198
+                        class="es-img"
1199
+                        style="height: 25px"
1200
+                        :src="setAdminUserES(advices[0].advice_doctor)"
1201
+                        alt
1202
+                        srcset
1225 1203
                         v-else
1226 1204
                       />
1227 1205
                     </span>
@@ -1456,7 +1434,6 @@ import BreadCrumb from "@/xt_pages/components/bread-crumb";
1456 1434
 // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
1457 1435
 // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
1458 1436
 import print from "print-js";
1459
-
1460 1437
 export default {
1461 1438
   name: "dialysisPrintOrderFour",
1462 1439
   components: {

+ 5 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue Wyświetl plik

@@ -32,7 +32,7 @@
32 32
             <td style="text-align: center" colspan="1">
33 33
               年龄:
34 34
               <span style="display: inline-block; margin-left: 10px">
35
-                {{ getAge(patientInfo) }}
35
+                {{ patientInfo.age }}
36 36
               </span>
37 37
             </td>
38 38
             <td style="text-align: center" colspan="1">
@@ -857,8 +857,8 @@
857 857
                     ? true
858 858
                     : false
859 859
                 "
860
-              ></label-box
861
-              >其他:
860
+              ></label-box>&nbsp;&nbsp;
861
+              其他:
862 862
               <span>{{ predialysis.hemorrhage_other }}</span>
863 863
             </td>
864 864
           </tr>
@@ -871,7 +871,6 @@
871 871
                 :isChecked="prescription.special_medicine == 1 ? true : false"
872 872
                 showValue="无"
873 873
               ></label-box>
874
-              <!-- <label-box :isChecked="prescription.special_medicine == 2 ? true : false" showValue="有"></label-box>: -->
875 874
               有:
876 875
               <label-box
877 876
                 :isChecked="prescription.special_medicine == 2 ? true : false"
@@ -1888,6 +1887,7 @@ export default {
1888 1887
       this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1889 1888
       getDialysisRecord(this.queryParams).then((response) => {
1890 1889
         if (response.data.state === 1) {
1890
+          
1891 1891
           this.adminUser = response.data.data.users;
1892 1892
           this.users = response.data.data.users;
1893 1893
           var patientInfo = response.data.data.patientInfo;
@@ -1898,7 +1898,7 @@ export default {
1898 1898
             patientInfo.gender = "女";
1899 1899
           }
1900 1900
           this.patientInfo = response.data.data.patientInfo;
1901
-          // console.log("透析记录", this.patientInfo);
1901
+          console.log("透析记录", this.patientInfo);
1902 1902
 
1903 1903
           this.patientInfo.birth = uParseTime(
1904 1904
             this.patientInfo.birthday,

+ 324 - 567
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyTwo.vue Wyświetl plik

@@ -304,32 +304,8 @@
304 304
                       v-if="predialysis.internal_fistula!=''"
305 305
                     >
306 306
                       穿刺方式:
307
-                      <div class="under_line"
308
-                        style="width: 100px; text-align: center"
309
-                        v-if="predialysis&&predialysis.puncture_way == ''"
310
-                      >
311
-                         /
312
-                      </div>
313
-                      <div
314
-                        class="under_line"
315
-                        style="width: 100px; text-align: center"
316
-                        v-if="predialysis&&predialysis.puncture_way.indexOf('绳梯') > -1"
317
-                      >
318
-                        绳梯
319
-                      </div>
320
-                      <div
321
-                        class="under_line"
322
-                        style="width: 100px; text-align: center"
323
-                        v-if="predialysis&&predialysis.puncture_way.indexOf('扣眼') > -1"
324
-                      >
325
-                        扣眼
326
-                      </div>
327
-                      <div
328
-                        class="under_line"
329
-                        style="width: 100px; text-align: center"
330
-                        v-if="predialysis&&predialysis.puncture_way.indexOf('区域') > -1"
331
-                      >
332
-                        区域
307
+                      <div class="under_line" style="width: 100px; text-align: center">
308
+                         {{ predialysis.puncture_way ? predialysis.puncture_way :'/' }}
333 309
                       </div>
334 310
                     </div>
335 311
                     <div class="inline_block" style="margin-left: 10px;"
@@ -405,281 +381,10 @@
405 381
                       <span >透析方式:</span>
406 382
                       <div class="under_line"
407 383
                         style="width: 100px;text-align: center;font-weight: 600;"
408
-                        v-if="!prescription.mode_id"
409
-                      >
410
-                        /
411
-                      </div>
412
-                      <div
413
-                        class="under_line"
414
-                        style="width: 100px;text-align: center;font-weight: 600;"
415
-                        v-if="prescription.mode_id == 1"
416 384
                       >
417
-                        HD
418
-                      </div>
419
-                      <div
420
-                        class="under_line"
421
-                        style="
422
-                          width: 100px;
423
-                          text-align: center;
424
-                          font-weight: 600;
425
-                        "
426
-                        v-if="prescription.mode_id == 2"
427
-                      >
428
-                        HDF
429
-                      </div>
430
-                      <div
431
-                        class="under_line"
432
-                        style="
433
-                          width: 100px;
434
-                          text-align: center;
435
-                          font-weight: 600;
436
-                        "
437
-                        v-if="prescription.mode_id == 3"
438
-                      >
439
-                        HD+HP
440
-                      </div>
441
-                      <div
442
-                        class="under_line"
443
-                        style="
444
-                          width: 100px;
445
-                          text-align: center;
446
-                          font-weight: 600;
447
-                        "
448
-                        v-if="prescription.mode_id == 4"
449
-                      >
450
-                        HP
451
-                      </div>
452
-                      <div
453
-                        class="under_line"
454
-                        style="
455
-                          width: 100px;
456
-                          text-align: center;
457
-                          font-weight: 600;
458
-                        "
459
-                        v-if="prescription.mode_id == 5"
460
-                      >
461
-                        HF
462
-                      </div>
463
-                      <div
464
-                        class="under_line"
465
-                        style="
466
-                          width: 100px;
467
-                          text-align: center;
468
-                          font-weight: 600;
469
-                        "
470
-                        v-if="prescription.mode_id == 6"
471
-                      >
472
-                        SCUF
473
-                      </div>
474
-                      <div
475
-                        class="under_line"
476
-                        style="
477
-                          width: 100px;
478
-                          text-align: center;
479
-                          font-weight: 600;
480
-                        "
481
-                        v-if="prescription.mode_id == 7"
482
-                      >
483
-                        IUF
484
-                      </div>
485
-                      <div
486
-                        class="under_line"
487
-                        style="
488
-                          width: 100px;
489
-                          text-align: center;
490
-                          font-weight: 600;
491
-                        "
492
-                        v-if="prescription.mode_id == 8"
493
-                      >
494
-                        HFHD
495
-                      </div>
496
-                      <div
497
-                        class="under_line"
498
-                        style="
499
-                          width: 100px;
500
-                          text-align: center;
501
-                          font-weight: 600;
502
-                        "
503
-                        v-if="prescription.mode_id == 9"
504
-                      >
505
-                        HFHD+HP
506
-                      </div>
507
-                      <div
508
-                        class="under_line"
509
-                        style="
510
-                          width: 100px;
511
-                          text-align: center;
512
-                          font-weight: 600;
513
-                        "
514
-                        v-if="prescription.mode_id == 10"
515
-                      >
516
-                        PHF
517
-                      </div>
518
-                      <div
519
-                        class="under_line"
520
-                        style="
521
-                          width: 100px;
522
-                          text-align: center;
523
-                          font-weight: 600;
524
-                        "
525
-                        v-if="prescription.mode_id == 11"
526
-                      >
527
-                        HFR
528
-                      </div>
529
-                      <div
530
-                        class="under_line"
531
-                        style="
532
-                          width: 100px;
533
-                          text-align: center;
534
-                          font-weight: 600;
535
-                        "
536
-                        v-if="prescription.mode_id == 12"
537
-                      >
538
-                        HDF+HP
539
-                      </div>
540
-                      <div
541
-                        class="under_line"
542
-                        style="
543
-                          width: 100px;
544
-                          text-align: center;
545
-                          font-weight: 600;
546
-                        "
547
-                        v-if="prescription.mode_id == 13"
548
-                      >
549
-                        CRRT
550
-                      </div>
551
-                      <div
552
-                        class="under_line"
553
-                        style="
554
-                          width: 100px;
555
-                          text-align: center;
556
-                          font-weight: 600;
557
-                        "
558
-                        v-if="prescription.mode_id == 14"
559
-                      >
560
-                        腹水回输
561
-                      </div>
562
-                      <div
563
-                        class="under_line"
564
-                        style="
565
-                          width: 100px;
566
-                          text-align: center;
567
-                          font-weight: 600;
568
-                        "
569
-                        v-if="prescription.mode_id == 15"
570
-                      >
571
-                        HD前置换
572
-                      </div>
573
-                      <div
574
-                        class="under_line"
575
-                        style="
576
-                          width: 100px;
577
-                          text-align: center;
578
-                          font-weight: 600;
579
-                        "
580
-                        v-if="prescription.mode_id == 16"
581
-                      >
582
-                        HD后置换
583
-                      </div>
584
-                      <div
585
-                        class="under_line"
586
-                        style="
587
-                          width: 100px;
588
-                          text-align: center;
589
-                          font-weight: 600;
590
-                        "
591
-                        v-if="prescription.mode_id == 17"
592
-                      >
593
-                        HDF前置换
594
-                      </div>
595
-                      <div
596
-                        class="under_line"
597
-                        style="
598
-                          width: 100px;
599
-                          text-align: center;
600
-                          font-weight: 600;
601
-                        "
602
-                        v-if="prescription.mode_id == 18"
603
-                      >
604
-                        HDF后置换
605
-                      </div>
606
-                      <div
607
-                        class="under_line"
608
-                        style="
609
-                          width: 100px;
610
-                          text-align: center;
611
-                          font-weight: 600;
612
-                        "
613
-                        v-if="prescription.mode_id == 19"
614
-                      >
615
-                        IUF+HD
616
-                      </div>
617
-                      <div
618
-                        class="under_line"
619
-                        style="
620
-                          width: 150px;
621
-                          text-align: center;
622
-                          font-weight: 600;
623
-                        "
624
-                        v-if="prescription.mode_id == 22"
625
-                      >
626
-                        血浆胆红素吸附+HDF
627
-                      </div>
628
-                      <div
629
-                        class="under_line"
630
-                        style="
631
-                          bwidth: 150px;
632
-                          text-align: center;
633
-                          font-weight: 600;
634
-                        "
635
-                        v-if="prescription.mode_id == 23"
636
-                      >
637
-                        血浆胆红素吸附
638
-                      </div>
639
-                      <div
640
-                        class="under_line"
641
-                        style="
642
-                          bwidth: 150px;
643
-                          text-align: center;
644
-                          font-weight: 600;
645
-                        "
646
-                        v-if="prescription.mode_id == 24"
647
-                      >
648
-                       I-HDF
649
-                      </div>
650
-                      <div
651
-                        class="under_line"
652
-                        style="
653
-                          bwidth: 150px;
654
-                          text-align: center;
655
-                          font-weight: 600;
656
-                        "
657
-                        v-if="prescription.mode_id == 25"
658
-                      >
659
-                       HD高通
660
-                      </div>
661
-                      <div
662
-                        class="under_line"
663
-                        style="
664
-                          width: 100px;
665
-                          text-align: center;
666
-                          font-weight: 600;
667
-                        "
668
-                        v-if="prescription.mode_id == 29"
669
-                      >
670
-                        PE
671
-                      </div>
672
-                      <div
673
-                        class="under_line"
674
-                        style="
675
-                          width: 150px;
676
-                          text-align: center;
677
-                          font-weight: 600;
678
-                        "
679
-                        v-if="prescription.mode_id == 30"
680
-                      >
681
-                        血浆胆红素吸附+HP
385
+                        {{ prescription.mode ? prescription.mode :'/' }}
682 386
                       </div>
387
+                      
683 388
                     </div>
684 389
 
685 390
                     <div
@@ -816,8 +521,7 @@
816 521
                     </div>
817 522
                   </div>
818 523
 
819
-                  <div
820
-                    class="row"
524
+                  <div class="row"
821 525
                     style="padding: 2px 0; line-height: 23px; display: flex"
822 526
                   >
823 527
                     <div class="inline_block" style="flex: 1">
@@ -2543,58 +2247,317 @@ export default {
2543 2247
     };
2544 2248
   },
2545 2249
   methods: {
2250
+    checkData() {
2251
+      var checkDate =[]
2252
+      if (this.predialysis.symptom_before_dialysis == "") {
2253
+        const obj5 = "透前症状"
2254
+        checkDate.push(obj5)
2255
+      } if (this.predialysis.temperature == '') {
2256
+        const obj = "透前体温"
2257
+        checkDate.push(obj)
2258
+      } if (this.predialysis.pulse_frequency == "") {
2259
+        const obj1 = "透前脉搏"
2260
+        checkDate.push(obj1)
2261
+      } if (this.predialysis.breathing_rate == "") {
2262
+         const obj2 = "透前呼吸频率"
2263
+         checkDate.push(obj2)
2264
+      } if (
2265
+        this.predialysis.systolic_blood_pressure == 0 ||
2266
+        this.predialysis.diastolic_blood_pressure == 0
2267
+      ) {
2268
+        const obj3 = "透前血压"
2269
+        checkDate.push(obj3)
2270
+      } if( this.predialysis.internal_fistula!='' && 
2271
+          this.predialysis.puncture_way == ''
2272
+      ){
2273
+        const obj4 = "穿刺方式"
2274
+        checkDate.push(obj4)
2275
+      } if( this.predialysis.internal_fistula!='' && 
2276
+          this.predialysis.puncture_needle == ''
2277
+      ){
2278
+        const obj6 = "穿刺针"
2279
+        checkDate.push(obj6)
2280
+      } if (this.predialysis.blood_access_part_opera_name == ''){
2281
+        const obj7 = "血管通路"
2282
+        checkDate.push(obj7)
2283
+      } 
2284
+      // if (this.predialysis.internal_fistula =='') {
2285
+      //   const obj8 = "内瘘"
2286
+      //   checkDate.push(obj8)
2287
+      // } if (this.predialysis.catheter == "" ) {
2288
+      //   const obj9 = "导管"
2289
+      //   checkDate.push(obj9)
2290
+      // } 
2291
+      if (this.prescription.mode == '') {
2292
+        const obj10 = "透析方式"
2293
+        checkDate.push(obj10)
2294
+      } if (this.prescription.displace_liqui_part == '' &&
2295
+            this.prescription.mode_id ==2
2296
+      ) {
2297
+        const obj11 = "置换方式"
2298
+        checkDate.push(obj11)
2299
+      } if (this.prescription.displace_liqui_value =='' &&
2300
+            this.prescription.mode_id ==2
2301
+      ) {
2302
+        const obj12 = "置换量"
2303
+        checkDate.push(obj12)
2304
+      } if (this.prescription.blood_flow_volume == 0) {
2305
+        const obj13 = "血流量"
2306
+        checkDate.push(obj13)
2307
+      } if (this.prescription.dialysis_duration_hour == '' &&
2308
+            this.prescription.dialysis_duration_minute == ''
2309
+      ) {
2310
+        const obj14 = "透析时间"
2311
+        checkDate.push(obj14)
2312
+      } if (
2313
+        this.prescription.dialysis_dialyszers == '' &&
2314
+        this.prescription.dialysis_strainer == ''
2315
+      ){
2316
+        const obj15 = "透析(滤)器"
2317
+        checkDate.push(obj15)
2318
+      } if ( this.prescription.dialysis_irrigation == ''){
2319
+        const obj16 = "灌流器"
2320
+        checkDate.push(obj16)
2321
+      } if ( this.predialysis.is_hemorrhage == 1 && 
2322
+            this.predialysis.hemorrhage == ''
2323
+      ){
2324
+        const obj17 = "出血情况"
2325
+        checkDate.push(obj17)
2326
+      } if ( this.predialysis.weight_after_last_transparency == '') {
2327
+        const obj18 = "上次透后体重"
2328
+        checkDate.push(obj18) 
2329
+      } if (this.predialysis.weight_before == '') {
2330
+        const obj19 = "透前体重"
2331
+        checkDate.push(obj19)
2332
+      } if (this.prescription.target_ultrafiltration == '') {
2333
+        const obj20 = "计划超滤量"
2334
+        checkDate.push(obj20)
2335
+      } if (this.predialysis.dry_weight == '' ) {
2336
+        const obj21 = "干体重"
2337
+        checkDate.push(obj21)
2338
+      } if (this.prescription.calcium == 0) {
2339
+        const obj22 = "钙"
2340
+        checkDate.push(obj22)
2341
+      } if (this.prescription.sodium == 0) {
2342
+        const obj23 = "钠"
2343
+        checkDate.push(obj23)
2344
+      } if (this.prescription.kalium == 0) {
2345
+        const obj24 = "钾"
2346
+        checkDate.push(obj24)
2347
+      } if (this.prescription.bicarbonate == 0) {
2348
+        const obj25 = "碳酸氢根"
2349
+        checkDate.push(obj25)
2350
+      } if (this.prescription.dialysate_flow == 0) {
2351
+        const obj26 = "透析液流量"
2352
+        checkDate.push(obj26)
2353
+      } if (this.prescription.anticoagulant_name =='') {
2354
+        const obj27 = "抗凝剂"
2355
+        checkDate.push(obj27)
2356
+      } if (this.prescription.anticoagulant_shouji == '' &&
2357
+        this.prescription.anticoagulant !=5 && this.prescription.anticoagulant !=''
2358
+      ) {
2359
+        const obj28 = "首剂"
2360
+        checkDate.push(obj28)
2361
+      } 
2362
+      // if (this.prescription.anticoagulant_weichi == '') {
2363
+      //   const obj29 = "维持"
2364
+      //   checkDate.push(obj29)
2365
+      // }
2366
+      if (this.prescription.anticoagulant_zongliang == 0 &&
2367
+         this.prescription.anticoagulant !='' && this.prescription.anticoagulant != 5
2368
+      ) {
2369
+        const obj30 = "总量"
2370
+        checkDate.push(obj30)
2371
+      } if (
2372
+        this.prescription.anticoagulant_gaimingcheng == "" &&
2373
+        this.prescription.anticoagulant == 5
2374
+      ) {
2375
+        const obj31 = "钙名称"
2376
+        checkDate.push(obj31)
2377
+      } if (
2378
+        this.prescription.anticoagulant_gaijiliang == "" &&
2379
+        this.prescription.anticoagulant == 5
2380
+      ) {
2381
+        const obj32 = "钙剂量"
2382
+        checkDate.push(obj32)
2383
+      } if ( this.dialysisOrder && 
2384
+            this.dialysisOrder.DeviceNumber.number == '' &&
2385
+            this.patientInfo.DialysisSchedule.device_number.number ==''
2386
+      ) {
2387
+        const obj33 = "透析机号"
2388
+        checkDate.push(obj33)
2389
+      } if (this.afterdialysis.temperature == "") {
2390
+        const obj34 = "透后体温"
2391
+        checkDate.push(obj34)
2392
+      } if (this.afterdialysis.pulse_frequency == "") {
2393
+        const obj35 = "透后脉搏"
2394
+        checkDate.push(obj35)
2395
+      } if (this.afterdialysis.breathing_rate == "") {
2396
+        const obj36 = "透后呼吸频率"
2397
+        checkDate.push(obj36)
2398
+      } if (
2399
+        this.afterdialysis.systolic_blood_pressure == 0 ||
2400
+        this.afterdialysis.diastolic_blood_pressure == 0
2401
+      ) {
2402
+        const obj37 = "透后血压"
2403
+        checkDate.push(obj37)
2404
+      } if (
2405
+        this.afterdialysis.actual_treatment_hour == 0 &&
2406
+        this.afterdialysis.actual_treatment_minute == 0
2407
+      ) {
2408
+        const obj38 = "实际治疗时间"
2409
+        checkDate.push(obj38)
2410
+      } if (this.afterdialysis.cruor == "") {
2411
+        const obj39 = "透析器凝血"
2412
+        checkDate.push(obj39)
2413
+      } if (this.afterdialysis.internal_fistula == "") {
2414
+        const obj40 = "透后内瘘"
2415
+        checkDate.push(obj40)
2416
+      } 
2417
+      // if (this.afterdialysis.catheter == "") {
2418
+      //   const obj41 = "透后导管"
2419
+      //   checkDate.push(obj41)
2420
+      // } 
2421
+      if (this.afterdialysis.complication == 0) {
2422
+        const obj42 = "并发症"
2423
+        checkDate.push(obj42)
2424
+      } if (this.afterdialysis.catheter != "" && this.afterdialysis.cvc_a =='') {
2425
+        const obj43 = "中心静脉封管(肝素-A端)"
2426
+        checkDate.push(obj43)
2427
+      } if (this.afterdialysis.catheter != "" && this.afterdialysis.cvc_v == '') {
2428
+        const obj44 = "中心静脉封管(肝素-V端)"
2429
+        checkDate.push(obj44)
2430
+      } if (this.afterdialysis.ktv =='') {
2431
+        const obj45 = "KT/V"
2432
+        checkDate.push(obj45)
2433
+      } if (this.afterdialysis.weight_after == '') {
2434
+        const obj46 = "透后体重"
2435
+        checkDate.push(obj46)
2436
+      } if (this.afterdialysis.dialysis_intakes ==''){
2437
+        const obj47 = "透析中入量"
2438
+        checkDate.push(obj47)
2439
+      } if (this.afterdialysis.actual_ultrafiltration ==''){
2440
+        const obj48 = "实际超滤量"
2441
+        checkDate.push(obj48)
2442
+      } if (this.afterdialysis.patient_gose == 0){
2443
+        const obj49 = "患者去向"
2444
+        checkDate.push(obj49)
2445
+      } if (this.summary.dialysis_summary == "") {
2446
+        const obj50 = "透析小结"
2447
+        checkDate.push(obj50)
2448
+      } if (this.afterdialysis.remark == ''){
2449
+        const obj51 = "备注"
2450
+        checkDate.push(obj51)
2451
+      } if (
2452
+        this.dialysisOrder == null ||
2453
+        this.dialysisOrder.puncture_nurse == 0
2454
+      ) {
2455
+        const obj47 = "穿刺护士"
2456
+        checkDate.push(obj47)
2457
+      } if (
2458
+        this.dialysisOrder == null ||
2459
+        this.dialysisOrder.start_nurse == 0
2460
+      ) {
2461
+        const obj48 = "治疗护士"
2462
+        checkDate.push(obj48)
2463
+      } if (this.dialysisOrder == null && this.check.creater == 0) {
2464
+        const obj49 = "核对人员"
2465
+        checkDate.push(obj49)
2466
+      } else if (
2467
+        this.dialysisOrder != null &&
2468
+        this.dialysisOrder.start_nurse == this.check.modifier &&
2469
+        this.check.creater == 0
2470
+      ) {
2471
+        const obj49 = "核对人员"
2472
+        checkDate.push(obj49)
2473
+      } else if (
2474
+        this.dialysisOrder != null &&
2475
+        this.dialysisOrder.start_nurse == this.check.creater &&
2476
+        this.check.modifier == 0
2477
+      ) {
2478
+        const obj49 = "核对人员"
2479
+        checkDate.push(obj49)
2480
+      } else if (
2481
+        this.dialysisOrder != null &&
2482
+        this.dialysisOrder.start_nurse != this.check.creater &&
2483
+        this.dialysisOrder.start_nurse != this.check.modifier &&
2484
+        this.check.creater == 0
2485
+      ) {
2486
+        const obj49 = "核对人员"
2487
+        checkDate.push(obj49)
2488
+      } if (
2489
+        this.dialysisOrder == null ||
2490
+        this.dialysisOrder.finish_nurse == 0
2491
+      ) {
2492
+        const obj50 = "下机护士"
2493
+        checkDate.push(obj50)
2494
+      } if (this.prescription.creater == 0) {
2495
+        const obj51 = "治疗医生"
2496
+        checkDate.push(obj51)
2497
+      }
2498
+      if(this.doctor_advices.length > 0){
2499
+        this.doctor_advices.map((item) =>{
2500
+          if(item.id > 0 && (item.created_time || item.start_time)){
2501
+            if(item.execution_staff ==0 && item.checker ==0 && item.advice_doctor ==0){
2502
+              const obj52 = '医生,执行人员,核对人员'
2503
+              checkDate.push(obj52)
2504
+            }
2505
+          }
2506
+        })
2507
+      }
2508
+      this.getcheckData(checkDate)
2509
+    },
2546 2510
     toUpload() {
2511
+      let dom = document.getElementById("dialysis-print-box-1")
2512
+      //调用方法下载
2513
+      html2canvas(dom, {
2514
+        useCORS: true, //允许跨域
2515
+        allowTaint: false,
2516
+        logging: false,
2517
+        letterRendering: true,
2518
+        ddpi: window.devicePixelRatio * 4, //将分辨率提高到特定的DPI 提高四倍
2519
+        scale: 4, //按比例增加分辨率
2520
+        background: '#fff',//pdf背景色为白色,默认是黑色的
2521
+      }).then((canvas) => {
2522
+        //返回图片dataURL,参数:图片格式和清晰度(0-1)
2523
+        var pageData = canvas.toDataURL('image/jpeg', 1.0);
2524
+
2525
+        //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
2526
+        var pdf = new jsPDF('', 'pt', 'a4');
2527
+
2528
+        //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
2529
+        //  pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
2530
+        pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
2531
+
2532
+        console.log("pdf222222222222222222",pdf)
2533
+
2534
+        var newBase64Data =  pdf.output("dataurlstring").split("base64,")[1]
2535
+        // console.log("base63",newBase64Data)
2536
+        const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
2537
+        console.log("blobwoowowowwo",blob)
2538
+        this.openPdf(blob);
2539
+
2540
+        // var data = {
2541
+        //   name:newBase64Data,
2542
+        // }
2543
+        // UploadPrintOrder(data).then(response=>{
2544
+        //   if(response.data.state == 1){
2545
+        //     var sign =  response.data.data.sign
2546
+        //     console.log("SIGNWWOOWWO")
2547
+        //     var pdfBase64 = response.data.data.pdfBase64
2548
+        //     console.log("pdfBase64",pdfBase64)
2549
+        //     this.$message.success("保存成功!")
2550
+        //     const blob = this.base64ToBlob(pdfBase64, 'application/pdf');
2551
+        //     this.openPdf(blob);
2552
+        //   }
2553
+        // })
2547 2554
 
2548
-         let dom = document.getElementById("dialysis-print-box-1")
2549
-         //调用方法下载
2550
-         html2canvas(dom, {
2551
-           useCORS: true, //允许跨域
2552
-           allowTaint: false,
2553
-           logging: false,
2554
-           letterRendering: true,
2555
-           ddpi: window.devicePixelRatio * 4, //将分辨率提高到特定的DPI 提高四倍
2556
-           scale: 4, //按比例增加分辨率
2557
-           background: '#fff',//pdf背景色为白色,默认是黑色的
2558
-         }).then((canvas) => {
2559
-           //返回图片dataURL,参数:图片格式和清晰度(0-1)
2560
-           var pageData = canvas.toDataURL('image/jpeg', 1.0);
2561
-
2562
-           //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
2563
-           var pdf = new jsPDF('', 'pt', 'a4');
2564
-
2565
-           //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
2566
-           //  pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
2567
-           pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
2568
-
2569
-           console.log("pdf222222222222222222",pdf)
2570
-
2571
-           var newBase64Data =  pdf.output("dataurlstring").split("base64,")[1]
2572
-           // console.log("base63",newBase64Data)
2573
-           const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
2574
-           console.log("blobwoowowowwo",blob)
2575
-           this.openPdf(blob);
2576
-
2577
-           // var data = {
2578
-           //   name:newBase64Data,
2579
-           // }
2580
-           // UploadPrintOrder(data).then(response=>{
2581
-           //   if(response.data.state == 1){
2582
-           //     var sign =  response.data.data.sign
2583
-           //     console.log("SIGNWWOOWWO")
2584
-           //     var pdfBase64 = response.data.data.pdfBase64
2585
-           //     console.log("pdfBase64",pdfBase64)
2586
-           //     this.$message.success("保存成功!")
2587
-           //     const blob = this.base64ToBlob(pdfBase64, 'application/pdf');
2588
-           //     this.openPdf(blob);
2589
-           //   }
2590
-           // })
2591
-
2592
-           // this.viewPdf(newBase64Data)
2593
-           //保存到pdf,名字是stone
2594
-           // pdf.save('stone.pdf');
2595
-
2596
-         });
2597
-       },
2555
+        // this.viewPdf(newBase64Data)
2556
+        //保存到pdf,名字是stone
2557
+        // pdf.save('stone.pdf');
2558
+
2559
+      });
2560
+    },
2598 2561
 
2599 2562
      viewPdf(content) {
2600 2563
        console.log("content",content);
@@ -2679,222 +2642,6 @@ export default {
2679 2642
         return year_d;
2680 2643
       }
2681 2644
     },
2682
-
2683
-    checkData() {
2684
-      if (this.receiverTreatmentAccess.way == 0) {
2685
-        this.$message.error("入科方式未填");
2686
-      } else if (this.predialysis.symptom_before_dialysis == "") {
2687
-        this.$message.error("透前症状未填");
2688
-      } else if (this.predialysis.temperature == "") {
2689
-        this.$message.error("透前体温未填");
2690
-      } else if (this.predialysis.pulse_frequency == "") {
2691
-        this.$message.error("透前脉搏未填");
2692
-      } else if (this.predialysis.breathing_rate == "") {
2693
-        this.$message.error("透前呼吸频率未填");
2694
-      } else if (
2695
-        this.predialysis.systolic_blood_pressure == 0 ||
2696
-        this.predialysis.diastolic_blood_pressure == 0
2697
-      ) {
2698
-        this.$message.error("透前血压未填完整");
2699
-      } else if (this.predialysis.puncture_way == "") {
2700
-        this.$message.error("穿刺方式未填");
2701
-      } else if (this.predialysis.puncture_needle == "") {
2702
-        this.$message.error("穿刺针未填");
2703
-      } else if (
2704
-        this.predialysis.blood_access_part_id == "" &&
2705
-        this.predialysis.blood_access_part_opera_name == ""
2706
-      ) {
2707
-        this.$message.error("血管通路未填");
2708
-      } else if (this.predialysis.internal_fistula == "") {
2709
-        this.$message.error("透前内瘘未填");
2710
-      } else if (this.predialysis.catheter == "") {
2711
-        this.$message.error("透前导管未填");
2712
-      } else if (this.prescription.mode_id == "") {
2713
-        this.$message.error("透析方式未填");
2714
-      } else if (
2715
-        this.prescription.displace_liqui_part == 0 &&
2716
-        this.prescription.mode_id == 2
2717
-      ) {
2718
-        this.$message.error("置换方式未填");
2719
-      } else if (
2720
-        this.prescription.displace_liqui_value == 0 &&
2721
-        this.prescription.mode_id == 2
2722
-      ) {
2723
-        this.$message.error("置换量未填");
2724
-      } else if (this.prescription.blood_flow_volume == 0) {
2725
-        this.$message.error("血流量未填");
2726
-      } else if (
2727
-        this.prescription.dialysis_duration_hour == 0 &&
2728
-        this.prescription.dialysis_duration_minute == 0
2729
-      ) {
2730
-        this.$message.error("透析时间未填");
2731
-      } else if (
2732
-        this.prescription.dialyzer_perfusion_apparatus == "" &&
2733
-        this.prescription.dialysis_dialyszers == ""
2734
-      ) {
2735
-        this.$message.error("透析器未填");
2736
-      } else if (this.prescription.dialysis_irrigation == "") {
2737
-        this.$message.error("灌流器未填");
2738
-      } else if (
2739
-        this.prescription.plasma_separator == "" &&
2740
-        this.org_id == 9538
2741
-      ) {
2742
-        this.$message.error("血浆分离器未填");
2743
-      } else if (
2744
-        this.prescription.bilirubin_adsorption_column == "" &&
2745
-        this.org_id == 9538
2746
-      ) {
2747
-        this.$message.error("胆红素吸附柱未填");
2748
-      } else if (this.predialysis.weight_before == 0) {
2749
-        this.$message.error("透前体重未填");
2750
-      } else if (this.predialysis.dry_weight == 0) {
2751
-        this.$message.error("干体重未填");
2752
-      } else if (this.prescription.target_ultrafiltration == 0) {
2753
-        this.$message.error("计划超滤量未填");
2754
-      } else if (this.prescription.calcium == 0) {
2755
-        this.$message.error("钙未填");
2756
-      } else if (this.prescription.sodium == 0) {
2757
-        this.$message.error("钠未填");
2758
-      } else if (this.prescription.kalium == 0) {
2759
-        this.$message.error("钾未填");
2760
-      } else if (this.prescription.bicarbonate == 0) {
2761
-        this.$message.error("碳酸氢根未填");
2762
-      } else if (this.prescription.dialysate_flow == 0) {
2763
-        this.$message.error("透析液流量未填");
2764
-      } else if (this.prescription.anticoagulant == 0) {
2765
-        this.$message.error("抗凝剂未填");
2766
-      } else if (
2767
-        this.prescription.anticoagulant_gaimingcheng == "" &&
2768
-        this.prescription.anticoagulant == 5
2769
-      ) {
2770
-        this.$message.error("钙名称未填");
2771
-      } else if (
2772
-        this.prescription.anticoagulant_gaijiliang == "" &&
2773
-        this.prescription.anticoagulant == 5
2774
-      ) {
2775
-        this.$message.error("钙剂量未填");
2776
-      } else if (this.afterdialysis.temperature == 0) {
2777
-        this.$message.error("透后体温未填");
2778
-      } else if (this.afterdialysis.pulse_frequency == 0) {
2779
-        this.$message.error("透后脉搏未填");
2780
-      } else if (this.afterdialysis.breathing_rate == 0) {
2781
-        this.$message.error("透后呼吸频率未填");
2782
-      } else if (
2783
-        this.afterdialysis.systolic_blood_pressure == 0 ||
2784
-        this.afterdialysis.diastolic_blood_pressure == 0
2785
-      ) {
2786
-        this.$message.error("透后血压未填完整");
2787
-      } else if (
2788
-        this.afterdialysis.actual_treatment_hour == 0 &&
2789
-        this.afterdialysis.actual_treatment_minute == 0
2790
-      ) {
2791
-        this.$message.error("实际治疗时间未填");
2792
-      } else if (this.afterdialysis.cruor == "") {
2793
-        this.$message.error("透析器凝血未填");
2794
-      } else if (this.afterdialysis.internal_fistula == "") {
2795
-        this.$message.error("透后内瘘未填");
2796
-      } else if (this.afterdialysis.catheter == "") {
2797
-        this.$message.error("透后导管未填");
2798
-      } else if (this.afterdialysis.weight_after == 0) {
2799
-        this.$message.error("透后体重未填");
2800
-      } else if (this.afterdialysis.weight_loss == 0) {
2801
-        this.$message.error("透后体重减少未填");
2802
-      } else if (this.afterdialysis.dialysis_intakes == 0) {
2803
-        this.$message.error("透析中入量未填");
2804
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
2805
-        this.$message.error("实际超滤量未填");
2806
-      } else if (this.summary.dialysis_summary == "") {
2807
-        this.$message.error("透析小结未填");
2808
-      } else if (
2809
-        this.dialysisOrder == null ||
2810
-        this.dialysisOrder.puncture_nurse == 0
2811
-      ) {
2812
-        this.$message.error("穿刺护士未填");
2813
-      } else if (
2814
-        this.dialysisOrder == null ||
2815
-        this.dialysisOrder.start_nurse == 0
2816
-      ) {
2817
-        this.$message.error("治疗护士未填");
2818
-      } else if (this.dialysisOrder == null && this.check.creater == 0) {
2819
-        this.$message.error("核对人员未填");
2820
-      } else if (
2821
-        this.dialysisOrder != null &&
2822
-        this.dialysisOrder.start_nurse == this.check.modifier &&
2823
-        this.check.creater == 0
2824
-      ) {
2825
-        this.$message.error("核对人员未填");
2826
-      } else if (
2827
-        this.dialysisOrder != null &&
2828
-        this.dialysisOrder.start_nurse == this.check.creater &&
2829
-        this.check.modifier == 0
2830
-      ) {
2831
-        this.$message.error("核对人员未填");
2832
-      } else if (
2833
-        this.dialysisOrder != null &&
2834
-        this.dialysisOrder.start_nurse != this.check.creater &&
2835
-        this.dialysisOrder.start_nurse != this.check.modifier &&
2836
-        this.check.creater == 0
2837
-      ) {
2838
-        this.$message.error("核对人员未填");
2839
-      } else if (
2840
-        this.dialysisOrder == null ||
2841
-        this.dialysisOrder.finish_nurse == 0
2842
-      ) {
2843
-        this.$message.error("下机护士未填");
2844
-      } else if (this.prescription.creater == 0) {
2845
-        this.$message.error("医生签名未填");
2846
-      } else if (this.tableAdvice.length > 0) {
2847
-        let num = 0;
2848
-        this.tableAdvice.map((item) => {
2849
-          if (item.id > 0 && (item.created_time || item.start_time)) {
2850
-            this.users.map((it) => {
2851
-              if (it.id == item.advice_doctor) {
2852
-                if (it.user_type == 3) {
2853
-                  num++;
2854
-                  this.$message.closeAll();
2855
-                  this.$message.error("存在不是医生保存的医嘱");
2856
-                } else if (
2857
-                  it.id == item.execution_staff &&
2858
-                  item.execution_staff > 0
2859
-                ) {
2860
-                  if (it.user_type == 2) {
2861
-                    num++;
2862
-                    this.$message.closeAll();
2863
-                    this.$message.error("存在不是护士执行的医嘱");
2864
-                  }
2865
-                } else if (it.id == item.checker && item.checker > 0) {
2866
-                  if (it.user_type == 2) {
2867
-                    num++;
2868
-                    this.$message.closeAll();
2869
-                    this.$message.error("存在不是护士核对的医嘱");
2870
-                  }
2871
-                }
2872
-              } else if (
2873
-                it.id == item.execution_staff &&
2874
-                item.execution_staff > 0
2875
-              ) {
2876
-                if (it.user_type == 2) {
2877
-                  num++;
2878
-                  this.$message.closeAll();
2879
-                  this.$message.error("存在不是护士执行的医嘱");
2880
-                }
2881
-              } else if (it.id == item.checker && item.checker > 0) {
2882
-                if (it.user_type == 2) {
2883
-                  num++;
2884
-                  this.$message.closeAll();
2885
-                  this.$message.error("存在不是护士核对的医嘱");
2886
-                }
2887
-              }
2888
-            });
2889
-          }
2890
-        });
2891
-        if (num == 0) {
2892
-          this.$message.success("核对完成");
2893
-        }
2894
-      } else {
2895
-        this.$message.success("核对完成");
2896
-      }
2897
-    },
2898 2645
     getDisplaceLiquiPart: function (val) {
2899 2646
       let displace_liqui_part_name = "/";
2900 2647
       const displace_liqui_part = this.displaceLiquiPartOptions;
@@ -3631,6 +3378,16 @@ export default {
3631 3378
           return this.patientgose[i].lable
3632 3379
         }
3633 3380
       }
3381
+    },
3382
+    getcheckData(val){
3383
+      if(val.length >0){
3384
+        const a = val.join(',')
3385
+        console.log('a',a);
3386
+        this.$message.error(a +" 未填");
3387
+        return a
3388
+      }else{
3389
+        this.$message.success('核对完成')
3390
+      }
3634 3391
     }
3635 3392
   },
3636 3393
   watch: {

+ 110 - 101
src/xt_pages/dialysis/template/DialysisPrintOrderSop.vue Wyświetl plik

@@ -25,7 +25,7 @@
25 25
                   </div>
26 26
                   <div style="flex: 1;">
27 27
                     透析机号:
28
-                    <!-- {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }} -->
28
+                    {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
29 29
                   </div>
30 30
                 </div>
31 31
               </td>
@@ -490,111 +490,110 @@ export default {
490 490
   },
491 491
   methods: {
492 492
     checkData(){
493
-      if(this.receiverTreatmentAccess.sick_condition == 0){
494
-        this.$message.error('病情评估未填')
495
-      }else if(this.receiverTreatmentAccess.way == 0){
496
-        this.$message.error('入科方式未填')
497
-      }else if(this.prescription.mode_id == ""){
498
-        this.$message.error('净化治疗方式未填')
499
-      }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
500
-        this.$message.error('透析器或灌流器未填')
501
-      }else if(this.predialysis.blood_access_part_opera_name == ''){
502
-        this.$message.error('血管通路未填')
503
-      }else if(this.predialysis.weight_before == 0){
504
-        this.$message.error('透前体重未填')
505
-      }else if(this.predialysis.dry_weight == 0){
506
-        this.$message.error('干体重未填')
507
-      }else if(this.prescription.target_ultrafiltration == 0){
508
-        this.$message.error('预脱水量未填')
509
-      }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
510
-        this.$message.error('透析时间未填')
511
-      }else if(this.prescription.blood_flow_volume == 0){
512
-        this.$message.error('血流量未填')
513
-      }else if(this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
514
-        this.$message.error('置换方式未填')
515
-      }else if(this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
516
-        this.$message.error('置换量未填')
517
-      }else if(this.prescription.anticoagulant == 0){
518
-        this.$message.error('抗凝剂未填')
519
-      }else if(this.prescription.calcium == 0 && this.prescription.dialysate_formulation != 0){
520
-        this.$message.error('钙未填')
521
-      }else if(this.prescription.sodium == 0 && this.prescription.dialysate_formulation != 0){
522
-        this.$message.error('钠未填')
523
-      }else if(this.prescription.kalium == 0 && this.prescription.dialysate_formulation != 0){
524
-        this.$message.error('钾未填')
525
-      }else if(this.predialysis.complication == ''){
526
-        this.$message.error('透前并发症未填')
527
-      }else if(this.doctorForm.doctor == ""){
528
-        this.$message.error('医生签名未填')
529
-      }else if(this.orderForm.start_nurse == ""){
530
-        this.$message.error('上机护士未填')
531
-      }else if(this.check.modifier == 0){
532
-        this.$message.error('核对护士未填')
533
-      }else if(this.finshForm.finish_nurse == ""){
534
-        this.$message.error('下机护士未填')
535
-      }else if(this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0){
536
-        this.$message.error('透后血压未填完整')
537
-      }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
538
-        this.$message.error('实际治疗时间未填')
539
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
540
-        this.$message.error('实际超滤量未填')
541
-      }else if(this.afterdialysis.puncture_point_oozing_blood == 0){
542
-        this.$message.error('拔针后穿刺点渗血未填')
543
-      }else if(this.afterdialysis.puncture_point_haematoma == 0){
544
-        this.$message.error('穿刺处血肿未填')
545
-      }else if(this.afterdialysis.internal_fistula == ""){
546
-        this.$message.error('压迫后内瘘震颤未填')
547
-      }else if(this.afterdialysis.complication == ''){
548
-        this.$message.error('透后并发症未填')
549
-      }else if(this.afterdialysis.cruor == ""){
550
-        this.$message.error('透析器凝血未填')
551
-      }else if(this.summary.dialysis_summary == ""){
552
-        this.$message.error('透析小结未填')
553
-      }else if(this.tableAdvice.length > 0){
554
-        let num = 0
493
+      var checkDate =[]
494
+      if(this.predialysis.symptom_before_dialysis_other == '' &&
495
+        this.predialysis.symptom_before_dialysis == ''
496
+      ){
497
+        const obj = "上机前病情"
498
+        checkDate.push(obj)
499
+      } if(this.prescription.mode == ""){
500
+        const obj2 = "治疗方式"
501
+        checkDate.push(obj2)
502
+      } if(this.prescription.displace_liqui_value == "" &&
503
+        (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
504
+          const obj3 = "置换量"
505
+          checkDate.push(obj3)
506
+      } if(this.afterdialysis.actual_treatment_hour == '' && 
507
+          this.afterdialysis.actual_treatment_minute == ''
508
+      ){
509
+        const obj4 = "治疗时间"
510
+        checkDate.push(obj4)
511
+      } if(this.prescription.anticoagulant == ''){
512
+        const obj5 = "抗凝剂未填"
513
+        checkDate.push(obj5)
514
+      } if(this.prescription.anticoagulant_shouji == 0 && this.prescription.anticoagulant=='普通肝素'){
515
+        const obj6 = "首剂"
516
+        checkDate.push(obj6)
517
+      } if(this.prescription.anticoagulant_weichi == 0 && this.prescription.anticoagulant=='普通肝素'){
518
+        const obj7 = "维持"
519
+        checkDate.push(obj7)
520
+      } if(this.prescription.anticoagulant_zongliang == 0 && this.prescription.anticoagulant=='普通肝素'){
521
+        const obj8 = "总量"
522
+        checkDate.push(obj8)
523
+      } if(this.prescription.prescription_water == 0){
524
+        const obj14 = "处方脱水量"
525
+        checkDate.push(obj14)
526
+      } if(this.prescription.dialysate_flow == ''){
527
+        const obj16 = "透析液流量"
528
+        checkDate.push(obj16)
529
+      } if(this.prescription.creater == ""){
530
+        const obj15 = "医生签名"
531
+        checkDate.push(obj15)
532
+      } if (this.predialysis.machine_type == '') {
533
+        const obj19 = "透析机"
534
+        checkDate.push(obj19)
535
+      } if (
536
+        this.prescription.dialysis_irrigation == '' &&
537
+        this.prescription.dialysis_dialyszers == '' &&
538
+        this.prescription.dialysis_strainer == ''
539
+      ){
540
+        const obj18 = "透析(滤)器"
541
+        checkDate.push(obj18)
542
+      } if (this.prescription.calcium == 0) {
543
+        const obj37 = "钙"
544
+        checkDate.push(obj37)
545
+      } if (this.prescription.sodium == 0) {
546
+        const obj38 = "钠"
547
+        checkDate.push(obj38)
548
+      } if (this.prescription.kalium == 0) {
549
+        const obj39 = "钾"
550
+        checkDate.push(obj39)
551
+      } if (this.prescription.bicarbonate == 0) {
552
+        const obj40 = "碳酸氢根"
553
+        checkDate.push(obj40)
554
+      } if (this.predialysis.blood_access_part_opera_name == ''){
555
+        const obj20 = "血管通路"
556
+        checkDate.push(obj20)
557
+      } if (this.dialysisOrder == null ||
558
+        this.dialysisOrder.puncture_nurse == 0
559
+      ) {
560
+        const obj21 = "穿刺者"
561
+        checkDate.push(obj21)
562
+      } if(this.summary.dialysis_summary == ""){
563
+        const obj22 = "透析小结"
564
+        checkDate.push(obj22)
565
+      } if(this.assessmentafter.weight_after == 0){
566
+        const obj9 = "上次透后体重"
567
+        checkDate.push(obj9)
568
+      } if(this.predialysis.weight_before == 0){
569
+        const obj10 = "透前体重"
570
+        checkDate.push(obj10)
571
+      } if(this.predialysis.dry_weight == 0){
572
+        const obj11 = "干体重"
573
+        checkDate.push(obj11)
574
+      } if(this.afterdialysis.weight_after == 0){
575
+        const obj12 = "透后体重"
576
+        checkDate.push(obj12)
577
+      } if(this.afterdialysis.actual_ultrafiltration == 0){
578
+        const obj33 = "净脱水量"
579
+        checkDate.push(obj33)
580
+      } if (
581
+        this.dialysisOrder == null ||
582
+        this.dialysisOrder.start_nurse == 0
583
+      ) {
584
+        const obj23 = "护士签名"
585
+        checkDate.push(obj23)
586
+      } if(this.tableAdvice.length > 0){
555 587
         this.tableAdvice.map(item => {
556 588
           if(item.id > 0 && (item.created_time || item.start_time)){
557
-            this.users.map(it => {
558
-              if(it.id == item.advice_doctor){
559
-                if(it.user_type == 3){
560
-                  num++
561
-                  this.$message.closeAll()
562
-                  this.$message.error('存在不是医生保存的医嘱')
563
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
564
-                  if(it.user_type == 2){
565
-                    num++
566
-                    this.$message.closeAll()
567
-                    this.$message.error('存在不是护士执行的医嘱')
568
-                  }
569
-                }else if(it.id == item.checker && item.checker > 0){
570
-                  if(it.user_type == 2){
571
-                    num++
572
-                    this.$message.closeAll()
573
-                    this.$message.error('存在不是护士核对的医嘱')
574
-                  }
575
-                }
576
-              }else if(it.id == item.execution_staff && item.execution_staff > 0){
577
-                if(it.user_type == 2){
578
-                  num++
579
-                  this.$message.closeAll()
580
-                  this.$message.error('存在不是护士执行的医嘱')
581
-                }
582
-              }else if(it.id == item.checker && item.checker > 0){
583
-                if(it.user_type == 2){
584
-                  num++
585
-                  this.$message.closeAll()
586
-                  this.$message.error('存在不是护士核对的医嘱')
587
-                }
588
-              }
589
-            })
589
+            if(item.execution_staff ==0 || item.checker ==0){
590
+              const obj24 = '执行,核对'
591
+              checkDate.push(obj24)
592
+            }
590 593
           }
591 594
         })
592
-        if(num == 0){
593
-          this.$message.success('核对完成')
594
-        }
595
-      }else{
596
-        this.$message.success('核对完成')
597 595
       }
596
+      this.getcheckData(checkDate)
598 597
     },
599 598
     getDisplaceLiquiPart: function(val) {
600 599
       let displace_liqui_part_name = "/";
@@ -1268,6 +1267,16 @@ export default {
1268 1267
           // checker: 0,
1269 1268
         }
1270 1269
       );
1270
+    },
1271
+    getcheckData(val){
1272
+      if(val.length >0){
1273
+        const a = val.join(',')
1274
+        console.log('a',a);
1275
+        this.$message.error(a +" 未填");
1276
+        return a
1277
+      }else{
1278
+        this.$message.success('核对完成')
1279
+      }
1271 1280
     }
1272 1281
   },
1273 1282
   watch: {

+ 441 - 270
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue Wyświetl plik

@@ -99,8 +99,7 @@
99 99
           <div class="row" style="display: flex;">
100 100
             <div class="inline_block" style="flex: 2;" >
101 101
               血管通路:
102
-              <div class="under_line"
103
-                style=" width: 52%;
102
+              <div class="under_line" style=" width: 52%;
104 103
                   text-align: center; white-space: normal;
105 104
                 ">
106 105
                 {{ predialysis.blood_access_part_id ? predialysis.blood_access_part_id : '' }}
@@ -161,11 +160,8 @@
161 160
             </div>
162 161
             <div class="inline_block" style="flex: 1;">
163 162
               置换量:
164
-              <div class="under_line"
165
-                style=" width: 50%;
166
-                  text-align: center;
167
-                  white-space: normal;
168
-                "
163
+              <div class="under_line" style=" width: 50%;
164
+                  text-align: center; white-space: normal;"
169 165
               >
170 166
                 {{
171 167
                   prescription.displace_liqui_value ? prescription.displace_liqui_value : "/"
@@ -1209,114 +1205,281 @@ export default {
1209 1205
   methods: {
1210 1206
     toUpload() {
1211 1207
 
1212
-         let dom = document.getElementById("dialysis-print-box-1")
1213
-         //调用方法下载
1214
-         html2canvas(dom, {
1215
-           useCORS: true, //允许跨域
1216
-           allowTaint: false,
1217
-           logging: false,
1218
-           letterRendering: true,
1219
-           ddpi: window.devicePixelRatio * 4, //将分辨率提高到特定的DPI 提高四倍
1220
-           scale: 4, //按比例增加分辨率
1221
-           background: '#fff',//pdf背景色为白色,默认是黑色的
1222
-         }).then((canvas) => {
1223
-           //返回图片dataURL,参数:图片格式和清晰度(0-1)
1224
-           var pageData = canvas.toDataURL('image/jpeg', 1.0);
1225
-
1226
-           //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
1227
-           var pdf = new jsPDF('', 'pt', 'a4');
1228
-
1229
-           //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
1230
-           //  pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
1231
-           pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
1232
-
1233
-           console.log("pdf222222222222222222",pdf)
1234
-
1235
-           var newBase64Data =  pdf.output("dataurlstring").split("base64,")[1]
1236
-           // console.log("base63",newBase64Data)
1237
-           const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
1238
-           console.log("blobwoowowowwo",blob)
1239
-           this.openPdf(blob);
1240
-
1241
-           // var data = {
1242
-           //   name:newBase64Data,
1243
-           // }
1244
-           // UploadPrintOrder(data).then(response=>{
1245
-           //   if(response.data.state == 1){
1246
-           //     var sign =  response.data.data.sign
1247
-           //     console.log("SIGNWWOOWWO")
1248
-           //     var pdfBase64 = response.data.data.pdfBase64
1249
-           //     console.log("pdfBase64",pdfBase64)
1250
-           //     this.$message.success("保存成功!")
1251
-           //     const blob = this.base64ToBlob(pdfBase64, 'application/pdf');
1252
-           //     this.openPdf(blob);
1253
-           //   }
1254
-           // })
1255
-
1256
-           // this.viewPdf(newBase64Data)
1257
-           //保存到pdf,名字是stone
1258
-           // pdf.save('stone.pdf');
1259
-
1260
-         });
1261
-       },
1262
-
1263
-     viewPdf(content) {
1264
-       console.log("content",content);
1265
-       const blob = this.base64ToBlob(content);
1266
-       if (window.navigator && window.navigator.msSaveOrOpenBlob) {
1267
-         window.navigator.msSaveOrOpenBlob(blob);
1268
-       } else {
1269
-         const fileURL = URL.createObjectURL(blob);
1270
-         console.log("fileUlrwowowoow",fileURL)
1271
-         window.open(fileURL);//打开ppf文件
1272
-       }
1273
-     },
1274
-     compare (property) {
1275
-       return function (a, b) {
1276
-           var value1 = a[property]
1277
-           var value2 = b[property]
1278
-           return value1 - value2
1279
-       }
1280
-     },
1281
-
1282
-     openPdf(blob) {
1283
-       const objectUrl = URL.createObjectURL(blob);
1284
-       const a = document.createElement('a');
1285
-       a.href = objectUrl;
1286
-       a.target = '_blank';
1287
-       a.click();
1288
-       URL.revokeObjectURL(objectUrl);
1289
-     },
1290
-      base64ToBlob(base64Data, contentType) {
1291
-       contentType = contentType || '';
1292
-       const sliceSize = 1024;
1293
-       const byteCharacters = window.atob(base64Data);
1294
-       const bytesLength = byteCharacters.length;
1295
-       const slicesCount = Math.ceil(bytesLength / sliceSize);
1296
-       const byteArrays = new Array(slicesCount);
1297
-
1298
-       for (let sliceIndex = 0; sliceIndex < slicesCount; ++sliceIndex) {
1299
-         const begin = sliceIndex * sliceSize;
1300
-         const end = Math.min(begin + sliceSize, bytesLength);
1301
-
1302
-         const bytes = new Array(end - begin);
1303
-         for (let offset = begin, i = 0; offset < end; ++i, ++offset) {
1304
-           bytes[i] = byteCharacters[offset].charCodeAt(0);
1305
-         }
1306
-         byteArrays[sliceIndex] = new Uint8Array(bytes);
1307
-       }
1308
-
1309
-       return new Blob(byteArrays, {
1310
-         type: contentType
1311
-       });
1312
-     },
1313
-
1314
-     UploadPdf(res) {
1315
-       let pdfBase64Str = res;
1316
-       let title = "上传给后端的个人报告";
1317
-       var myfile = this.dataURLtoFile(pdfBase64Str, title + ".pdf")
1318
-       console.log("myfile",myfile)
1319
-     },
1208
+      let dom = document.getElementById("dialysis-print-box-1")
1209
+      //调用方法下载
1210
+      html2canvas(dom, {
1211
+        useCORS: true, //允许跨域
1212
+        allowTaint: false,
1213
+        logging: false,
1214
+        letterRendering: true,
1215
+        ddpi: window.devicePixelRatio * 4, //将分辨率提高到特定的DPI 提高四倍
1216
+        scale: 4, //按比例增加分辨率
1217
+        background: '#fff',//pdf背景色为白色,默认是黑色的
1218
+      }).then((canvas) => {
1219
+        //返回图片dataURL,参数:图片格式和清晰度(0-1)
1220
+        var pageData = canvas.toDataURL('image/jpeg', 1.0);
1221
+
1222
+        //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
1223
+        var pdf = new jsPDF('', 'pt', 'a4');
1224
+
1225
+        //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
1226
+        //  pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
1227
+        pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
1228
+
1229
+        console.log("pdf222222222222222222",pdf)
1230
+
1231
+        var newBase64Data =  pdf.output("dataurlstring").split("base64,")[1]
1232
+        // console.log("base63",newBase64Data)
1233
+        const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
1234
+        console.log("blobwoowowowwo",blob)
1235
+        this.openPdf(blob);
1236
+
1237
+        // var data = {
1238
+        //   name:newBase64Data,
1239
+        // }
1240
+        // UploadPrintOrder(data).then(response=>{
1241
+        //   if(response.data.state == 1){
1242
+        //     var sign =  response.data.data.sign
1243
+        //     console.log("SIGNWWOOWWO")
1244
+        //     var pdfBase64 = response.data.data.pdfBase64
1245
+        //     console.log("pdfBase64",pdfBase64)
1246
+        //     this.$message.success("保存成功!")
1247
+        //     const blob = this.base64ToBlob(pdfBase64, 'application/pdf');
1248
+        //     this.openPdf(blob);
1249
+        //   }
1250
+        // })
1251
+
1252
+        // this.viewPdf(newBase64Data)
1253
+        //保存到pdf,名字是stone
1254
+        // pdf.save('stone.pdf');
1255
+
1256
+      });
1257
+    },
1258
+    checkData() {
1259
+      var checkDate =[]
1260
+      if (
1261
+        this.predialysis.blood_access_part_id == "" &&
1262
+        this.predialysis.blood_access_part_opera_name == ""
1263
+      ) {
1264
+        const obj10 = '血管通路'
1265
+        checkDate.push(obj10);
1266
+      }
1267
+      if (this.dialysisOrder !=null &&
1268
+          this.dialysisOrder.DeviceNumber.number == '' &&
1269
+          this.patientInfo.DialysisSchedule.device_number.number == ""
1270
+      ) {
1271
+        const obj9 = '透析机'
1272
+        checkDate.push(obj9);
1273
+      }
1274
+      if (this.dialysisOrder !=null &&
1275
+        this.dialysisOrder.dialysis_dialyszers == "" &&
1276
+        this.dialysisOrder.dialysis_strainer == ""
1277
+      ) {
1278
+        const obj17 = '透析(滤)器'
1279
+        checkDate.push(obj17);
1280
+      } if (this.prescription.mode == "") {
1281
+        const obj13 = '治疗方式'
1282
+        checkDate.push(obj13);
1283
+      } if (
1284
+        this.prescription.displace_liqui_value == 0 &&
1285
+        this.prescription.mode_id == 2
1286
+      ) {
1287
+        const obj15 = '置换量'
1288
+        checkDate.push(obj15);
1289
+      } if (this.dialysisOrder !=null &&
1290
+          this.dialysisOrder.dialysis_irrigation != '0'
1291
+      ) {
1292
+        const obj18 = '灌流器'
1293
+        checkDate.push(obj18);
1294
+      } if (this.predialysis.puncture_way == "") {
1295
+        const obj6 = '穿刺方式'
1296
+        checkDate.push(obj6);
1297
+      } if (this.prescription.anticoagulant_name == '') {
1298
+        const obj28 = '抗凝方式'
1299
+        checkDate.push(obj28);
1300
+      } if (
1301
+        this.prescription.anticoagulant_shouji == "" &&
1302
+        this.prescription.anticoagulant_name == '肝素钠'
1303
+      ) {
1304
+        const obj30 = '首剂'
1305
+        checkDate.push(obj30);
1306
+      } if (
1307
+        this.prescription.anticoagulant_weichi == "" &&
1308
+        this.prescription.anticoagulant_name == '肝素钠'
1309
+      ) {
1310
+        const obj31 = '追加'
1311
+        checkDate.push(obj31);
1312
+      } if (this.predialysis.temperature == "") {
1313
+        const obj2 = '透前体温'
1314
+        checkDate.push(obj2);
1315
+      } if (this.predialysis.pulse_frequency == "") {
1316
+        const obj3 = '透前脉搏'
1317
+        checkDate.push(obj3);
1318
+      } if (
1319
+        this.predialysis.systolic_blood_pressure == 0 ||
1320
+        this.predialysis.diastolic_blood_pressure == 0
1321
+      ) {
1322
+        const obj5 = '透前血压'
1323
+        checkDate.push(obj5);
1324
+      } if (this.predialysis.dry_weight == '') {
1325
+        const obj21 = '干体重'
1326
+        checkDate.push(obj21);
1327
+      } if (this.prescription.target_ultrafiltration == '') {
1328
+        const obj = '医嘱脱水量'
1329
+        checkDate.push(obj);
1330
+      } if (this.prescription.dialysis_duration_hour == "" &&
1331
+        this.prescription.dialysis_duration_minute == ''
1332
+      ) {
1333
+        const obj8 = '治疗时间'
1334
+        checkDate.push(obj8);
1335
+      } if (this.predialysis.puncture_needle == "") {
1336
+        const obj7 = '穿刺针'
1337
+        checkDate.push(obj7);
1338
+      } if (this.prescription.creater == 0) {
1339
+        const obj52 = '医生签名'
1340
+        checkDate.push(obj52);
1341
+      } if (this.prescription.remark == 0) {
1342
+        const objq = '特殊医嘱'
1343
+        checkDate.push(objq);
1344
+      } if (
1345
+        this.dialysisOrder != null &&
1346
+        this.dialysisOrder.puncture_nurse == 0
1347
+      ) {
1348
+        const obj47 = '上机护士'
1349
+        checkDate.push(obj47);
1350
+      } if (
1351
+        this.dialysisOrder != null &&
1352
+        this.dialysisOrder.start_nurse == 0
1353
+      ) {
1354
+        const obj48 = '责任护士'
1355
+        checkDate.push(obj48);
1356
+      } if (this.check != null && this.check.modifier == 0) {
1357
+        const obj49 = '核对护士'
1358
+        checkDate.push(obj49);
1359
+      } if (this.afterdialysis.internal_fistula == "") {
1360
+        const obj39 = '穿刺'
1361
+        checkDate.push(obj39);
1362
+      } if (this.afterdialysis.cruor == "") {
1363
+        const obj11 = '透析器'
1364
+        checkDate.push(obj11);
1365
+      } if (this.afterdialysis.is_eat == "") {
1366
+        const obj12 = '透析中进食'
1367
+        checkDate.push(obj12);
1368
+      } if (
1369
+        this.afterdialysis.actual_treatment_hour == 0 &&
1370
+        this.afterdialysis.actual_treatment_minute == 0
1371
+      ) {
1372
+        const obj37 = '实际治疗时间'
1373
+        checkDate.push(obj37);
1374
+      } if (this.predialysis.weight_before == 0) {
1375
+        const obj20 = '透前体重'
1376
+        checkDate.push(obj20);
1377
+      } if (this.afterdialysis.weight_after == 0) {
1378
+        const obj41 = '透后体重'
1379
+        checkDate.push(obj41);
1380
+      } if (
1381
+        this.afterdialysis.systolic_blood_pressure == 0 ||
1382
+        this.afterdialysis.diastolic_blood_pressure == 0
1383
+      ) {
1384
+        const obj36 = '透后血压'
1385
+        checkDate.push(obj36);
1386
+      } if (this.afterdialysis.pulse_frequency == 0) {
1387
+        const obj34 = '透后脉搏'
1388
+        checkDate.push(obj34);
1389
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
1390
+        const obj16 = '实际脱水量'
1391
+        checkDate.push(obj16);
1392
+      } if (this.afterdialysis.actual_displacement == '') {
1393
+        const obj14 = '实际置换量'
1394
+        checkDate.push(obj14);
1395
+      } if (this.summary.dialysis_summary == "") {
1396
+        const obj45 = '透析小结'
1397
+        checkDate.push(obj45);
1398
+      } if (this.summary.mission == '') {
1399
+        const obj46 = '宣教知识'
1400
+        checkDate.push(obj46);
1401
+      } if (this.prescription.calcium == 0) {
1402
+        const obj23 = '钙'
1403
+        checkDate.push(obj23);
1404
+      } if (this.prescription.sodium == 0) {
1405
+        const obj24 = '钠'
1406
+        checkDate.push(obj24);
1407
+      } if (this.prescription.kalium == 0) {
1408
+        const obj25 = '钾'
1409
+        checkDate.push(obj25);
1410
+      } if (this.doctor_advices.length > 0) {
1411
+        console.log('12122this.doctor_advices',this.doctor_advices);
1412
+
1413
+        this.doctor_advices.map((item) => {
1414
+          if (item.id > 0 && (item.created_time || item.start_time)) {
1415
+            if(item.advice_doctor ==0 && item.execution_staff == 0){
1416
+              const obj53 = '医嘱医生,执行'
1417
+              checkDate.push(obj53);
1418
+            }
1419
+          }
1420
+        });
1421
+      }
1422
+      console.log('checkDate',checkDate);
1423
+
1424
+      this.getcheckData(checkDate)
1425
+    },
1426
+    viewPdf(content) {
1427
+      console.log("content",content);
1428
+      const blob = this.base64ToBlob(content);
1429
+      if (window.navigator && window.navigator.msSaveOrOpenBlob) {
1430
+        window.navigator.msSaveOrOpenBlob(blob);
1431
+      } else {
1432
+        const fileURL = URL.createObjectURL(blob);
1433
+        console.log("fileUlrwowowoow",fileURL)
1434
+        window.open(fileURL);//打开ppf文件
1435
+      }
1436
+    },
1437
+    compare (property) {
1438
+      return function (a, b) {
1439
+          var value1 = a[property]
1440
+          var value2 = b[property]
1441
+          return value1 - value2
1442
+      }
1443
+    },
1444
+
1445
+    openPdf(blob) {
1446
+      const objectUrl = URL.createObjectURL(blob);
1447
+      const a = document.createElement('a');
1448
+      a.href = objectUrl;
1449
+      a.target = '_blank';
1450
+      a.click();
1451
+      URL.revokeObjectURL(objectUrl);
1452
+    },
1453
+    base64ToBlob(base64Data, contentType) {
1454
+      contentType = contentType || '';
1455
+      const sliceSize = 1024;
1456
+      const byteCharacters = window.atob(base64Data);
1457
+      const bytesLength = byteCharacters.length;
1458
+      const slicesCount = Math.ceil(bytesLength / sliceSize);
1459
+      const byteArrays = new Array(slicesCount);
1460
+
1461
+      for (let sliceIndex = 0; sliceIndex < slicesCount; ++sliceIndex) {
1462
+        const begin = sliceIndex * sliceSize;
1463
+        const end = Math.min(begin + sliceSize, bytesLength);
1464
+
1465
+        const bytes = new Array(end - begin);
1466
+        for (let offset = begin, i = 0; offset < end; ++i, ++offset) {
1467
+          bytes[i] = byteCharacters[offset].charCodeAt(0);
1468
+        }
1469
+        byteArrays[sliceIndex] = new Uint8Array(bytes);
1470
+      }
1471
+
1472
+      return new Blob(byteArrays, {
1473
+        type: contentType
1474
+      });
1475
+    },
1476
+
1477
+    UploadPdf(res) {
1478
+      let pdfBase64Str = res;
1479
+      let title = "上传给后端的个人报告";
1480
+      var myfile = this.dataURLtoFile(pdfBase64Str, title + ".pdf")
1481
+      console.log("myfile",myfile)
1482
+    },
1320 1483
     // 获取当前年份,用于年龄计算
1321 1484
     getoldAge() {
1322 1485
       let date = new Date();
@@ -1344,159 +1507,159 @@ export default {
1344 1507
       }
1345 1508
     },
1346 1509
 
1347
-    checkData() {
1348
-      if (
1349
-        this.predialysis.blood_access_part_id == "" &&
1350
-        this.predialysis.blood_access_part_opera_name == ""
1351
-      ) {
1352
-        this.$message.error("血管通路未填");
1353
-      } else if (this.dialysisOrder.dialysis_dialyszers == "") {
1354
-        this.$message.error("透析器未填");
1355
-      } else if (this.predialysis.puncture_needle == "") {
1356
-        this.$message.error("穿刺针未填");
1357
-      } else if (this.prescription.mode == "") {
1358
-        this.$message.error("治疗方式未填");
1359
-      } else if (
1360
-        this.prescription.displace_liqui_value == 0 &&
1361
-        this.prescription.mode == 'HDF'
1362
-      ) {
1363
-        this.$message.error("置换量未填");
1364
-      } else if( this.dialysisOrder.dialysis_irrigation == '') {
1365
-        this.$message.error("灌流器未填");
1366
-      } else if (this.predialysis.puncture_way == "") {
1367
-        this.$message.error("穿刺方式未填");
1368
-      } else if (this.prescription.anticoagulant_name == '') {
1369
-        this.$message.error("抗凝方式未填");
1370
-      } else if (this.predialysis.temperature == "") {
1371
-        this.$message.error("透前体温未填");
1372
-      } else if (this.predialysis.pulse_frequency == "") {
1373
-        this.$message.error("透前脉搏未填");
1374
-      } else if (
1375
-        this.predialysis.systolic_blood_pressure == 0 ||
1376
-        this.predialysis.diastolic_blood_pressure == 0
1377
-      ) {
1378
-        this.$message.error("透前血压未填完整");
1379
-      } else if (this.predialysis.weight_before == 0) {
1380
-        this.$message.error("透前体重未填");
1381
-      } else if (this.predialysis.dry_weight == 0) {
1382
-        this.$message.error("干体重未填");
1383
-      } else if (this.prescription.target_ultrafiltration == 0) {
1384
-        this.$message.error("医嘱脱水未填");
1385
-      } else if (
1386
-        this.prescription.dialysis_duration_hour == 0 &&
1387
-        this.prescription.dialysis_duration_minute == 0
1388
-      ) {
1389
-        this.$message.error("治疗时间未填");
1390
-      } else if (this.afterdialysis.internal_fistula == "") {
1391
-        this.$message.error("透后内瘘未填");
1392
-      } else if (this.afterdialysis.cruor == "") {
1393
-        this.$message.error("透析器凝血未填");
1394
-      } else if (
1395
-        this.afterdialysis.actual_treatment_hour == 0 &&
1396
-        this.afterdialysis.actual_treatment_minute == ''
1397
-      ) {
1398
-        this.$message.error("实际治疗时间未填");
1399
-      } else if (this.afterdialysis.dialysis_during == '') {
1400
-        this.$message.error("透析中进食未填");
1401
-      } else if (this.afterdialysis.weight_after == 0) {
1402
-        this.$message.error("透后体重未填");
1403
-      } else if (
1404
-        this.afterdialysis.systolic_blood_pressure == 0 ||
1405
-        this.afterdialysis.diastolic_blood_pressure == 0
1406
-      )  {
1407
-        this.$message.error("透后血压未填完整");
1408
-      } else if (this.afterdialysis.pulse_frequency == 0) {
1409
-        this.$message.error("透后脉搏未填");
1410
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
1411
-        this.$message.error("实际脱水量未填");
1412
-      } else if (this.afterdialysis.actual_displacement == "") {
1413
-        this.$message.error("实际置换量未填");
1414
-      } else if (this.summary.dialysis_summary == "") {
1415
-        this.$message.error("透析小结未填");
1416
-      } else if (
1417
-        this.dialysisOrder == null ||
1418
-        this.dialysisOrder.puncture_nurse == 0
1419
-      ) {
1420
-        this.$message.error("穿刺护士未填");
1421
-      } else if(this.dialysisOrder.start_nurse == 0 || this.dialysisOrder == null) {
1422
-        this.$message.error("责任护士未填");
1423
-      }
1424
-      else if (this.dialysisOrder == null && this.check.creater == 0) {
1425
-        this.$message.error("核对人员未填");
1426
-      } else if (
1427
-        this.dialysisOrder != null &&
1428
-        this.dialysisOrder.start_nurse == this.check.modifier &&
1429
-        this.check.creater == 0
1430
-      ) {
1431
-        this.$message.error("核对人员未填");
1432
-      } else if (
1433
-        this.dialysisOrder != null &&
1434
-        this.dialysisOrder.start_nurse == this.check.creater &&
1435
-        this.check.modifier == 0
1436
-      ) {
1437
-        this.$message.error("核对人员未填");
1438
-      } else if (
1439
-        this.dialysisOrder != null &&
1440
-        this.dialysisOrder.start_nurse != this.check.creater &&
1441
-        this.dialysisOrder.start_nurse != this.check.modifier &&
1442
-        this.check.creater == 0
1443
-      ) {
1444
-        this.$message.error("核对人员未填");
1445
-      } else if (this.prescription.creater == 0) {
1446
-        this.$message.error("医生签名未填");
1447
-      } else if (this.tableAdvice.length > 0) {
1448
-        let num = 0;
1449
-        this.tableAdvice.map((item) => {
1450
-          if (item.id > 0 && (item.created_time || item.start_time)) {
1451
-            this.users.map((it) => {
1452
-              if (it.id == item.advice_doctor) {
1453
-                if (it.user_type == 3) {
1454
-                  num++;
1455
-                  this.$message.closeAll();
1456
-                  this.$message.error("存在不是医生保存的医嘱");
1457
-                } else if (
1458
-                  it.id == item.execution_staff &&
1459
-                  item.execution_staff > 0
1460
-                ) {
1461
-                  if (it.user_type == 2) {
1462
-                    num++;
1463
-                    this.$message.closeAll();
1464
-                    this.$message.error("存在不是护士执行的医嘱");
1465
-                  }
1466
-                } else if (it.id == item.checker && item.checker > 0) {
1467
-                  if (it.user_type == 2) {
1468
-                    num++;
1469
-                    this.$message.closeAll();
1470
-                    this.$message.error("存在不是护士核对的医嘱");
1471
-                  }
1472
-                }
1473
-              } else if (
1474
-                it.id == item.execution_staff &&
1475
-                item.execution_staff > 0
1476
-              ) {
1477
-                if (it.user_type == 2) {
1478
-                  num++;
1479
-                  this.$message.closeAll();
1480
-                  this.$message.error("存在不是护士执行的医嘱");
1481
-                }
1482
-              } else if (it.id == item.checker && item.checker > 0) {
1483
-                if (it.user_type == 2) {
1484
-                  num++;
1485
-                  this.$message.closeAll();
1486
-                  this.$message.error("存在不是护士核对的医嘱");
1487
-                }
1488
-              }
1489
-            });
1490
-          }
1491
-        });
1492
-        if (num == 0) {
1493
-          this.$message.success("核对完成");
1494
-        }
1495
-      } else {
1496
-        this.$message.success("核对完成");
1497
-      }
1510
+    // checkData() {
1511
+    //   if (
1512
+    //     this.predialysis.blood_access_part_id == "" &&
1513
+    //     this.predialysis.blood_access_part_opera_name == ""
1514
+    //   ) {
1515
+    //     this.$message.error("血管通路未填");
1516
+    //   } else if (this.dialysisOrder.dialysis_dialyszers == "") {
1517
+    //     this.$message.error("透析器未填");
1518
+    //   } else if (this.predialysis.puncture_needle == "") {
1519
+    //     this.$message.error("穿刺针未填");
1520
+    //   } else if (this.prescription.mode == "") {
1521
+    //     this.$message.error("治疗方式未填");
1522
+    //   } else if (
1523
+    //     this.prescription.displace_liqui_value == 0 &&
1524
+    //     this.prescription.mode == 'HDF'
1525
+    //   ) {
1526
+    //     this.$message.error("置换量未填");
1527
+    //   } else if( this.dialysisOrder.dialysis_irrigation == '') {
1528
+    //     this.$message.error("灌流器未填");
1529
+    //   } else if (this.predialysis.puncture_way == "") {
1530
+    //     this.$message.error("穿刺方式未填");
1531
+    //   } else if (this.prescription.anticoagulant_name == '') {
1532
+    //     this.$message.error("抗凝方式未填");
1533
+    //   } else if (this.predialysis.temperature == "") {
1534
+    //     this.$message.error("透前体温未填");
1535
+    //   } else if (this.predialysis.pulse_frequency == "") {
1536
+    //     this.$message.error("透前脉搏未填");
1537
+    //   } else if (
1538
+    //     this.predialysis.systolic_blood_pressure == 0 ||
1539
+    //     this.predialysis.diastolic_blood_pressure == 0
1540
+    //   ) {
1541
+    //     this.$message.error("透前血压未填完整");
1542
+    //   } else if (this.predialysis.weight_before == 0) {
1543
+    //     this.$message.error("透前体重未填");
1544
+    //   } else if (this.predialysis.dry_weight == 0) {
1545
+    //     this.$message.error("干体重未填");
1546
+    //   } else if (this.prescription.target_ultrafiltration == 0) {
1547
+    //     this.$message.error("医嘱脱水未填");
1548
+    //   } else if (
1549
+    //     this.prescription.dialysis_duration_hour == 0 &&
1550
+    //     this.prescription.dialysis_duration_minute == 0
1551
+    //   ) {
1552
+    //     this.$message.error("治疗时间未填");
1553
+    //   } else if (this.afterdialysis.internal_fistula == "") {
1554
+    //     this.$message.error("透后内瘘未填");
1555
+    //   } else if (this.afterdialysis.cruor == "") {
1556
+    //     this.$message.error("透析器凝血未填");
1557
+    //   } else if (
1558
+    //     this.afterdialysis.actual_treatment_hour == 0 &&
1559
+    //     this.afterdialysis.actual_treatment_minute == ''
1560
+    //   ) {
1561
+    //     this.$message.error("实际治疗时间未填");
1562
+    //   } else if (this.afterdialysis.dialysis_during == '') {
1563
+    //     this.$message.error("透析中进食未填");
1564
+    //   } else if (this.afterdialysis.weight_after == 0) {
1565
+    //     this.$message.error("透后体重未填");
1566
+    //   } else if (
1567
+    //     this.afterdialysis.systolic_blood_pressure == 0 ||
1568
+    //     this.afterdialysis.diastolic_blood_pressure == 0
1569
+    //   )  {
1570
+    //     this.$message.error("透后血压未填完整");
1571
+    //   } else if (this.afterdialysis.pulse_frequency == 0) {
1572
+    //     this.$message.error("透后脉搏未填");
1573
+    //   } else if (this.afterdialysis.actual_ultrafiltration == 0) {
1574
+    //     this.$message.error("实际脱水量未填");
1575
+    //   } else if (this.afterdialysis.actual_displacement == "") {
1576
+    //     this.$message.error("实际置换量未填");
1577
+    //   } else if (this.summary.dialysis_summary == "") {
1578
+    //     this.$message.error("透析小结未填");
1579
+    //   } else if (
1580
+    //     this.dialysisOrder == null ||
1581
+    //     this.dialysisOrder.puncture_nurse == 0
1582
+    //   ) {
1583
+    //     this.$message.error("穿刺护士未填");
1584
+    //   } else if(this.dialysisOrder.start_nurse == 0 || this.dialysisOrder == null) {
1585
+    //     this.$message.error("责任护士未填");
1586
+    //   }
1587
+    //   else if (this.dialysisOrder == null && this.check.creater == 0) {
1588
+    //     this.$message.error("核对人员未填");
1589
+    //   } else if (
1590
+    //     this.dialysisOrder != null &&
1591
+    //     this.dialysisOrder.start_nurse == this.check.modifier &&
1592
+    //     this.check.creater == 0
1593
+    //   ) {
1594
+    //     this.$message.error("核对人员未填");
1595
+    //   } else if (
1596
+    //     this.dialysisOrder != null &&
1597
+    //     this.dialysisOrder.start_nurse == this.check.creater &&
1598
+    //     this.check.modifier == 0
1599
+    //   ) {
1600
+    //     this.$message.error("核对人员未填");
1601
+    //   } else if (
1602
+    //     this.dialysisOrder != null &&
1603
+    //     this.dialysisOrder.start_nurse != this.check.creater &&
1604
+    //     this.dialysisOrder.start_nurse != this.check.modifier &&
1605
+    //     this.check.creater == 0
1606
+    //   ) {
1607
+    //     this.$message.error("核对人员未填");
1608
+    //   } else if (this.prescription.creater == 0) {
1609
+    //     this.$message.error("医生签名未填");
1610
+    //   } else if (this.tableAdvice.length > 0) {
1611
+    //     let num = 0;
1612
+    //     this.tableAdvice.map((item) => {
1613
+    //       if (item.id > 0 && (item.created_time || item.start_time)) {
1614
+    //         this.users.map((it) => {
1615
+    //           if (it.id == item.advice_doctor) {
1616
+    //             if (it.user_type == 3) {
1617
+    //               num++;
1618
+    //               this.$message.closeAll();
1619
+    //               this.$message.error("存在不是医生保存的医嘱");
1620
+    //             } else if (
1621
+    //               it.id == item.execution_staff &&
1622
+    //               item.execution_staff > 0
1623
+    //             ) {
1624
+    //               if (it.user_type == 2) {
1625
+    //                 num++;
1626
+    //                 this.$message.closeAll();
1627
+    //                 this.$message.error("存在不是护士执行的医嘱");
1628
+    //               }
1629
+    //             } else if (it.id == item.checker && item.checker > 0) {
1630
+    //               if (it.user_type == 2) {
1631
+    //                 num++;
1632
+    //                 this.$message.closeAll();
1633
+    //                 this.$message.error("存在不是护士核对的医嘱");
1634
+    //               }
1635
+    //             }
1636
+    //           } else if (
1637
+    //             it.id == item.execution_staff &&
1638
+    //             item.execution_staff > 0
1639
+    //           ) {
1640
+    //             if (it.user_type == 2) {
1641
+    //               num++;
1642
+    //               this.$message.closeAll();
1643
+    //               this.$message.error("存在不是护士执行的医嘱");
1644
+    //             }
1645
+    //           } else if (it.id == item.checker && item.checker > 0) {
1646
+    //             if (it.user_type == 2) {
1647
+    //               num++;
1648
+    //               this.$message.closeAll();
1649
+    //               this.$message.error("存在不是护士核对的医嘱");
1650
+    //             }
1651
+    //           }
1652
+    //         });
1653
+    //       }
1654
+    //     });
1655
+    //     if (num == 0) {
1656
+    //       this.$message.success("核对完成");
1657
+    //     }
1658
+    //   } else {
1659
+    //     this.$message.success("核对完成");
1660
+    //   }
1498 1661
 
1499
-    },
1662
+    // },
1500 1663
     getDisplaceLiquiPart: function (val) {
1501 1664
       let displace_liqui_part_name = "/";
1502 1665
       const displace_liqui_part = this.displaceLiquiPartOptions;
@@ -1637,6 +1800,7 @@ export default {
1637 1800
         ? this.modeOptions[mode_id].name
1638 1801
         : "";
1639 1802
     },
1803
+    // 数据源
1640 1804
     getDialysisRecord() {
1641 1805
       this.loading = true;
1642 1806
 
@@ -2194,9 +2358,7 @@ export default {
2194 2358
         }
2195 2359
 
2196 2360
         if(this.org_id == 0 || this.org_id ==10460){
2197
-          console.log("日期搜哦",this.schedule_date_one)
2198 2361
           var strBirthdayArr = this.schedule_date_one.split("-")
2199
-          console.log("strBirthdayArr",strBirthdayArr)
2200 2362
           var yeaer = strBirthdayArr[0]
2201 2363
           var month = strBirthdayArr[1]
2202 2364
           var day = strBirthdayArr[2]
@@ -2242,7 +2404,16 @@ export default {
2242 2404
         return "0.0";
2243 2405
       }
2244 2406
     },
2245
-
2407
+    getcheckData(val){
2408
+      if(val.length >0){
2409
+        const a = val.join(',')
2410
+        console.log('a',a);
2411
+        this.$message.error(a +" 未填");
2412
+        return a
2413
+      }else{
2414
+        this.$message.success('核对完成')
2415
+      }
2416
+    }
2246 2417
   },
2247 2418
   watch: {
2248 2419
     "patientInfo.gender": function () {

+ 143 - 103
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue Wyświetl plik

@@ -41,7 +41,9 @@
41 41
           <div style="flex: 1;">
42 42
             透析床
43 43
             <span class="under-line" style="display: inline-block;width: 50%;">
44
-              {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
44
+              {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? 
45
+                dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number 
46
+              }}
45 47
             </span>
46 48
           </div>
47 49
         </div>
@@ -83,7 +85,7 @@
83 85
           </div>
84 86
           <div style="flex: 1;">
85 87
             置换量
86
-            <span class="under-line" style="display: inline-block;width: 50%;">
88
+            <span class="under-line" style="display: inline-block;width: 50%;" >
87 89
               {{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "/" }}
88 90
             </span>L
89 91
           </div>
@@ -527,9 +529,15 @@
527 529
               <div style="flex:1">
528 530
                 医师签名
529 531
                 <div class="under-line" style="display: inline-block;width: 50%;">
530
-                  <span v-if="doctorForm.url === ''">{{ doctorForm.doctor }}</span>
532
+                  <!-- <span v-if="doctorForm.url === ''">{{ doctorForm.doctor }}</span>
531 533
                   <span v-if="doctorForm.url !== ''">
532 534
                     <img class="es-img" :src="doctorForm.url" style="height:30px;" />
535
+                  </span> -->
536
+                  <span style="display: inline-block;" v-if="setAdminUserES(prescription.creater) == ''">
537
+                    {{ getAdminUser(prescription.creater)}}
538
+                  </span>
539
+                  <span style="display: inline-block;" v-else>
540
+                    <img style="height:30px;" :src="setAdminUserES(prescription.creater)" alt srcset />
533 541
                   </span>
534 542
                 </div>
535 543
               </div>
@@ -714,111 +722,132 @@ export default {
714 722
   },
715 723
   methods: {
716 724
     checkData(){
717
-      if(this.receiverTreatmentAccess.sick_condition == 0){
718
-        this.$message.error('病情评估未填')
719
-      }else if(this.receiverTreatmentAccess.way == 0){
720
-        this.$message.error('入科方式未填')
721
-      }else if(this.prescription.mode_id == ""){
722
-        this.$message.error('净化治疗方式未填')
723
-      }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
724
-        this.$message.error('透析器或灌流器未填')
725
-      }else if(this.predialysis.blood_access_part_opera_name == ''){
726
-        this.$message.error('血管通路未填')
727
-      }else if(this.predialysis.weight_before == 0){
728
-        this.$message.error('透前体重未填')
729
-      }else if(this.predialysis.dry_weight == 0){
730
-        this.$message.error('干体重未填')
731
-      }else if(this.prescription.target_ultrafiltration == 0){
732
-        this.$message.error('预脱水量未填')
733
-      }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
734
-        this.$message.error('透析时间未填')
735
-      }else if(this.prescription.blood_flow_volume == 0){
736
-        this.$message.error('血流量未填')
737
-      }else if(this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
738
-        this.$message.error('置换方式未填')
739
-      }else if(this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
740
-        this.$message.error('置换量未填')
741
-      }else if(this.prescription.anticoagulant == 0){
742
-        this.$message.error('抗凝剂未填')
743
-      }else if(this.prescription.calcium == 0 && this.prescription.dialysate_formulation != 0){
744
-        this.$message.error('钙未填')
745
-      }else if(this.prescription.sodium == 0 && this.prescription.dialysate_formulation != 0){
746
-        this.$message.error('钠未填')
747
-      }else if(this.prescription.kalium == 0 && this.prescription.dialysate_formulation != 0){
748
-        this.$message.error('钾未填')
749
-      }else if(this.predialysis.complication == ''){
750
-        this.$message.error('透前并发症未填')
751
-      }else if(this.doctorForm.doctor == ""){
752
-        this.$message.error('医生签名未填')
753
-      }else if(this.orderForm.start_nurse == ""){
754
-        this.$message.error('上机护士未填')
755
-      }else if(this.check.modifier == 0){
756
-        this.$message.error('核对护士未填')
757
-      }else if(this.finshForm.finish_nurse == ""){
758
-        this.$message.error('下机护士未填')
759
-      }else if(this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0){
760
-        this.$message.error('透后血压未填完整')
761
-      }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
762
-        this.$message.error('实际治疗时间未填')
763
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
764
-        this.$message.error('实际超滤量未填')
765
-      }else if(this.afterdialysis.puncture_point_oozing_blood == 0){
766
-        this.$message.error('拔针后穿刺点渗血未填')
767
-      }else if(this.afterdialysis.puncture_point_haematoma == 0){
768
-        this.$message.error('穿刺处血肿未填')
769
-      }else if(this.afterdialysis.internal_fistula == ""){
770
-        this.$message.error('压迫后内瘘震颤未填')
771
-      }else if(this.afterdialysis.complication == ''){
772
-        this.$message.error('透后并发症未填')
773
-      }else if(this.afterdialysis.cruor == ""){
774
-        this.$message.error('透析器凝血未填')
775
-      }else if(this.summary.dialysis_summary == ""){
776
-        this.$message.error('透析小结未填')
777
-      }else if(this.tableAdvice.length > 0){
778
-        let num = 0
725
+      var checkDate =[]
726
+      if(this.patientInfo.name == ''){
727
+        const obj ='姓名'
728
+        checkDate.push(obj)
729
+      } if(this.patientInfo.gender ==''){
730
+        const obj1 ='性别'
731
+        checkDate.push(obj1)
732
+      } if(this.patientInfo.id_card_no ==''){
733
+        const obj2 ='年龄'
734
+        checkDate.push(obj2)
735
+      } if(this.patientInfo.dialysis_no == ''){
736
+        const obj3 ='透析号'
737
+        checkDate.push(obj3)
738
+      } if(this.queryParams.xtdate == ''){
739
+        const obj4 ='治疗日期'
740
+        checkDate.push(obj4)
741
+      } if(this.patientInfo.DialysisSchedule.device_zone.name == ''){
742
+        const obj5 ='治疗区域'
743
+        checkDate.push(obj5)
744
+      } if(this.dialysisOrder == '' && 
745
+          this.dialysisOrder.DeviceNumber.number =='' && 
746
+          this.patientInfo.DialysisSchedule.device_number.number ==''
747
+      ){
748
+        const obj6 ='透析床号'
749
+        checkDate.push(obj6)
750
+      } if(this.predialysis.symptom_before_dialysis == '' && 
751
+        this.predialysis.symptom_before_dialysis_other == ''
752
+      ){
753
+        const obj7 ='上机前病情'
754
+        checkDate.push(obj7)
755
+      } if(this.prescription.mode ==''){
756
+        const obj8 ='治疗方式'
757
+        checkDate.push(obj8)
758
+      } if(this.prescription.displace_liqui_part =='' && 
759
+            this.prescription.mode_id == 2 && 
760
+            this.prescription.mode_id == 5 && this.prescription.mode_id == 12
761
+      ){
762
+        const obj9 ='置换方式'
763
+        checkDate.push(obj9)
764
+      } if(this.prescription.displace_liqui_value =='' && this.prescription.mode_id == 2){
765
+        const obj10 ='置换量 '
766
+        checkDate.push(obj10)
767
+      } if(this.prescription.dialysis_duration_hour =='' &&
768
+          this.prescription.dialysis_duration_minute == ''
769
+      ){
770
+        const obj11 ='治疗时间'
771
+        checkDate.push(obj11)
772
+      } if(this.prescription.anticoagulant ==''){
773
+        const obj12 ='抗凝剂'
774
+        checkDate.push(obj12)
775
+      } if(this.prescription.anticoagulant_shouji ==''){
776
+        const obj13 ='首剂'
777
+        checkDate.push(obj13)
778
+      } if(this.prescription.anticoagulant_zongliang ==''){
779
+        const obj14 ='总量'
780
+        checkDate.push(obj14)
781
+      } if(this.prescription.target_ultrafiltration ==''){
782
+        const obj15 ='处方脱水量'
783
+        checkDate.push(obj15)
784
+      } if(this.prescription.dialysate_flow ==''){
785
+        const obj16 ='透析液流量'
786
+        checkDate.push(obj16)
787
+      } if(this.prescription.creater ==0){
788
+        const obj17 ='医师签名'
789
+        checkDate.push(obj17)
790
+      } if(this.predialysis.machine_type ==''){
791
+        const obj18 ='透析机'
792
+        checkDate.push(obj18)
793
+      } if(this.prescription.dialysis_dialyszers =='' && 
794
+            this.prescription.dialysis_strainer ==''
795
+      ){
796
+        const obj19 ='透 (滤) 器'
797
+        checkDate.push(obj19)
798
+      } if(this.prescription.dialysis_irrigation ==''){
799
+        const obj20 ='灌流器'
800
+        checkDate.push(obj20)
801
+      } if (this.predialysis.blood_access_part_opera_name == ''){
802
+        const obj21 = "血管通路"
803
+        checkDate.push(obj21)
804
+      } if(this.dialysisOrder !=null && this.dialysisOrder.start_nurse ==0){
805
+        const obj22 = "操作者"
806
+        checkDate.push(obj22)
807
+      } if(this.predialysis.puncture_needle == '' && this.org_id == 10612){
808
+        const obj23 = "穿刺针"
809
+        checkDate.push(obj23)
810
+      } if(this.dialysisOrder.puncture_nurse == '' && this.org_id == 10612 &&
811
+        this.dialysisOrder != null 
812
+      ){
813
+        const obj23 = "穿刺护士"
814
+        checkDate.push(obj23)
815
+      } if(this.assessmentafter.weight_after == '' && 
816
+            this.afterdialysis.last_after_weight == ''
817
+      ){
818
+        const obj24 = "上次透后体重"
819
+        checkDate.push(obj24)
820
+      } if(this.predialysis.weight_before == 0){
821
+        const obj25 = "透前体重"
822
+        checkDate.push(obj25)
823
+      } if(this.predialysis.dry_weight == 0){
824
+        const obj26 = "干体重"
825
+        checkDate.push(obj26)
826
+      } if(this.afterdialysis.weight_after == 0){
827
+        const obj27 = "透后体重"
828
+        checkDate.push(obj27)
829
+      } if(this.afterdialysis.actual_ultrafiltration == 0){
830
+        const obj28 = "净脱水量"
831
+        checkDate.push(obj28)
832
+      } if (this.summary.dialysis_summary == "") {
833
+        const obj29 = "透析小结"
834
+        checkDate.push(obj29)
835
+      } if(this.dialysisOrder != null && 
836
+            this.dialysisOrder.start_nurse ==''
837
+      ){
838
+        const obj30 = "护士签名"
839
+        checkDate.push(obj30)
840
+      } if(this.tableAdvice.length > 0){
779 841
         this.tableAdvice.map(item => {
780 842
           if(item.id > 0 && (item.created_time || item.start_time)){
781
-            this.users.map(it => {
782
-              if(it.id == item.advice_doctor){
783
-                if(it.user_type == 3){
784
-                  num++
785
-                  this.$message.closeAll()
786
-                  this.$message.error('存在不是医生保存的医嘱')
787
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
788
-                  if(it.user_type == 2){
789
-                    num++
790
-                    this.$message.closeAll()
791
-                    this.$message.error('存在不是护士执行的医嘱')
792
-                  }
793
-                }else if(it.id == item.checker && item.checker > 0){
794
-                  if(it.user_type == 2){
795
-                    num++
796
-                    this.$message.closeAll()
797
-                    this.$message.error('存在不是护士核对的医嘱')
798
-                  }
799
-                }
800
-              }else if(it.id == item.execution_staff && item.execution_staff > 0){
801
-                if(it.user_type == 2){
802
-                  num++
803
-                  this.$message.closeAll()
804
-                  this.$message.error('存在不是护士执行的医嘱')
805
-                }
806
-              }else if(it.id == item.checker && item.checker > 0){
807
-                if(it.user_type == 2){
808
-                  num++
809
-                  this.$message.closeAll()
810
-                  this.$message.error('存在不是护士核对的医嘱')
811
-                }
812
-              }
813
-            })
843
+            if(item.execution_staff ==0 && item.checker ==0){
844
+              const obj32 = '执行,核对'
845
+              checkDate.push(obj32)
846
+            }
814 847
           }
815 848
         })
816
-        if(num == 0){
817
-          this.$message.success('核对完成')
818
-        }
819
-      }else{
820
-        this.$message.success('核对完成')
821 849
       }
850
+      this.getcheckData(checkDate)
822 851
     },
823 852
     getDisplaceLiquiPart: function(val) {
824 853
       let displace_liqui_part_name = "/";
@@ -1133,6 +1162,7 @@ export default {
1133 1162
           //console.log("医师签名", doctorname);
1134 1163
           this.doctorForm.doctor = doctorname.user_name;
1135 1164
           this.doctorForm.url = doctorname.url;
1165
+          console.log("医师签名", this.doctorForm);
1136 1166
           var prescription = response.data.data.dialysisPrescription;
1137 1167
           console.log("透析处方", prescription);
1138 1168
           if (prescription.anticoagulant == 6) {
@@ -1515,6 +1545,16 @@ export default {
1515 1545
           // checker: 0,
1516 1546
         }
1517 1547
       );
1548
+    },
1549
+    getcheckData(val){
1550
+      if(val.length >0){
1551
+        const a = val.join(',')
1552
+        console.log('a',a);
1553
+        this.$message.error(a +" 未填");
1554
+        return a
1555
+      }else{
1556
+        this.$message.success('核对完成')
1557
+      }
1518 1558
     }
1519 1559
   },
1520 1560
   watch: {

+ 14 - 4
src/xt_pages/outpatientCharges/listPrint.vue Wyświetl plik

@@ -15,7 +15,7 @@
15 15
 
16 16
     <div class='dialysisPage' style="padding-top:40px;">
17 17
 
18
-      <listPrintforu v-if=" org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id!=9675 && org_id!=10485 && org_id != 10191 && org_id != 0"
18
+      <listPrintforu v-if=" org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id!=9675 && org_id!=10485 && org_id != 10191"
19 19
         :list="list" :patient="patient" :order="order" :admin="admin">
20 20
       </listPrintforu>
21 21
       <printOne v-if="org_id == 10191" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
@@ -23,7 +23,7 @@
23 23
       <print-three v-if="org_id == 10106 && this.paramsObj.balance_accounts_type == 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></print-three>
24 24
 <!--      <list-print-two v-if="org_id == 10215 || org_id==9675" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-two>-->
25 25
      <list-print-three v-if="org_id == 10215 || org_id==9675  || org_id ==10485" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-three>
26
-      <print-two10265  v-if="org_id == 10265 || org_id == 0 " :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
26
+      <print-two10265  v-if="org_id == 10265 " :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
27 27
     </div>
28 28
   </div>
29 29
 </template>
@@ -101,7 +101,7 @@
101 101
             this.$message.error(response.data.msg)
102 102
             return false
103 103
           } else {
104
-            if(this.org_id == 10265 || this.org_id == 0){
104
+            if(this.org_id == 10265 ){
105 105
               this.order = response.data.data.order
106 106
               this.patient = response.data.data.patient
107 107
               this.admin = response.data.data.admin_info
@@ -596,7 +596,17 @@
596 596
             })
597 597
 
598 598
 
599
-          }else {
599
+          }else if(this.org_id == 10210 || this.org_id == 0){
600
+            const style =
601
+              '@media print {.listTitle{font-size: 20px;text-align: center;font-weight: bold;margin-bottom: 10px;}.listInfo{display: flex;font-size: 14px;justify-content: space-around;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 20px;font-size: 14px;border-color: #000;text-align:left;}.listTable tr td {padding: 0 5px;}.tableBottom{font-size: 12px;display: flex;margin-top: 10px;}.tableBottomOne{margin-right: 20px;}}'
602
+            printJS({
603
+              printable: 'list-print',
604
+              type: 'html',
605
+              style: style,
606
+              scanStyles: false
607
+            })
608
+          }
609
+          else {
600 610
             const style =
601 611
               '@media print {.listTitle{font-size: 24px;text-align: center;font-weight: bold;margin-bottom: 10px;}.listInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 20px;font-size: 14px;border-color: #000;text-align:left;}.listTable tr td {padding: 0 5px;}.tableBottom{font-size: 12px;display: flex;margin-top: 10px;}.tableBottomOne{margin-right: 20px;}}'
602 612
             printJS({

+ 11 - 11
src/xt_pages/outpatientCharges/listTemplate/listPrintforu.vue Wyświetl plik

@@ -24,31 +24,31 @@
24 24
         
25 25
         <table class="listTable" style="text-align: center;">
26 26
             <tr style="border-bottom: 1px solid black;">
27
-              <td style="width:12%" v-if="org_id==10489 || org_id==0">开方日期</td>
27
+              <td style="width:12%" v-if="org_id==10489">开方日期</td>
28 28
               <td style="width:20%">医保编码</td>
29 29
               <td style="width:20%">项目名称</td>
30
-              <td style="width:13%">规格</td>
30
+              <td style="width:12%">规格</td>
31 31
               <td style="width:5%">数量</td>
32 32
               <td style="width:5%">单位</td>
33
-              <td style="width:8%">单价(元)</td>
34
-              <td style="width:8%">金额(元)</td>
33
+              <td style="width:7%">单价(元)</td>
34
+              <td style="width:7%">金额(元)</td>
35 35
               <td style="width:8%">自付比例</td>
36 36
             </tr>
37 37
             <tr v-for="(item,index) in list" style="line-height: 30px;">
38
-                <td style="width:12%" v-if="org_id==10489|| org_id==0">
38
+                <td style="width:12%" v-if="org_id==10489">
39 39
                   <span v-if="item.code!=undefined">{{getTimes(item.record_date) }}</span>
40 40
                 </td>
41 41
                 <td style="width:20%">{{item.code}}</td>
42 42
                 <td style="width:20%">{{item.name}}</td>
43
-                <td style="width:13%">{{item.spec}}</td>
43
+                <td style="width:12%">{{item.spec}}</td>
44 44
                 <td style="width:5%" >
45 45
                   <span v-if="item.code!=undefined">{{item.count}}</span>
46 46
                 </td>
47 47
                 <td style="width:5%" >{{item.unit}}</td>
48
-                <td style="width:8%">
48
+                <td style="width:7%">
49 49
                   <span v-if="item.code!=undefined">{{(item.price*1).toFixed(2)}}</span>
50 50
                 </td>
51
-                <td style="width:8%">{{(item.price * item.count).toFixed(2)}}</td>
51
+                <td style="width:7%">{{(item.price * item.count).toFixed(2)}}</td>
52 52
                 <td style="width:8%" v-if="item.code!=undefined">
53 53
                   {{(item.selfpay_prop)*100}}
54 54
                   <span v-if="item.selfpay_prop !=''">%</span>
@@ -197,15 +197,15 @@ export default {
197 197
   padding:20px 10px;
198 198
 }
199 199
 .listTitle{
200
-  font-size: 24px;
200
+  font-size: 20px;
201 201
   text-align: center;
202 202
   font-weight: bold;
203 203
   margin-bottom: 10px;
204 204
 }
205 205
 .listInfo{
206 206
   display: flex;
207
-  font-size: 16px;
208
-  justify-content: space-between;
207
+  font-size: 14px;
208
+  justify-content: space-around;
209 209
   margin: 10px 0;
210 210
 }
211 211
 .listTable{

+ 127 - 189
src/xt_pages/outpatientCharges/summary.vue Wyświetl plik

@@ -4,41 +4,19 @@
4 4
       <bread-crumb :crumbs="crumbs"></bread-crumb>
5 5
     </div>
6 6
     <div class="app-container">
7
-      <div
8
-        style="
9
-          display: flex;
10
-          justify-content: space-between;
11
-          margin-bottom: 10px;
12
-        "
13
-      >
14
-        <div>
15
-          <!--<el-button size="small" style="margin-left:10px;" class="filter-item" type="primary"-->
16
-          <!--@click="Action">-->
17
-          <!--导出-->
18
-          <!--</el-button>-->
19
-          <el-input
20
-            size="small"
21
-            style="width: 150px"
22
-            v-model="keywords"
23
-            @input="searchAction"
7
+      <div style=" display: flex; justify-content: space-between;  margin-bottom: 10px;">
8
+        <div class="content_top" style="margin-right: 10px;">
9
+          <el-input  style="width: 120px"
10
+            v-model="keywords" @input="searchAction"
24 11
             @keyup.enter.native="searchAction"
25
-            class="filter-item"
26
-            placeholder="请输入患者姓名"
12
+            class="filter-item" placeholder="请输入患者姓名"
27 13
           />
28
-          <el-button
29
-            size="small"
30
-            style="margin-left: 10px"
31
-            class="filter-item"
32
-            type="primary"
33
-            @click="searchAction"
34
-          >
14
+          <el-button  class="filter-item" type="primary" @click="searchAction">
35 15
             搜索
36 16
           </el-button>
37
-          <el-select
38
-            size="small"
39
-            v-model="sort_type"
17
+          <el-select  v-model="sort_type"
40 18
             placeholder="请选择"
41
-            style="width: 150px; margin-left: 10px"
19
+            style="width: 120px;"
42 20
             @change="changeSortType"
43 21
           >
44 22
             <el-option
@@ -49,15 +27,14 @@
49 27
             >
50 28
             </el-option>
51 29
           </el-select>
52
-
53
-          <el-select v-model="sch_type" placeholder="请选择班次" @change="handleSchType">
30
+          <el-select v-model="sch_type" placeholder="请选择班次" @change="handleSchType" style="width: 120px;">
54 31
             <el-option label="全部" value="0"></el-option>
55 32
             <el-option label="上午" value="1"></el-option>
56 33
             <el-option label="下午" value="2"></el-option>
57 34
             <el-option label="晚上" value="3"></el-option>
58 35
           </el-select>
59 36
 
60
-          <el-select v-model="zoneVal" placeholder="请选择分区" style="margin-right:20px;" @change="handleZoneChange">
37
+          <el-select v-model="zoneVal" placeholder="请选择分区" style="width: 120px;" @change="handleZoneChange">
61 38
             <el-option
62 39
               v-for="item in zone_options"
63 40
               :key="item.id"
@@ -65,64 +42,11 @@
65 42
               :value="item.id">
66 43
             </el-option>
67 44
           </el-select>
68
-
69
-
70
-          <el-select v-model="medTypeVal" placeholder="请选择医疗类别" style="margin-right:20px;"
71
-                     @change="handleMedChange">
72
-            <el-option
73
-              v-for="item in med_options"
74
-              :key="item.id"
75
-              :label="item.text"
76
-              :value="item.id">
77
-            </el-option>
78
-          </el-select>
79
-
80
-          <!-- <el-date-picker
81
-              size="small"
82
-              v-model="start_time"
83
-              prefix-icon="el-icon-date"
84
-              @change="handleStartTimeChange"
85
-              :editable="false"
86
-              :clearable="false"
87
-              style="width: 196px; margin-right: 10px"
88
-              type="date"
89
-              placeholder="选择开始日期"
90
-              format="yyyy-MM-dd"
91
-              value-format="yyyy-MM-dd"
92
-              align="right"
93
-          ></el-date-picker>
94
-
95
-          <el-date-picker
96
-              size="small"
97
-              v-model="end_time"
98
-              prefix-icon="el-icon-date"
99
-              @change="handleEndTimeChange"
100
-              :editable="false"
101
-              :clearable="false"
102
-              style="width: 196px; margin-right: 10px"
103
-              type="date"
104
-              placeholder="选择结束日期"
105
-              format="yyyy-MM-dd"
106
-              value-format="yyyy-MM-dd"
107
-              align="right"
108
-          ></el-date-picker> -->
109 45
         </div>
110
-        <!-- 按钮 -->
111
-        <div>
112
-          <!-- <el-popover
113
-                      placement="bottom"
114
-                      width="210"
115
-                      trigger="click">
116
-                      <el-button size="small" ref="button_two" @click="open(1)">打印清单</el-button>
117
-                      <el-button size="small" ref="button_six" @click="open(2)">打印汇总</el-button>
118
-                      <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
119
-
120
-                    </el-popover> -->
46
+        <div class="content_top">
121 47
           <el-button
122
-            size="small" type="primary" @click="query">查询
123
-          </el-button>
124
-          <el-button
125
-            v-if="$store.getters.xt_user.org_id == 10138 || $store.getters.xt_user.org_id == 10278 || $store.getters.xt_user.org_id == 10610 || $store.getters.xt_user.org_id == 0 "
48
+            v-if="$store.getters.xt_user.org_id == 10138 || $store.getters.xt_user.org_id == 10278 ||
49
+                $store.getters.xt_user.org_id == 10610 || $store.getters.xt_user.org_id == 0"
126 50
             size="small" type="primary" @click="batch_print_settlte">批量打印结算单
127 51
           </el-button>
128 52
           <el-button size="small" type="primary" @click="export_detail"
@@ -139,84 +63,80 @@
139 63
           <el-button size="small" type="primary"
140 64
                      @click="export_detail_ten_five">导出就诊凭证类型人员
141 65
           </el-button>
66
+        </div>
67
+      </div>
142 68
 
143
-          <!--                    <el-button  size="small" type="primary" @click="export_detail_ten_three">报表下载4</el-button>-->
144
-
69
+      <div style=" display: flex; justify-content: space-between;  margin-bottom: 10px;">
70
+        <div class="content_top" style="margin-right: 10px;">
71
+          <el-date-picker size="small" v-model="start_time" prefix-icon="el-icon-date" 
72
+            @change="handleStartTimeChange":editable="false" :clearable="false" 
73
+            style="width: 150px;"
74
+            type="date"
75
+            placeholder="选择开始日期"
76
+            format="yyyy-MM-dd"
77
+            value-format="yyyy-MM-dd"
78
+            align="right"
79
+          ></el-date-picker>
80
+          <span style="text-align: center;">-</span>
81
+          <el-date-picker
82
+            size="small"
83
+            v-model="end_time"
84
+            prefix-icon="el-icon-date"
85
+            @change="handleEndTimeChange"
86
+            :editable="false"
87
+            :clearable="false"
88
+            style="width: 150px; "
89
+            type="date"
90
+            placeholder="选择结束日期"
91
+            format="yyyy-MM-dd"
92
+            value-format="yyyy-MM-dd"
93
+            align="right"
94
+          ></el-date-picker>
145 95
 
146
-          <!--          <el-button size="small" type="primary" @click="export_detail_two"-->
147
-          <!--          >报表下载2-->
148
-          <!--          </el-button-->
149
-          <!--          >-->
96
+          <el-select size="small" v-model="staff" placeholder="请选择缴费人员"
97
+                   style="width:120px;" >
98
+            <el-option
99
+              v-for="item,index in admins"
100
+              :key="index"
101
+              :label="item.user_name"
102
+              :value="item.user_name">
103
+            </el-option>
104
+          </el-select>
150 105
 
106
+          <el-select v-model="medTypeVal" @change="handleMedChange"
107
+            placeholder="请选择医疗类别" style="width: 120px;"
108
+          >
109
+            <el-option
110
+              v-for="item in med_options"
111
+              :key="item.id"
112
+              :label="item.text"
113
+              :value="item.id">
114
+            </el-option>
115
+          </el-select>
116
+        </div>
117
+        <div class="content_button">
151 118
           <el-button size="small" type="primary" @click="export_detail_three" v-if="$store.getters.xt_user.org_id == 10265 || $store.getters.xt_user.org_id == 0">报表下载12</el-button>
152 119
           <el-button size="small" type="primary" @click="accounts_click()">门诊结账</el-button>
153
-          <!-- <el-button size="small" type="primary" @click="export_detail_four">报表下载3</el-button>-->
154
-          <!-- <el-button size="small" type="primary" @click="export_detail_five">报表下载3</el-button>-->
155
-                     <el-button size="small" type="primary" @click="export_detail_six">诊疗下载</el-button>
156
-          <!-- <el-button size="small" type="primary" @click="export_detail_tenone">报表下载10</el-button>-->
157
-          <!--  <el-button size="small" type="primary" @click="export_detail_seven">报表下载4</el-button>-->
158
-
159
-
120
+          <el-button size="small" type="primary" @click="export_detail_six">诊疗下载</el-button>
160 121
         </div>
161 122
       </div>
162
-      <div style="margin-bottom: 10px;">
163
-        <el-date-picker
164
-          size="small"
165
-          v-model="start_time"
166
-          prefix-icon="el-icon-date"
167
-          @change="handleStartTimeChange"
168
-          :editable="false"
169
-          :clearable="false"
170
-          style="width: 196px; "
171
-          type="date"
172
-          placeholder="选择开始日期"
173
-          format="yyyy-MM-dd"
174
-          value-format="yyyy-MM-dd"
175
-          align="right"
176
-        ></el-date-picker>
177
-        <span style="text-align: center;">-</span>
178
-        <el-date-picker
179
-          size="small"
180
-          v-model="end_time"
181
-          prefix-icon="el-icon-date"
182
-          @change="handleEndTimeChange"
183
-          :editable="false"
184
-          :clearable="false"
185
-          style="width: 196px; "
186
-          type="date"
187
-          placeholder="选择结束日期"
188
-          format="yyyy-MM-dd"
189
-          value-format="yyyy-MM-dd"
190
-          align="right"
191
-        ></el-date-picker>
192
-      </div>
193
-
194
-      <div style="margin-bottom: 10px;">
195
-        <el-date-picker
196
-          size="small"
197
-          v-model="pay_time"
198
-          prefix-icon="el-icon-date"
199
-          :editable="false"
200
-          :clearable="false"
201
-          style="width:250px; "
202
-          type="datetime"
203
-          placeholder="选择缴费日期"
204
-          format="yyyy-MM-dd HH:mm:ss"
205
-          value-format="yyyy-MM-dd HH:mm:ss"
206
-          align="right"
207
-        ></el-date-picker>
208
-      </div>
209 123
 
210
-      <div style="margin-bottom: 10px;">
211
-        <el-select size="small" v-model="staff" placeholder="请选择缴费人员"
212
-                   style="width:150px;margin-left:10px;" >
213
-          <el-option
214
-            v-for="item,index in admins"
215
-            :key="index"
216
-            :label="item.user_name"
217
-            :value="item.user_name">
218
-          </el-option>
219
-        </el-select>
124
+      <div style=" display: flex; justify-content: space-between;  margin-bottom: 10px;">
125
+        <div class="content_top">
126
+          <el-date-picker size="small"
127
+            v-model="pay_time"
128
+            prefix-icon="el-icon-date"
129
+            :editable="false"
130
+            :clearable="false"
131
+            style="width:250px; "
132
+            type="datetime"
133
+            placeholder="选择缴费日期"
134
+            format="yyyy-MM-dd HH:mm:ss"
135
+            value-format="yyyy-MM-dd HH:mm:ss"
136
+            align="right"
137
+          ></el-date-picker>
138
+        </div>
139
+        <div class="content_top"></div>
220 140
       </div>
221 141
 
222 142
       <el-table
@@ -230,47 +150,48 @@
230 150
           color: '#606266',
231 151
         }"
232 152
         highlight-current-row
153
+        height="calc(100vh - 300px)"
233 154
       >
234 155
         <el-table-column align="center" type="selection" width="55"></el-table-column>
235 156
         <el-table-column
236 157
           prop="date"
237 158
           label="序号"
238
-          width="60"
159
+          width="40"
239 160
           align="center"
240 161
           type="index"
241 162
         >
242 163
         </el-table-column>
243
-        <el-table-column align="center" width="100" prop="name" label="就诊号">
164
+        <el-table-column align="center" width="80" prop="name" label="就诊号">
244 165
           <template slot-scope="scope">{{ scope.row.mdtrt_id }}</template>
245 166
         </el-table-column>
246
-        <el-table-column align="center" width="90" prop="name" label="患者名字">
167
+        <el-table-column align="center" width="80" prop="name" label="患者名字">
247 168
           <template slot-scope="scope">{{ scope.row.patient.name }}</template>
248 169
         </el-table-column>
249 170
 
250
-        <el-table-column align="center" width="90" prop="name" label="患者性别">
171
+        <el-table-column align="center" width="60" prop="name" label="患者性别">
251 172
           <template slot-scope="scope">{{ scope.row.patient.gender == 1 ? '男':'女' }}</template>
252 173
         </el-table-column>
253 174
 
254
-        <el-table-column align="center" width="90" prop="name" label="患者年龄">
175
+        <el-table-column align="center" width="60" prop="name" label="患者年龄">
255 176
           <template slot-scope="scope">{{getAge(scope.row.patient.id_card_no)}}</template>
256 177
         </el-table-column>
257 178
         <!--<el-table-column align="center" prop="name" label="患者类型">-->
258 179
         <!--<template slot-scope="scope"></template>-->
259 180
         <!--</el-table-column>-->
260 181
 
261
-        <el-table-column align="center" width="90" prop="name" label="应收金额">
182
+        <el-table-column align="center" width="80" prop="name" label="应收金额">
262 183
           <template slot-scope="scope">{{
263 184
               scope.row.medfee_sumamt.toFixed(2)
264 185
             }}
265 186
           </template>
266 187
         </el-table-column>
267
-        <el-table-column align="center" width="90" prop="name" label="实收金额">
188
+        <el-table-column align="center" width="80" prop="name" label="实收金额">
268 189
           <template slot-scope="scope">{{
269 190
               scope.row.medfee_sumamt.toFixed(2)
270 191
             }}
271 192
           </template>
272 193
         </el-table-column>
273
-        <el-table-column align="center" width="90" prop="name" label="科室">
194
+        <el-table-column align="center" width="70" prop="name" label="科室">
274 195
           <template slot-scope="scope">{{
275 196
               scope.row.department_name
276 197
             }}
@@ -282,12 +203,12 @@
282 203
           </template>
283 204
         </el-table-column>
284 205
 
285
-        <el-table-column align="center" width="90" prop="name" label="收费类型">
206
+        <el-table-column align="center" width="60" prop="name" label="收费类型">
286 207
           <template slot-scope="scope">
287
-            <div v-if="scope.row.is_medicine_insurance == 1">
208
+            <div v-if="scope.row.his_patient.balance_accounts_type != 2">
288 209
               医保
289 210
             </div>
290
-            <div v-if="scope.row.is_medicine_insurance != 1">
211
+            <div v-if="scope.row.his_patient.balance_accounts_type == 2">
291 212
               自费
292 213
             </div>
293 214
           </template>
@@ -320,12 +241,7 @@
320 241
           </template>
321 242
         </el-table-column>
322 243
 
323
-        <el-table-column
324
-          align="center"
325
-          width="100"
326
-          prop="name"
327
-          label="收费日期"
328
-        >
244
+        <el-table-column align="center" width="100" prop="name" label="收费日期">
329 245
           <template slot-scope="scope">
330 246
             {{
331 247
               scope.row.setl_time
@@ -334,13 +250,13 @@
334 250
             }}
335 251
           </template>
336 252
         </el-table-column>
337
-        <el-table-column align="center" width="90" prop="name" label="收费员">
253
+        <el-table-column align="center" width="70" prop="name" label="收费员">
338 254
           <template slot-scope="scope">{{
339 255
               getName(scope.row.creator)
340 256
             }}
341 257
           </template>
342 258
         </el-table-column>
343
-        <el-table-column align="center" width="80" prop="name" label="状态">
259
+        <el-table-column align="center" width="70" prop="name" label="状态">
344 260
           <template slot-scope="scope">
345 261
             <div v-if="scope.row.order_status == 1">待结算</div>
346 262
             <div v-if="scope.row.order_status == 2">已结算</div>
@@ -349,18 +265,19 @@
349 265
         </el-table-column>
350 266
         <el-table-column align="center" prop="name" label="操作">
351 267
           <template slot-scope="scope">
352
-            <el-button size="mini" type="primary" @click="toDetail(scope.row)"
268
+            <el-button class="butt_1" size="mini" type="primary" @click="toDetail(scope.row)"
353 269
             >详情
354 270
             </el-button
355 271
             >
356
-            <el-button size="mini" type="primary" @click="toPrint(scope.row)">
272
+            <el-button class="butt_2" size="mini" type="primary" @click="toPrint(scope.row)">
357 273
               结算单
358 274
             </el-button>
359
-            <el-button v-if="$store.getters.xt_user.org_id == 10191" size="mini" type="primary"
275
+            <el-button v-if="$store.getters.xt_user.org_id == 10191" class="butt_2" size="mini" type="primary"
360 276
                        @click="tolistPrint(scope.row)">
361 277
               结算清单
362 278
             </el-button>
363 279
             <el-button
280
+              class="butt_2"
364 281
               size="mini"
365 282
               type="primary"
366 283
               @click="uploadInfo(scope.row)"
@@ -371,6 +288,7 @@
371 288
             </el-button>
372 289
 
373 290
             <el-button
291
+              class="butt_2"
374 292
               size="mini"
375 293
               type="primary"
376 294
               @click="confirmUploadInfo(scope.row)"
@@ -380,6 +298,7 @@
380 298
             </el-button>
381 299
 
382 300
             <el-button
301
+              class="butt_2"
383 302
               size="mini"
384 303
               type="primary"
385 304
               @click="cancelUploadTwo(scope.row)"
@@ -389,6 +308,7 @@
389 308
             </el-button>
390 309
 
391 310
             <el-button
311
+              class="butt_2"
392 312
               size="mini"
393 313
               type="primary"
394 314
               @click="queryData(scope.row)"
@@ -397,8 +317,8 @@
397 317
               查询结算清单
398 318
             </el-button>
399 319
 
400
-
401 320
             <el-button
321
+              class="butt_2"
402 322
               size="mini"
403 323
               type="primary"
404 324
               @click="cancelUpload(scope.row)"
@@ -408,6 +328,7 @@
408 328
             </el-button>
409 329
 
410 330
             <el-button
331
+              class="butt_2"
411 332
               size="mini"
412 333
               type="primary"
413 334
               @click="cancelUploadThree(scope.row)"
@@ -415,6 +336,7 @@
415 336
               更改结算清单状态为未提交
416 337
             </el-button>
417 338
             <el-button
339
+              class="butt_2"
418 340
               size="mini"
419 341
               type="primary"
420 342
               v-if="
@@ -424,10 +346,11 @@
424 346
               @click="settlementPrint(scope.row)"
425 347
             >结算单
426 348
             </el-button>
427
-            <el-button size="mini" type="primary" @click="toRefund(scope.row)">
349
+            <el-button class="butt_2" size="mini" type="primary" @click="toRefund(scope.row)">
428 350
               退费
429 351
             </el-button>
430 352
             <el-button
353
+              class="butt_2"
431 354
               size="mini"
432 355
               type="primary"
433 356
               @click="invoicePrint(scope.row)"
@@ -3362,7 +3285,6 @@ export default {
3362 3285
           admin_user_id: this.$store.getters.xt_user.user.id
3363 3286
         }
3364 3287
         this.batchOrderObj = params
3365
-
3366 3288
       }
3367 3289
     },
3368 3290
     export_detail() {
@@ -3653,12 +3575,12 @@ export default {
3653 3575
     changeSortType() {
3654 3576
       this.page = 1
3655 3577
       this.keywords = ''
3656
-      // this.getHisOrderList()
3578
+      this.getHisOrderList()
3657 3579
     },
3658 3580
     changeDoctor() {
3659 3581
       this.page = 1
3660 3582
       this.keywords = ''
3661
-      // this.getHisOrderList()
3583
+      this.getHisOrderList()
3662 3584
     },
3663 3585
     handleSizeChange(limit) {
3664 3586
       this.limit = limit
@@ -3671,12 +3593,12 @@ export default {
3671 3593
     handleStartTimeChange() {
3672 3594
       this.page = 1
3673 3595
       this.keywords = ''
3674
-      // this.getHisOrderList()
3596
+      this.getHisOrderList()
3675 3597
     },
3676 3598
     handleEndTimeChange() {
3677 3599
       this.page = 1
3678 3600
       this.keywords = ''
3679
-      // this.getHisOrderList()
3601
+      this.getHisOrderList()
3680 3602
     },
3681 3603
     setMonthPrescription(month_prescriptions) {
3682 3604
       console.log(month_prescriptions)
@@ -3964,7 +3886,7 @@ export default {
3964 3886
       //   }
3965 3887
       //   this.tableData = arr
3966 3888
       // }
3967
-      // this.getHisOrderList()
3889
+      this.getHisOrderList()
3968 3890
     },
3969 3891
     getTimes(time) {
3970 3892
       return uParseTime(time, '{y}-{m}-{d}')
@@ -4124,4 +4046,20 @@ export default {
4124 4046
       padding:5px 0;
4125 4047
     }
4126 4048
   }
4049
+  .content_top{
4050
+    flex: 1; 
4051
+    display: flex;
4052
+    justify-content: space-between;
4053
+  }
4054
+  .content_button{
4055
+    flex: 1; 
4056
+    display: flex;
4057
+    justify-content:space-around;
4058
+  }
4059
+  .butt_1{
4060
+    margin-left:10px;
4061
+  }
4062
+  .butt_2{
4063
+    margin-top: 3px;
4064
+  }
4127 4065
 </style>

+ 124 - 202
src/xt_pages/outpatientDoctorStation/template/printOne.vue Wyświetl plik

@@ -59,14 +59,65 @@
59 59
         <div class="prescriptionBox" style="min-height: 350px;">
60 60
           <div class="Rp">Rp:</div>
61 61
           <div class="drugsBox" 
62
-            v-for="(it, index) in item.advices"
63
-            :key="index"
64
-            :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto','position': 'relative'}"
62
+            v-for="(it, index1) in item.advices"
63
+            :key="index1"
64
+            :style="{'page-break-after':index1==yi&&item.advices.length>7? 'always':'auto','position': 'relative'}"
65 65
           >
66
-            <!-- class="drugsBox"  item.advices.length>=5 ? 'danzhang' : 'drugsBox'  'page-break-after':item.advices.length>=3&& item.advices[2]?'always':'auto'-->
67
-            <!-- <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> -->
66
+            <template v-if="index1==yi+1&&item.advices.length>7">
67
+
68
+              <div class="printTitle" v-if="prescriptions[index].med_type == '1111'">
69
+                {{ orgname }}第一类精神处方笺
70
+              </div>
71
+              <div class="printTitle" v-if="prescriptions[index].med_type == '1112'">
72
+                {{ orgname }}第二类精神处方笺
73
+              </div>
74
+              <div
75
+                class="printTitle"
76
+                v-if="
77
+                  prescriptions[index].med_type != '1111' &&
78
+                  prescriptions[index].med_type != '1112'
79
+                "
80
+              >
81
+                {{ orgname }}处方笺
82
+              </div>
83
+              <div style="margin-bottom: 10px;">
84
+                <div class="infoTitle">
85
+                  <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
86
+                  <p>
87
+                    性别:
88
+                    <span v-if="item.patient.gender == 1">男</span>
89
+                    <span v-if="item.patient.gender == 2">女</span>
90
+                  </p>
91
+                  <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
92
+                </div>
93
+                <div class="infoMain">
94
+                  <div style="margin-bottom: 10px">
95
+                    门诊号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
96
+                  </div>
97
+                  <div style="margin-bottom: 10px">
98
+                    科室:{{ item.info ? getDepart(item.info.departments) : "" }}
99
+                  </div>
100
+                  <div style="margin-bottom: 10px" v-if="org_id == 10537">
101
+                    身份证号:{{newHisPatient.id_card_no | testfile}}
102
+                  </div>
103
+                  <div style="margin-bottom: 10px" v-else>
104
+                    医保卡号:
105
+                  </div>
106
+                  <div style="margin-bottom: 10px" v-if="org_id != 10188">
107
+                    电话:{{ item.patient.phone }}
108
+                  </div>
109
+                  <div style="margin-bottom: 10px" v-else>
110
+                    日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
111
+                  </div>
112
+                  <div>地址:{{ item.patient.home_address }}</div>
113
+                  <div style="display: flex; width: 50%">
114
+                    临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
115
+                  </div>
116
+                </div>
117
+              </div>
118
+            </template>
68 119
             <div class="drugsOne">
69
-              <span style="font-weight: bold">{{ index + 1 + "." }}</span
120
+              <span style="font-weight: bold">{{ index1 + 1 + "." }}</span
70 121
               >{{ it.advice_name ? it.advice_name : "" }}&nbsp;&nbsp;<span
71 122
               v-if="it.drug.min_unit != it.drug.dose_unit"
72 123
               >{{ it.drug.dose }}{{ it.drug.dose_unit }}&nbsp;* &nbsp;</span
@@ -74,7 +125,7 @@
74 125
                   it.drug.max_unit
75 126
                 }}&nbsp;×&nbsp; {{ it.prescribing_number
76 127
                 }}{{ it.prescribing_number_unit }}
77
-              <!-- <div style="display: inline-block;margin-left: 30px;">
128
+              <!-- <div style="display: inline-block;margin-left: 30px;" v-if="org_id ==10210 || org_id ==0">
78 129
                 <span>{{ it.price}}</span>
79 130
               </div> -->
80 131
             </div>
@@ -87,10 +138,75 @@
87 138
               >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
88 139
             </div>
89 140
             <!-- 单价 -->
90
-            <div style="display: inline-block;position: absolute; top:0;right: 10%;"
141
+            <div style="display: inline-block;position: relative; top:-38px;left: 80%;"
91 142
               v-if="org_id ==10210 || org_id ==0">
92 143
                 <span>{{ it.price}}</span>
93 144
             </div>
145
+            <template v-if="index1==yi&&item.advices.length>7">
146
+              <div class="doctorBox">
147
+                <p v-if="org_id == 10217">
148
+                  医师:
149
+                  <span
150
+                    style="width: 100px; display: inline-block"
151
+                    v-if="item.creator == ''"
152
+                  >
153
+                      {{ item.doctor }}
154
+                    </span>
155
+                  <span
156
+                    style="width: 100px; display: inline-block"
157
+                    v-else-if="doc_name != ''"
158
+                  >
159
+                      {{ doc_name }}
160
+                    </span>
161
+                  <img
162
+                    style="height: 50px;"
163
+                    :src="setAdminUserES(item.creator,item.doctor)"
164
+                    alt=""
165
+                    srcset=""
166
+                    v-else
167
+                  />
168
+                </p>
169
+                <p v-if="org_id == 10510">
170
+                  医师:
171
+                  <span
172
+                    style="width: 100px; display: inline-block"
173
+                    v-if="item.creator == ''"
174
+                  >
175
+                      {{ item.doctor }}
176
+                    </span>
177
+                  <span
178
+                    style="width: 100px; display: inline-block"
179
+                    v-else-if="doc_name != ''"
180
+                  >
181
+                      {{ doc_name }}
182
+                    </span>
183
+                  <img
184
+                    style="height: 50px;"
185
+                    :src="setAdminUserES(item.creator,item.doctor)"
186
+                    alt=""
187
+                    srcset=""
188
+                    v-else
189
+                  />
190
+                </p>
191
+                <p v-if="org_id!=10217 && org_id!=10510">
192
+                  医师: {{ item.doctor ? item.doctor : "" }}
193
+                </p>
194
+                <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
195
+              </div>
196
+              <div class="actionBar">
197
+                <p>审核:</p>
198
+                <p>配对:</p>
199
+                <p>核对:</p>
200
+                <p>发药:</p>
201
+                <p>
202
+                  药费:{{
203
+                    getTotalOne(item.id).toFixed(2)
204
+                      ? getTotalOne(item.id).toFixed(2)
205
+                      : 0
206
+                  }}元
207
+                </p>
208
+              </div>
209
+            </template>
94 210
           </div>
95 211
 
96 212
           <div
@@ -141,200 +257,6 @@
141 257
           </div>
142 258
           <div style="text-align: center">(以下空白)</div>
143 259
         </div>
144
-<!--        <div class="prescriptionBox" >-->
145
-<!--          <div class="Rp">Rp:</div>-->
146
-<!--          <div-->
147
-<!--            class="drugsBox"-->
148
-<!--            v-for="(it, index) in advicess" :key="index"-->
149
-<!--            :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"-->
150
-<!--          >-->
151
-<!--            &lt;!&ndash; class="drugsBox"  item.advices.length>=5 ? 'danzhang' : 'drugsBox'  :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"&ndash;&gt;-->
152
-<!--            &lt;!&ndash; <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> &ndash;&gt;-->
153
-<!--            <template v-if="index==yi+1&&item.advices.length>5">-->
154
-<!--              <div style="margin: 20px 0px;">-->
155
-<!--                <div class="infoTitle">-->
156
-<!--                  <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>-->
157
-<!--                  <p>-->
158
-<!--                    性别:-->
159
-<!--                    <span v-if="item.patient.gender == 1">男</span>-->
160
-<!--                    <span v-if="item.patient.gender == 2">女</span>-->
161
-<!--                  </p>-->
162
-<!--                  <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>-->
163
-<!--                </div>-->
164
-<!--                <div class="infoMain">-->
165
-<!--                  <div style="margin-bottom: 10px">-->
166
-<!--                    门诊号:{{ hisPatient.number ? hisPatient.number : "" }}-->
167
-<!--                  </div>-->
168
-<!--                  <div style="margin-bottom: 10px">-->
169
-<!--                    科室:{{ item.info ? getDepart(item.info.departments) : "" }}-->
170
-<!--                  </div>-->
171
-<!--                  <div style="margin-bottom: 10px">-->
172
-<!--                    医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}-->
173
-<!--                  </div>-->
174
-<!--                  <div style="margin-bottom: 10px" v-if="org_id != 10188">-->
175
-<!--                    电话:{{ item.patient.phone }}-->
176
-<!--                  </div>-->
177
-<!--                  <div style="margin-bottom: 10px" v-else>-->
178
-<!--                    日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}-->
179
-<!--                  </div>-->
180
-<!--                  <div>地址:{{ item.patient.home_address }}</div>-->
181
-<!--                  <div style="display: flex; width: 50%">-->
182
-<!--                    临床诊断:{{ getDiagnosis(item.info.diagnosis) }}-->
183
-<!--                  </div>-->
184
-<!--                </div>-->
185
-<!--              </div>-->
186
-<!--            </template>-->
187
-<!--            <div style="position: relative;">-->
188
-<!--              <div class="drugsOne" style="border-right: 1px solid black; width: 80%;">-->
189
-<!--                  <span style="font-weight: bold" >-->
190
-<!--                    {{ index + 1 + "." }}-->
191
-<!--                  </span>-->
192
-<!--                {{ it.advice_name ? it.advice_name : "" }}&nbsp;&nbsp;-->
193
-<!--                <span v-if="it.drug.min_unit != it.drug.dose_unit">-->
194
-<!--                    {{ it.drug.dose }}{{ it.drug.dose_unit }}&nbsp;* {{ it.drug.min_number }}{{ it.drug.min_unit }}/-->
195
-<!--                    {{it.drug.max_unit}}-->
196
-<!--                  </span>&nbsp;-->
197
-<!--                <div>-->
198
-<!--                  <template v-if="arr.length>0 && arr[0][0].groupno==it.groupno">-->
199
-<!--                    <div >-->
200
-<!--                      &lt;!&ndash;  v-for="(its,indexs) in arr" :key="indexs" &ndash;&gt;-->
201
-<!--                      <span style="margin-left: 38px;">{{arr[0][0].advice_name ? arr[0][0].advice_name : ""}}</span>&nbsp;&nbsp;-->
202
-<!--                      <span v-if="arr[0][0].drug.min_unit != arr[0][0].drug.dose_unit">-->
203
-<!--                          {{ arr[0][0].drug.dose }}{{ arr[0][0].drug.dose_unit }}&nbsp;* {{ arr[0][0].drug.min_number }}{{ arr[0][0].drug.min_unit }}/-->
204
-<!--                          {{arr[0][0].drug.max_unit}}-->
205
-<!--                        </span>&nbsp;-->
206
-<!--                    </div>-->
207
-<!--                  </template>-->
208
-<!--                </div>-->
209
-
210
-<!--                <div style="margin-left: 70px">-->
211
-<!--                    <span >用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span-->
212
-<!--                    >&nbsp;&nbsp;<span-->
213
-<!--                >{{ it.execution_frequency }}&nbsp;{{-->
214
-<!--                    it.delivery_way-->
215
-<!--                  }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>-->
216
-<!--                </div>-->
217
-
218
-<!--              </div>-->
219
-<!--              <div style="display: inline-block;position: absolute;left:85%;top:10px;margin-left: 10px;">-->
220
-<!--                ×&nbsp;{{ it.prescribing_number}}{{ it.prescribing_number_unit }}-->
221
-<!--              </div>-->
222
-<!--            </div>-->
223
-<!--            <template v-if="index==yi&&item.advices.length>5">-->
224
-<!--              <div style="margin: 20px 0px;">-->
225
-<!--                <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">-->
226
-<!--                  <p v-if="org_id == 10217 || org_id == 0">-->
227
-<!--                    医师:-->
228
-<!--                    <span-->
229
-<!--                      style="width: 100px; display: inline-block"-->
230
-<!--                      v-if="item.creator == ''"-->
231
-<!--                    >-->
232
-<!--                        {{ item.doctor }}-->
233
-<!--                      </span>-->
234
-<!--                    <span-->
235
-<!--                      style="width: 100px; display: inline-block"-->
236
-<!--                      v-else-if="doc_name != ''"-->
237
-<!--                    >-->
238
-<!--                        {{ doc_name }}-->
239
-<!--                      </span>-->
240
-<!--                    <img-->
241
-<!--                      style="height: 50px;"-->
242
-<!--                      :src="setAdminUserES(item.creator,item.doctor)"-->
243
-<!--                      alt=""-->
244
-<!--                      srcset=""-->
245
-
246
-<!--                    />-->
247
-<!--                  </p>-->
248
-<!--                  <p v-else>-->
249
-<!--                    医师: {{ item.doctor ? item.doctor : "" }}-->
250
-<!--                  </p>-->
251
-<!--                  <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>-->
252
-<!--                </div>-->
253
-
254
-<!--                <div class="doctorBoxs" style="border-bottom: 2px solid #000;" v-if="org_id == 10188 || org_id == 0">-->
255
-<!--                  <p>医师:{{ item.doctor ? item.doctor : "" }}</p>-->
256
-<!--                </div>-->
257
-<!--                <div class="actionBar" v-if="org_id != 10188 && org_id != 0">-->
258
-
259
-<!--                  <p>审核:</p>-->
260
-<!--                  <p>配对:</p>-->
261
-<!--                  <p>核对:</p>-->
262
-<!--                  <p>发药:</p>-->
263
-<!--                  <p>-->
264
-<!--                    药费:{{-->
265
-<!--                      getTotalOne(item.id).toFixed(2)-->
266
-<!--                        ? getTotalOne(item.id).toFixed(2)-->
267
-<!--                        : 0-->
268
-<!--                    }}元-->
269
-<!--                  </p>-->
270
-<!--                  &lt;!&ndash;            <p>药费:466.2元</p>&ndash;&gt;-->
271
-<!--                </div>-->
272
-<!--                <div class="actionBar" v-else>-->
273
-<!--                  <p >审核、调配:</p>-->
274
-<!--                  <p >核对、发药:</p>-->
275
-<!--                  <p >-->
276
-<!--                    药费:{{-->
277
-<!--                      getTotalOne(item.id).toFixed(2)-->
278
-<!--                        ? getTotalOne(item.id).toFixed(2)-->
279
-<!--                        : 0-->
280
-<!--                    }}元-->
281
-<!--                  </p>-->
282
-<!--                  &lt;!&ndash;            <p>药费:551.2元</p>&ndash;&gt;-->
283
-<!--                  &lt;!&ndash;            <p>药费:466.2元</p>&ndash;&gt;-->
284
-<!--                </div>-->
285
-<!--              </div>-->
286
-<!--            </template>-->
287
-<!--          </div>-->
288
-
289
-<!--          <div-->
290
-<!--            class="drugsBox"-->
291
-<!--            v-for="(it, i) in item.additionalcharge"-->
292
-<!--            :key="i"-->
293
-<!--          >-->
294
-<!--            <div class="drugsOne">-->
295
-<!--              {{ it.item_name ? it.item_name : "" }}:&nbsp;{{ it.price }}元/{{-->
296
-<!--                it.count-->
297
-<!--              }}次-->
298
-<!--            </div>-->
299
-<!--          </div>-->
300
-
301
-<!--          <div-->
302
-<!--            class="drugsBox"-->
303
-<!--            v-for="(it, index) in item.project"-->
304
-<!--            :key="index"-->
305
-<!--          >-->
306
-<!--            <div class="drugsOne">-->
307
-<!--                <span style="font-weight: bold">{{ index + 1 + "." }}</span-->
308
-<!--                >{{-->
309
-<!--                it.type == 2-->
310
-<!--                  ? getProjectName(it.project_id)-->
311
-<!--                    ? getProjectName(it.project_id)-->
312
-<!--                    : ""-->
313
-<!--                  : it.good_info.good_name-->
314
-<!--              }}&nbsp;&nbsp;{{ it.single_dose-->
315
-<!--              }}{{ it.single_dose_unit }}&nbsp;×&nbsp; {{ it.count }}{{ unit }}-->
316
-<!--            </div>-->
317
-<!--            <div style="margin-left: 100px">-->
318
-<!--                <span>用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span-->
319
-<!--                >&nbsp;&nbsp;<span>{{ it.delivery_way }}</span-->
320
-<!--            >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>-->
321
-<!--            </div>-->
322
-<!--          </div>-->
323
-
324
-<!--          <div-->
325
-<!--            class="drugsBox"-->
326
-<!--            v-for="(it, i) in item.additionalcharge"-->
327
-<!--            :key="i"-->
328
-<!--          >-->
329
-<!--            <div class="drugsOne">-->
330
-<!--              {{ it.project_id ? it.project_id : "" }}:&nbsp;{{-->
331
-<!--                it.price.toFixed(2)-->
332
-<!--              }}元/{{ it.count }}次-->
333
-<!--            </div>-->
334
-<!--          </div>-->
335
-<!--          <div style="text-align: center">(以下空白)</div>-->
336
-<!--        </div>-->
337
-
338 260
 
339 261
         <div class="doctorBox">
340 262
           <p v-if="org_id == 10217">

+ 93 - 45
src/xt_pages/user/Informed/Informedconsent.vue Wyświetl plik

@@ -132,6 +132,11 @@
132 132
                 <div v-if="show16">
133 133
                   <criticalpatient_informed2 :patient_id ="this.patientID" ref="childSixty" :patientCritaicalInformedOnePrint="patientCritaicalInformedOnePrint" @getPatientCriticalOneList="getPatientCriticalOneList"></criticalpatient_informed2>
134 134
                 </div>
135
+                <div v-if="show17">
136
+                  <Disease_diagnosis :patient_id ="this.patientID" ref="childsevety" >
137
+
138
+                  </Disease_diagnosis>
139
+                </div>
135 140
               </div>
136 141
             </div>
137 142
           </el-tab-pane>
@@ -160,7 +165,11 @@ import Medicalhistory from './components/Medicalhistory'
160 165
 import heal_informed from './components/heal_informed'
161 166
 import criticalpatient_informed from './components/criticalpatient_informed'
162 167
 import criticalpatient_informed2 from './components/criticalpatient_informed2'
163
-import { getPatientDetailInformedconsent,getFallOutBedPrintList,getFilterInformed,getProfundaInformed,getArterOvernous,getHighRiskInformed,getPatientMeDicalList,getAnticoagulationInformed,getCriticalInformed,getHemoperfusionInformed,getInformedConsent,getCatheterization,getDialyzerInformed, getTherapyInformed,getPatientCriticalList,getPatientCriticalOneList,getTreamentPlan } from '@/api/patient'
168
+import Disease_diagnosis from './components/Disease_diagnosis'
169
+import { getPatientDetailInformedconsent,getFallOutBedPrintList,getFilterInformed,getProfundaInformed,
170
+  getArterOvernous,getHighRiskInformed,getPatientMeDicalList,getAnticoagulationInformed,getCriticalInformed,
171
+  getHemoperfusionInformed,getInformedConsent,getCatheterization,getDialyzerInformed, getTherapyInformed,
172
+  getPatientCriticalList,getPatientCriticalOneList,getTreamentPlan } from '@/api/patient'
164 173
 export default {
165 174
 
166 175
   components: {
@@ -180,17 +189,20 @@ export default {
180 189
     Medicalhistory,
181 190
     heal_informed,
182 191
     criticalpatient_informed,
183
-    criticalpatient_informed2
192
+    criticalpatient_informed2,
193
+    Disease_diagnosis
184 194
   },
185 195
   data() {
186 196
     return {
187
-      // patient_id:0,
197
+      // patient_id:0,{date:'透析器(滤器)重复使用知情同意书',value:'11'},{date:'危重病人知情同意书',value:'15'},
188 198
       activeName:'second',
189 199
       templates:[{date:'人脸识别知情同意书',value:'1'},{date:'血液透析(滤过、灌流)治疗知情同意书',value:'2'},{date:'深静脉透析导管拔管术知情同意书',value:'3'},{date:'动静脉内瘘穿刺知情同意书',value:'4'},
190 200
                 {date:'高危出血患者血液净化抗凝方式选择知情同意书',value:'5'},{date:'抗凝溶栓治疗知情同意书',value:'6'},{date:'危重患者接受血液净化治疗知情同意书',value:'7'},
191 201
                 {date:'血液灌流治疗知情同意书',value:'8'},{date:'自带药物代为注射告知知情同意书',value:'9'},{date:'深静脉透析导管置入术知情同意书',value:'10'},
192
-                {date:'透析器(滤器)重复使用知情同意书',value:'11'},{date:'血液透析(滤过)治疗知情同意书',value:'12'},{date:'门诊血液透析治疗病历首页',value:'13'},
193
-                {date:'治疗处理方案知情同意书',value:'14'},{date:'危重病人知情同意书',value:'15'},{date:'危重病人知情同意书',value:'16'},],
202
+                {date:'血液透析(滤过)治疗知情同意书',value:'12'},{date:'门诊血液透析治疗病历首页',value:'13'},
203
+                {date:'治疗处理方案知情同意书',value:'14'},{date:'危重病人知情同意书',value:'16'},
204
+                // {date:'疾病诊断证明书',value:'17'},
205
+              ],
194 206
 
195 207
       face_show:true,
196 208
       filter_show:false,
@@ -208,6 +220,7 @@ export default {
208 220
       show14:false,
209 221
       show15:false,
210 222
       show16:false,
223
+      show17:false,
211 224
       patientID:0,
212 225
       patient:{},
213 226
       tableData:[],
@@ -248,7 +261,7 @@ export default {
248 261
       }
249 262
     })
250 263
    },
251
-   
264
+
252 265
    getPatientMeDicalList(){
253 266
       var params = {
254 267
          patient_id:this.patientID,
@@ -263,7 +276,7 @@ export default {
263 276
    },
264 277
 
265 278
    getFallOutBedPrintList(){
266
-      
279
+
267 280
       getFallOutBedPrintList().then(response=>{
268 281
          if(response.data.state ==1){
269 282
             var list = response.data.data.list
@@ -395,17 +408,17 @@ export default {
395 408
       getTreamentPlan().then(response=>{
396 409
         if(response.data.state ==1){
397 410
           var list = response.data.data.treamentPlan
398
-          this.patientTreamentPlan = list  
411
+          this.patientTreamentPlan = list
399 412
           this.$refs.childSeventy.show(list)
400 413
         }
401 414
       })
402 415
     },
403
-   
416
+
404 417
     rowClick(row, column, event){
405 418
      console.log('1111',row);
406 419
       // console.log('2222',column);
407 420
       // console.log('3333',event);
408
-       
421
+
409 422
         if(row.value==1){
410 423
           this.face_show=true
411 424
           this.filter_show=false,
@@ -417,12 +430,13 @@ export default {
417 430
           this.hemoperfusion_show=false,
418 431
           this.Bring_show=false,
419 432
           this.catheterization_show=false,
420
-          this.dialyzer_show=false,
433
+          // this.dialyzer_show=false,
421 434
           this.therapy_show=false,
422 435
           this.history_show=false,
423 436
           this.show14=false,
424 437
           this.show15=false,
425
-          this.show16=false
438
+          this.show16=false,
439
+          this.show17=false,
426 440
           this.getFallOutBedPrintList()
427 441
         }
428 442
         if(row.value==2){
@@ -436,12 +450,13 @@ export default {
436 450
           this.hemoperfusion_show=false,
437 451
           this.Bring_show=false,
438 452
           this.catheterization_show=false,
439
-          this.dialyzer_show=false,
453
+          // this.dialyzer_show=false,
440 454
           this.therapy_show=false,
441 455
           this.history_show=false,
442 456
           this.show14=false,
443 457
           this.show15=false,
444
-          this.show16=false
458
+          this.show16=false,
459
+          this.show17=false,
445 460
           this.getFilterInformed()
446 461
         }
447 462
         if(row.value==3){
@@ -455,12 +470,13 @@ export default {
455 470
           this.hemoperfusion_show=false,
456 471
           this.Bring_show=false,
457 472
           this.catheterization_show=false,
458
-          this.dialyzer_show=false,
473
+          // this.dialyzer_show=false,
459 474
           this.therapy_show=false,
460 475
           this.history_show=false,
461 476
           this.show14=false,
462 477
           this.show15=false,
463
-          this.show16=false
478
+          this.show16=false,
479
+          this.show17=false,
464 480
           this.getProfundaInformed()
465 481
         }
466 482
         if(row.value==4){
@@ -474,12 +490,13 @@ export default {
474 490
           this.hemoperfusion_show=false,
475 491
           this.Bring_show=false,
476 492
           this.catheterization_show=false,
477
-          this.dialyzer_show=false,
493
+          // this.dialyzer_show=false,
478 494
           this.therapy_show=false,
479 495
           this.history_show=false,
480 496
           this.show14=false,
481 497
           this.show15=false,
482
-          this.show16=false
498
+          this.show16=false,
499
+          this.show17=false,
483 500
           this.getArterOvernous()
484 501
         }
485 502
         if(row.value==5){
@@ -493,12 +510,13 @@ export default {
493 510
           this.hemoperfusion_show=false,
494 511
           this.Bring_show=false,
495 512
           this.catheterization_show=false,
496
-          this.dialyzer_show=false,
513
+          // this.dialyzer_show=false,
497 514
           this.therapy_show=false,
498 515
           this.history_show=false,
499 516
           this.show14=false,
500 517
           this.show15=false,
501
-          this.show16=false
518
+          this.show16=false,
519
+          this.show17=false,
502 520
           this.getHighRiskInformed()
503 521
         }
504 522
         if(row.value==6){
@@ -512,12 +530,13 @@ export default {
512 530
           this.hemoperfusion_show=false,
513 531
           this.Bring_show=false,
514 532
           this.catheterization_show=false,
515
-          this.dialyzer_show=false,
533
+          // this.dialyzer_show=false,
516 534
           this.therapy_show=false,
517 535
           this.history_show=false,
518 536
           this.show14=false,
519 537
           this.show15=false,
520
-          this.show16=false
538
+          this.show16=false,
539
+          this.show17=false,
521 540
           this.getAnticoagulationInformed()
522 541
         }
523 542
         if(row.value==7){
@@ -531,12 +550,13 @@ export default {
531 550
           this.hemoperfusion_show=false,
532 551
           this.Bring_show=false,
533 552
           this.catheterization_show=false,
534
-          this.dialyzer_show=false,
553
+          // this.dialyzer_show=false,
535 554
           this.therapy_show=false,
536 555
           this.history_show=false,
537 556
           this.show14=false,
538 557
           this.show15=false,
539
-          this.show16=false
558
+          this.show16=false,
559
+          this.show17=false,
540 560
           this.getCriticalInformed()
541 561
         }
542 562
         if(row.value==8){
@@ -550,12 +570,13 @@ export default {
550 570
           this.hemoperfusion_show=true,
551 571
           this.Bring_show=false,
552 572
           this.catheterization_show=false,
553
-          this.dialyzer_show=false,
573
+          // this.dialyzer_show=false,
554 574
           this.therapy_show=false,
555 575
           this.history_show=false,
556 576
           this.show14=false,
557 577
           this.show15=false,
558
-          this.show16=false
578
+          this.show16=false,
579
+          this.show17=false,
559 580
           this.getHemoperfusionInformed()
560 581
         }
561 582
         if(row.value==9){
@@ -569,12 +590,13 @@ export default {
569 590
           this.hemoperfusion_show=false,
570 591
           this.Bring_show=true,
571 592
           this.catheterization_show=false,
572
-          this.dialyzer_show=false,
593
+          // this.dialyzer_show=false,
573 594
           this.therapy_show=false,
574 595
           this.history_show=false,
575 596
           this.show14=false,
576 597
           this.show15=false,
577
-          this.show16=false
598
+          this.show16=false,
599
+          this.show17=false,
578 600
           this.getInformedConsent()
579 601
         }
580 602
         if(row.value==10){
@@ -588,13 +610,13 @@ export default {
588 610
           this.hemoperfusion_show=false,
589 611
           this.Bring_show=false,
590 612
           this.catheterization_show=true,
591
-          this.dialyzer_show=false,
613
+          // this.dialyzer_show=false,
592 614
           this.therapy_show=false,
593 615
           this.history_show=false,
594 616
           this.show14=false,
595 617
           this.show15=false,
596
-          this.show16=false
597
-         
618
+          this.show16=false,
619
+          this.show17=false
598 620
         }
599 621
         if(row.value==11){
600 622
           this.face_show=false
@@ -607,12 +629,13 @@ export default {
607 629
           this.hemoperfusion_show=false,
608 630
           this.Bring_show=false,
609 631
           this.catheterization_show=false,
610
-          this.dialyzer_show=true,
632
+          // this.dialyzer_show=true,
611 633
           this.therapy_show=false,
612 634
           this.history_show=false,
613 635
           this.show14=false,
614 636
           this.show15=false,
615
-          this.show16=false
637
+          this.show16=false,
638
+          this.show17=false
616 639
           this.getDialyzerInformed()
617 640
         }
618 641
         if(row.value==12){
@@ -626,12 +649,13 @@ export default {
626 649
           this.hemoperfusion_show=false,
627 650
           this.Bring_show=false,
628 651
           this.catheterization_show=false,
629
-          this.dialyzer_show=false,
652
+          // this.dialyzer_show=false,
630 653
           this.therapy_show=true,
631 654
           this.history_show=false,
632 655
           this.show14=false,
633 656
           this.show15=false,
634
-          this.show16=false
657
+          this.show16=false,
658
+          this.show17=false
635 659
           this.getTherapyInformed()
636 660
         }
637 661
         if(row.value==13){
@@ -645,12 +669,13 @@ export default {
645 669
           this.hemoperfusion_show=false,
646 670
           this.Bring_show=false,
647 671
           this.catheterization_show=false,
648
-          this.dialyzer_show=false,
672
+          // this.dialyzer_show=false,
649 673
           this.therapy_show=false,
650 674
           this.history_show=true,
651 675
           this.show14=false,
652 676
           this.show15=false,
653
-          this.show16=false
677
+          this.show16=false,
678
+          this.show17=false
654 679
           this.getPatientMeDicalList()
655 680
         }
656 681
         if(row.value==14){
@@ -664,16 +689,17 @@ export default {
664 689
           this.hemoperfusion_show=false,
665 690
           this.Bring_show=false,
666 691
           this.catheterization_show=false,
667
-          this.dialyzer_show=false,
692
+          // this.dialyzer_show=false,
668 693
           this.therapy_show=false,
669 694
           this.history_show=false,
670 695
           this.show14=true,
671 696
           this.show15=false,
672
-          this.show16=false
697
+          this.show16=false,
698
+          this.show17=false
673 699
           this.getTreamentPlan()
674 700
         }
675 701
         if(row.value==15){
676
-     
702
+
677 703
           this.filter_show=false
678 704
           this.face_show=false
679 705
           this.profunda_show=false,
@@ -684,12 +710,13 @@ export default {
684 710
           this.hemoperfusion_show=false,
685 711
           this.Bring_show=false,
686 712
           this.catheterization_show=false,
687
-          this.dialyzer_show=false,
713
+          // this.dialyzer_show=false,
688 714
           this.therapy_show=false,
689 715
           this.history_show=false,
690 716
           this.show14=false,
691 717
           this.show15=true,
692
-          this.show16=false
718
+          this.show16=false,
719
+          this.show17=false
693 720
           this.getPatientCriticalList()
694 721
         }
695 722
         if(row.value==16){
@@ -703,16 +730,37 @@ export default {
703 730
           this.hemoperfusion_show=false,
704 731
           this.Bring_show=false,
705 732
           this.catheterization_show=false,
706
-          this.dialyzer_show=false,
733
+          // this.dialyzer_show=false,
707 734
           this.therapy_show=false,
708 735
           this.history_show=false,
709 736
           this.show14=false,
710 737
           this.show15=false,
711
-          this.show16=true
738
+          this.show16=true,
739
+          this.show17=false
712 740
           this.getPatientCriticalOneList()
713 741
         }
742
+        if(row.value==17){
743
+          this.filter_show=false
744
+          this.face_show=false
745
+          this.profunda_show=false,
746
+          this.arteriovenous_show=false,
747
+          this.Highrisk_show=false,
748
+          this.anticoagulation_show=false,
749
+          this.critical_show=false,
750
+          this.hemoperfusion_show=false,
751
+          this.Bring_show=false,
752
+          this.catheterization_show=false,
753
+          // this.dialyzer_show=false,
754
+          this.therapy_show=false,
755
+          this.history_show=false,
756
+          this.show14=false,
757
+          this.show15=false,
758
+          this.show16=false,
759
+          this.show17=true
760
+          // this.getPatientCriticalOneList()
761
+        }
714 762
     },
715
-   
763
+
716 764
   }
717 765
 }
718 766
 </script>

+ 248 - 0
src/xt_pages/user/Informed/components/Disease_diagnosis.vue Wyświetl plik

@@ -0,0 +1,248 @@
1
+<!-- 疾病诊断 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+    <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+      <!-- <el-button type="primary">主要按钮</el-button> -->
6
+        <el-button type="primary" style=""  @click="bianji">
7
+            编辑
8
+        </el-button>
9
+      <!-- <el-button type="danger" style=""  @click="">
10
+            删除
11
+      </el-button> -->
12
+      <el-button type="success" style=""  @click="printThisPage">
13
+          打印
14
+      </el-button>
15
+    </div>
16
+    <div id="print_content">
17
+      <div class="print_page_main_content">
18
+        <div class="content">
19
+            <h2 style="text-align: center;">疾病诊断证明书</h2>
20
+
21
+            <div style="display: flex;margin: 10px 0;">
22
+              <!-- <div style="flex:1">
23
+                门诊号码:
24
+                <div style="display: inline-block; border-bottom:1px solid black;width: 50%;">
25
+                  {{patient.admission_number}}
26
+                </div>
27
+              </div> -->
28
+              <div style="flex:1">门诊(住院)号码:
29
+                <div style="display: inline-block; border-bottom:1px solid black;width: 15%;">
30
+                  {{ patient.admission_number }}
31
+                </div>
32
+              </div>
33
+            </div>
34
+            <div style="display: flex;">
35
+              <div style="flex:1">科别:
36
+                <div style="display: inline-block; border-bottom:1px solid black;width: 50%;"></div>
37
+              </div>
38
+              <div style="flex:1">病室:
39
+                <div style="display: inline-block; border-bottom:1px solid black;width: 50%;"></div>
40
+              </div>
41
+              <div style="flex:1">床号:
42
+                <div style="display: inline-block; border-bottom:1px solid black;width: 50%;"></div>
43
+              </div>
44
+            </div>
45
+            <table border="1" style="border-collapse: collapse;width: 100%;text-align: center;">
46
+              <tbody>
47
+                <tr>
48
+                  <td width="10" style="padding: 5px 0;">姓名</td>
49
+                  <td width="30">{{ patient.name }}</td>
50
+                  <td width="20">性别</td>
51
+                  <td width="20">{{ patient.gender ==1?'男':'女' }}</td>
52
+                  <td width="20">年龄</td>
53
+                  <td width="20">{{ getAge(patient) }}</td>
54
+                </tr>
55
+                <tr>
56
+                  <td style="padding: 5px 0;">籍贯</td>
57
+                  <td>{{patient.home_address}}</td>
58
+                  <td>服务单位</td>
59
+                  <td colspan="3"></td>
60
+                </tr>
61
+              </tbody>
62
+            </table>
63
+
64
+            <div v-html="content"></div>
65
+        </div>
66
+      </div>
67
+    </div>
68
+
69
+    <el-dialog
70
+      title="提示"
71
+      :visible.sync="dialogVisible"
72
+      width="70%"
73
+    > 
74
+      <div>
75
+        <h2 style="text-align: center;">疾病诊断证明书</h2>
76
+        <div style="display: flex;margin: 10px 0;">
77
+          <!-- <div style="flex:1">
78
+            门诊号码:
79
+            <div style="display: inline-block; border-bottom:1px solid black;width: 50%;"></div>
80
+          </div> -->
81
+          <div style="flex:1">门诊(住院)号码:
82
+            <div style="display: inline-block; border-bottom:1px solid black;width: 15%;">
83
+              {{ patient.admission_number }}
84
+            </div>
85
+          </div>
86
+        </div>
87
+        <div style="display: flex;">
88
+          <div style="flex:1">科别:
89
+            <div style="display: inline-block; border-bottom:1px solid black;width: 50%;"></div>
90
+          </div>
91
+          <div style="flex:1">病室:
92
+            <div style="display: inline-block; border-bottom:1px solid black;width: 50%;"></div>
93
+          </div>
94
+          <div style="flex:1">床号:
95
+            <div style="display: inline-block; border-bottom:1px solid black;width: 50%;"></div>
96
+          </div>
97
+        </div>
98
+        <table border="1" style="border-collapse: collapse;width: 100%;text-align: center;">
99
+          <tbody>
100
+            <tr>
101
+              <td width="10" style="padding: 5px 0;">姓名</td>
102
+              <td width="30">{{ patient.name }}</td>
103
+              <td width="20">性别</td>
104
+              <td width="20">{{ patient.gender ==1?'男':'女' }}</td>
105
+              <td width="20">年龄</td>
106
+              <td width="20">{{ getAge(patient) }}</td>
107
+            </tr>
108
+            <tr>
109
+              <td style="padding: 5px 0;">籍贯</td>
110
+              <td></td>
111
+              <td>服务单位</td>
112
+              <td colspan="3"></td>
113
+            </tr>
114
+          </tbody>
115
+        </table>
116
+        <keep-alive>
117
+          <editor ref="editor"
118
+                  id="editor"
119
+                  style="width: 100%"
120
+                  v-bind:r_content="content">
121
+          </editor>
122
+        </keep-alive>
123
+      </div>
124
+      
125
+      <span slot="footer" class="dialog-footer">
126
+        <el-button @click="dialogVisible = false">取 消</el-button>
127
+        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
128
+      </span>
129
+    </el-dialog>
130
+  </div>
131
+</template>
132
+<script>
133
+  import print from "print-js";
134
+  import Editor from '@/components/Editor'
135
+  import { getPatientDetailInformedconsent,saveFallOutBedPrint  } from '@/api/patient'
136
+  import { jsGetAge, uParseTime } from "@/utils/tools";
137
+//   const content =`<table border="1" style="border-collapse: collapse;width: 100%;text-align: center;">
138
+//     <tbody> 
139
+//     <tr><td width="10" style="padding: 5px 0;">姓名</td><td width="30"></td><td width="20">性别</td>
140
+//       <td width="20"></td><td width="20">年龄</td><td width="20"></td>
141
+//     </tr>
142
+//     <tr><td style="padding: 5px 0;">籍贯</td><td></td><td>服务单位</td><td colspan="3"></td></tr>
143
+//     <tr><td colspan="6">
144
+//         <p style="min-height: 100px;white-space: normal;text-align: left;">
145
+//           <span style="display: inline-block;padding: 5px;border-bottom: 1px solid black;width: 90px;">检查所见</span>
146
+//         </p>
147
+//         <p style="min-height: 100px;white-space: normal;text-align: left;">
148
+//           <span style="display: inline-block;padding: 5px;border-bottom: 1px solid black;width: 90px;">诊  &nbsp;&nbsp;断</span>
149
+//         </p>
150
+//         <p style="min-height: 100px;white-space: normal;text-align: left;">
151
+//           <span style="display: inline-block;padding: 5px;border-bottom: 1px solid black;width: 90px;">医师意见</span>
152
+//         </p>
153
+//         <p style="padding-top: 20px;">
154
+//           <span style="display: inline-block;padding: 0 30px;">年</span>
155
+//           <span>月</span>
156
+//           <span style="display: inline-block;padding: 0 30px;">日</span>
157
+//           <span>医师<span style="display: inline-block; border-bottom:1px solid black;width: 120px;"></span></span> 
158
+//         </p>
159
+//       </td>
160
+//     </tr>
161
+//   </tbody>
162
+// </table>`
163
+const content =`
164
+      <div style="border: 1px solid black;">
165
+        <p style="min-height: 100px;white-space: normal;text-align: left;">
166
+          <span style="display: inline-block;padding: 5px;border-bottom: 1px solid black;width: 90px;">检查所见</span>
167
+        </p>
168
+        <p style="min-height: 100px;white-space: normal;text-align: left;">
169
+          <span style="display: inline-block;padding: 5px;border-bottom: 1px solid black;width: 90px;">诊  &nbsp;&nbsp;断</span>
170
+        </p>
171
+        <p style="min-height: 100px;white-space: normal;text-align: left;">
172
+          <span style="display: inline-block;padding: 5px;border-bottom: 1px solid black;width: 90px;">医师意见</span>
173
+        </p>
174
+        <p style="padding-top: 20px;text-align: center;">
175
+          <span style="display: inline-block;padding: 0 30px;">年</span>
176
+          <span>月</span>
177
+          <span style="display: inline-block;padding: 0 30px;">日</span>
178
+          <span>医师<span style="display: inline-block; border-bottom:1px solid black;width: 120px;"></span></span> 
179
+        </p>
180
+      </div>`
181
+  export default{
182
+    props: {
183
+      patient_id: {
184
+        type: Number,
185
+      },
186
+      
187
+    },
188
+    data(){
189
+      return{
190
+        content:content,
191
+        dialogVisible:false,
192
+        patient:{},
193
+      }
194
+      
195
+    },
196
+    components:{
197
+      Editor
198
+    },
199
+    created(){
200
+      this.getlist()
201
+    },
202
+    methods:{
203
+      getlist(){
204
+        getPatientDetailInformedconsent(this.patient_id).then(response=>{
205
+          if(response.data.state == 1){
206
+            var patient =  response.data.data.patients
207
+            console.log("patinet",patient)
208
+            this.patient =patient
209
+          }
210
+        })
211
+      },
212
+      bianji(){
213
+        this.dialogVisible=true
214
+      },
215
+      printThisPage(){
216
+          const style = '@media print {.content p{font-size: 16px;font-family: 新宋体; padding-left: 20px; margin-bottom: 5px;}}'
217
+          printJS({
218
+              printable: 'print_content',
219
+              type: 'html',
220
+              documentTitle: '  ',
221
+              style: style,
222
+              scanStyles: false
223
+          })
224
+      },
225
+      getAge: function(val) {
226
+        if (val.id_card_no == undefined) {
227
+          return false
228
+        }
229
+        var thisLen = val.id_card_no.length
230
+        var birth = ''
231
+        if (thisLen == 15) {
232
+          birth = '19' + val.id_card_no.substr(6, 6)
233
+        } else {
234
+          birth = val.id_card_no.substr(6, 8)
235
+        }
236
+        var birthtwo =
237
+          birth.substr(0, 4) +
238
+          '-' +
239
+          birth.substr(4, 2) +
240
+          '-' +
241
+          birth.substr(6, 2)
242
+
243
+        var age = jsGetAge(birthtwo, '-')
244
+        return age
245
+      },
246
+    }
247
+  }
248
+</script>

+ 5 - 8
src/xt_pages/user/templateSummary.vue Wyświetl plik

@@ -121,7 +121,7 @@
121 121
         </div>
122 122
       </div>
123 123
 
124
-      <el-dialog title="新增阶段小结" width="80%" top="5vh" :visible.sync="show_dialog">
124
+      <el-dialog title="新增阶段小结" width="83%" top="5vh" :visible.sync="show_dialog">
125 125
         <div>
126 126
           <div class="new_record_form">
127 127
             <div class="cell clearfix">
@@ -732,10 +732,10 @@
732 732
                           format="yyyy-MM-dd"
733 733
                           value-format="yyyy-MM-dd">
734 734
                         </el-date-picker>
735
-                  </el-form-item> 
736
-              
735
+                  </el-form-item>
736
+
737 737
               </div>
738
-              
738
+
739 739
             </el-row>
740 740
             <el-row>
741 741
                <span>选择检验检查项目:</span>
@@ -817,9 +817,6 @@
817 817
         </span>
818 818
       </el-dialog>
819 819
 
820
-
821
-
822
-
823 820
       <multi-select-box
824 821
         :propsForm="InnerDialogProps"
825 822
         v-on:dialog-comfirm="innerDialogComfirm"
@@ -1873,7 +1870,7 @@
1873 1870
           this.lastYear = val+"-"+"01"
1874 1871
         }
1875 1872
 
1876
-       
1873
+
1877 1874
         this.getInspectionMajor()
1878 1875
       },
1879 1876
       changFirstYear(){

+ 8 - 7
src/xt_pages/workforce/components/nextTableWeeks.vue Wyświetl plik

@@ -98,6 +98,7 @@
98 98
       }"
99 99
       style="width: 100%"
100 100
       @selection-change="handleSelectionChange"
101
+      height="calc(80vh - 200px)"
101 102
     >
102 103
      <el-table-column
103 104
         align="center"
@@ -110,7 +111,7 @@
110 111
           <span v-if="scope.row.prescription.id == 0">未确认</span>
111 112
         </template>
112 113
       </el-table-column>
113
-      <el-table-column label="星期" min-width="100" align="center">
114
+      <el-table-column label="星期" width="60" align="center">
114 115
         <template slot-scope="scope">
115 116
            <span v-if="scope.row.schedule_week == 0">周日</span>
116 117
            <span v-if="scope.row.schedule_week == 1">周一</span>
@@ -121,27 +122,27 @@
121 122
            <span v-if="scope.row.schedule_week == 6">周六</span>
122 123
         </template>
123 124
       </el-table-column>
124
-      <el-table-column label="姓名" min-width="100" align="center">
125
+      <el-table-column label="姓名" width="70" align="center">
125 126
         <template slot-scope="scope">
126 127
           {{ scope.row.patient }}
127 128
         </template>
128 129
       </el-table-column>
129
-      <el-table-column label="分区" min-width="100" align="center">
130
+      <el-table-column label="分区" min-width="110" align="center">
130 131
         <template slot-scope="scope">
131 132
           {{ scope.row.zone.name }}({{ getType(scope.row.partition_id)  }})
132 133
         </template>
133 134
       </el-table-column>
134
-      <el-table-column label="班次" min-width="70" align="center">
135
+      <el-table-column label="班次" width="70" align="center">
135 136
         <template slot-scope="scope">
136 137
           {{ getSchedulesType(scope.row.schedule_type) }}
137 138
         </template>
138 139
       </el-table-column>
139
-      <el-table-column label="机号" min-width="70" align="center">
140
+      <el-table-column label="机号" width="70" align="center">
140 141
         <template slot-scope="scope">
141 142
           {{ scope.row.number.number }}
142 143
         </template>
143 144
       </el-table-column>
144
-      <el-table-column label="透析模式" min-width="100" align="center">
145
+      <el-table-column label="透析模式" width="100" align="center">
145 146
         <template slot-scope="scope">
146 147
           {{
147 148
             scope.row.mode_id && modeOptions[scope.row.mode_id]
@@ -183,7 +184,7 @@
183 184
           </span> -->
184 185
         </template>
185 186
       </el-table-column>
186
-      <el-table-column label="总量" min-width="100" align="center">
187
+      <el-table-column label="总量" width="70" align="center">
187 188
         <template slot-scope="scope">
188 189
           <span v-if="scope.row.dialysissolution.anticoagulant == 1">{{
189 190
             scope.row.dialysissolution.anticoagulant_zongliang

+ 17 - 16
src/xt_pages/workforce/components/tableWeeks.vue Wyświetl plik

@@ -151,16 +151,17 @@
151 151
         </el-table>
152 152
 
153 153
         <el-table
154
-                v-loading="isloading"
155
-                :row-style="{ color: '#303133' }"
156
-                :data="scheduleData"
157
-                border
158
-                :header-cell-style="{
159
-                backgroundColor: 'rgb(245, 247, 250)',
160
-                color: '#606266'
161
-                 }"
162
-                style="width: 100%"
163
-                @selection-change="handleSelectionChange"
154
+          v-loading="isloading"
155
+          :row-style="{ color: '#303133' }"
156
+          :data="scheduleData"
157
+          border
158
+          :header-cell-style="{
159
+          backgroundColor: 'rgb(245, 247, 250)',
160
+          color: '#606266'
161
+            }"
162
+          style="width: 100%"
163
+          @selection-change="handleSelectionChange"
164
+          height="calc(100vh - 200px)"
164 165
         >
165 166
           <el-table-column
166 167
             align="center"
@@ -173,7 +174,7 @@
173 174
                     <span v-if="scope.row.prescription.id == 0">未确定</span>
174 175
                 </template>
175 176
             </el-table-column>
176
-            <el-table-column label="星期" min-width="100" align="center">
177
+            <el-table-column label="星期" width="60" align="center">
177 178
                 <template slot-scope="scope">
178 179
                     <span v-if="scope.row.schedule_week == 0">周日</span>
179 180
                     <span v-if="scope.row.schedule_week == 1">周一</span>
@@ -184,7 +185,7 @@
184 185
                     <span v-if="scope.row.schedule_week == 6">周六</span>
185 186
                 </template>
186 187
             </el-table-column>
187
-            <el-table-column label="姓名" min-width="100" align="center">
188
+            <el-table-column label="姓名" width="80" align="center">
188 189
                 <template slot-scope="scope">
189 190
                     {{ scope.row.patient.name }}
190 191
                 </template>
@@ -194,17 +195,17 @@
194 195
                     {{ scope.row.zone.name }} ({{ getType(scope.row.partition_id)  }})
195 196
                 </template>
196 197
             </el-table-column>
197
-            <el-table-column label="班次" min-width="70" align="center">
198
+            <el-table-column label="班次" width="70" align="center">
198 199
                 <template slot-scope="scope">
199 200
                     {{ getSchedulesType(scope.row.schedule_type) }}
200 201
                 </template>
201 202
             </el-table-column>
202
-            <el-table-column label="机号" min-width="70" align="center">
203
+            <el-table-column label="机号" width="70" align="center">
203 204
                 <template slot-scope="scope">
204 205
                     {{ scope.row.number.number }}
205 206
                 </template>
206 207
             </el-table-column>
207
-            <el-table-column label="透析模式" min-width="100" align="center">
208
+            <el-table-column label="透析模式" min-width="60" align="center">
208 209
                 <template slot-scope="scope">
209 210
                     {{
210 211
                     scope.row.mode_id && modeOptions[scope.row.mode_id]
@@ -249,7 +250,7 @@
249 250
           </span>
250 251
                 </template>
251 252
             </el-table-column>
252
-            <el-table-column label="总量" min-width="100" align="center">
253
+            <el-table-column label="总量" min-width="70" align="center">
253 254
                 <template slot-scope="scope">
254 255
           <span v-if="scope.row.dialysissolution.anticoagulant == 1">{{
255 256
             scope.row.dialysissolution.anticoagulant_zongliang