From 620c480b827bed90eb16a690f1f90421bf260cf0 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期一, 17 三月 2025 13:55:00 +0800
Subject: [PATCH] 浪潮单点登录修复
---
src/router/index.js | 39 ++++++++-------------------------------
1 files changed, 8 insertions(+), 31 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index eb196f1..36c60ba 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -47,6 +47,11 @@
hidden: true,
},
{
+ path: "/callbacklccpn",
+ component: () => import("@/views/tideLogin.vue"),
+ hidden: true,
+ },
+ {
path: "/register",
component: () => import("@/views/register"),
hidden: true,
@@ -125,7 +130,7 @@
path: "/productOrder",
component: Layout,
hidden: true,
- permissions: ["productOrder:order"],
+ permissions: ["business:productOrder"],
children: [
{
// 鎴愬搧涓嬪崟璇︽儏
@@ -133,7 +138,7 @@
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 +154,7 @@
path: "inspection",
component: () => import("@/views/business/inspectionTask/inspection"),
name: "inspection",
- meta: { title: "妫�楠屽崟璇︽儏", activeMenu: "/business/inspectionTask" },
+ meta: { title: "妫�楠屽崟璇︽儏", activeMenu: "/business/inspectionTask", keepAlive: false },
},
],
},
@@ -204,34 +209,6 @@
component: Layout,
hidden: true,
permissions: ["customer:edit"],
- },
- {
- path: "/monitor/job-log",
- component: Layout,
- hidden: true,
- permissions: ["monitor:job:list"],
- children: [
- {
- path: "index/:jobId(\\d+)",
- component: () => import("@/views/monitor/job/log"),
- name: "JobLog",
- meta: { title: "璋冨害鏃ュ織", activeMenu: "/monitor/job" },
- },
- ],
- },
- {
- path: "/tool/gen-edit",
- component: Layout,
- hidden: true,
- permissions: ["tool:gen:edit"],
- children: [
- {
- path: "index/:tableId(\\d+)",
- component: () => import("@/views/tool/gen/editTable"),
- name: "GenEdit",
- meta: { title: "淇敼鐢熸垚閰嶇疆", activeMenu: "/tool/gen" },
- },
- ],
},
];
--
Gitblit v1.9.3