28169 před 6 měsíci
rodič
revize
1399ef1561

+ 1 - 1
src/xt_pages/dialysis/hisLongSignPrint.vue Zobrazit soubor

@@ -16,7 +16,7 @@
16 16
                         
17 17
                         <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
18 18
                         <div>姓名:{{item.patient.name}}</div>  
19
-
19
+                        <div v-if="org_id == 0 || org_id==10340">身份证:{{item.patient.id_card_no}}</div>  
20 20
                         <div>
21 21
                             <div>医嘱内容:{{ it.advice_name }} 
22 22
                             </div>  

+ 1 - 1
src/xt_pages/dialysis/longSignPrint.vue Zobrazit soubor

@@ -15,7 +15,7 @@
15 15
                        
16 16
                         <div v-if="org_id!=10278">分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
17 17
                         <div>姓名:{{item.patient.name}}</div>  
18
-
18
+                        <div v-if="org_id == 0 || org_id==10340">身份证:{{item.patient.id_card_no}}</div>  
19 19
                         <div>
20 20
                             <div>药名:{{ it.advice_name }} 
21 21
                             <span v-if="it.prescribing_number>0 && org_id !=0 && org_id!=10440">

+ 2 - 2
src/xt_pages/dialysis/newDoctorAdvice.vue Zobrazit soubor

@@ -1548,11 +1548,11 @@ export default {
1548 1548
           name = ""
1549 1549
        }
1550 1550
 
1551
-       if(this.org_id == 9671 || this.org_id == 10340){
1551
+       if(this.org_id == 9671 || this.org_id == 10340 || this.org_id == 0){
1552 1552
         this.$router.push({ path: "/dialysis/doctorAdvicePrint/one",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way} });
1553 1553
        }
1554 1554
 
1555
-       if(this.org_id != 9671 && this.org_id != 10340){
1555
+       if(this.org_id != 9671 && this.org_id != 10340 && this.org_id!=0){
1556 1556
         this.$router.push({ path: "/dialysis/doctorAdvicePrint",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way} });
1557 1557
        }
1558 1558
 

+ 1 - 1
src/xt_pages/dialysis/signPrint.vue Zobrazit soubor

@@ -15,7 +15,7 @@
15 15
                        
16 16
                         <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
17 17
                         <div>姓名:{{item.patient.name}}</div>  
18
-
18
+                        <div v-if="org_id == 0 || org_id==10340">身份证:{{item.patient.id_card_no}}</div>  
19 19
                         <div>
20 20
                             <div>药名:{{ it.advice_name }} 
21 21
                             <span v-if="it.prescribing_number>0 && org_id !=0 && org_id!=10440">

+ 13 - 13
src/xt_permission.js Zobrazit soubor

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