diff --git a/yudao-server/pom.xml b/yudao-server/pom.xml index 852a9dff0..262a6b7fd 100644 --- a/yudao-server/pom.xml +++ b/yudao-server/pom.xml @@ -68,11 +68,11 @@ - - - - - + + cn.iocoder.boot + yudao-module-bpm-biz + ${revision} + cn.iocoder.boot yudao-spring-boot-starter-biz-error-code diff --git a/yudao-ui-admin/src/views/bpm/model/index.vue b/yudao-ui-admin/src/views/bpm/model/index.vue index 4787306ff..fbb580fe3 100644 --- a/yudao-ui-admin/src/views/bpm/model/index.vue +++ b/yudao-ui-admin/src/views/bpm/model/index.vue @@ -489,7 +489,10 @@ export default { }).then(() => { this.getList(); this.$modal.msgSuccess(statusState + "成功"); - }).catch(() => {}); + }).catch(() => { + // 取消后,进行恢复按钮 + row.processDefinition.suspensionState = (state === 1 ? 2 : 1); + }); }, /** 导入按钮操作 */ handleImport() {