feat(flow): 添加流程实例更新功能并禁用撤回操作

添加updateFlowInstance API用于更新流程实例
在所有详情页面禁用撤回功能
修改审批状态从pending到running
在抄送页面添加详情跳转功能
This commit is contained in:
砂糖
2026-01-05 14:38:22 +08:00
parent 3a0a076a77
commit b0ee494434
7 changed files with 79 additions and 30 deletions

View File

@@ -231,6 +231,7 @@ export default {
return typeMap[this.detail.status] || 'info'
},
canWithdraw() {
return false;
// 只有待审批状态且是当前用户提交的才能撤回
return this.detail.status === 'pending' && this.detail.createBy === this.$store.getters.name
},