feat(@vben/web-antd): 新增巡检记录模块及路由配置
- 新增巡检记录 API(分页查询、详情、统计) - 卡片式列表展示巡检记录,支持按状态 Tab 筛选 - 统计栏展示合格率/总数/合格数/不合格数 - 详情抽屉展示巡检明细项、照片、归因结果 - 注册巡检记录和巡检模板路由 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -93,6 +93,28 @@ const routes: RouteRecordRaw[] = [
|
||||
},
|
||||
component: () => import('#/views/ops/work-order/dashboard/index.vue'),
|
||||
},
|
||||
// 巡检记录
|
||||
{
|
||||
path: 'inspection-record',
|
||||
name: 'OpsInspectionRecord',
|
||||
meta: {
|
||||
title: '巡检记录',
|
||||
activePath: '/ops/inspection-record',
|
||||
},
|
||||
component: () =>
|
||||
import('#/views/ops/inspection-record/index.vue'),
|
||||
},
|
||||
// 巡检模板管理
|
||||
{
|
||||
path: 'inspection-template',
|
||||
name: 'OpsInspectionTemplate',
|
||||
meta: {
|
||||
title: '巡检模板管理',
|
||||
activePath: '/ops/inspection-template',
|
||||
},
|
||||
component: () =>
|
||||
import('#/views/ops/inspection-template/index.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user