Skip to content

Commit c329644

Browse files
committed
【修复】工作流程-流程管理-流程模型,在发布完流程后,点击激活状态的按钮,显示“是否确认挂起流程名字为‘xxx’‘的数据项“,点击取消,前端显示的激活状态改变,但是数据库没有更新,报错
1 parent 8e7a093 commit c329644

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/views/bpm/model/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,10 @@ export default {
489489
}).then(() => {
490490
this.getList();
491491
this.$modal.msgSuccess(statusState + "成功");
492-
}).catch(() => {});
492+
}).catch(() => {
493+
// 取消后,进行恢复按钮
494+
row.processDefinition.suspensionState = (state === 1 ? 2 : 1);
495+
});
493496
},
494497
/** 导入按钮操作 */
495498
handleImport() {

0 commit comments

Comments
 (0)