diff --git a/frontend/src/views/flowCenter/workflow/editForm.vue b/frontend/src/views/flowCenter/workflow/editForm.vue index 5ea1f74683f4c9a9464101a232809f52e8699569..7130aea9fa1fbe98c06c8857d4a353f8af62d501 100644 --- a/frontend/src/views/flowCenter/workflow/editForm.vue +++ b/frontend/src/views/flowCenter/workflow/editForm.vue @@ -101,6 +101,7 @@ nextMakerName:'', webId:null, nextNodeDesignateType:null, + code:null, customName:null, schemeContent:null, schemeId:null, @@ -112,6 +113,7 @@ methods: { // 初始化方法 edit (record) { + this.code = record.code this.customName = record.customName this.frmType = record.frmType this.schemeContent=record.schemeContent @@ -236,6 +238,8 @@ input.id = that.id input.nextNodeDesignateType= that.nextNodeDesignateType input.nextNodeDesignates = that.nextNodeDesignates + input.code = that.code + input.customName = that.customName flowinstanceEdit(input).then((res) => { if (res.success) { this.$message.success('新增成功') diff --git a/frontend/src/views/flowCenter/workflow/previewForm.vue b/frontend/src/views/flowCenter/workflow/previewForm.vue index 74757938de3ed81d310d5b4f15d53d19340c614a..a41a1a402b0805808441df2992be4a565a9ff4b2 100644 --- a/frontend/src/views/flowCenter/workflow/previewForm.vue +++ b/frontend/src/views/flowCenter/workflow/previewForm.vue @@ -234,7 +234,7 @@ }, 100) }, handleSubmit () { - handleCancel () + this.handleCancel () }, handleCancel () { this.form.resetFields()