From 4189c6d127d124f6194da1cd3f10c92724ea8934 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 25 三月 2025 10:20:48 +0800
Subject: [PATCH] 优化原辅料报检页面
---
src/router/index.js | 40 ++++++++++++++++++++++++++++++++--------
1 files changed, 32 insertions(+), 8 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 47f9884..54a9620 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -46,6 +46,18 @@
component: () => import("@/views/login"),
hidden: true,
},
+ // 绗笁鏂圭櫥褰曢〉
+ {
+ path: "/thirdpartylogin",
+ component: () => import("@/views/thirdpartylogin"),
+ hidden: true,
+ },
+ // 绗笁鏂圭櫥褰曢〉涓浆
+ {
+ path: "/logindemo",
+ component: () => import("@/views/logindemo"),
+ hidden: true,
+ },
{
path: "/register",
component: () => import("@/views/register"),
@@ -62,7 +74,7 @@
hidden: true,
},
{
- path: "",
+ path: "/",
component: Layout,
redirect: "index",
children: [
@@ -93,22 +105,22 @@
// 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
export const dynamicRoutes = [
{
- // 鍘熸潗鏂欎笅鍗�
+ // 鍘熻緟鏂欎笅鍗�
path: "/materialOrder",
component: Layout,
hidden: true,
permissions: ["business:order"],
children: [
{
- // 鍘熸潗鏂欎笅鍗�
+ // 鍘熻緟鏂欎笅鍗�
path: "customsInspection",
component: () =>
import("@/views/business/materialOrder/customsInspection"),
name: "CustomsInspection",
meta: {
- title: "鍘熸潗鏂欎笅鍗曡鎯�",
+ title: "鍘熻緟鏂欎笅鍗曡鎯�",
activeMenu: "/business/materialOrder",
- keepAlive: true
+ keepAlive: true,
},
},
{
@@ -116,7 +128,11 @@
path: "copperOrder",
component: () => import("@/views/business/materialOrder/copperOrder"),
name: "CopperOrder",
- meta: { title: "閾滄潗鏂欎笅鍗�", activeMenu: "/business/materialOrder",keepAlive: true },
+ meta: {
+ title: "閾滄潗鏂欎笅鍗�",
+ activeMenu: "/business/materialOrder",
+ keepAlive: true,
+ },
},
],
},
@@ -133,7 +149,11 @@
component: () =>
import("@/views/business/productOrder/components/add.vue"),
name: "Add",
- meta: { title: "鎴愬搧涓嬪崟璇︽儏", activeMenu: "/business/materialOrder",keepAlive: true },
+ meta: {
+ title: "鎴愬搧涓嬪崟璇︽儏",
+ activeMenu: "/business/productOrder",
+ keepAlive: true,
+ },
},
],
},
@@ -149,7 +169,11 @@
path: "inspection",
component: () => import("@/views/business/inspectionTask/inspection"),
name: "inspection",
- meta: { title: "妫�楠屽崟璇︽儏", activeMenu: "/business/inspectionTask", keepAlive: false },
+ meta: {
+ title: "妫�楠屽崟璇︽儏",
+ activeMenu: "/business/inspectionTask",
+ keepAlive: false,
+ },
},
],
},
--
Gitblit v1.9.3