Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 7 months ago
parent
commit
b219c8d1b3

+ 8 - 0
src/router/index_路由未分离前.js View File

@@ -638,6 +638,14 @@ export const xt_asyncRouterMap = [
638 638
         name: 'Inspection',
639 639
         meta: { title: 'inspection', noCache: true }
640 640
       },
641
+      {
642
+        path: '/patients/newinspection',
643
+        component: () => import('@/xt_pages/user/newInspection'),
644
+        hidden: true,
645
+        is_menu: false,
646
+        name: 'newInspection',
647
+        meta: { title: 'newInspection', noCache: true }
648
+      },
641 649
       {
642 650
         path: '/',
643 651
         component: () => import('@/xt_pages/user/courseOfDisease'),

+ 2 - 2
src/xt_pages/data/components/consumables.vue View File

@@ -81,14 +81,14 @@
81 81
         >点击导出
82 82
         </el-button>
83 83
 
84
-        <!-- <el-button
84
+       <!-- <el-button
85 85
           style="margin-left:10px;"
86 86
           @click="jiaoBen()"
87 87
           class="filter-item"
88 88
           type="primary"
89 89
           size="small"
90 90
         >脚本
91
-        </el-button> -->
91
+        </el-button>  -->
92 92
       </div>
93 93
 
94 94
     <el-table

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_forty.vue View File

@@ -490,7 +490,7 @@
490 490
                                 <td width="20">mg</td>
491 491
                                 <td width="10">)</td>
492 492
                                 <td width="100">
493
-                                    <label-box :isChecked="record.prescription.anticoagulant==3?true:false" showValue='低分子肝素'></label-box> 
493
+                                    <label-box :isChecked="record.prescription.anticoagulant==3 || record.prescription.anticoagulant==6 || record.prescription.anticoagulant==7?true:false" showValue='低分子肝素'></label-box> 
494 494
                                 </td>
495 495
                                 
496 496
                                 <td width="10">(</td>

+ 18 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -1511,8 +1511,10 @@ export default {
1511 1511
 
1512 1512
       if(predialysis != null && predialysis.id == 0){
1513 1513
         if (last_after != null) {
1514
-          for (var key in last_after){
1515
-            if (key != 'actual_treatment_hour' && key != 'actual_treatment_minute' && key != 'weight_loss' && key != 'weight_after'  && key != 'systolic_blood_pressure' && key != 'diastolic_blood_pressure' && key != 'pulse_frequency'  && key != 'actual_ultrafiltration'  ){
1514
+          
1515
+          if(this.$store.getters.xt_user.template_info.org_id==10101){
1516
+            for (var key in last_after){
1517
+            if (key != 'actual_treatment_hour' && key != 'actual_treatment_minute' && key != 'weight_loss' && key != 'weight_after'  && key != 'systolic_blood_pressure' && key != 'diastolic_blood_pressure' && key != 'pulse_frequency' ){
1516 1518
               this.$set(
1517 1519
                 this.form,
1518 1520
                 key,
@@ -1521,6 +1523,20 @@ export default {
1521 1523
 
1522 1524
             }
1523 1525
           }
1526
+          }else{
1527
+            for (var key in last_after){
1528
+            if (key != 'actual_treatment_hour' && key != 'actual_treatment_minute' && key != 'weight_loss' && key != 'weight_after'  && key != 'systolic_blood_pressure' && key != 'diastolic_blood_pressure' && key != 'pulse_frequency'  && key != 'actual_ultrafiltration'  ){
1529
+              this.$set(
1530
+                this.form,
1531
+                key,
1532
+                last_after[key]
1533
+              )
1534
+
1535
+             }
1536
+           }
1537
+          }
1538
+        
1539
+
1524 1540
         }
1525 1541
         // 5.15
1526 1542
         if(last_after.id > 0){

+ 9 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -387,7 +387,7 @@
387 387
                 org_id == 10599 || 
388 388
                 org_id == 10612 ||
389 389
                 org_id == 10617 ||
390
-                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702) &&
390
+                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id ==10090) &&
391 391
                 org_id!=10387
392 392
             "
393 393
           >
@@ -458,7 +458,7 @@
458 458
               && org_id!=10432 && org_id!=10445
459 459
               && org_id!=10410 && org_id!=10495 &&
460 460
                org_id!=10485 && org_id!=10395 && org_id!=10375
461
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702)
461
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702  && org_id!=10090)
462 462
               || org_id == 10387
463 463
             "
464 464
           >
@@ -529,7 +529,7 @@
529 529
                 org_id == 10410 ||
530 530
                 org_id == 10495  ||
531 531
                 org_id == 10395
532
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702)
532
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702 || org_id == 10090)
533 533
                 && org_id!=10387
534 534
             "
535 535
           >
@@ -584,7 +584,7 @@
584 584
               org_id!=10432 &&
585 585
               org_id!=10445 &&
586 586
               org_id!=10410 && org_id!=10495
587
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702) ||
587
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702 && org_id!=10090) ||
588 588
               org_id == 10387
589 589
             "
590 590
           >
@@ -1681,7 +1681,7 @@
1681 1681
                 org_id== 10432 ||
1682 1682
                 org_id== 10445 ||
1683 1683
                 org_id== 10410 ||
1684
-                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635 || org_id ==10702) &&
1684
+                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id == 10090) &&
1685 1685
                 org_id!=10387
1686 1686
             "
1687 1687
           >
@@ -1729,7 +1729,7 @@
1729 1729
               org_id!=10445 &&
1730 1730
               org_id!=10410 &&
1731 1731
               org_id!=10485 &&
1732
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635 && org_id!=10702)
1732
+              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635 && org_id!=10702 && org_id!=10090)
1733 1733
               || org_id == 10387
1734 1734
             "
1735 1735
           >
@@ -1802,7 +1802,7 @@
1802 1802
                 org_id == 10599 ||
1803 1803
                 org_id ==10612 || 
1804 1804
                 org_id ==10617 || 
1805
-                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702)
1805
+                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702 || org_id == 10090)
1806 1806
                 && org_id!=10387 && org_id!=10694
1807 1807
             "
1808 1808
           >
@@ -1875,7 +1875,8 @@
1875 1875
               org_id!=10693 &&
1876 1876
               org_id!=10697 &&
1877 1877
               org_id!=10635 &&
1878
-              org_id!=10702
1878
+              org_id!=10702 &&
1879
+              org_id!=10090
1879 1880
               )
1880 1881
               || org_id == 10387 || org_id == 10694
1881 1882
             "

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue View File

@@ -576,7 +576,7 @@
576 576
                   <td width="20">mg</td>
577 577
                   <td width="10">)</td>
578 578
                   <td width="100">
579
-                      <label-box :isChecked="prescription.anticoagulant==3?true:false" showValue='低分子肝素'></label-box> 
579
+                      <label-box :isChecked="prescription.anticoagulant==3 || prescription.anticoagulant==6 || prescription.anticoagulant==7?true:false" showValue='低分子肝素'></label-box> 
580 580
                   </td>
581 581
                   
582 582
                   <td width="10">(</td>

+ 55 - 7
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -743,7 +743,7 @@ export default {
743 743
         }
744 744
         if (
745 745
           this.org_id == 10138 ||
746
-          this.org_id == 10278 ||  this.org_id == 10610 || this.org_id == 10537 || this.org_id == 0
746
+          this.org_id == 10278 ||  this.org_id == 10610 || this.org_id == 10537
747 747
         ) {
748 748
           getPrivateExpenses(params).then((response) => {
749 749
             if (response.data.state == 0) {
@@ -893,6 +893,9 @@ export default {
893 893
               // that.info["department"] = response.data.data.department;
894 894
               // that.info["health_card_no"] = response.data.data.health_card_no;
895 895
 
896
+
897
+
898
+
896 899
               that.info['bed_cost_total'] = response.data.data.bedCostTotal
897 900
               that.info['bed_cost_self_total'] =
898 901
                 response.data.data.bedCostSelfTotal
@@ -1201,6 +1204,9 @@ export default {
1201 1204
               that.info['material_cost_part_self_total'] =
1202 1205
                 response.data.data.materialCostPartSelfTotal
1203 1206
 
1207
+
1208
+
1209
+
1204 1210
               that.info['western_medicine_cost_total'] =
1205 1211
                 response.data.data.westernMedicineCostTotal
1206 1212
               that.info['western_medicine_cost_self_total'] =
@@ -1590,6 +1596,30 @@ export default {
1590 1596
                   that.info['department'] = response.data.data.department
1591 1597
                   that.info['health_card_no'] = response.data.data.health_card_no
1592 1598
 
1599
+
1600
+                  if(response.data.data.zcCostTotal){
1601
+                    that.info['zc_cost_total'] =
1602
+                      response.data.data.zcCostTotal
1603
+                  }else{
1604
+                    that.info['zc_cost_total'] = 0
1605
+                  }
1606
+
1607
+                  if(response.data.data.zcCostSelfTotal){
1608
+                    that.info['zc_cost_self_total'] =
1609
+                      response.data.data.zcCostSelfTotal
1610
+                  }else{
1611
+                    that.info['zc_cost_self_total'] = 0
1612
+                  }
1613
+
1614
+
1615
+                  if(response.data.data.zcCostPartSelfTotal){
1616
+                    that.info['zc_cost_part_self_total'] =
1617
+                      response.data.data.zcCostPartSelfTotal
1618
+                  }else{
1619
+                    that.info['zc_cost_part_self_total'] = 0
1620
+                  }
1621
+
1622
+
1593 1623
                   that.info['bed_cost_total'] = response.data.data.bedCostTotal
1594 1624
                   that.info['bed_cost_self_total'] =
1595 1625
                     response.data.data.bedCostSelfTotal
@@ -1648,6 +1678,27 @@ export default {
1648 1678
                     response.data.data.treatCostSelfTotal
1649 1679
                   that.info['treat_cost_part_self_total'] =
1650 1680
                     response.data.data.treatCostPartSelfTotal
1681
+
1682
+                  if(response.data.data.zcCostTotal){
1683
+                    that.info['zc_cost_total'] =
1684
+                      response.data.data.zcCostTotal
1685
+                  }else{
1686
+                    that.info['zc_cost_total'] = 0
1687
+                  }
1688
+                  if(response.data.data.zcCostSelfTotal){
1689
+                    that.info['zc_cost_self_total'] =
1690
+                      response.data.data.zcCostSelfTotal
1691
+                  }else{
1692
+                    that.info['zc_cost_self_total'] = 0
1693
+                  }
1694
+                  if(response.data.data.zcCostPartSelfTotal){
1695
+                    that.info['zc_cost_part_self_total'] =
1696
+                      response.data.data.zcCostPartSelfTotal
1697
+                  }else{
1698
+                    that.info['zc_cost_part_self_total'] = 0
1699
+                  }
1700
+
1701
+
1651 1702
                   that.info['date'] = response.data.data.date
1652 1703
                   that.info['number'] = response.data.data.number
1653 1704
                   that.info['order_infos'] = response.data.data.order_infos
@@ -1698,6 +1749,8 @@ export default {
1698 1749
                     response.data.data.otherSelfTotal
1699 1750
                   that.info['dia_config'] = response.data.data.dia_config
1700 1751
 
1752
+
1753
+
1701 1754
                   //org_id 10485,此代码为阳春恒健血液透析中心结算单模版数据处理逻辑
1702 1755
                   var list = []
1703 1756
                   //获取所有项目类型进行去重
@@ -1855,12 +1908,7 @@ export default {
1855 1908
                   }
1856 1909
                   that.info['funds'] = funds
1857 1910
 
1858
-                  that.info['zc_cost_total'] =
1859
-                    response.data.data.zcCostTotal
1860
-                  that.info['zc_cost_self_total'] =
1861
-                    response.data.data.zcCostSelfTotal
1862
-                  that.info['zc_cost_part_self_total'] =
1863
-                    response.data.data.zcCostPartSelfTotal
1911
+
1864 1912
 
1865 1913
                 }
1866 1914
               })

+ 1 - 1
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue View File

@@ -260,7 +260,7 @@
260 260
           parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
261 261
           parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
262 262
           parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
263
-          parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total) + parseFloat(info.zc_cost_total)).toFixed(2)}}
263
+          parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total) + parseFloat(info.zc_cost_self_total)).toFixed(2)}}
264 264
         </td>
265 265
         <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total) +
266 266
           parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +

+ 6 - 0
src/xt_pages/stock/drugs/drugStockInOrder.vue View File

@@ -291,6 +291,12 @@
291 291
             <span v-if="scope.row.is_total == 0"> {{ scope.row.batch_number }}</span>
292 292
           </template>
293 293
         </el-table-column>
294
+
295
+        <el-table-column label="药品追溯码" align="center">
296
+          <template slot-scope="scope">
297
+             {{ scope.row.drug_code }}
298
+          </template>
299
+        </el-table-column>
294 300
         <el-table-column label="仓库名称" align="center">
295 301
           <template slot-scope="scope">
296 302
             <span v-if="scope.row.is_total == 0">

+ 315 - 0
src/xt_pages/stock/selfPreparedMedicine/selfPatientDrugFlow.vue View File

@@ -0,0 +1,315 @@
1
+<template>
2
+    <div class="main-contain">
3
+      <div class="position">
4
+        <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+      </div>
6
+      <div class="app-container ">
7
+        <div class="cell clearfix">
8
+         药品名称:<span>{{getName(this.$route.query.drug_id)}}</span>&nbsp;
9
+         库存: {{this.$route.query.overCount}}{{ drug.min_unit }}
10
+         规格:<span>{{drug.dose}}{{drug.dose_unit}}*{{drug.min_number}}{{drug.min_unit}}/{{drug.max_unit}}</span>&nbsp;
11
+         厂家:<span>{{this.$route.query.manufacturer}}</span>&nbsp;
12
+        </div>
13
+        <div class="cell clearfix">
14
+          <span>日期查询:</span>
15
+          <el-date-picker
16
+              size="small"
17
+              v-model="start_time"
18
+              prefix-icon="el-icon-date"
19
+              :editable="false"
20
+              style="width: 196px;"
21
+              type="date"
22
+              placeholder="选择日期时间"
23
+              align="right"
24
+              format="yyyy-MM-dd"
25
+              value-format="yyyy-MM-dd"
26
+              @change="startTimeChange"
27
+             ></el-date-picker>-
28
+              <el-date-picker
29
+                size="small"
30
+                v-model="end_time"
31
+                prefix-icon="el-icon-date"
32
+                :editable="false"
33
+                style="width: 196px;margin-right:10px;"
34
+                type="date"
35
+                placeholder="选择日期时间"
36
+                align="right"
37
+                format="yyyy-MM-dd"
38
+                value-format="yyyy-MM-dd"
39
+                @change="endTimeChange"
40
+            ></el-date-picker>
41
+  
42
+          <span>出入库方式:</span>
43
+          <el-select v-model="stock_type" style="width:160px;margin-right:10px;" placeholder="请选择" @change="changeDrug">
44
+              <el-option
45
+                v-for="(item,index) in stockType"
46
+                :key="index"
47
+                :label="item.name"
48
+                :value="item.id">
49
+              </el-option>
50
+          </el-select>
51
+          
52
+          <!-- <span>
53
+            <el-button type="primary" size="small" @click="toExprot">导出</el-button>
54
+  
55
+            <el-button type="primary" size="small" @click="toTongBu">同步</el-button>
56
+          </span> -->
57
+          
58
+        </div>
59
+        
60
+         <el-table
61
+          :data="tableList"
62
+          border
63
+          style="width: 100%">
64
+          <el-table-column prop="date" label="序号" width="180" align="center">
65
+             <template  slot-scope="scope">
66
+                {{scope.$index + 1}}
67
+             </template>
68
+          </el-table-column>
69
+          <el-table-column prop="drug_type" label="出入库方式" width="180" align="center">
70
+             <template slot-scope="scope">
71
+               <span v-if="scope.row.consumable_type == 1">手动入库</span>
72
+               <span v-if="scope.row.consumable_type == 2">手动出库</span>
73
+               <span v-if="scope.row.consumable_type == 3">自动出库</span>
74
+               <span v-if="scope.row.consumable_type == 4">手动退库</span>
75
+               <span v-if="scope.row.consumable_type == 7">自动退库</span>
76
+               <span v-if="scope.row.consumable_type == 5">报损数量</span>
77
+               <span v-if="scope.row.consumable_type == 10">盘盈</span>
78
+               <span v-if="scope.row.consumable_type == 11">盘亏</span>
79
+               <span v-if="scope.row.consumable_type == 12">调拨出库</span>
80
+               <span v-if="scope.row.consumable_type == 13">调拨入库</span>
81
+               <span v-if="scope.row.consumable_type == 15">结算出库</span>
82
+               <span v-if="scope.row.consumable_type == 20">处方出库</span>
83
+             </template>
84
+          </el-table-column>
85
+          <el-table-column prop="drug_name" label="出/入库单据编码" align="center">
86
+             <template slot-scope="scope">
87
+               <span v-if="scope.row.consumable_type == 1">{{scope.row.warehousing_order}}</span>
88
+                <span v-if="scope.row.consumable_type == 2 || scope.row.consumable_type == 3 || scope.row.consumable_type == 12 || scope.row.consumable_type == 15 || scope.row.consumable_type==20">{{scope.row.warehouse_out_order_number}}</span>
89
+                <span v-if="scope.row.consumable_type == 4 || scope.row.consumable_type == 7">{{scope.row.cancel_order_number}}</span>
90
+                <span v-if="scope.row.consumable_type == 5">{{scope.row.warehouse_out_order_number}}</span>
91
+                <span v-if="scope.row.consumable_type == 10 || scope.row.consumable_type == 11 || scope.row.consumable_type == 13">{{scope.row.warehousing_order}}</span>
92
+             </template>
93
+          </el-table-column>
94
+          <el-table-column prop="drug_name" label="出库日期" align="center">
95
+             <template slot-scope="scope">
96
+               {{getTime(scope.row.ctime,"{y}-{h}-{d}")}}
97
+             </template>
98
+          </el-table-column>
99
+          <el-table-column prop="drug_name" label="操作日期" align="center">
100
+             <template slot-scope="scope">
101
+               {{getTime(scope.row.operate_time,"{y}-{h}-{d}")}}
102
+             </template>
103
+          </el-table-column>
104
+        
105
+          <el-table-column prop="drug_name" label="数量&单位" align="center">
106
+             <template slot-scope="scope">
107
+                <span v-if="scope.row.consumable_type != 2 &&  scope.row.consumable_type != 3 && scope.row.consumable_type != 5 && scope.row.consumable_type != 7">{{scope.row.count}}{{scope.row.max_unit}}</span>
108
+                <span v-if="(scope.row.consumable_type == 2 || scope.row.consumable_type == 3 || scope.row.consumable_type == 5 || scope.row.consumable_type == 7) && parseInt(scope.row.count/scope.row.drug.min_number) >0">{{parseInt(scope.row.count/scope.row.drug.min_number)}}{{scope.row.drug.max_unit}}</span>
109
+                <span v-if="(scope.row.consumable_type == 2 || scope.row.consumable_type == 3 || scope.row.consumable_type == 5 || scope.row.consumable_type == 7) && scope.row.count%scope.row.drug.min_number >0">{{scope.row.count%scope.row.drug.min_number}}{{scope.row.drug.min_unit}}</span>
110
+             </template>
111
+          </el-table-column>
112
+  
113
+       
114
+        
115
+           <el-table-column prop="drug_name" label="有效期" align="center">
116
+             <template slot-scope="scope">
117
+                {{getTime(scope.row.expire_date,"{y}-{h}-{d}")}}
118
+              
119
+             </template>
120
+          </el-table-column>
121
+         
122
+          <el-table-column prop="drug_name" label="使用人" align="center">
123
+             <template slot-scope="scope">
124
+               <span > {{getPatientName(scope.row.patient_id)}}</span>
125
+             </template>
126
+          </el-table-column>
127
+          <!-- <el-table-column prop="drug_name" label="剩余库存" align="center">
128
+             <template slot-scope="scope">
129
+                 {{ scope.row.over_count }} {{ drug.min_unit }}
130
+             </template>
131
+          </el-table-column> -->
132
+          <el-table-column prop="remark" label="备注" align="center">
133
+             <template slot-scope="scope">
134
+               <span > {{scope.row.remark}}</span>
135
+             </template>
136
+          </el-table-column>
137
+         </el-table>
138
+         
139
+        <el-pagination
140
+          @size-change="handleSizeChange"
141
+          @current-change="handleCurrentChange"
142
+          :page-sizes="[10, 50, 100,500,1000]"
143
+          :page-size="10"
144
+          background
145
+          align="right"
146
+          style="margin-top:20px;"
147
+          layout="total, sizes, prev, pager, next, jumper"
148
+          :total="total"
149
+        >
150
+        </el-pagination>
151
+      </div>
152
+  
153
+      <setting-dialog
154
+        ref="dialog"
155
+      ></setting-dialog>
156
+  
157
+    </div>
158
+  </template>
159
+
160
+  <script>
161
+
162
+  import { uParseTime } from '@/utils/tools'
163
+  import BreadCrumb from '@/xt_pages/components/bread-crumb'
164
+  import { getSelfDrugFlow }  from '@/api/drug/drug'
165
+  export default {
166
+    components: {
167
+      BreadCrumb
168
+    },
169
+    data(){
170
+      return{
171
+        crumbs: [
172
+          { path: false, name: '库存管理' },
173
+          { path: '/stock/drugs/stock/query', name: '药品库存查询' },
174
+          { path:'/drugstock/in/drugstockflow',name:'库存流水'}
175
+        ],
176
+        keywords: '',
177
+        total: 0,
178
+        multipleSelection: [],
179
+        signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
180
+        start_time: '',
181
+        end_time: '',
182
+        page: 1,
183
+        limit: 10,
184
+        goodType: [],
185
+        goodInfo: [],
186
+        tempArr: [],
187
+        sameRowArr: [],
188
+        WarehouseInfo: {
189
+          loading: false,
190
+          warehouseInfoDate: []
191
+        },
192
+        tableData:[],
193
+        drug_category:0,
194
+        stock_type:0,
195
+        drugCategory:[
196
+          {id:0,name:"全部"}
197
+        ],
198
+        drugTypeList:[],
199
+        tableList:[],
200
+        manufacturerList:[],
201
+        list:[],
202
+        stockType:[
203
+          {id:0,name:"全部"},
204
+          {id:1,name:"手动入库"},
205
+          {id:2,name:"手动出库"},
206
+          {id:3,name:"自动出库"},
207
+          {id:4,name:"手动退库"},
208
+          {id:10,name:"盘盈"},
209
+          {id:11,name:"盘亏"},
210
+          {id:12,name:"调拨出库"},
211
+          {id:13,name:"调拨入库"},
212
+          {id:15,name:"结算出库"}
213
+        ],
214
+        outList:[],
215
+        countList:[],
216
+        outCountList:[],
217
+        autoCountList:[],
218
+        drugOutList:[],
219
+        total:0,
220
+        houseList:[],
221
+        patientList:[],
222
+        drug:{},
223
+        patients:[]
224
+      }
225
+    },
226
+    created(){
227
+      this.getlist()
228
+    },
229
+    methods:{
230
+      startTimeChange: function(val) {
231
+      this.tableList = []
232
+      var time = this.getTimestamp(val) - this.getTimestamp(this.end_time);
233
+      
234
+      if (time > 0) {
235
+        this.$message.error("开始时间不能大于结束时间");
236
+        this.start_time = "";
237
+      } else {
238
+         
239
+         this.getlist()
240
+     
241
+      }
242
+    },
243
+    endTimeChange: function(val) {
244
+      this.tableList = []
245
+      var time = this.getTimestamp(val) - this.getTimestamp(this.start_time);
246
+      if (time < 0) {
247
+        this.$message.error("结束时间不能小于开始时间");
248
+        this.end_time = "";
249
+      } else {
250
+        this.getlist()
251
+      }
252
+     },
253
+     changeDrug(val){
254
+       this.tableList= []
255
+       this.stock_type = val
256
+       this.getlist()
257
+      },
258
+      handleSizeChange(val) {
259
+        this.limit = val
260
+        this.getlist()
261
+      },
262
+      handleCurrentChange(val) {
263
+        this.page = val
264
+        this.getlist()
265
+      },
266
+      getlist(){
267
+        var params = {
268
+             drug_id:this.$route.query.drug_id,
269
+             start_time:this.start_time,
270
+             end_time:this.end_time,
271
+             page:this.page,
272
+             limit:this.limit,
273
+             patient_id:this.$route.query.patient_id,
274
+         }
275
+        getSelfDrugFlow(params).then(response=>{
276
+           if(response.data.state ==1){
277
+              var list = response.data.data.list
278
+             
279
+              this.tableList =list
280
+              var total =  response.data.data.total
281
+              this.total = total
282
+              this.drug =response.data.data.drug
283
+              this.patientList= response.data.data.patients
284
+           }
285
+        })
286
+      },
287
+      getName(drug_id){
288
+        var name = ""
289
+        if(drug_id == this.drug.id){
290
+           name = this.drug.drug_name
291
+        }
292
+        return name
293
+     },
294
+     getTime(val) {
295
+      if(val < 0){
296
+          return ""
297
+      }
298
+      if(val == ""){
299
+        return ""
300
+      }else {
301
+        return uParseTime(val, '{y}-{m}-{d}')
302
+      }
303
+     },
304
+     getPatientName(id){
305
+       var name = ""
306
+       for(let i=0;i<this.patientList.length;i++){
307
+          if(id == this.patientList[i].id){
308
+              name = this.patientList[i].name
309
+          }
310
+       }
311
+       return name
312
+     },
313
+    }
314
+  }
315
+</script>

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

@@ -180,10 +180,10 @@ export default {
180 180
               name: '1-10',
181 181
               label: '出院小结'
182 182
             },
183
-            {
184
-              name: '1-12',
185
-              label: '转归记录'
186
-            }
183
+            // {
184
+            //   name: '1-12',
185
+            //   label: '转归记录'
186
+            // }
187 187
 
188 188
           ]
189 189
         },
@@ -281,6 +281,10 @@ export default {
281 281
             },
282 282
           ]
283 283
         },
284
+        {
285
+          name: '7',
286
+          label: '转归记录',
287
+        },
284 288
 
285 289
       ],
286 290
       name:""
@@ -334,8 +338,6 @@ export default {
334 338
         this.$router.push({path:'/patient/patient/'+this.id+'/hospitalSummary'})
335 339
       } else if(name == '1-11'){
336 340
         this.$router.push({path:'/patient/patient/'+this.id+'/firstDisease'})
337
-      }else if(name == '1-12'){
338
-        this.$router.push({path:'/patient/patient/'+this.id+'/lapsoSummary'})
339 341
       } else if(name == '3-1'){
340 342
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
341 343
 
@@ -386,6 +388,8 @@ export default {
386 388
         this.$router.push({path:'/patients/patient/' + this.id+'/Muscleforce'})
387 389
       }else if(name == '6-1'){
388 390
         this.$router.push({path: '/patients/patient/' + this.id+ '/Informedconsent'})
391
+      }else if(name == '7'){
392
+        this.$router.push({path:'/patient/patient/'+this.id+'/lapsoSummary'})
389 393
       }
390 394
 
391 395
     },
@@ -528,8 +532,6 @@ export default {
528 532
         })
529 533
       }else if(patientKey == '1-11'){
530 534
        this.$router.push({path: '/patients/patient/' + this.id + '/firstDisease'})
531
-      }else if(patientKey == '1-12'){
532
-        this.$router.push({path:'/patient/patient/'+this.id+'/lapsoSummary'})
533 535
       }else if (patientKey == '1-5') {
534 536
         this.$router.push({ path: '/patients/rescue?id=' + this.id })
535 537
       } else if (patientKey == '2-1') {
@@ -550,6 +552,8 @@ export default {
550 552
         })
551 553
       } else if (patientKey == '3-1') {
552 554
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
555
+      }else if(patientKey == '7'){
556
+        this.$router.push({path:'/patient/patient/'+this.id+'/lapsoSummary'})
553 557
       }
554 558
 
555 559
      }else{

+ 162 - 21
src/xt_pages/user/lapsoSummary.vue View File

@@ -1,23 +1,25 @@
1 1
 <template>
2 2
     <div class="patient-container">
3
-      <patient-sidebar :id="patientID" defaultActive="1-12" v-on:tran-patient="onTranPatient"></patient-sidebar>
3
+      <patient-sidebar :id="patientID" defaultActive="7" v-on:tran-patient="onTranPatient"></patient-sidebar>
4 4
       <div class="patient-app-container advice-container app-container">
5 5
         <div style="display:flex;justify-content: space-between;align-items: center;margin-bottom: 12px;">
6 6
            <span style="font-weight:bold;">转归记录列表</span>
7 7
            <el-button size="medium" type="primary" @click="dialogVisible =true">新增</el-button>
8 8
         </div>
9 9
         <el-table class="oictable" :data="tableData" border style="width:100%">
10
-        <el-table-column prop="start_time" label="转出日期" align="center">
10
+        <el-table-column prop="start_time" label="日期" align="center">
11 11
             <template slot-scope="scope">
12 12
               <span>{{ getTime(scope.row.record_date)}}</span>
13 13
             </template>
14 14
        </el-table-column>
15 15
         <el-table-column prop="blood_access_part_opera_id" label="转归类型" align="center">
16 16
           <template slot-scope="scope">
17
-             <span v-if="scope.row.lapse_type == 1">转出</span>
18
-             <span v-if="scope.row.lapse_type == 2">院内转诊</span>
17
+             <span v-if="scope.row.lapse_type == 1">转入</span>
18
+             <span v-if="scope.row.lapse_type == 2">转出</span>
19
+             <span v-if="scope.row.lapse_type == 3">死亡</span>
20
+             <span v-if="scope.row.lapse_type == 4">院内转诊</span>
19 21
           </template>
20
-       </el-table-column>
22
+        </el-table-column>
21 23
        <el-table-column prop="blood_access_part_id" label="转归分类" align="center">
22 24
           <template slot-scope="scope">
23 25
             <span v-if="scope.row.lapse_class == 1">终止透析</span>
@@ -29,7 +31,7 @@
29 31
             <span v-if="scope.row.lapse_class == 7">变更透析医院</span>
30 32
           </template>
31 33
        </el-table-column>
32
-        <el-table-column prop="inflow_pass" label="转归原因"  align="center">
34
+        <el-table-column prop="inflow_pass" label="原因"  align="center">
33 35
            <template slot-scope="scope">
34 36
               {{ scope.row.lapse_reason }}
35 37
            </template>
@@ -78,7 +80,7 @@
78 80
           :total="total"></el-pagination>
79 81
   
80 82
         <el-dialog
81
-            title="新增"
83
+            title="新增转归记录"
82 84
             :visible.sync="dialogVisible"
83 85
             width="65%"
84 86
             center>
@@ -98,17 +100,56 @@
98 100
                  </el-form-item>
99 101
               </el-col>
100 102
             </el-row>
101
-            <el-row :gutter="24">
103
+            <el-row :gutter="24" v-if="lapseto == 1">
104
+                <el-col :span="24">
105
+                    <el-form-item label="转归类型:"> 
106
+                        <el-radio-group style="padding: 10px;" v-model="lapse_type">
107
+                            <el-radio  label="2">转出</el-radio>
108
+                            <el-radio  label="3">死亡</el-radio>
109
+                            <el-radio  label="4">院内转诊</el-radio>
110
+                      </el-radio-group>
111
+                    </el-form-item>
112
+                </el-col>
113
+            </el-row>
114
+            <el-row :gutter="24" v-if="lapseto == 2">
102 115
                 <el-col :span="24">
103 116
                     <el-form-item label="转归类型:"> 
104 117
                         <el-radio-group style="padding: 10px;" v-model="lapse_type">
105
-                            <el-radio  label="1">转出</el-radio>
106
-                            <el-radio  label="2">院内转诊</el-radio>
118
+                            <el-radio  label="1">转入</el-radio>
119
+                      </el-radio-group>
120
+                    </el-form-item>
121
+                </el-col>
122
+            </el-row>
123
+
124
+            <el-row :gutter="24" v-if="lapse_type == 3">
125
+                <el-col :span="24">
126
+                    <el-form-item label="住院/门诊:"> 
127
+                      <el-radio-group style="padding: 10px;" v-model="his_type">
128
+                            <el-radio  label="1">门诊</el-radio>
129
+                            <el-radio  label="2">住院</el-radio>
107 130
                       </el-radio-group>
108 131
                     </el-form-item>
109 132
                 </el-col>
110 133
             </el-row>
111 134
 
135
+
136
+            <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
137
+                <el-col :span="24">
138
+                    <el-form-item label="病区:"> 
139
+                       <el-input style="width: 200px" v-model="his_zone"></el-input> 
140
+                    </el-form-item>
141
+                </el-col>
142
+            </el-row>
143
+
144
+            <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
145
+                <el-col :span="24">
146
+                    <el-form-item label="床号:"> 
147
+                        <el-input style="width: 200px" v-model="his_bed"></el-input> 
148
+                    </el-form-item>
149
+                </el-col>
150
+            </el-row>
151
+
152
+          
112 153
             <el-row :gutter="24">
113 154
                 <el-col :span="24">
114 155
                     <el-form-item label="转归分类:"> 
@@ -120,22 +161,26 @@
120 161
                             <el-radio  label="5">转腹膜透析</el-radio>
121 162
                             <el-radio  label="6">其他</el-radio>
122 163
                             <el-radio  label="7">变更透析医院</el-radio>
164
+                            <el-radio  label="8">住院</el-radio>
165
+                            <el-radio  label="9">转血透科</el-radio>
123 166
                       </el-radio-group>
124 167
                     </el-form-item>
125 168
                 </el-col>
126 169
             </el-row>
127 170
 
171
+            
172
+
128 173
             <el-row :gutter="24">
129 174
                 <el-col :span="24">
130
-                    <el-form-item label="转出原因:"> 
131
-                        <el-input style="width: 300px;height: 50px;"  type="textarea" v-model="lapse_reason"></el-input>
175
+                    <el-form-item label="原因:"> 
176
+                        <el-input style="width: 300px;height: 100px;"  type="textarea" v-model="lapse_reason"></el-input>
132 177
                     </el-form-item>
133 178
                 </el-col>
134 179
             </el-row>
135 180
 
136 181
             <el-row :gutter="24">
137 182
                 <el-col :span="24">
138
-                    <el-form-item label="转出日期:"> 
183
+                    <el-form-item label="日期:"> 
139 184
                         <el-date-picker
140 185
                             v-model="record_date"
141 186
                             type="date"
@@ -180,7 +225,7 @@
180 225
 
181 226
 
182 227
         <el-dialog
183
-            title="编辑"
228
+            title="编辑转归记录"
184 229
             :visible.sync="editDialogVisible"
185 230
             width="65%"
186 231
             center>
@@ -204,13 +249,42 @@
204 249
                 <el-col :span="24">
205 250
                     <el-form-item label="转归类型:"> 
206 251
                         <el-radio-group style="padding: 10px;" v-model="lapse_type">
207
-                            <el-radio  label="1">转出</el-radio>
208
-                            <el-radio  label="2">院内转诊</el-radio>
252
+                            <el-radio  label="2">转出</el-radio>
253
+                            <el-radio  label="3">死亡</el-radio>
254
+                            <el-radio  label="4">院内转诊</el-radio>
255
+                           
209 256
                       </el-radio-group>
210 257
                     </el-form-item>
211 258
                 </el-col>
212 259
             </el-row>
213 260
 
261
+            <el-row :gutter="24" v-if="lapse_type == 3">
262
+                <el-col :span="24">
263
+                    <el-form-item label="住院/门诊:"> 
264
+                      <el-radio-group style="padding: 10px;" v-model="his_type">
265
+                            <el-radio  label="1">门诊</el-radio>
266
+                            <el-radio  label="2">住院</el-radio>
267
+                      </el-radio-group>
268
+                    </el-form-item>
269
+                </el-col>
270
+            </el-row>
271
+
272
+            <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
273
+                <el-col :span="24">
274
+                    <el-form-item label="病区:"> 
275
+                       <el-input style="width: 200px" v-model="his_zone"></el-input> 
276
+                    </el-form-item>
277
+                </el-col>
278
+            </el-row>
279
+
280
+            <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
281
+                <el-col :span="24">
282
+                    <el-form-item label="床号:"> 
283
+                        <el-input style="width: 200px" v-model="his_bed"></el-input> 
284
+                    </el-form-item>
285
+                </el-col>
286
+            </el-row>
287
+
214 288
             <el-row :gutter="24">
215 289
                 <el-col :span="24">
216 290
                     <el-form-item label="转归分类:"> 
@@ -222,22 +296,26 @@
222 296
                             <el-radio  label="5">转腹膜透析</el-radio>
223 297
                             <el-radio  label="6">其他</el-radio>
224 298
                             <el-radio  label="7">变更透析医院</el-radio>
299
+                            <el-radio  label="8">住院</el-radio>
300
+                            <el-radio  label="9">转血透科</el-radio>
225 301
                       </el-radio-group>
226 302
                     </el-form-item>
227 303
                 </el-col>
228 304
             </el-row>
229 305
 
306
+         
307
+
230 308
             <el-row :gutter="24">
231 309
                 <el-col :span="24">
232
-                    <el-form-item label="转出原因:"> 
233
-                        <el-input style="width: 300px;height: 50px;"  type="textarea" v-model="lapse_reason"></el-input>
310
+                    <el-form-item label="原因:"> 
311
+                        <el-input style="width: 300px;height: 100px;"  type="textarea" v-model="lapse_reason"></el-input>
234 312
                     </el-form-item>
235 313
                 </el-col>
236 314
             </el-row>
237 315
 
238 316
             <el-row :gutter="24">
239 317
                 <el-col :span="24">
240
-                    <el-form-item label="转出日期:"> 
318
+                    <el-form-item label="日期:"> 
241 319
                         <el-date-picker
242 320
                             v-model="record_date"
243 321
                             type="date"
@@ -392,7 +470,11 @@
392 470
           page:1,
393 471
           total:0,
394 472
           id:0,
395
-          admin_user_id:this.$store.getters.xt_user.user.id
473
+          admin_user_id:this.$store.getters.xt_user.user.id,
474
+          lapseto:0,
475
+          his_type:"1",
476
+          his_zone:"",
477
+          his_bed:"",
396 478
         }
397 479
       },
398 480
       methods: {
@@ -445,7 +527,13 @@
445 527
         getPatientById(id).then(response=>{
446 528
            if(response.data.state ==1){
447 529
              var patient = response.data.data.patients
448
-            
530
+             if(patient.lapseto == 1){
531
+               this.lapse_type="2"
532
+             }
533
+             if(patient.lapseto == 2){
534
+               this.lapse_type="1"
535
+             }
536
+             this.lapseto = patient.lapseto
449 537
              this.dialysis_no = patient.dialysis_no
450 538
              this.name = patient.name
451 539
              
@@ -460,7 +548,44 @@
460 548
           }
461 549
         })
462 550
       },
551
+      getLapseType(id){
552
+        var name = ""
553
+        if(id == 1){
554
+          name = "终止透析"
555
+        }
556
+        if(id == 2){
557
+          name = "转出院外"
558
+        }
559
+        if(id == 3){
560
+          name = "回居住地透析"
561
+        }
562
+        if(id == 4){
563
+          name = "临时透析"
564
+        }
565
+        if(id == 5){
566
+          name = "转腹膜透析"
567
+        }
568
+        if(id == 6){
569
+          name = "其他"
570
+        }
571
+        if(id == 7){
572
+          name = "变更透析医院"
573
+        }
574
+        if(id == 8){
575
+          name = "住院"
576
+        }
577
+        if(id == 9){
578
+          name = "转血透科"
579
+        }
580
+
581
+        return name
582
+
583
+      },
463 584
       savePatientLapse(){
585
+          if(this.lapse_type!=1 && this.lapse_reason == ""){
586
+             this.$message.error("转出或者死亡原因不能为空!")
587
+             return false
588
+          }
464 589
           var params = {
465 590
             patient_id:this.patientID,
466 591
             lapse_type:parseInt(this.lapse_type),
@@ -469,6 +594,10 @@
469 594
             record_date:this.record_date,
470 595
             admin_user_id:this.admin_user_id,
471 596
             remark:this.remark,
597
+            lapse_type_name:this.getLapseType(this.lapse_type),
598
+            his_bed:this.his_bed,
599
+            his_type: parseInt(this.his_type),
600
+            his_zone:this.his_zone,
472 601
           }
473 602
           console.log("params=====",params)
474 603
         savePatientLapse(params).then(response=>{
@@ -509,6 +638,9 @@
509 638
              this.record_date = this.getTime(lapsorecord.record_date)
510 639
              this.remark = lapsorecord.remark
511 640
              this.admin_user_id = lapsorecord.admin_user_id
641
+             this.his_bed = lapsorecord.his_bed
642
+             this.his_zone = lapsorecord.his_zone
643
+             this.his_type = lapsorecord.his_type
512 644
              this.id = lapsorecord.id
513 645
              this.editDialogVisible = true
514 646
            
@@ -517,16 +649,25 @@
517 649
 
518 650
       },
519 651
       updatePatientLapse(){
652
+        if (this.lapse_type !=1 &&this.lapse_reason == ""){
653
+             this.$message.error("转出或者死亡原因不能为空!")
654
+             return false
655
+        }
520 656
         var params = {
521 657
             patient_id:this.patientID,
522 658
             lapse_type:parseInt(this.lapse_type),
523 659
             lapse_class:parseInt(this.lapse_class), 
660
+            lapse_type_name:this.getLapseType(this.lapse_type),
524 661
             lapse_reason:this.lapse_reason,
525 662
             record_date:this.record_date,
526 663
             admin_user_id:this.admin_user_id,
527 664
             remark:this.remark,
528 665
             id:this.id,
666
+            his_bed:this.his_bed,
667
+            his_type:parseInt(this.his_type),
668
+            his_zone:this.his_zone,
529 669
           }
670
+         
530 671
         updatePatientLapseRecord(params).then(response=>{
531 672
            if(response.data.state== 1){
532 673
              var record = response.data.data.record

+ 0 - 0
src/xt_pages/user/newInspection.vue View File


+ 14 - 9
src/xt_pages/user/patients.vue View File

@@ -466,6 +466,7 @@
466 466
         </el-table-column>
467 467
         <el-table-column label="操作" align="center" min-width="140">
468 468
           <template slot-scope="scope">
469
+           
469 470
             <el-tooltip
470 471
               class="item"
471 472
               effect="dark"
@@ -478,6 +479,7 @@
478 479
                 size="small"
479 480
                 @click="OpenSetLapseto(scope.row, scope.$index)"
480 481
               ></el-button>
482
+              
481 483
             </el-tooltip>
482 484
             <el-tooltip
483 485
               class="item"
@@ -1421,15 +1423,18 @@
1421 1423
         )
1422 1424
       },
1423 1425
       OpenSetLapseto(row, index) {
1424
-        // if(row.lapseto == 1){
1425
-        //   this.lapeseto = "转出"
1426
-        // }
1427
-        // if(row.lapseto == 2){
1428
-        //   this.lapeseto = "留治"
1429
-        // }
1430
-        // if(row.lapeseto == 3){
1431
-        //   this.lapeseto = "死亡"
1432
-        // }
1426
+        //  this.$router.push({path:"/patients/patient/"+row.id})
1427
+        // this.$router.push({path:'/patient/patient/'+row.id+'/lapsoSummary'})
1428
+       
1429
+        if(row.lapseto == 1){
1430
+          this.lapeseto = "转出"
1431
+        }
1432
+        if(row.lapseto == 2){
1433
+          this.lapeseto = "留治"
1434
+        }
1435
+        if(row.lapeseto == 3){
1436
+          this.lapeseto = "死亡"
1437
+        }
1433 1438
         this.patient = row
1434 1439
         this.currentIndex = index
1435 1440
         this.lapsetoForm.lapseto_time = ''

+ 29 - 0
src/xt_pages/workforce/remind_print.vue View File

@@ -33,6 +33,8 @@
33 33
                   <td width="50" v-if="printObj.mode == 1">透析模式</td>
34 34
                   <td width="100" v-if="printObj.dialyzers == 1 && printObj.perfusion_apparatus == 1">透析器/灌流器</td>
35 35
                   <td width="100" v-if="printObj.anticoagulant==1">抗凝剂(商品名称)</td>
36
+                  <td width="30" v-if="printObj.anticoagulant_zongliang == 1">首剂</td>
37
+                  <td width="30" v-if="printObj.anticoagulant_zongliang == 1">维持</td>
36 38
                   <td width="30" v-if="printObj.anticoagulant_zongliang == 1">总量</td>
37 39
                   <td width="">血管通路</td>
38 40
                   <td width="300" v-if="printObj.doctor_advice == 1">长期医嘱</td>
@@ -79,6 +81,33 @@
79 81
                     (<span>{{main_collection.prescription.antioxidant_commodity_name}}</span>)
80 82
                   </span>
81 83
                 </td>
84
+                <td v-if="printObj.anticoagulant_zongliang == 1">
85
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'mg':''}}</span>
86
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'iu':''}}</span>
87
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'iu':''}}</span>
88
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'mg':''}}</span>
89
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'mg':''}}</span>
90
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'iu':''}}</span>
91
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'iu':''}}</span>
92
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 8">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'iu':''}}</span>
93
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'iu':''}}</span>
94
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'iu':''}}</span>
95
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">{{main_collection.dialysissolution.anticoagulant_shouji?main_collection.dialysissolution.anticoagulant_shouji+'iu':''}}</span>
96
+                </td>
97
+
98
+                <td v-if="printObj.anticoagulant_zongliang == 1">
99
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'mg/h':''}}</span>
100
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'iu/h':''}}</span>
101
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'iu/h':''}}</span>
102
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'mg/h':''}}</span>
103
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'mg/h':''}}</span>
104
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'iu/h':''}}</span>
105
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'iu/h':''}}</span>
106
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 8">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'iu/h':''}}</span>
107
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'iu/h':''}}</span>
108
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'iu/h':''}}</span>
109
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">{{main_collection.dialysissolution.anticoagulant_weichi?main_collection.dialysissolution.anticoagulant_weichi+'iu/h':''}}</span>
110
+                </td>
82 111
               
83 112
                 <td v-if="printObj.anticoagulant_zongliang == 1">
84 113
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_zongliang?main_collection.dialysissolution.anticoagulant_zongliang+'mg':''}}</span>

+ 13 - 13
src/xt_permission.js View File

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))