Browse Source

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

yq1 7 months ago
parent
commit
24ce3c8c8f

+ 3 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -1660,8 +1660,8 @@
1660 1660
                           置换液的速度<br />(ml/h)
1661 1661
                           </td>
1662 1662
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1663
-                          <td width="50" v-if=" org_id ==0 || org_id ==10164">超滤率<br />(ml/h)</td>
1664
-                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683  && org_id!=0">超滤量<br />(ml)</td>
1663
+                          <td width="50" v-if=" org_id ==0 || org_id ==10489">超滤率<br />(ml/h)</td>
1664
+                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683">超滤量<br />(ml)</td>
1665 1665
                           <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1666 1666
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1667 1667
                           <td
@@ -1886,7 +1886,7 @@
1886 1886
                                        : ""
1887 1887
                                    }}
1888 1888
                          </td>
1889
-                          <td v-if="org_id!=10683&& org_id!=0">
1889
+                          <td v-if="org_id!=10683">
1890 1890
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471">
1891 1891
                                 {{
1892 1892
                               monitor_record.ultrafiltration_volume

+ 18 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventynine.vue View File

@@ -970,6 +970,8 @@ export default {
970 970
           }
971 971
 
972 972
           this.advices = response.data.data.advices;
973
+
974
+          
973 975
           this.monitors = response.data.data.monitors;
974 976
           console.log("透析监测", this.monitors);
975 977
           this.summary = response.data.data.summary;
@@ -1148,9 +1150,23 @@ export default {
1148 1150
           console.log(this.advice_groups);
1149 1151
           
1150 1152
           var advices = response.data.data.advices;
1153
+         
1154
+          var newDocArr= []
1155
+          for(let i=0;i<advices.length;i++){
1156
+            console.log("hhahahahh",advices[i].advice_name.indexOf("0.9%氯化钠注射液"))
1157
+            console.log("jjjjjjjjj",advices[i].delivery_way.indexOf("管路预冲"))
1158
+           if(advices[i].advice_name.indexOf("0.9%氯化钠注射液") ==-1 && advices[i].delivery_way.indexOf("管路预冲")==-1){
1159
+              newDocArr.push(advices[i])
1160
+           }
1161
+          }
1162
+          console.log("newDocArr----------------------",newDocArr)
1163
+        
1151 1164
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo
1152
-          var tableAdvice = advices.concat(doctorAdevieInfo);
1153
-          console.log('tableAdvice',tableAdvice);
1165
+        
1166
+         
1167
+       
1168
+          var tableAdvice = newDocArr.concat(doctorAdevieInfo);
1169
+        
1154 1170
           console.log('response.data.data', response.data.data)
1155 1171
           if (tableAdvice.length === 0) {
1156 1172
             console.log('1111111',tableAdvice.length);

+ 8 - 8
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -2098,7 +2098,7 @@ export default {
2098 2098
               if ( this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2099 2099
                 if (prescription.pre_time == 0) {
2100 2100
                   if (this.schedule.schedule_type == 1) {
2101
-                    if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
2101
+                    if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2102 2102
                       preTime = this.record_date + ' ' + '6:30'
2103 2103
                     } else if(this.org_id == 10206 ){
2104 2104
                       preTime = this.record_date + ' ' + '6:00'
@@ -2293,7 +2293,7 @@ export default {
2293 2293
                 var preTime = nowTime
2294 2294
                 if (this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375 ) {
2295 2295
                   if (this.schedule.schedule_type == 1) {
2296
-                    if (this.org_id == 10028 ||  this.org_id == 10571 || this.org_id == 0) {
2296
+                    if (this.org_id == 10028 ||  this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2297 2297
                       preTime = this.record_date + ' ' + '6:30'
2298 2298
                     } else if(this.org_id == 10206  ) {
2299 2299
                       preTime = this.record_date+ ' ' + '6:00'
@@ -2672,7 +2672,7 @@ export default {
2672 2672
                     if ( this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2673 2673
                       if (prescription.pre_time == 0) {
2674 2674
                         if (this.schedule.schedule_type == 1) {
2675
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
2675
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2676 2676
                             preTime = this.record_date + ' ' + '6:30'
2677 2677
                           } else if(this.org_id == 10206 ){
2678 2678
                             preTime = this.record_date + ' ' + '6:00'
@@ -2860,7 +2860,7 @@ export default {
2860 2860
                       // var preTime = ''
2861 2861
                       if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2862 2862
                         if (this.schedule.schedule_type == 1) {
2863
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
2863
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2864 2864
                             preTime = this.record_date + ' ' + '6:30'
2865 2865
                           } else if(this.org_id == 10206){
2866 2866
                             preTime = this.record_date + ' ' + '6:00'
@@ -4558,7 +4558,7 @@ export default {
4558 4558
                     if (this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375 ) {
4559 4559
                       if (prescription.pre_time == 0) {
4560 4560
                         if (this.schedule.schedule_type == 1) {
4561
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
4561
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
4562 4562
                             preTime = this.record_date + ' ' + '6:30'
4563 4563
                           } else if(this.org_id == 10206){
4564 4564
 
@@ -4749,7 +4749,7 @@ export default {
4749 4749
                       var preTime = nowTime
4750 4750
                       if (this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375 ) {
4751 4751
                         if (this.schedule.schedule_type == 1) {
4752
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
4752
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
4753 4753
                             preTime = this.record_date + ' ' + '6:30'
4754 4754
                           } else if(this.org_id == 10206){
4755 4755
                             preTime = this.record_date+ ' ' + '6:00'
@@ -5185,7 +5185,7 @@ export default {
5185 5185
                       if (prescription.pre_time == 0) {
5186 5186
                         // preTime = nowTime
5187 5187
                         if (this.schedule.schedule_type == 1) {
5188
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
5188
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
5189 5189
                             preTime = this.record_date + ' ' + '6:30'
5190 5190
                           } else if(this.org_id == 10206){
5191 5191
                             preTime = this.record_date + ' ' + '6:00'
@@ -5373,7 +5373,7 @@ export default {
5373 5373
                       // var preTime = ''
5374 5374
                       if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
5375 5375
                         if (this.schedule.schedule_type == 1) {
5376
-                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0) {
5376
+                          if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
5377 5377
                             preTime = this.record_date + ' ' + '6:30'
5378 5378
                           } else if(this.org_id == 10206){
5379 5379
                             preTime = this.record_date + ' ' + '6:00'

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