diff --git a/src/api/flow/flow.js b/src/api/flow/flow.js
index d8ea37b..7a8b6af 100644
--- a/src/api/flow/flow.js
+++ b/src/api/flow/flow.js
@@ -90,6 +90,14 @@ export function flowStop(instId) {
})
}
+export function submitAudioCorrection(nodeInstId, data) {
+ return request({
+ url: `/flow/audio-correction/${encodeURIComponent(nodeInstId)}`,
+ method: 'post',
+ data,
+ })
+}
+
export function getArmStatus(params) {
return request({
url: '/api/arm/getPose',
diff --git a/src/views/flow/audioTypes.js b/src/views/flow/audioTypes.js
new file mode 100644
index 0000000..1e6c08e
--- /dev/null
+++ b/src/views/flow/audioTypes.js
@@ -0,0 +1,8 @@
+export const soundTypeOptions = [
+ { label: '开机', value: 'POWER_ON' },
+ { label: '关机', value: 'POWER_OFF' },
+ { label: '设防', value: 'ARMED' },
+ { label: '解防', value: 'DISARMED' },
+ { label: '鸣笛寻车', value: 'FIND_VEHICLE_HORN' },
+ { label: '未知', value: 'UNKNOWN' },
+]
diff --git a/src/views/flow/components/AudioCorrectionDialog.vue b/src/views/flow/components/AudioCorrectionDialog.vue
new file mode 100644
index 0000000..3827dfa
--- /dev/null
+++ b/src/views/flow/components/AudioCorrectionDialog.vue
@@ -0,0 +1,162 @@
+
+