From 57c6103a1d9d80861ae5b9bfd9dd95feb5f29cb2 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 03 三月 2026 09:55:44 +0800
Subject: [PATCH] 巡检管理更名设备巡检
---
src/pages/index.vue | 61 ++++++------------------------
1 files changed, 13 insertions(+), 48 deletions(-)
diff --git a/src/pages/index.vue b/src/pages/index.vue
index 201d9c5..2a93fa2 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -309,6 +309,10 @@
icon: "/static/images/icon/caigoutaizhang@2x.png",
label: "浜哄憳钖祫",
},
+ {
+ icon: "/static/images/icon/caigoutaizhang@2x.png",
+ label: "鍚堝悓绠$悊",
+ },
]);
const safetyItems = reactive([
{
@@ -425,7 +429,7 @@
},
{
icon: "/static/images/icon/xunjianshangchuan@2x.png",
- label: "宸℃涓婁紶",
+ label: "璁惧宸℃",
},
]);
@@ -641,7 +645,7 @@
url: "/pages/equipmentManagement/upkeep/index",
});
break;
- case "宸℃涓婁紶":
+ case "璁惧宸℃":
uni.navigateTo({
url: "/pages/inspectionUpload/index",
});
@@ -714,6 +718,11 @@
case "浜哄憳钖祫":
uni.navigateTo({
url: "/pages/humanResources/monthlyStatistics/index",
+ });
+ break;
+ case "鍚堝悓绠$悊":
+ uni.navigateTo({
+ url: "/pages/humanResources/contractManagement/index",
});
break;
default:
@@ -818,8 +827,6 @@
return;
}
}
-
- console.log(orderRow, "orderRow======@@@@@@@@");
// 鎵爜鎴愬姛鍚庤烦杞埌鐢熶骇鎶ュ伐椤甸潰锛屽苟浼犻�抩rderRow鍙傛暟
uni.navigateTo({
url: `/pages/productionManagement/productionReport/index?orderRow=${orderRow}`,
@@ -904,26 +911,6 @@
};
collectMenuTitles(routers);
- console.log("鍏佽鐨勮彍鍗曟爣棰�:", Array.from(allowedMenuTitles));
- console.log(
- "杩囨护鍓� - 钀ラ攢绠$悊:",
- marketingItems.length,
- "閲囪喘绠$悊:",
- purchaseItems.length,
- "鍗忓悓鍔炲叕:",
- collaborationItems.length
- );
- console.log(
- "杩囨护鍓� - 瀹夊叏鐢熶骇:",
- safetyItems.length,
- "浜哄姏璧勬簮:",
- humanResourcesItems.length,
- "鐢熶骇绠℃帶:",
- productionItems.length,
- "璁惧绠$悊:",
- equipmentItems.length
- );
-
// 杩囨护钀ラ攢绠$悊鑿滃崟
const originalMarketing = [
{ icon: "/static/images/icon/xiaoshoutaizhang@2x.png", label: "閿�鍞彴璐�" },
@@ -1003,6 +990,7 @@
const originalHumanResources = [
{ icon: "/static/images/icon/caigoutaizhang@2x.png", label: "鎵撳崱绛惧埌" },
{ icon: "/static/images/icon/caigoutaizhang@2x.png", label: "浜哄憳钖祫" },
+ { icon: "/static/images/icon/caigoutaizhang@2x.png", label: "鍚堝悓绠$悊" },
];
const filteredHumanResources = originalHumanResources.filter(item => {
return allowedMenuTitles.has(item.label);
@@ -1031,35 +1019,12 @@
{ icon: "/static/images/icon/shbeibaoxiu@2x.png", label: "杩愯绠$悊" },
{ icon: "/static/images/icon/shbeibaoxiu@2x.png", label: "璁惧鎶ヤ慨" },
{ icon: "/static/images/icon/shbeibaoyang@2x.png", label: "璁惧淇濆吇" },
- { icon: "/static/images/icon/xunjianshangchuan@2x.png", label: "宸℃涓婁紶" },
+ { icon: "/static/images/icon/xunjianshangchuan@2x.png", label: "璁惧宸℃" },
];
const filteredEquipment = originalEquipment.filter(item => {
return allowedMenuTitles.has(item.label);
});
equipmentItems.splice(0, equipmentItems.length, ...filteredEquipment);
-
- console.log(
- "杩囨护鍚� - 钀ラ攢绠$悊:",
- marketingItems.length,
- "閲囪喘绠$悊:",
- purchaseItems.length,
- "鍗忓悓鍔炲叕:",
- collaborationItems.length
- );
- console.log(
- "杩囨护鍚� - 瀹夊叏鐢熶骇:",
- safetyItems.length,
- "浜哄姏璧勬簮:",
- humanResourcesItems.length,
- "鐢熶骇绠℃帶:",
- productionItems.length,
- "璁惧绠$悊:",
- equipmentItems.length
- );
- console.log(
- "鐢熶骇绠℃帶鑿滃崟椤�:",
- productionItems.map(item => item.label)
- );
};
// 妫�鏌ユā鍧楁槸鍚︽湁鑿滃崟椤归渶瑕佹樉绀�
--
Gitblit v1.9.3