From 207c564c2b8d46fd86160c4f6583c2fc9d4a4e5c Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 21 四月 2026 10:44:45 +0800
Subject: [PATCH] 湟水峡app 1.协同审批功能删减

---
 src/pages/works.vue |   59 +++++++++++++++++++++++++++++++++++------------------------
 1 files changed, 35 insertions(+), 24 deletions(-)

diff --git a/src/pages/works.vue b/src/pages/works.vue
index 88a7c66..78d9d00 100644
--- a/src/pages/works.vue
+++ b/src/pages/works.vue
@@ -264,17 +264,23 @@
         </up-grid>
       </view>
     </view>
+
+    <DownloadProgressMask />
   </view>
 </template>
 
 <script setup>
   import { ref, onMounted, nextTick, reactive, computed } from "vue";
+  import { onShow } from "@dcloudio/uni-app";
   import { userLoginFacotryList } from "@/api/login";
   import { getProductWorkOrderById } from "@/api/productionManagement/productionReporting";
+  import { createVersionUpgradeChecker } from "@/utils/versionUpgrade";
+  import DownloadProgressMask from "@/components/DownloadProgressMask.vue";
   import modal from "@/plugins/modal";
   import useUserStore from "@/store/modules/user";
 
   const userStore = useUserStore();
+  // const { triggerVersionCheck } = createVersionUpgradeChecker({ logPrefix: "[version-works]" });
   const show = ref(false);
   const factoryList = ref([]);
   const factoryListTem = ref([]);
@@ -477,30 +483,30 @@
       icon: "/static/images/icon/xietongshenpi.svg",
       label: "鍗忓悓瀹℃壒",
     },
-    {
-      icon: "/static/images/icon/huiyiguanli.svg",
-      label: "浼氳绠$悊",
-    },
-    {
-      icon: "/static/images/icon/tongzhigonggao.svg",
-      label: "閫氱煡鍏憡",
-    },
-    {
-      icon: "/static/images/icon/zhishiku.svg",
-      label: "鐭ヨ瘑搴�",
-    },
-    {
-      icon: "/static/images/icon/yongyinguanli.svg",
-      label: "鐢ㄥ嵃绠$悊",
-    },
-    {
-      icon: "/static/images/icon/guizhangzhidu.svg",
-      label: "瑙勭珷鍒跺害",
-    },
-    {
-      icon: "/static/images/icon/kehubaifang.svg",
-      label: "瀹㈡埛鎷滆",
-    },
+    // {
+    //   icon: "/static/images/icon/huiyiguanli.svg",
+    //   label: "浼氳绠$悊",
+    // },
+    // {
+    //   icon: "/static/images/icon/tongzhigonggao.svg",
+    //   label: "閫氱煡鍏憡",
+    // },
+    // {
+    //   icon: "/static/images/icon/zhishiku.svg",
+    //   label: "鐭ヨ瘑搴�",
+    // },
+    // {
+    //   icon: "/static/images/icon/yongyinguanli.svg",
+    //   label: "鐢ㄥ嵃绠$悊",
+    // },
+    // {
+    //   icon: "/static/images/icon/guizhangzhidu.svg",
+    //   label: "瑙勭珷鍒跺害",
+    // },
+    // {
+    //   icon: "/static/images/icon/kehubaifang.svg",
+    //   label: "瀹㈡埛鎷滆",
+    // },
   ]);
 
   // 鐢熶骇绠℃帶鍔熻兘鏁版嵁
@@ -1149,6 +1155,7 @@
   const hasEquipmentItems = computed(() => equipmentItems.length > 0);
 
   onMounted(() => {
+    // triggerVersionCheck("onMounted");
     // 姣忔杩涘叆棣栭〉閮藉己鍒跺埛鏂扮敤鎴蜂俊鎭拰璺敱鏉冮檺锛屼笉鍋氭湰鍦扮紦瀛樺垽鏂�
     userStore.getInfo().then(() => {
       userStore
@@ -1164,6 +1171,10 @@
     // 鍚姩閫氱煡鐘舵�佸畾鏃跺櫒
     startStatusTimer();
   });
+
+  onShow(() => {
+    triggerVersionCheck("onShow");
+  });
 </script>
 
 

--
Gitblit v1.9.3