From 144ec6fbf7b054147963dad241d97fd389e7e8b5 Mon Sep 17 00:00:00 2001
From: zhanghao <774378400@qq.com>
Date: Fri, 24 Jul 2026 11:02:32 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=91=8A=E8=AD=A6=E8=AE=B0=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/inspection/result.js | 23 ++
src/views/flow/config.js | 3 +-
src/views/inspection/alarm/index.vue | 453 ++++++++++++++++++++++++++-
3 files changed, 476 insertions(+), 3 deletions(-)
create mode 100644 src/api/inspection/result.js
diff --git a/src/api/inspection/result.js b/src/api/inspection/result.js
new file mode 100644
index 0000000..4132315
--- /dev/null
+++ b/src/api/inspection/result.js
@@ -0,0 +1,23 @@
+import request from '@/utils/request'
+
+/**
+ * 查询巡检结果列表。
+ */
+export function getInspectionResultList(params) {
+ return request({
+ url: '/inspection/result/list',
+ method: 'get',
+ params
+ })
+}
+
+/**
+ * 提交人工复核结果。
+ */
+export function reviewInspectionResult(id, data) {
+ return request({
+ url: `/inspection/result/${id}/review`,
+ method: 'put',
+ data
+ })
+}
diff --git a/src/views/flow/config.js b/src/views/flow/config.js
index 93ba78a..68ce3a3 100644
--- a/src/views/flow/config.js
+++ b/src/views/flow/config.js
@@ -460,7 +460,8 @@ function handler(params) {
nodeType: 'EDGE',
nodeParams: [
{ name: "resultName", type: "input", input: "", disabled: true },
- { name: "videoUrl", type: "input", input: "", disabled: true },
+ { name: "videoUrl", type: "input", input: "", required: false, disabled: true },
+ { name: "imageUrl", type: "input", input: "", required: false, disabled: true },
{ name: "reviewCriteria", type: "input", input: "", disabled: true },
{ name: "defaultAlarmLevel", type: "input", componentType: 'number', max: 3, step: 1, input: 1, disabled: true },
],
diff --git a/src/views/inspection/alarm/index.vue b/src/views/inspection/alarm/index.vue
index b6a0d09..c306a5d 100644
--- a/src/views/inspection/alarm/index.vue
+++ b/src/views/inspection/alarm/index.vue
@@ -1,3 +1,452 @@
-