diff --git a/apps/web-antd/src/views/ops/security/work-order/components/security-actions.vue b/apps/web-antd/src/views/ops/security/work-order/components/security-actions.vue new file mode 100644 index 000000000..e535c6b59 --- /dev/null +++ b/apps/web-antd/src/views/ops/security/work-order/components/security-actions.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/apps/web-antd/src/views/ops/security/work-order/components/security-detail-ext.vue b/apps/web-antd/src/views/ops/security/work-order/components/security-detail-ext.vue new file mode 100644 index 000000000..f74e1d1e1 --- /dev/null +++ b/apps/web-antd/src/views/ops/security/work-order/components/security-detail-ext.vue @@ -0,0 +1,288 @@ + + + + + + + + + + 工单描述 + + + {{ order.description }} + + + + + + + + 事件信息 + + + + + + + 告警类型 + + {{ + SECURITY_ALARM_TYPE_MAP[extInfo.alarmType] || extInfo.alarmType + }} + + + + 摄像头 + {{ extInfo.cameraId }} + + + 告警ID + {{ extInfo.alarmId }} + + + 处理人 + {{ extInfo.assignedUserName }} + + + 派单时间 + {{ formatDateTime(extInfo.dispatchedTime) }} + + + 确认时间 + {{ formatDateTime(extInfo.confirmedTime) }} + + + 完成时间 + {{ formatDateTime(extInfo.completedTime) }} + + + + + + + + + 告警截图 + + + + + + + + + + + + + + + 处理结果 + + + + + + {{ extInfo.result }} + + + + + + + + 处理图片({{ resultImages.length }}张) + + + + + + + + + + + + diff --git a/apps/web-antd/src/views/ops/security/work-order/config.ts b/apps/web-antd/src/views/ops/security/work-order/config.ts new file mode 100644 index 000000000..25948fe43 --- /dev/null +++ b/apps/web-antd/src/views/ops/security/work-order/config.ts @@ -0,0 +1,15 @@ +/** 安保告警类型文本映射 */ +export const SECURITY_ALARM_TYPE_MAP: Record = { + intrusion: '入侵检测', + leave_post: '离岗检测', + fire: '火焰检测', + fence: '电子围栏', +}; + +/** 安保告警类型颜色映射 */ +export const SECURITY_ALARM_TYPE_COLOR_MAP: Record = { + intrusion: '#f5222d', + leave_post: '#fa8c16', + fire: '#ff4d4f', + fence: '#faad14', +};
{{ extInfo.cameraId }}
{{ extInfo.alarmId }}