feat(ops): add cleaning work order management module
This commit is contained in:
40
apps/web-antd/src/router/routes/modules/ops.ts
Normal file
40
apps/web-antd/src/router/routes/modules/ops.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: '/ops',
|
||||
name: 'OpsCenter',
|
||||
meta: {
|
||||
title: '运维中心',
|
||||
icon: 'lucide:wrench',
|
||||
keepAlive: true,
|
||||
hideInMenu: true,
|
||||
},
|
||||
children: [
|
||||
// 保洁工单详情
|
||||
{
|
||||
path: 'cleaning/work-order/detail/:id',
|
||||
name: 'CleaningWorkOrderDetail',
|
||||
meta: {
|
||||
title: '工单详情',
|
||||
activePath: '/ops/cleaning/work-order',
|
||||
},
|
||||
component: () =>
|
||||
import('#/views/ops/cleaning/work-order/detail/index.vue'),
|
||||
},
|
||||
// 保洁工单统计看板
|
||||
{
|
||||
path: 'cleaning/work-order/dashboard',
|
||||
name: 'CleaningWorkOrderDashboard',
|
||||
meta: {
|
||||
title: '统计看板',
|
||||
activePath: '/ops/cleaning/work-order',
|
||||
},
|
||||
component: () =>
|
||||
import('#/views/ops/cleaning/work-order/dashboard/index.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user