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 |   85 ++++++++++++++++++++++++++----------------
 1 files changed, 53 insertions(+), 32 deletions(-)

diff --git a/src/pages/works.vue b/src/pages/works.vue
index 8289a4f..78d9d00 100644
--- a/src/pages/works.vue
+++ b/src/pages/works.vue
@@ -264,6 +264,8 @@
         </up-grid>
       </view>
     </view>
+
+    <DownloadProgressMask />
   </view>
 </template>
 
@@ -273,11 +275,12 @@
   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 { triggerVersionCheck } = createVersionUpgradeChecker({ logPrefix: "[version-works]" });
   const show = ref(false);
   const factoryList = ref([]);
   const factoryListTem = ref([]);
@@ -302,6 +305,14 @@
 
   // 钀ラ攢绠$悊鍔熻兘鏁版嵁
   const marketingItems = reactive([
+    {
+      icon: "/static/images/icon/kehudangan.svg",
+      label: "瀹㈡埛妗f",
+    },
+    {
+      icon: "/static/images/icon/xiaoshoubaojia.svg",
+      label: "閿�鍞姤浠�",
+    },
     {
       icon: "/static/images/icon/xiaoshoutaizhang.svg",
       label: "閿�鍞彴璐�",
@@ -363,15 +374,15 @@
       label: "浠樻娴佹按",
     },
     {
-      icon: "/static/images/icon/huikuandengji.svg",
+      icon: "/static/images/icon/shouruguanli.svg",
       label: "鏀跺叆绠$悊",
     },
     {
-      icon: "/static/images/icon/fukuandengji.svg",
+      icon: "/static/images/icon/zhichuguanli.svg",
       label: "鏀嚭绠$悊",
     },
     {
-      icon: "/static/images/icon/huikuanliushui.svg",
+      icon: "/static/images/icon/jiekuanguanli.svg",
       label: "鍊熸绠$悊",
     },
   ]);
@@ -379,7 +390,7 @@
   // 妗f绠$悊鍔熻兘鏁版嵁
   const archiveManagementItems = reactive([
     {
-      icon: "/static/images/icon/gongchuguanli.svg",
+      icon: "/static/images/icon/gongyingshangdangan.svg",
       label: "渚涘簲鍟嗘。妗�",
     },
   ]);
@@ -387,11 +398,11 @@
   // 鍞悗鏈嶅姟鍔熻兘鏁版嵁
   const afterSalesServiceItems = reactive([
     {
-      icon: "/static/images/icon/xiaoshoutaizhang.svg",
+      icon: "/static/images/icon/fankuidengji.svg",
       label: "鍙嶉鐧昏",
     },
     {
-      icon: "/static/images/icon/caigouguanli.svg",
+      icon: "/static/images/icon/shouhouchuli.svg",
       label: "鍞悗澶勭悊",
     },
   ]);
@@ -472,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: "瀹㈡埛鎷滆",
+    // },
   ]);
 
   // 鐢熶骇绠℃帶鍔熻兘鏁版嵁
@@ -554,9 +565,19 @@
   const handleCommonItemClick = item => {
     // 鏍规嵁涓嶅悓鐨勫姛鑳介」杩涜璺宠浆
     switch (item.label) {
+      case "瀹㈡埛妗f":
+        uni.navigateTo({
+          url: "/pages/basicData/customerFile/index",
+        });
+        break;
       case "閿�鍞彴璐�":
         uni.navigateTo({
           url: "/pages/sales/salesAccount/index",
+        });
+        break;
+      case "閿�鍞姤浠�":
+        uni.navigateTo({
+          url: "/pages/sales/salesQuotation/index",
         });
         break;
       case "寮�绁ㄧ櫥璁�":
@@ -1134,7 +1155,7 @@
   const hasEquipmentItems = computed(() => equipmentItems.length > 0);
 
   onMounted(() => {
-    triggerVersionCheck("onMounted");
+    // triggerVersionCheck("onMounted");
     // 姣忔杩涘叆棣栭〉閮藉己鍒跺埛鏂扮敤鎴蜂俊鎭拰璺敱鏉冮檺锛屼笉鍋氭湰鍦扮紦瀛樺垽鏂�
     userStore.getInfo().then(() => {
       userStore

--
Gitblit v1.9.3