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

陈少旭 9 miesięcy temu
rodzic
commit
7d2c86e793

+ 20 - 21
src/xt_pages/DepositManagement/DepositRefund.vue Wyświetl plik

@@ -20,28 +20,24 @@
20 20
             </el-button>
21 21
           </div>
22 22
         </div>
23
-        <div
24
-          style="
25
-            justify-content: flex-start;
26
-            margin: 0px 0 12px 0;
27
-            display: flex;
23
+        <div style=" justify-content: flex-start;
24
+            margin: 0px 0 12px 0; display: flex;
28 25
             align-items: center;
29 26
           "
30 27
         >
31
-          <div style="display: flex">
32
-            <div style="width: 250px">
28
+            <div style="flex: 1;">
33 29
               <el-input
34 30
                 size="small"
35
-                style="width: 200px; margin-left: 10px"
31
+                style="width: 200px;"
36 32
                 class="filter-item"
37 33
                 placeholder="请输入编号/患者名称"
38 34
                 v-model.trim="tmp_keyword"
39 35
               />
40 36
             </div>
41 37
 
42
-            <div style="width: 287px;margin-right: 30px;white-space: nowrap;">
38
+            <div style="flex: 1;white-space: nowrap;">
43 39
               退款类型:
44
-              <el-select v-model="tmp_refundtype" placeholder="请选择" @change="updaterefundtype">
40
+              <el-select v-model="tmp_refundtype" placeholder="请选择" @change="updaterefundtype" style="width: 130px;">
45 41
                 <el-option
46 42
                   v-for="item in refundtypelist"
47 43
                   :key="item.name"
@@ -52,9 +48,9 @@
52 48
               </el-select>
53 49
             </div>
54 50
 
55
-            <div style="width: 288px;margin-right: 30px;white-space: nowrap;">
51
+            <div style="white-space: nowrap;flex: 1;">
56 52
               审核状态:
57
-              <el-select v-model="tmp_examinetype" placeholder="请选择" @change="updateexaminetype">
53
+              <el-select v-model="tmp_examinetype" placeholder="请选择" @change="updateexaminetype" style="width: 130px;">
58 54
                 <el-option
59 55
                   v-for="item in examinelist"
60 56
                   :key="item.name"
@@ -65,7 +61,7 @@
65 61
               </el-select>
66 62
             </div>
67 63
 
68
-            <div style="width: 465px;white-space: nowrap;">
64
+            <div style="white-space: nowrap;flex: 1;">
69 65
               <span>日期查询:</span>
70 66
               <el-date-picker
71 67
                 unlink-panels
@@ -79,16 +75,19 @@
79 75
               >
80 76
               </el-date-picker>
81 77
             </div>
82
-            <el-button
83
-              size="small"
84
-              class="filter-item"
85
-              type="primary"
86
-              icon="el-icon-search"
87
-              @click="search_tmp"
78
+            <div style="margin-left: 5px;">
79
+              <el-button
80
+                size="small"
81
+                class="filter-item"
82
+                type="primary"
83
+                icon="el-icon-search"
84
+                @click="search_tmp"
88 85
               >查询</el-button
89
-            >
86
+              >
87
+            </div>
88
+           
90 89
           </div>
91
-        </div>
90
+
92 91
         <el-table
93 92
           ref="multipleTable"
94 93
           :header-cell-style="{

+ 2 - 2
src/xt_pages/data/basicConfig.vue Wyświetl plik

@@ -46,9 +46,9 @@
46 46
                 <el-switch v-model="good_out_open" @change="changeGoodOutOpen"></el-switch>
47 47
             </p>
48 48
 
49
-            <p style="margin-top:20px;">药品耗材在结算时出库:
49
+            <!-- <p style="margin-top:20px;">药品耗材在结算时出库:
50 50
                 <el-switch v-model="drug_settle_open" @change="changeSettleOpen"></el-switch>
51
-            </p>
51
+            </p> -->
52 52
         </div>
53 53
 
54 54
 

+ 13 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Wyświetl plik

@@ -1586,7 +1586,7 @@
1586 1586
                           <td width="50" v-if="org_id == 10478 || org_id ==10510">动脉压<br />(mmHg)</td>
1587 1587
                           <td width="50">静脉压<br />(mmHg)</td>
1588 1588
                           <td width="50">跨膜压<br />(mmHg)</td>
1589
-                          <td width="60" v-if="org_id != 9836">
1589
+                          <td width="60" v-if="org_id != 9836 && org_id!=10644">
1590 1590
                             透析液温度(°C)
1591 1591
                           </td>
1592 1592
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
@@ -1597,7 +1597,8 @@
1597 1597
                               org_id != 10121 &&
1598 1598
                               org_id != 9675 &&
1599 1599
                               org_id!=10490  &&
1600
-                              org_id!=10600
1600
+                              org_id!=10600 &&
1601
+                              org_id!=10644
1601 1602
                             "
1602 1603
                           >
1603 1604
                             电导度<br />(ms/cm)
@@ -1650,7 +1651,10 @@
1650 1651
                               org_id == 9671 ||
1651 1652
                               org_id ==10600 ||
1652 1653
                               org_id ==10629 ||
1653
-                              org_id == 10510
1654
+                              org_id == 10510 ||
1655
+                              org_id == 0 ||
1656
+                              org_id == 10598
1657
+
1654 1658
                             "
1655 1659
                           >
1656 1660
                             KT/V
@@ -1757,7 +1761,7 @@
1757 1761
                                 : "/"
1758 1762
                             }}
1759 1763
                           </td>
1760
-                          <td v-if="org_id != 9836">
1764
+                          <td v-if="org_id != 9836 && org_id!=10644">
1761 1765
                             {{
1762 1766
                               monitor_record.dialysate_temperature
1763 1767
                                 ? monitor_record.dialysate_temperature
@@ -1779,7 +1783,8 @@
1779 1783
                               org_id != 10121 &&
1780 1784
                               org_id != 9675 && 
1781 1785
                               org_id!=10490 &&
1782
-                              org_id!=10600
1786
+                              org_id!=10600 &&
1787
+                              org_id!=10644
1783 1788
                             "
1784 1789
                           >
1785 1790
                             {{
@@ -1883,7 +1888,9 @@
1883 1888
                               org_id == 9671 ||
1884 1889
                               org_id == 10600 ||
1885 1890
                               org_id ==10629 ||
1886
-                              org_id ==10510
1891
+                              org_id ==10510 ||
1892
+                              org_id== 0 ||
1893
+                              org_id ==10598
1887 1894
                             "
1888 1895
                           >
1889 1896
                             {{ monitor_record.ktv }}

+ 20 - 9
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue Wyświetl plik

@@ -727,7 +727,9 @@
727 727
                           class="under_line"
728 728
                           style="width: 100px; text-align: center"
729 729
                         >
730
-                          /
730
+                        {{
731
+                          getDisplaceLiquiPart(record.prescription.displace_liqui_part)
732
+                        }}
731 733
                         </div>
732 734
                       </div>
733 735
                       <div
@@ -1748,7 +1750,7 @@
1748 1750
                               font-weight: 520;
1749 1751
                               font-size: 16px;
1750 1752
                               padding: 6px 8px;
1751
-                              line-height: 30px;
1753
+                              line-height: 24px;
1752 1754
                             "
1753 1755
                           >
1754 1756
                             医嘱内容
@@ -1785,7 +1787,7 @@
1785 1787
                             </td>
1786 1788
 
1787 1789
                             <td
1788
-                              height="35px"
1790
+                              height="26px"
1789 1791
                               colspan="2"
1790 1792
                               class="advice-name"
1791 1793
                               style="padding-left: 7px"
@@ -1809,7 +1811,7 @@
1809 1811
                               >
1810 1812
                               <span v-if="advice[0].single_dose != 0">
1811 1813
 
1812
-                                <span v-if="advice[0].advice_name!='血液透析滤过'"> {{ advice[0].single_dose}}{{ advice[0].single_dose_unit }}</span>
1814
+                                <span v-if="advice[0].advice_name!='血液透析滤过'&& advice[0].advice_name!='血液透析' && advice[0].advice_name!='电脑血糖监测'"> {{ advice[0].single_dose}}{{ advice[0].single_dose_unit }}</span>
1813 1815
                                 </span
1814 1816
                               >
1815 1817
 
@@ -3118,9 +3120,11 @@ export default {
3118 3120
         "腹痛",
3119 3121
       ],
3120 3122
       org_id: "",
3123
+      displaceLiquiPartOptions:[]
3121 3124
     };
3122 3125
   },
3123 3126
   created() {
3127
+    this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
3124 3128
     var bloodAccessParOpera = getDataConfig(
3125 3129
       "hemodialysis",
3126 3130
       "vascular_access_desc"
@@ -3233,11 +3237,8 @@ export default {
3233 3237
             }
3234 3238
 
3235 3239
             var delghTwo = 0;
3236
-            if (
3237
-              this.records[recordIndex].advices &&
3238
-              this.records[recordIndex].advices.length < 10
3239
-            ) {
3240
-              delghTwo = 10 - this.records[recordIndex].advices.length;
3240
+            if (this.records[recordIndex].advices &&this.records[recordIndex].advices.length < 18) {
3241
+              delghTwo =  this.records[recordIndex].advices.length;
3241 3242
             } else {
3242 3243
               delghTwo = 0;
3243 3244
             }
@@ -3348,6 +3349,16 @@ export default {
3348 3349
       });
3349 3350
   },
3350 3351
   methods: {
3352
+    getDisplaceLiquiPart: function (val) {
3353
+      let displace_liqui_part_name = "/";
3354
+      const displace_liqui_part = this.displaceLiquiPartOptions;
3355
+      for (let i = 0; i < displace_liqui_part.length; i++) {
3356
+        if (displace_liqui_part[i].id == val) {
3357
+          displace_liqui_part_name = displace_liqui_part[i].name;
3358
+        }
3359
+      }
3360
+      return displace_liqui_part_name;
3361
+    },
3351 3362
     getUnit: function (val) {
3352 3363
       if (val.assessment_after_dislysis == null) {
3353 3364
         return "";

+ 16 - 2
src/xt_pages/dialysis/details/index.vue Wyświetl plik

@@ -538,7 +538,10 @@
538 538
                 </div>
539 539
                 <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
540 540
                   <div style="">透析时长:
541
-                   <span>{{main_collection.prescription.dialysis_duration_hour }}小时 <span v-if="main_collection.prescription.dialysis_duration_minute>0">{{main_collection.prescription.dialysis_duration_minute }}分 </span></span>
541
+                   <span>{{main_collection.prescription.dialysis_duration_hour }}小时 <span v-if="main_collection.prescription.dialysis_duration_minute>0">{{main_collection.prescription.dialysis_duration_minute }}分 </span></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
542
+                  </div>
543
+                  <div style="">置换方式:
544
+                    {{ getDisplaceLiquiPart(main_collection.prescription.displace_liqui_part) }}
542 545
                   </div>
543 546
                 </div>
544 547
               </div>
@@ -1548,10 +1551,11 @@ export default {
1548 1551
       // end_time2:'',
1549 1552
       first_monitor:{},
1550 1553
       last_monitor:{},
1554
+      displaceLiquiPartOptions:[]
1551 1555
     }
1552 1556
   },
1553 1557
   created() {
1554
-
1558
+   this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
1555 1559
    this.blood_access_part_opera = getDataConfig('hemodialysis', 'vascular_access_desc')
1556 1560
    this.org_id = this.$store.getters.xt_user.org.id,
1557 1561
    this.printDate = moment().format("YYYY-MM-DD HH:mm:ss")
@@ -1766,6 +1770,16 @@ export default {
1766 1770
     this.websocketSend(unObj)
1767 1771
   },
1768 1772
   methods: {
1773
+    getDisplaceLiquiPart: function (val) {
1774
+      let displace_liqui_part_name = "/";
1775
+      const displace_liqui_part = this.displaceLiquiPartOptions;
1776
+      for (let i = 0; i < displace_liqui_part.length; i++) {
1777
+        if (displace_liqui_part[i].id == val) {
1778
+          displace_liqui_part_name = displace_liqui_part[i].name;
1779
+        }
1780
+      }
1781
+      return displace_liqui_part_name;
1782
+    },
1769 1783
     getModeName(id){
1770 1784
         var name = ""
1771 1785
         if(id == 1){

+ 27 - 2
src/xt_pages/dialysis/dialysisPrintOrder.vue Wyświetl plik

@@ -928,6 +928,18 @@
928 928
         >
929 929
         </div>
930 930
       </template>
931
+      <template v-if="org_template_info.template_id == 75">
932
+        <div>
933
+          <el-button
934
+          :loading="loading"
935
+          size="small"
936
+          icon="el-icon-printer"
937
+          @click="printThisPage"
938
+          type="primary"
939
+          >打印</el-button
940
+        >
941
+        </div>
942
+      </template>
931 943
     </div>
932 944
     <div class="app-container" style="min-height: 0">
933 945
       <!--<div class="order-print-btn"-->
@@ -1429,6 +1441,10 @@
1429 1441
             v-if="org_template_info.template_id == 74">
1430 1442
 
1431 1443
           </DialysisPrintOrderSop>
1444
+          <DialysisPrintOrderseventyfive v-bind:childResponse="childResponse"
1445
+            v-if="org_template_info.template_id == 75">
1446
+
1447
+          </DialysisPrintOrderseventyfive>
1432 1448
         </div>
1433 1449
       </el-container>
1434 1450
     </div>
@@ -1521,6 +1537,7 @@ import DialysisPrintOrderseventyone from './template/DialysisPrintOrderseventyon
1521 1537
 import DialysisPrintOrderSeventyTwo from './template/DialysisPrintOrderSeventyTwo'
1522 1538
 import DialysisPrintOrderSeventythree from './template/DialysisPrintOrderSeventythree'
1523 1539
 import DialysisPrintOrderSop from './template/DialysisPrintOrderSop'
1540
+import DialysisPrintOrderseventyfive from './template/DialysisPrintOrderseventyfive'
1524 1541
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1525 1542
 export default {
1526 1543
   name: "dialysisPrintOrder",
@@ -1599,6 +1616,7 @@ export default {
1599 1616
     DialysisPrintOrderSeventyTwo,
1600 1617
     DialysisPrintOrderSeventythree,
1601 1618
     DialysisPrintOrderSop,
1619
+    DialysisPrintOrderseventyfive,
1602 1620
     DialysisPrintOrderZero,
1603 1621
     LabelBox,
1604 1622
     BreadCrumb,
@@ -1772,7 +1790,7 @@ export default {
1772 1790
       // if(this.$store.getters.xt_user.org.id == 0){
1773 1791
       //   this.org_template_info.template_id = 65
1774 1792
       // }
1775
-
1793
+      console.log('0000000011111',this.org_template_info.template_id);
1776 1794
       var ptime = Math.round(new Date().getTime() / 1000);
1777 1795
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
1778 1796
 
@@ -2274,6 +2292,13 @@ export default {
2274 2292
           style: style4,
2275 2293
           scanStyles: false,
2276 2294
         });
2295
+      }else if (this.org_template_info.template_id == 75) {
2296
+        printJS({
2297
+          printable: "dialysis-print-box-1",
2298
+          type: "html",
2299
+          style: style2,
2300
+          scanStyles: false,
2301
+        });
2277 2302
       }
2278 2303
        else if (this.org_template_info.template_id == 199 ) {
2279 2304
         printJS({
@@ -2915,7 +2940,7 @@ export default {
2915 2940
     changePatient(schedual) {
2916 2941
       console.log('schedual',schedual);
2917 2942
       var xtdate = parseTime(schedual.schedule_date, "{y}-{m}-{d}");
2918
-      console.log('fffff',this.org_template_info.template_id);
2943
+      console.log('fffff打印单单号',this.org_template_info.template_id);
2919 2944
       this.x_tdate=xtdate
2920 2945
 
2921 2946
       // this.queryParams.xtdate = xtdate;

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

@@ -1713,8 +1713,8 @@
1713 1713
                         <td width="60" v-if="org_id == 9836">体温(°C)</td>
1714 1714
                         <td width="60" v-if="org_id == 9919">血温(°C)</td>
1715 1715
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1716
-                        <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671">透析液温度(°C)</td>
1717
-                        <td width="50" v-if="org_id != 10121 &&  org_id!=10600">
1716
+                        <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671 && org_id!=10644">透析液温度(°C)</td>
1717
+                        <td width="50" v-if="org_id != 10121 &&  org_id!=10600 && org_id!=10644">
1718 1718
                           <span v-if="org_id != 0 && org_id !=10469 && org_id!=10490 "> 电导度<br />(ms/cm)</span>
1719 1719
                           <span v-if="org_id ==10469"> 钠浓度<br />(mmol/L)</span>
1720 1720
                           <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span>
@@ -1729,8 +1729,8 @@
1729 1729
                           <span v-if="org_id!=10598">(ml)</span>
1730 1730
                           <span v-if="org_id==10598">(L)</span>
1731 1731
                         </td>
1732
-                        <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1733
-                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629 || org_id ==10510">KT/V</td>
1732
+                        <td width="50" v-if="org_id == 3877 || org_id == 10449">滤前压(mmHg)</td>
1733
+                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id == 10580 || org_id == 0 || org_id == 10598">KT/V</td>
1734 1734
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1735 1735
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1736 1736
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
@@ -1812,7 +1812,7 @@
1812 1812
                           {{ monitor.temperature ? monitor.temperature : "" }}
1813 1813
                         </td>
1814 1814
 
1815
-                         <td v-if="org_id!=9919 && org_id!=9671 && org_id!=9836">
1815
+                         <td v-if="org_id!=9919 && org_id!=9671 && org_id!=9836 && org_id!=10644">
1816 1816
                           {{monitor.dialysate_temperature? monitor.dialysate_temperature: ""}}
1817 1817
                         </td>
1818 1818
 
@@ -1826,7 +1826,7 @@
1826 1826
                         </td>
1827 1827
 
1828 1828
 
1829
-                        <td v-if="org_id != 9538 &&org_id != 10121 &&org_id!=10600">
1829
+                        <td v-if="org_id != 9538 &&org_id != 10121 &&org_id!=10600 && org_id!=10644">
1830 1830
                           <span v-if="org_id!=0&&org_id!=10469 && org_id!=10490"> {{ monitor.conductivity ? monitor.conductivity : "" }}</span>
1831 1831
                           <span v-if="org_id==10469"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1832 1832
                           <span v-if="org_id==0||org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}</span>
@@ -1867,7 +1867,7 @@
1867 1867
                           </span>
1868 1868
                         </td>
1869 1869
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
1870
-                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629 || org_id ==10510">
1870
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id ==10580 || org_id == 0 || org_id ==10598">
1871 1871
                           {{ monitor.ktv?monitor.ktv:"" }}
1872 1872
                         </td>
1873 1873
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
@@ -1967,7 +1967,7 @@
1967 1967
                           "
1968 1968
                           width="50"
1969 1969
                         ></td>
1970
-                        <td v-if="org_id == 9919||org_id == 9538 || org_id == 9671"></td>
1970
+                        <td v-if="org_id == 9919||org_id == 9538 || org_id == 9671 || org_id == 0"></td>
1971 1971
                         <td v-if="org_id == 9538"></td>
1972 1972
                         <td v-if="org_id == 10598 || org_id == 0"></td>
1973 1973
                         <td v-if="org_id == 10490 || org_id == 0"></td>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue Wyświetl plik

@@ -1579,7 +1579,7 @@
1579 1579
                             }}{{ advice.prescribing_number_unit }}</span
1580 1580
                           >
1581 1581
                           <span v-if="advice.single_dose != 0">
1582
-                            <span v-if="advice.advice_name!='血液透析滤过'">
1582
+                            <span v-if="advice.advice_name!='血液透析滤过'&&advice.advice_name!='血液透析'&&advice.advice_name!='电脑血糖监测'">
1583 1583
                               {{ advice.single_dose}}{{ advice.single_dose_unit }}
1584 1584
                             </span>
1585 1585
                             </span>

Plik diff jest za duży
+ 2485 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue


+ 1 - 1
src/xt_pages/outpatientCharges/allListTemplate/printFour.vue Wyświetl plik

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div id="allList-print" class="allList-print">
3
-    <div v-for='(i,index) in pageArr.length' :key="index">
3
+    <div v-for='(i,index) in pageArr.length' :key="index" style="page-break-after: always;">
4 4
       <div class="allListTitle">{{ $store.getters.xt_user.org.org_name }}费用汇总</div>
5 5
       <div class="allListInfo">
6 6
         <div>患者姓名:{{ patient.name }}</div>

+ 19 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Wyświetl plik

@@ -646,9 +646,14 @@
646 646
                 </div>
647 647
                 <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
648 648
                   <div style="">透析时长:
649
-                   <span>{{main_collection.prescription.dialysis_duration_hour }}小时 <span v-if="main_collection.prescription.dialysis_duration_minute>0">{{main_collection.prescription.dialysis_duration_minute }}分</span></span>
649
+                   <span>{{main_collection.prescription.dialysis_duration_hour }}小时 <span v-if="main_collection.prescription.dialysis_duration_minute>0">{{main_collection.prescription.dialysis_duration_minute }}分</span></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
650
+                  </div>
651
+                  <div style="">置换方式:
652
+                    {{ getDisplaceLiquiPart(main_collection.prescription.displace_liqui_part) }}
650 653
                   </div>
651 654
                 </div>
655
+
656
+               
652 657
               </div>
653 658
             </div>
654 659
           </div>
@@ -786,11 +791,22 @@ export default {
786 791
       patient_diagnoses: [],
787 792
       // zuobiao_project:[],
788 793
       befor:{},
789
-      LastCaseHistory:{}
794
+      LastCaseHistory:{},
795
+      displaceLiquiPartOptions:[],
790 796
     }
791 797
   },
792 798
 
793 799
   methods: {
800
+    getDisplaceLiquiPart: function (val) {
801
+      let displace_liqui_part_name = "/";
802
+      const displace_liqui_part = this.displaceLiquiPartOptions;
803
+      for (let i = 0; i < displace_liqui_part.length; i++) {
804
+        if (displace_liqui_part[i].id == val) {
805
+          displace_liqui_part_name = displace_liqui_part[i].name;
806
+        }
807
+      }
808
+      return displace_liqui_part_name;
809
+    },
794 810
     open_four(){
795 811
       this.$refs.prescriptions.getZuobiaoGoodStock()
796 812
       this.$refs.prescriptions.getZuobiaoDrugStock()
@@ -6072,6 +6088,7 @@ export default {
6072 6088
 
6073 6089
   },
6074 6090
   created() {
6091
+    this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
6075 6092
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
6076 6093
     this.printDate = moment().format('YYYY-MM-DD HH:mm:ss')
6077 6094
     this.$nextTick(() => {

+ 15 - 12
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Wyświetl plik

@@ -744,16 +744,16 @@
744 744
       },
745 745
 
746 746
       searchProjectAction() {
747
-
747
+        const tabProject1 = this.allProject
748 748
         if (this.search_project_keyword.length == 0) {
749 749
           this.tabProject = this.allProject
750 750
 
751 751
         } else {
752 752
           let arr = []
753
-          for (let i = 0; i < this.tabProject.length; i++) {
754
-            if (this.tabProject[i].project_name.indexOf(this.search_project_keyword) != -1 ||
755
-            this.tabProject[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
756
-              arr = arr.concat(this.tabProject[i])
753
+          for (let i = 0; i < tabProject1.length; i++) {
754
+            if (tabProject1[i].project_name.indexOf(this.search_project_keyword) != -1 ||
755
+            tabProject1[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
756
+              arr = arr.concat(tabProject1[i])
757 757
             }
758 758
           }
759 759
           this.tabProject = arr
@@ -761,20 +761,20 @@
761 761
         }
762 762
       },
763 763
       searchAction() {
764
+        const drugs1 = this.allDrugs
764 765
         if (this.search_keyword.length == 0) {
765 766
           this.drugs = this.allDrugs
766 767
         } else {
767 768
           let arr = []
768
-          for (let i = 0; i < this.drugs.length; i++) {
769
-            if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 ||
770
-            this.drugs[i].wubi.indexOf(this.search_keyword) != -1 ||
771
-            this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
772
-            this.drugs[i].first_letter.indexOf(this.search_keyword) != -1) {
773
-              arr = arr.concat(this.drugs[i])
769
+          for (let i = 0; i < drugs1.length; i++) {
770
+            if (drugs1[i].drug_name.indexOf(this.search_keyword) != -1 ||
771
+            drugs1[i].wubi.indexOf(this.search_keyword) != -1 ||
772
+            drugs1[i].pinyin.indexOf(this.search_keyword) != -1 ||
773
+            drugs1[i].first_letter.indexOf(this.search_keyword) != -1) {
774
+              arr = arr.concat(drugs1[i])
774 775
             }
775 776
           }
776 777
           this.drugs = arr
777
-
778 778
         }
779 779
 
780 780
       },
@@ -810,6 +810,7 @@
810 810
         return getDictionaryDataConfig(module, filed_name)
811 811
 
812 812
       },
813
+      // 药品数据源
813 814
       getInitData() {
814 815
         getInitData().then(response => {
815 816
           if (response.data.state == 0) {
@@ -829,6 +830,7 @@
829 830
             }
830 831
 
831 832
             this.allDrugs = response.data.data.drugs
833
+            console.log('111111',response.data.data.drugs);
832 834
             this.advices_template = response.data.data.advices_template
833 835
             this.doctors = response.data.data.doctors
834 836
             for (let i = 0; i < this.doctors.length; i++) {
@@ -2463,6 +2465,7 @@
2463 2465
       this.getZuobiaoDrugStock()
2464 2466
       this.getZuobiaoGoodStock()
2465 2467
       this.getPrescriptionTemplateInfo()
2468
+      // 获取所有药品
2466 2469
       this.getInitData()
2467 2470
       //获取所有项目
2468 2471
       this.getlist()

+ 7 - 4
src/xt_pages/outpatientDoctorStation/template/prineight.vue Wyświetl plik

@@ -70,12 +70,15 @@
70 70
           <!-- 精二 -->
71 71
           <div style="border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;"
72 72
             v-if="prescriptions[index].med_type == '1112'">
73
-            <div style="display: flex;">
74
-              <div style="flex: 1;">处方编号:</div>
73
+            <div style="display: flex;margin: 10px 0;">
74
+              <div style="flex: 1;">处方编号:
75
+                {{ item.prescription_number.substring(
76
+                  item.prescription_number.length - 6
77
+                ) }}</div>
75 78
               <div style="flex: 1;">日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</div>
76 79
             </div>
77 80
             
78
-            <div  style="display: flex;margin: 10px 0;line-height: 24px;padding: 0 10px;">
81
+            <div  style="display: flex;padding: 0 10px;">
79 82
               <p style="width: 200px;">姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
80 83
               <p style="width: 200px;">
81 84
                 性别:
@@ -98,7 +101,7 @@
98 101
             </div>
99 102
             <div style="display: flex;">
100 103
               <div style="flex: 1;">临床诊断:{{ getDiagnosis(item.info.diagnosis) }}</div>
101
-              <div style="flex: 1;">身份证号:</div>
104
+              <div style="flex: 1;">身份证号:{{item.patient.id_card_no}}</div>
102 105
             </div>
103 106
             <div style="flex: 2;margin: 10px 0;">住址/电话:{{ item.patient.home_address }}&nbsp;<span>{{ item.patient.phone }}</span></div>
104 107
             <div style="display: flex;">

+ 14 - 1
src/xt_pages/user/dialysisRecord.vue Wyświetl plik

@@ -528,7 +528,7 @@ import { uParseTime } from "@/utils/tools";
528 528
 import { parseTime } from '@/utils'
529 529
 import { fetchAllDoctorAndNurse } from "@/api/doctor";
530 530
 import print from "print-js";
531
-
531
+const moment = require('moment')
532 532
 export default {
533 533
   name: "dialysisRecord",
534 534
   data() {
@@ -567,6 +567,7 @@ export default {
567 567
       dialysisShow:false,
568 568
 
569 569
       newTime:'',
570
+      org_id:0
570 571
 
571 572
     };
572 573
   },
@@ -607,11 +608,22 @@ export default {
607 608
     },
608 609
     getPatientDialysisRecords() {
609 610
       console.log("prams",this.queryParams)
611
+        if(this.org_id ==10679 || this.org_id == ""){
612
+          if( this.queryParams.start_time == ""){
613
+            this.queryParams.start_time = moment().month(moment().month() - 1).startOf('month').format('YYYY-MM-DD')
614
+          }
615
+          if(this.queryParams.end_time == ""){
616
+            this.queryParams.end_time =  moment().month(moment().month() - 1).endOf('month').format('YYYY-MM-DD') 
617
+          }
618
+               
619
+        }
620
+        console.log("hahahhaha",this.queryParams)
610 621
       getPatientDialysisRecords(this.queryParams).then(response => {
611 622
         if (response.data.state == 1) {
612 623
           this.total = response.data.data.total;
613 624
           this.recordData = response.data.data.records;
614 625
           console.log("郭23232323232232323",this.recordData)
626
+        
615 627
         }
616 628
       });
617 629
     },
@@ -895,6 +907,7 @@ export default {
895 907
 
896 908
     var xtuser = this.$store.getters.xt_user;
897 909
     this.orgname = xtuser.org.org_name;
910
+    this.org_id = this.$store.getters.xt_user.template_info.org_id;
898 911
 
899 912
   },mounted(){
900 913
 

+ 13 - 13
src/xt_permission.js Wyświetl plik

@@ -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))