diff --git a/acs2/nladmin-ui/src/views/acs/task/index.vue b/acs2/nladmin-ui/src/views/acs/task/index.vue index c66e3ddca..0d9818a21 100644 --- a/acs2/nladmin-ui/src/views/acs/task/index.vue +++ b/acs2/nladmin-ui/src/views/acs/task/index.vue @@ -217,9 +217,6 @@ /> - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +
- 请选择 + {{ $t('task.select.Placeholder') }}
@@ -353,7 +418,7 @@ {{ $t('task.select.Confirm') }}
- + 添加新行 @@ -617,7 +682,14 @@ export default { to_x: null, to_y: null, to_z: null, - agv_system_type: '1' + from_x2: null, + from_y2: null, + from_z2: null, + to_x2: null, + to_y2: null, + to_z2: null, + agv_system_type: '1', + interaction_json: {} }, extension: [{ name: '', @@ -679,10 +751,10 @@ export default { saveForm() { // 保存表单数据 // 你可以在这里处理保存逻辑,并发送请求保存表单数据 - this.extension.reduce((form, item) => { - form[item.name] = item.value - return form - }, this.form) + this.form.interaction_json = this.extension.reduce((extension, item) => { + extension[item.name] = item.value + return extension + }, {}) this.dialogVisible = false }, saveBtn() {