feat(ops): add cleaning work order management module

This commit is contained in:
lzh
2026-01-25 22:33:34 +08:00
parent dac4e33cc6
commit 712cbd5aaf
12 changed files with 6639 additions and 0 deletions

View 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;