Procházet zdrojové kódy

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx před 3 roky
rodič
revize
4c9d570678

+ 1 - 1
src/xt_pages/hospitalStation/template/printThree.vue Zobrazit soubor

@@ -31,7 +31,7 @@
31 31
               <div style="margin-bottom: 10px;display:flex;">自费药品签名:<span class="under_line"></span></div>
32 32
               <!-- <div style="margin-bottom: 10px;display:flex;">医保卡号:{{item.hisPatient.number?item.hisPatient.number:""}}</div> -->
33 33
               <div style="margin-bottom: 10px;display:flex;">联系方式:<span class="under_line">{{item.patient.phone}}</span></div>
34
-              <div style="margin-bottom: 10px;display:flex;">开具日期:<span class="under_line">{{getTime(item.pre_time) ? getTime(item.pre_time).split(' ')[0] : ''}}</span></div>
34
+              <div style="margin-bottom: 10px;display:flex;">开具日期:<span class="under_line">{{getTime(item.record_date) ? getTime(item.record_date).split(' ')[0] : ''}}</span></div>
35 35
               <!-- <div>地址:{{item.patient.home_address}}</div> -->
36 36
               <!-- <div style="display:flex;width:50%;">临床诊断:{{getDiagnosis(item.info.diagnosis)}}</div> -->
37 37
           </div>

+ 1 - 1
src/xt_pages/hospitalStation/treatTemplate/printTwo.vue Zobrazit soubor

@@ -29,7 +29,7 @@
29 29
             <div style="margin-bottom: 10px;display:flex;">自费药品签名:<span class="under_line"></span></div>
30 30
             <!-- <div style="margin-bottom: 10px;display:flex;">医保卡号:{{item.hisPatient.number?item.hisPatient.number:""}}</div> -->
31 31
             <div style="margin-bottom: 10px;display:flex;">联系方式:<span class="under_line">{{item.patient.phone}}</span></div>
32
-            <div style="margin-bottom: 10px;display:flex;">开具日期:<span class="under_line">{{getTime(item.pre_time) ? getTime(item.pre_time).split(' ')[0] : ''}}</span></div>
32
+            <div style="margin-bottom: 10px;display:flex;">开具日期:<span class="under_line">{{getTime(item.record_date) ? getTime(item.record_date).split(' ')[0] : ''}}</span></div>
33 33
             <!-- <div>地址:{{item.patient.home_address}}</div> -->
34 34
             <!-- <div style="display:flex;width:50%;">临床诊断:{{getDiagnosis(item.info.diagnosis)}}</div> -->
35 35
         </div>

+ 13 - 14
src/xt_permission.js Zobrazit soubor

@@ -12,21 +12,20 @@ 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
-
30 29
   NProgress.start()
31 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
32 31
   // alert('path:' + to.path)