From db01bceab158251b846c5d6d43c1185172eb958d Mon Sep 17 00:00:00 2001
From: lxp <1928192722@qq.com>
Date: 星期二, 18 三月 2025 11:24:32 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/center-lims-before-ruoyi into dev
---
src/router/index.js | 62 +++++++++++++++++++++++--------
1 files changed, 46 insertions(+), 16 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 66a0b9f..b9dde1e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -92,22 +92,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: { 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