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 @@ \ No newline at end of file +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +