Przeglądaj źródła

Merge branch 'fix_6994_dw' into debug_dw

yujinwen 4 dni temu
rodzic
commit
c61a15a5d3
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 2 2
      src/views/report/Detail.vue
  2. 2 2
      src/views/report/PDF.vue

+ 2 - 2
src/views/report/Detail.vue

@@ -348,7 +348,7 @@ function handleTips () {
     </div>
   </div>
   <!-- 无权限  -->
-  <div class="no-auth-wrap" v-if="reportStatus !== 4">
+  <div class="no-auth-wrap" v-if="reportInfo&&reportStatus !== 4">
     <div class="opcity-box"></div>
     <div class="content-box">
       <img class="icon" src="@/assets/imgs/lock-img.png" alt="" />
@@ -380,7 +380,7 @@ function handleTips () {
     </div>
   </div>
   <!-- 未绑定 -->
-  <div class="no-auth-wrap" v-if="reportStatus === 5&&!isBind">
+  <div class="no-auth-wrap" v-if="reportInfo&&reportStatus === 5&&!isBind">
     <div class="opcity-box"></div>
     <div class="content-box">
       <img class="icon" src="@/assets/imgs/lock-img.png" alt="" />

+ 2 - 2
src/views/report/PDF.vue

@@ -189,7 +189,7 @@ function handleTips () {
     </div>
   </div>
   <!-- 无权限  -->
-  <div class="no-auth-wrap" v-if="reportStatus !== 4">
+  <div class="no-auth-wrap" v-if="reportInfo&&reportStatus !== 4">
     <div class="opcity-box"></div>
     <div class="content-box">
       <img class="icon" src="@/assets/imgs/lock-img.png" alt="" />
@@ -221,7 +221,7 @@ function handleTips () {
     </div>
   </div>
   <!-- 未绑定 -->
-  <div class="no-auth-wrap" v-if="reportStatus === 5&&!isBind">
+  <div class="no-auth-wrap" v-if="reportInfo&&reportStatus === 5&&!isBind">
     <div class="opcity-box"></div>
     <div class="content-box">
       <img class="icon" src="@/assets/imgs/lock-img.png" alt="" />