refactor(@vben/web-antd): 删除保洁工单中心,统一使用通用工单中心
保洁工单中心与通用工单中心功能重叠,统一入口避免歧义。 - 删除 views/ops/cleaning/work-order 整个目录 - 迁移 cleaning-actions/detail-ext/work-progress 组件到 work-order/components/ - 迁移 CLEANING_TYPE_OPTIONS/TEXT_MAP 到 work-order/data.ts - 删除路由中保洁工单详情和看板两条路由 - 更新详情页组件引用路径 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -51,28 +51,6 @@ const routes: RouteRecordRaw[] = [
|
||||
},
|
||||
component: () => import('#/views/ops/traffic/index.vue'),
|
||||
},
|
||||
// 保洁工单详情
|
||||
{
|
||||
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'),
|
||||
},
|
||||
// 工单中心详情(通用,支持所有工单类型)
|
||||
{
|
||||
path: 'work-order/detail/:id',
|
||||
|
||||
Reference in New Issue
Block a user