Browse Source

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

yq1 9 months ago
parent
commit
04c613020a

+ 2 - 7
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

5297
         if(this.$store.getters.xt_user.template_info.org_id==10598){
5297
         if(this.$store.getters.xt_user.template_info.org_id==10598){
5298
            
5298
            
5299
           if(this.dialysisPrescription.mode_id == 3){
5299
           if(this.dialysisPrescription.mode_id == 3){
5300
-            if(this.dialysisPrescription.prescription_water > this.dialysisPrescription.target_ultrafiltration){
5301
-              if(this.dialysisPrescription.prescription_water!=undefined){
5302
-                this.dialysisPrescription.target_ultrafiltration =  this.dialysisPrescription.prescription_water + 0.3
5303
-              }
5304
-              
5305
-            }
5300
+             this.dialysisPrescription.target_ultrafiltration = this.dialysisPrescription.prescription_water  + 0.3
5306
           }else{
5301
           }else{
5307
             if(this.dialysisPrescription.prescription_water > this.dialysisPrescription.target_ultrafiltration){
5302
             if(this.dialysisPrescription.prescription_water > this.dialysisPrescription.target_ultrafiltration){
5308
               this.dialysisPrescription.target_ultrafiltration =  this.dialysisPrescription.prescription_water 
5303
               this.dialysisPrescription.target_ultrafiltration =  this.dialysisPrescription.prescription_water 
5309
             }
5304
             }
5310
           }
5305
           }
5311
-         
5306
+          
5312
            
5307
            
5313
         }
5308
         }
5314
       },
5309
       },

+ 2 - 2
src/xt_pages/role/admin.vue View File

227
           @click="toAutoDrug">自动生成</el-button> -->
227
           @click="toAutoDrug">自动生成</el-button> -->
228
 
228
 
229
 
229
 
230
-         <el-button
230
+         <!-- <el-button
231
           type="primary"
231
           type="primary"
232
           size="small"
232
           size="small"
233
           icon="el-icon-circle-plus-outline"
233
           icon="el-icon-circle-plus-outline"
234
           style="float:left"
234
           style="float:left"
235
-          @click="toAutoDiagnose">自动脚本</el-button>
235
+          @click="toAutoDiagnose">自动脚本</el-button> -->
236
 
236
 
237
         <!-- <el-button
237
         <!-- <el-button
238
           type="primary"
238
           type="primary"

+ 13 - 13
src/xt_permission.js View File

12
 
12
 
13
 router.beforeEach((to, from, next) => {
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
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))