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 | 79 +++++++++++++++++++++++++++++++--------
1 files changed, 63 insertions(+), 16 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 66a0b9f..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,
},
{
@@ -92,22 +109,52 @@
// 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
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: '閾滄潗鏂欎笅鍗�', activeMenu: '/business/materialOrder' }
- // }
- // ]
- // },
+ {
+ // 妫�楠屼笅鍗曢〉闈�
+ path: '/inspectionOrder',
+ component: Layout,
+ hidden: true,
+ permissions: ['business:order'],
+ children: [
+ {
+ // 鏂板濮旀墭鍗曢〉闈�
+ path: 'addOrder',
+ component: () => import('@/views/business/inspectionOrder/add'),
+ name: 'addOrder',
+ meta: { title: '鏂板濮旀墭鍗�', activeMenu: '/business/inspectionOrder' }
+ },
+ {
+ // 鏌ョ湅濮旀墭鍗曡鎯呴〉闈�
+ path: 'showDetails',
+ component: () => import('@/views/business/inspectionOrder/add'),
+ name: 'showDetails',
+ meta: { title: '濮旀墭鍗曡鎯�', activeMenu: '/business/inspectionOrder' }
+ }
+ ]
+ },
+ {
+ // 妫�楠屼换鍔¢〉闈�
+ 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",
--
Gitblit v1.9.3