28169 2 år sedan
förälder
incheckning
0fb5d22959

+ 2 - 2
src/xt_pages/dialysis/details/consumable/dialysisGood.vue Visa fil

@@ -212,7 +212,7 @@
212 212
             </el-option>
213 213
            </el-select>
214 214
            <label class="title"> <span class="name">病区选择</span> : </label>
215
-           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionType" multiple>
215
+           <el-select v-model="partion_type" placeholder="请选择" multiple @change="changePartionType" >
216 216
             <el-option
217 217
               v-for="item in partitionArr"
218 218
               :key="item.id"
@@ -320,7 +320,7 @@
320 320
             </el-option>
321 321
            </el-select>
322 322
            <label class="title"> <span class="name">病区选择</span> : </label>
323
-           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionType">
323
+           <el-select v-model="partion_type" multiple placeholder="请选择" @change="changePartionType">
324 324
             <el-option
325 325
               v-for="item in partitionArr"
326 326
               :key="item.id"

+ 7 - 7
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Visa fil

@@ -28,7 +28,7 @@
28 28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29 29
             <el-form-item
30 30
               label="实际超滤量(ml): "
31
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445"  >
31
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410"  >
32 32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33 33
             </el-form-item>
34 34
             <el-form-item label="实际超滤量(L): " v-else>
@@ -377,7 +377,7 @@
377 377
                 :value="item.id"
378 378
                 :key="item.id"
379 379
               ></el-option>
380
-            </el-select> 
380
+            </el-select>
381 381
           </el-form-item>
382 382
         </el-col>
383 383
 
@@ -625,7 +625,7 @@
625 625
             </el-form-item>
626 626
         </el-col>
627 627
 
628
-      
628
+
629 629
       </el-form>
630 630
 
631 631
 
@@ -967,7 +967,7 @@ export default {
967 967
       data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
968 968
       data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
969 969
       data['temperature'] = this.form.temperature ? parseFloat(this.form.temperature) : 0
970
-      data['breathing_rate'] = this.form.breathing_rate 
970
+      data['breathing_rate'] = this.form.breathing_rate
971 971
       data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
972 972
       data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
973 973
       data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
@@ -1211,14 +1211,14 @@ export default {
1211 1211
       if(predialysis.id > 0){
1212 1212
         this.form.hypopiesia = predialysis.hypopiesia.toString()
1213 1213
       }
1214
-     
1214
+
1215 1215
       //针对长沙南雅 ,透后体重 - 目标超滤量
1216 1216
       // if(predialysis.id > 0){
1217 1217
       //  if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1218 1218
       //    if(predialysis.weight_after == 0){
1219 1219
       //      if(this.predialysis_evaluation!=null && this.prescription.target_ultrafiltration!=null){
1220 1220
       //        this.form.weight_after = this.predialysis_evaluation.weight_before - (this.prescription.target_ultrafiltration/1000)
1221
-      //      }  
1221
+      //      }
1222 1222
       //    }
1223 1223
       //  }
1224 1224
       // }
@@ -1253,7 +1253,7 @@ export default {
1253 1253
         //    if(this.prescription!=null && this.predialysis_evaluation!=null){
1254 1254
         //     this.form.weight_after = this.predialysis_evaluation.weight_before - (this.prescription.target_ultrafiltration/1000)
1255 1255
         //    }
1256
-          
1256
+
1257 1257
         // }
1258 1258
       }
1259 1259
 

+ 13 - 13
src/xt_permission.js Visa fil

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