diff --git a/src/views/plugin/workflow/design/form.vue b/src/views/plugin/workflow/design/form.vue index 03b968f..a56bfaf 100644 --- a/src/views/plugin/workflow/design/form.vue +++ b/src/views/plugin/workflow/design/form.vue @@ -3,7 +3,7 @@ + @list-change="handleCategoryListChange"> @@ -165,6 +165,7 @@ export default { message: "请选择分类", trigger: "change" }], + overHidden: true, }, { label: '版本', @@ -194,7 +195,8 @@ export default { label: '备注', prop: 'remark', type: 'textarea', - span: 24 + span: 24, + overHidden: true, }, ] }, @@ -289,6 +291,10 @@ export default { this.getDefaultValues() }, methods: { + handleCategoryListChange(val) { + this.findObject(this.option.column, 'categoryId').dicData = val + this.findObject(this.copyOption.column, 'categoryId').dicData = val + }, handleChangeCategorySubmit(form, done) { const { category } = form changeCategory({ ids: this.ids, category }).then(() => {