瀏覽代碼

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

yq1 1 年之前
父節點
當前提交
ccdc8c3a8e

+ 1 - 1
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue 查看文件

997
           mode_name = "HDF"
997
           mode_name = "HDF"
998
          }
998
          }
999
          if(id == 3){
999
          if(id == 3){
1000
-          mode_name = "HDF"
1000
+          mode_name = "HD+HP"
1001
          }
1001
          }
1002
          if(id == 4){
1002
          if(id == 4){
1003
           mode_name = "HP"
1003
           mode_name = "HP"

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue 查看文件

1600
         }
1600
         }
1601
       }
1601
       }
1602
 
1602
 
1603
-      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517 || this.$store.getters.xt_user.org.id == 10580){
1603
+      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517 || this.$store.getters.xt_user.org.id == 10580 || this.$store.getters.xt_user.org.id == 10579){
1604
          var date = new Date()
1604
          var date = new Date()
1605
           var year = date.getFullYear()
1605
           var year = date.getFullYear()
1606
           var month = date.getMonth() + 1
1606
           var month = date.getMonth() + 1

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

2604
             } else if (schedual.schedule_type == 3) {
2604
             } else if (schedual.schedule_type == 3) {
2605
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2605
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2606
             }
2606
             }
2607
+           }else if(this.$store.getters.xt_user.org.id == 10579){
2608
+              if (schedual.schedule_type == 1) {
2609
+              this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2610
+            } else if (schedual.schedule_type == 2) {
2611
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2612
+            } else if (schedual.schedule_type == 3) {
2613
+              this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2614
+            }
2607
            }else if(this.$store.getters.xt_user.org.id == 10440){
2615
            }else if(this.$store.getters.xt_user.org.id == 10440){
2608
               if (schedual.schedule_type == 1) {
2616
               if (schedual.schedule_type == 1) {
2609
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2617
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2744
           last_weight_after = this.last_record.weight_after
2752
           last_weight_after = this.last_record.weight_after
2745
         }
2753
         }
2746
         console.log("last2323232323232332wode",this.predialysis)
2754
         console.log("last2323232323232332wode",this.predialysis)
2755
+        console.log("lastwoowowow",last)
2747
         if(this.predialysis!=null && this.predialysis.id == 0){
2756
         if(this.predialysis!=null && this.predialysis.id == 0){
2748
             if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 ){
2757
             if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 ){
2749
               this.dialysisPrescription.sodium = 138
2758
               this.dialysisPrescription.sodium = 138
2776
             this.dialysisPrescription.a_liquid = last.a_liquid
2785
             this.dialysisPrescription.a_liquid = last.a_liquid
2777
             this.zongliang = last.anticoagulant_zongliang
2786
             this.zongliang = last.anticoagulant_zongliang
2778
             this.dialysisPrescription.chaptalization = last.chaptalization
2787
             this.dialysisPrescription.chaptalization = last.chaptalization
2788
+            this.dialysisPrescription.blood_access_part_id = last.blood_access_part_id
2779
             if(this.$store.getters.xt_user.template_info.org_id!=10013  && this.$store.getters.xt_user.template_info.org_id!=10014){
2789
             if(this.$store.getters.xt_user.template_info.org_id!=10013  && this.$store.getters.xt_user.template_info.org_id!=10014){
2780
               this.remark = last.remark
2790
               this.remark = last.remark
2781
             }
2791
             }
5071
       }
5081
       }
5072
     },
5082
     },
5073
     created() {
5083
     created() {
5074
-      console.log('weretrertf',this.dialysisPrescription.sodium);
5075
-      console.log("schedual232323323232323232",this.adminRoles)
5084
+      
5076
       this.illnessList = getDataConfig('hemodialysis', 'illness')
5085
       this.illnessList = getDataConfig('hemodialysis', 'illness')
5077
 
5086
 
5078
       this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
5087
       this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
5084
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
5093
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
5085
 
5094
 
5086
      
5095
      
5087
-      console.log("透析准备232323232323wo",this.educationList)
5096
+      
5088
     }
5097
     }
5089
   }
5098
   }
5090
 </script>
5099
 </script>

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

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