From 7156e1dd1e8dd4cd231683966829bea39c52330d Mon Sep 17 00:00:00 2001 From: lzh Date: Sun, 15 Mar 2026 16:49:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(@vben/web-antd):=20=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=20API=20=E7=B1=BB=E5=9E=8B=E5=A2=9E=E5=BC=BA?= =?UTF-8?q?=E5=8F=8A=E6=96=B0=E5=A2=9E=E5=8C=BA=E5=9F=9F=E5=AE=89=E4=BF=9D?= =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - OrderItem 新增 responseSeconds、completionSeconds、inspectorName、qualityScore 等字段 - CleaningExtInfo.isAuto 类型由 number 改为 boolean,新增 images 字段 - 新增区域安保配置路由 OpsAreaSecurity Co-Authored-By: Claude Opus 4.6 --- apps/web-antd/src/api/ops/order-center/index.ts | 10 +++++++++- apps/web-antd/src/router/routes/modules/ops.ts | 10 ++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/apps/web-antd/src/api/ops/order-center/index.ts b/apps/web-antd/src/api/ops/order-center/index.ts index ee0685e33..567928a6d 100644 --- a/apps/web-antd/src/api/ops/order-center/index.ts +++ b/apps/web-antd/src/api/ops/order-center/index.ts @@ -69,7 +69,8 @@ export namespace OpsOrderCenterApi { arrivedTime?: string; // 到岗时间 totalPauseSeconds?: number; // 暂停总秒数 difficultyLevel?: number; // 难度等级 - isAuto?: number; // 是否自动创建 (1=自动, 0=手动) + isAuto?: boolean; // 是否自动创建 + images?: string | string[]; // 附件图片(JSON数组或数组) } /** 安保工单扩展信息(对应 ops_order_security_ext 表) */ @@ -116,7 +117,14 @@ export namespace OpsOrderCenterApi { startTime?: null | number | string; // 开始时间(到岗时间,支持时间戳或字符串) endTime?: null | number | string; // 结束时间(支持时间戳或字符串) updateTime?: number | string; // 更新时间(支持时间戳或字符串) + responseSeconds?: number; // 响应时长(秒) + completionSeconds?: number; // 完成耗时(秒) remark?: string; // 备注 + inspectorId?: number; // 检查人ID + inspectorName?: null | string; // 检查人姓名 + qualityScore?: null | number; // 质检评分 + qualityComment?: null | string; // 质检评语 + urgentReason?: null | string; // 紧急原因 } /** 统计数据 - 按类型和状态分组 */ diff --git a/apps/web-antd/src/router/routes/modules/ops.ts b/apps/web-antd/src/router/routes/modules/ops.ts index 40f5bb36d..654e92836 100644 --- a/apps/web-antd/src/router/routes/modules/ops.ts +++ b/apps/web-antd/src/router/routes/modules/ops.ts @@ -21,6 +21,16 @@ const routes: RouteRecordRaw[] = [ }, component: () => import('#/views/ops/area/index.vue'), }, + // 区域安保配置 + { + path: 'area-security', + name: 'OpsAreaSecurity', + meta: { + title: '区域安保配置', + activePath: '/ops/config/area-security', + }, + component: () => import('#/views/ops/area-security/index.vue'), + }, // 区域设备管理 { path: 'area-device',