From b24224d194991f4c6cf0c30f006b066f85560c63 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期一, 17 三月 2025 11:21:36 +0800 Subject: [PATCH] 隐藏工时查看 --- src/router/index.js | 46 +++++++++++++++------------------------------- 1 files changed, 15 insertions(+), 31 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 180cdb2..e2b4cf6 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: [ @@ -125,7 +137,7 @@ path: "/productOrder", component: Layout, hidden: true, - permissions: ["productOrder:order"], + permissions: ["business:productOrder"], children: [ { // 鎴愬搧涓嬪崟璇︽儏 @@ -133,7 +145,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 }, }, ], }, @@ -204,34 +216,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