feat(@vben/web-antd): 新增通用工单中心模块,支持多类型工单管理

添加工单中心路由(详情页和统计看板),工单列表、详情、看板等页面
支持保洁、安保、维修等多类型工单的统一管理。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
lzh
2026-03-13 11:17:41 +08:00
parent d9a192bd07
commit 08e79ec20a
9 changed files with 6316 additions and 0 deletions

View File

@@ -63,6 +63,26 @@ const routes: RouteRecordRaw[] = [
component: () =>
import('#/views/ops/cleaning/work-order/dashboard/index.vue'),
},
// 工单中心详情(通用,支持所有工单类型)
{
path: 'work-order/detail/:id',
name: 'WorkOrderDetail',
meta: {
title: '工单详情',
activePath: '/ops/work-order',
},
component: () => import('#/views/ops/work-order/detail/index.vue'),
},
// 工单中心统计看板
{
path: 'work-order/dashboard',
name: 'WorkOrderDashboard',
meta: {
title: '统计看板',
activePath: '/ops/work-order',
},
component: () => import('#/views/ops/work-order/dashboard/index.vue'),
},
],
},
];