Sfoglia il codice sorgente

🐛 fix(ruiheng): 修正瑞恒报表入口权限判断

Zimo 6 giorni fa
parent
commit
89a84e773c
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      pages/home/index.vue

+ 5 - 5
pages/home/index.vue

@@ -162,7 +162,7 @@
         <view
         <view
           class="card-cell flex-row align-center justify-between"
           class="card-cell flex-row align-center justify-between"
           @click="openRuiHengReportPopup"
           @click="openRuiHengReportPopup"
-          v-if="rhReportApprovalFlag">
+          v-if="rhReportStatisticsFlag">
           <image src="/static/home/rh.png" mode="aspectFill"></image>
           <image src="/static/home/rh.png" mode="aspectFill"></image>
           <view class="cell-con flex-row align-center justify-between">
           <view class="cell-con flex-row align-center justify-between">
             <view class="cell-text flex-row align-center justify-start">
             <view class="cell-text flex-row align-center justify-start">
@@ -512,15 +512,15 @@
 </template>
 </template>
 
 
 <script setup>
 <script setup>
-import { onShow } from "@dcloudio/uni-app";
-import { nextTick, onMounted, ref } from "vue";
+import { getLoginUserInfo } from "@/api/login";
 import { getUnreadMessageCount } from "@/api/message";
 import { getUnreadMessageCount } from "@/api/message";
 import { getOvertimeTaskList } from "@/api/task";
 import { getOvertimeTaskList } from "@/api/task";
-import { getLoginUserInfo } from "@/api/login";
+import Upgrade from "@/components/upgrade.vue";
 import { useDeptStore } from "@/store/modules/dept";
 import { useDeptStore } from "@/store/modules/dept";
 import { useDeviceStore } from "@/store/modules/device";
 import { useDeviceStore } from "@/store/modules/device";
 import { messageNavigate } from "@/utils/navigate";
 import { messageNavigate } from "@/utils/navigate";
-import Upgrade from "@/components/upgrade.vue";
+import { onShow } from "@dcloudio/uni-app";
+import { nextTick, onMounted, ref } from "vue";
 
 
 const navigatorTo = (url) => {
 const navigatorTo = (url) => {
   uni.navigateTo({
   uni.navigateTo({