28169 hace 2 años
padre
commit
0fb5d22959

+ 2 - 2
src/xt_pages/dialysis/details/consumable/dialysisGood.vue Ver fichero

212
             </el-option>
212
             </el-option>
213
            </el-select>
213
            </el-select>
214
            <label class="title"> <span class="name">病区选择</span> : </label>
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
             <el-option
216
             <el-option
217
               v-for="item in partitionArr"
217
               v-for="item in partitionArr"
218
               :key="item.id"
218
               :key="item.id"
320
             </el-option>
320
             </el-option>
321
            </el-select>
321
            </el-select>
322
            <label class="title"> <span class="name">病区选择</span> : </label>
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
             <el-option
324
             <el-option
325
               v-for="item in partitionArr"
325
               v-for="item in partitionArr"
326
               :key="item.id"
326
               :key="item.id"

+ 7 - 7
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Ver fichero

28
           <el-col :span="8" v-if="isShow('实际超滤量')">
28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
             <el-form-item
29
             <el-form-item
30
               label="实际超滤量(ml): "
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
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>
377
                 :value="item.id"
377
                 :value="item.id"
378
                 :key="item.id"
378
                 :key="item.id"
379
               ></el-option>
379
               ></el-option>
380
-            </el-select> 
380
+            </el-select>
381
           </el-form-item>
381
           </el-form-item>
382
         </el-col>
382
         </el-col>
383
 
383
 
625
             </el-form-item>
625
             </el-form-item>
626
         </el-col>
626
         </el-col>
627
 
627
 
628
-      
628
+
629
       </el-form>
629
       </el-form>
630
 
630
 
631
 
631
 
967
       data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
967
       data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
968
       data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
968
       data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
969
       data['temperature'] = this.form.temperature ? parseFloat(this.form.temperature) : 0
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
       data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
971
       data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
972
       data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
972
       data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
973
       data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
973
       data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
1211
       if(predialysis.id > 0){
1211
       if(predialysis.id > 0){
1212
         this.form.hypopiesia = predialysis.hypopiesia.toString()
1212
         this.form.hypopiesia = predialysis.hypopiesia.toString()
1213
       }
1213
       }
1214
-     
1214
+
1215
       //针对长沙南雅 ,透后体重 - 目标超滤量
1215
       //针对长沙南雅 ,透后体重 - 目标超滤量
1216
       // if(predialysis.id > 0){
1216
       // if(predialysis.id > 0){
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){
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
       //    if(predialysis.weight_after == 0){
1218
       //    if(predialysis.weight_after == 0){
1219
       //      if(this.predialysis_evaluation!=null && this.prescription.target_ultrafiltration!=null){
1219
       //      if(this.predialysis_evaluation!=null && this.prescription.target_ultrafiltration!=null){
1220
       //        this.form.weight_after = this.predialysis_evaluation.weight_before - (this.prescription.target_ultrafiltration/1000)
1220
       //        this.form.weight_after = this.predialysis_evaluation.weight_before - (this.prescription.target_ultrafiltration/1000)
1221
-      //      }  
1221
+      //      }
1222
       //    }
1222
       //    }
1223
       //  }
1223
       //  }
1224
       // }
1224
       // }
1253
         //    if(this.prescription!=null && this.predialysis_evaluation!=null){
1253
         //    if(this.prescription!=null && this.predialysis_evaluation!=null){
1254
         //     this.form.weight_after = this.predialysis_evaluation.weight_before - (this.prescription.target_ultrafiltration/1000)
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 Ver fichero

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