浏览代码

hah阿凡达

28169 1周前
父节点
当前提交
48ca7b9d9b

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue 查看文件

@@ -1769,7 +1769,7 @@ export default {
1769 1769
               this.records[i].his_advices.forEach((item, index) => {
1770 1770
                 console.log("itemwowowowowo", item)
1771 1771
                 let { new_groupno } = item
1772
-                if (item.delivery_way != '口服' && item.delivery_way != '中药口服' && item.advice_name.indexOf('胰岛素') == -1) {
1772
+                if (item.delivery_way != '口服' && item.delivery_way != '中药口服' && item.advice_name.indexOf('胰岛素') == -1 && item.advice_name.indexOf('腹膜') == -1) {
1773 1773
                   if (item.execution_frequency.indexOf('上机前') == -1) {
1774 1774
                     if (!objInfo[new_groupno]) {
1775 1775
                       console.log('66666666', item);

+ 7 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 查看文件

@@ -829,7 +829,7 @@
829 829
                         </div>
830 830
                         kg
831 831
                       </div>
832
-                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469 && org_id!=10745">
832
+                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469 && org_id!=10745&& org_id!=9478">
833 833
                         <span v-if="org_id != 10683">计划超滤量:</span>
834 834
                         <span v-if="org_id == 10683">预脱:</span>
835 835
                         <div class="under_line" style="width: 100px; text-align: center">
@@ -846,10 +846,10 @@
846 846
                           v-if="org_id != 10395 && org_id != 9829 && org_id != 10440 && org_id != 10469 && org_id != 10460 && org_id != 10624 && org_id != 10644">L</span>
847 847
                       </div>
848 848
 
849
-                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598 || org_id == 10745">
849
+                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598 || org_id == 10745|| org_id == 9478">
850 850
                         <span v-if="org_id != 10683 && org_id!=10745">计划超滤量:</span>
851 851
                         <span v-if="org_id == 10683">预脱:</span>
852
-                        <span v-if="org_id == 10745">处方脱水量</span>
852
+                        <span v-if="org_id == 10745 || org_id == 9478">处方脱水量</span>
853 853
                         <div class="under_line" style="width: 100px; text-align: center">
854 854
                           {{
855 855
                             record.prescription &&
@@ -858,8 +858,8 @@
858 858
                               : "/"
859 859
                           }}
860 860
                         </div>
861
-                        <span v-if="org_id != 10598 && org_id != 10471 && org_id!=10745"> ml</span>
862
-                        <span v-if="org_id == 10598 || org_id == 10471 || org_id == 10745"> L</span>
861
+                        <span v-if="org_id != 10598 && org_id != 10471 && org_id!=10745 && org_id!=9478"> ml</span>
862
+                        <span v-if="org_id == 10598 || org_id == 10471 || org_id == 10745 || org_id == 9478"> L</span>
863 863
                       </div>
864 864
                       <div class="inline_block" style="flex: 1">
865 865
                         干体重:
@@ -1472,14 +1472,14 @@
1472 1472
                             }}
1473 1473
                           </td>
1474 1474
                           <td v-if="org_id != 10683">
1475
-                            <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471 || org_id == 10744 || org_id == 10726">
1475
+                            <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471 || org_id == 10744 || org_id == 10726|| org_id == 9478">
1476 1476
                               {{
1477 1477
                                 monitor_record.ultrafiltration_volume
1478 1478
                                   ? monitor_record.ultrafiltration_volume
1479 1479
                                   : "0"
1480 1480
                               }}
1481 1481
                             </span>
1482
-                            <span v-if="org_id != 9671 && org_id != 10440 && org_id != 10471 && org_id!=10744 && org_id!=10726">
1482
+                            <span v-if="org_id != 9671 && org_id != 10440 && org_id != 10471 && org_id!=10744 && org_id!=10726&& org_id!=9478">
1483 1483
                               {{
1484 1484
                                 monitor_record.ultrafiltration_volume
1485 1485
                                   ? monitor_record.ultrafiltration_volume

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

@@ -173,13 +173,13 @@
173 173
         </li> -->
174 174
 
175 175
 
176
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721&& this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10757">
176
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721&& this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10757&& this.$store.getters.xt_user.template_info.org_id != 9478">
177 177
           <label>处方脱水量 : </label>
178 178
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
179 179
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
180 180
         </li>
181 181
 
182
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10598 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10679 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10752 || this.$store.getters.xt_user.template_info.org_id == 10757">
182
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10598 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10679 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10752 || this.$store.getters.xt_user.template_info.org_id == 10757|| this.$store.getters.xt_user.template_info.org_id == 9478">
183 183
           <label>处方脱水量 : </label>
184 184
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
185 185
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>

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

@@ -161,7 +161,7 @@
161 161
                     </el-col>
162 162
 
163 163
                     <el-col :span="8"
164
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721 && this.$store.getters.xt_user.template_info.org_id != 10742 && this.$store.getters.xt_user.template_info.org_id != 10740 && this.$store.getters.xt_user.template_info.org_id != 10745 && this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10757">
164
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721 && this.$store.getters.xt_user.template_info.org_id != 10742 && this.$store.getters.xt_user.template_info.org_id != 10740 && this.$store.getters.xt_user.template_info.org_id != 10745 && this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10757&& this.$store.getters.xt_user.template_info.org_id != 9478">
165 165
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
166 166
                             <el-input
167 167
                                     type="number"
@@ -171,7 +171,7 @@
171 171
                     </el-col>
172 172
 
173 173
                     <el-col :span="8"
174
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679 || this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10740 || this.$store.getters.xt_user.template_info.org_id==10742  || this.$store.getters.xt_user.template_info.org_id==10745 || this.$store.getters.xt_user.template_info.org_id==10752|| this.$store.getters.xt_user.template_info.org_id==10757">
174
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679 || this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10740 || this.$store.getters.xt_user.template_info.org_id==10742  || this.$store.getters.xt_user.template_info.org_id==10745 || this.$store.getters.xt_user.template_info.org_id==10752|| this.$store.getters.xt_user.template_info.org_id==10757|| this.$store.getters.xt_user.template_info.org_id==9478">
175 175
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
176 176
                             <el-input
177 177
                                     type="number"
@@ -3350,7 +3350,7 @@ mu
3350 3350
         this.pre = pre
3351 3351
         // console.log("pre1", pre);
3352 3352
         this.getPermission()
3353
-        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10745|| this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10697|| this.$store.getters.xt_user.template_info.org_id == 10757){
3353
+        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10745|| this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10697|| this.$store.getters.xt_user.template_info.org_id == 10757|| this.$store.getters.xt_user.template_info.org_id == 9478){
3354 3354
           this.getPatientBefor()
3355 3355
         }
3356 3356
 

+ 1 - 1
src/xt_pages/dialysis/doctorAdvicePrintTwo.vue 查看文件

@@ -144,7 +144,7 @@ export default {
144 144
                         hisAdvices[i].doctor_advice[j].patient_name = hisAdvices[i].patient.name
145 145
                         hisAdvices[i].doctor_advice[j].sort = 0
146 146
                         hisAdvices[i].doctor_advice[j].sort =  hisAdvices[i].device_number.sort
147
-                        if(hisAdvices[i].doctor_advice[j].delivery_way !='口服' && hisAdvices[i].doctor_advice[j].delivery_way!='中药口服' && hisAdvices[i].doctor_advice[j].advice_name.indexOf('胰岛素')==-1){
147
+                        if(hisAdvices[i].doctor_advice[j].delivery_way !='口服' && hisAdvices[i].doctor_advice[j].delivery_way!='中药口服' && hisAdvices[i].doctor_advice[j].advice_name.indexOf('胰岛素')==-1&& hisAdvices[i].doctor_advice[j].advice_name.indexOf('腹膜')==-1){
148 148
                           if(hisAdvices[i].doctor_advice[j].execution_frequency.indexOf('上机前')==-1){
149 149
                              newArr.push(hisAdvices[i].doctor_advice[j])
150 150
                           }

+ 6 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

@@ -919,7 +919,7 @@
919 919
                         </div>
920 920
                         kg
921 921
                       </div>
922
-                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469 && org_id!=10745">
922
+                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469 && org_id!=10745&& org_id!=9478">
923 923
                         <span v-if="org_id != 10683">计划超滤量:</span>
924 924
                         <span v-if="org_id == 10683">预脱:</span>
925 925
                         <div class="under_line" style="width: 100px; text-align: center">
@@ -936,7 +936,7 @@
936 936
                       </div>
937 937
 
938 938
 
939
-                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598 || org_id== 10745">
939
+                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598 || org_id== 10745 || org_id == 9478">
940 940
                         处方脱水量:
941 941
                         <div class="under_line" style="width: 100px; text-align: center">
942 942
                           {{
@@ -945,8 +945,8 @@
945 945
                               : "/"
946 946
                           }}
947 947
                         </div>
948
-                        <span v-if="org_id != 10598 && org_id!=10745"> ml</span>
949
-                        <span v-if="org_id == 10598 || org_id == 10745"> L</span>
948
+                        <span v-if="org_id != 10598 && org_id!=10745 && org_id!=9478"> ml</span>
949
+                        <span v-if="org_id == 10598 || org_id == 10745 || org_id == 9478"> L</span>
950 950
                       </div>
951 951
                       <div class="inline_block" style="flex: 1">
952 952
                         干体重:
@@ -1566,7 +1566,7 @@
1566 1566
                           </td>
1567 1567
 
1568 1568
                           <td v-if="org_id != 10644 && org_id != 10683">
1569
-                            <span v-if="org_id != 9671 && org_id != 10440 && org_id != 10617 && org_id!=10744&& org_id!=10726">
1569
+                            <span v-if="org_id != 9671 && org_id != 10440 && org_id != 10617 && org_id!=10744&& org_id!=10726&& org_id!=9478">
1570 1570
                               {{monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume: ""}}
1571 1571
                             </span>
1572 1572
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10617">
@@ -1580,7 +1580,7 @@
1580 1580
                                 {{ monitor.ultrafiltration_volume ?monitor.ultrafiltration_volume : "0" }}
1581 1581
                               </span>
1582 1582
                             </span>
1583
-                            <span v-if="org_id==10744 || org_id == 10726">
1583
+                            <span v-if="org_id==10744 || org_id == 10726 || org_id == 9478">
1584 1584
                               {{ monitor.ultrafiltration_volume ?monitor.ultrafiltration_volume : "0" }}
1585 1585
                             </span>
1586 1586
                           </td>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue 查看文件

@@ -2365,7 +2365,7 @@ export default {
2365 2365
           var docArr = []
2366 2366
           if (this.doctor_advices != null && this.doctor_advices.length > 0) {
2367 2367
             for (let i = 0; i < this.doctor_advices.length; i++) {
2368
-              if (this.doctor_advices[i].delivery_way != '口服' && this.doctor_advices[i].delivery_way != '中药口服' && this.doctor_advices[i].advice_name.indexOf('胰岛素') == -1) {
2368
+              if (this.doctor_advices[i].delivery_way != '口服' && this.doctor_advices[i].delivery_way != '中药口服' && this.doctor_advices[i].advice_name.indexOf('胰岛素') == -1&& this.doctor_advices[i].advice_name.indexOf('腹膜') == -1) {
2369 2369
                 if (this.doctor_advices[i].execution_frequency.indexOf("上机前") == -1) {
2370 2370
                   docArr.push(this.doctor_advices[i])
2371 2371
                 }

+ 13 - 13
src/xt_permission.js 查看文件

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