From 4e1f449cb2ecc9aec9b4b4196a9ca5e8673735fe Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 14 八月 2025 11:02:36 +0800 Subject: [PATCH] feat: 接口 --- src/router/index.ts | 69 +++++++++++++++++++++++++++------- 1 files changed, 55 insertions(+), 14 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 0ee970d..e0fdbc8 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -137,11 +137,11 @@ }, children: [ { - path: '/TaskManage', - name: 'TaskManage', + path: '/TaskManageList', + name: 'TaskManageList', hidden: false, alwaysShow: true, - component: () => import('@/views/EmploymentManage/TaskManage.vue'), + component: () => import('@/views/EmploymentManage/TaskManageList.vue'), meta: { rank: 10021, title: '浠诲姟绠$悊', @@ -150,7 +150,7 @@ }, }, { - path: '/AddOrEditEmployment', + path: '/AddOrEditEmployment/:id?', name: 'AddOrEditEmployment', hidden: true, alwaysShow: false, @@ -163,7 +163,7 @@ }, }, { - path: '/EmploymentManageDetail', + path: '/EmploymentManageDetail/:id', name: 'EmploymentManageDetail', hidden: true, alwaysShow: false, @@ -176,7 +176,7 @@ }, }, { - path: '/EmploymentSignList', + path: '/EmploymentSignList/:id', name: 'EmploymentSignList', hidden: true, alwaysShow: false, @@ -189,7 +189,7 @@ }, }, { - path: '/EmploymentManageArrange', + path: '/EmploymentManageArrange/:id', name: 'EmploymentManageArrange', hidden: true, alwaysShow: false, @@ -211,6 +211,19 @@ meta: { rank: 10030, title: '楠屾敹绠$悊', + // rootMenu: true, + icon: 'home', + }, + }, + { + path: '/CheckReceiveTaskDetail/:id', + name: 'CheckReceiveTaskDetail', + hidden: true, + alwaysShow: false, + component: () => import('@/views/EmploymentManage/CheckReceiveTaskDetail.vue'), + meta: { + rank: 10031, + title: '楠屾敹璇︽儏', // rootMenu: true, icon: 'home', }, @@ -244,10 +257,10 @@ }, }, { - path: '/ServiceChargeSettle', + path: '/ServiceChargeSettle/:id', name: 'ServiceChargeSettle', - hidden: false, - alwaysShow: true, + hidden: true, + alwaysShow: false, component: () => import('@/views/ServiceChargeManage/ServiceChargeSettle.vue'), meta: { rank: 10042, @@ -257,13 +270,13 @@ }, }, { - path: '/ServiceChargeDetail', + path: '/ServiceChargeDetail/:id', name: 'ServiceChargeDetail', - hidden: false, - alwaysShow: true, + hidden: true, + alwaysShow: false, component: () => import('@/views/ServiceChargeManage/ServiceChargeDetail.vue'), meta: { - rank: 10042, + rank: 10043, title: '璇︽儏', // rootMenu: true, icon: 'home', @@ -272,6 +285,34 @@ ], }, { + path: '/FinanceManage', + redirect: 'noRedirect', + component: Layout, + hidden: false, + alwaysShow: true, + meta: { + rank: 10050, + title: '璐㈠姟绠$悊', + rootMenu: true, + icon: 'home', + }, + children: [ + { + path: '/FinanceManageList', + name: 'FinanceManageList', + hidden: false, + alwaysShow: true, + component: () => import('@/views/FinanceManage/FinanceManage.vue'), + meta: { + rank: 10051, + title: '璐㈠姟绠$悊', + // rootMenu: true, + icon: 'home', + }, + }, + ], + }, + { path: '/Login', name: 'Login', hidden: true, -- Gitblit v1.9.1