From eae89f75a208938dba8787a73f68a8ae2e44e165 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期一, 23 十二月 2024 10:20:37 +0800
Subject: [PATCH] 1、指定钢化工程接口
---
UI-Project/src/router/index.js | 69 ++++++++++++++++------------------
1 files changed, 33 insertions(+), 36 deletions(-)
diff --git a/UI-Project/src/router/index.js b/UI-Project/src/router/index.js
index 1b60f11..9643500 100644
--- a/UI-Project/src/router/index.js
+++ b/UI-Project/src/router/index.js
@@ -27,8 +27,6 @@
name: 'main',
component: () => import('../layout/MainErpView.vue'),
children:[
-
-
{
path: 'Temperedlayout',
name: 'Temperedlayout',
@@ -41,34 +39,6 @@
}
]
},
-
-/*----------- 鐢ㄦ埛鍒楄〃 ----------------*/
-// {
-// path: 'User',
-// name: 'User',
-// component: () => import('../views/User/userlist.vue'),
-// children:[
-// {
-// path: '/User/userlist',
-// name: 'userlist',
-// component: () => import('../views/User/userlist.vue')
-// },
-// ]
-// },
-
-/*----------- 鏉冮檺鍒楄〃 ----------------*/
-// {
-// path: 'Permissions',
-// name: 'Permissions',
-// component: () => import('../views/Permissions/permissionslist.vue'),
-// children:[
-// {
-// path: '/Permissions/permissionslist',
-// name: 'permissionslist',
-// component: () => import('../views/Permissions/permissionslist.vue')
-// },
-// ]
-// },
/*----------- 涓婄墖鏈� ----------------*/
{
path: 'Returns',
@@ -95,13 +65,18 @@
/*----------- 鎺扮墖/璇嗗埆 ----------------*/
{
path: 'Identify',
- name: 'Identify',
- component: () => import('../views/Identify/identify.vue'),
- children:[
+ name: 'ident',
+ component: () => import('../views/Identify/ident.vue'),
+ children: [
{
path: '/Identify/identify',
name: 'identify',
component: () => import('../views/Identify/identify.vue')
+ },
+ {
+ path: '/Identify/identifwu',
+ name: 'identifwu',
+ component: () => import('../views/Identify/identifwu.vue')
},
]
},
@@ -121,6 +96,11 @@
name: 'cachingun',
component: () => import('../views/Caching/cachingun.vue')
},
+ {
+ path: '/Caching/cachingyiwu',
+ name: 'cachingyiwu',
+ component: () => import('../views/Caching/cachingyiwu.vue')
+ },
]
},
/*----------- 纾ㄨ竟锛堝喎鍔犲伐锛� ----------------*/
@@ -138,6 +118,11 @@
path: '/StockBasicData/stockBasicDatatwo',
name: 'stockBasicDatatwo',
component: () => import('../views/StockBasicData/stockBasicDatatwo.vue')
+ },
+ {
+ path: '/StockBasicData/stockBasicyiwu',
+ name: 'stockBasicyiwu',
+ component: () => import('../views/StockBasicData/stockBasicyiwu.vue')
},
]
},
@@ -283,7 +268,7 @@
path: 'reportWork',
name: 'reportWork',
component: () => import('../views/ReportWork/reportWork.vue'),
- children:[
+ children: [
{
path: '/ReportWork/reportWork',
name: 'reportWork',
@@ -291,6 +276,20 @@
},
]
},
+
+ /*----------- 涓┖ ----------------*/
+ {
+ path: 'hollow',
+ name: 'hollowequipment',
+ component: () => import('../views/hollow/hollowequipment.vue'),
+ children: [
+ {
+ path: '/hollow/hollowequipment',
+ name: 'hollowequipment',
+ component: () => import('../views/hollow/hollowequipment.vue')
+ },
+ ]
+ },
/*----------- 绠$悊绯荤粺 ----------------*/
{
path: 'sys',
@@ -325,10 +324,8 @@
name: 'register',
component: () => import('../views/RegisterView.vue')
}
-
]
})
-
// 瀵艰埅瀹堝崼
router.beforeEach((to, from, next) => {
const isAuthenticated = !!localStorage.getItem('authToken'); // 鍋囪杩欐槸浣犵殑鐧诲綍鐘舵�佹鏌ラ�昏緫
--
Gitblit v1.8.0