From 45792b3776cda2e1ada31755ffc226a663f90b48 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 19 三月 2025 15:32:23 +0800
Subject: [PATCH] 锁屏功能
---
src/router/index.js | 42 +++++++++++++++++++++++++++++++++++++++++-
1 files changed, 41 insertions(+), 1 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index b9675e1..a476b13 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"),
@@ -59,6 +71,11 @@
{
path: "/401",
component: () => import("@/views/error/401"),
+ hidden: true,
+ },
+ {
+ path: "/lock",
+ component: () => import("@/layout/components/lock/index"),
hidden: true,
},
{
@@ -93,7 +110,7 @@
// 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
export const dynamicRoutes = [
{
- // 涓嬪崟椤甸潰
+ // 妫�楠屼笅鍗曢〉闈�
path: '/inspectionOrder',
component: Layout,
hidden: true,
@@ -116,6 +133,29 @@
]
},
{
+ // 妫�楠屼换鍔¢〉闈�
+ path: '/inspectionTask',
+ component: Layout,
+ hidden: true,
+ permissions: ['business:inspection'],
+ children: [
+ {
+ // 浠诲姟妫�楠岄〉闈�
+ path: 'inspection',
+ component: () => import('@/views/business/inspectionTask/Inspection'),
+ name: 'Inspection',
+ meta: {keepAlive: false, title: '濮旀墭鍗曟楠�', activeMenu: '/business/inspectionTask' }
+ },
+ // {
+ // // 鏌ョ湅濮旀墭鍗曡鎯呴〉闈�
+ // path: 'showDetails',
+ // component: () => import('@/views/business/inspectionOrder/add'),
+ // name: 'showDetails',
+ // meta: { title: '濮旀墭鍗曡鎯�', activeMenu: '/business/inspectionOrder' }
+ // }
+ ]
+ },
+ {
// 鐢ㄦ埛绠$悊
path: "/system/user-auth",
component: Layout,
--
Gitblit v1.9.3