fix(xispeak): 修复流程发起后下拉菜单显示状态不正确
- 收集流程发起后bpmStatus设为'3',区分"仅收集已发起"和"经办人已发起" - 新增bpmStatus=='3'分支显示"发起经办人执行反馈流程"(首次) - 更新BPM节点权限文档所纪委审批节点URL参数 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -173,7 +173,7 @@ bg/xispeak/components/BgXiSpeakBPMForm?showProcessHandle=1&showFeedbackInfo=1&sh
|
|||||||
* **showEditFeedback** `0` —— 编辑/删除操作列
|
* **showEditFeedback** `0` —— 编辑/删除操作列
|
||||||
* **showDeptFeedback** `0` —— 按部门过滤反馈
|
* **showDeptFeedback** `0` —— 按部门过滤反馈
|
||||||
* **showJiJianFields** `0` —— 纪检字段列
|
* **showJiJianFields** `0` —— 纪检字段列
|
||||||
* bg/xispeak/components/BgXiSpeakBPMForm?showProcessHandle=1&showFeedbackInfo=1&showEditFeedback=1&nonJiJianFieldsReadonly=1&showJiJianFields=1
|
* bg/xispeak/components/BgXiSpeakBPMForm?showProcessHandle=1&showFeedbackInfo=1
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -529,6 +529,12 @@
|
|||||||
onClick: handleProcessJbr.bind(null, record),
|
onClick: handleProcessJbr.bind(null, record),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (record.bpmStatus == '3') {
|
||||||
|
dropDownAction.push({
|
||||||
|
label: '发起经办人执行反馈流程',
|
||||||
|
onClick: handleProcessJbr.bind(null, record),
|
||||||
|
});
|
||||||
|
}
|
||||||
if (record.bpmStatus == '2') {
|
if (record.bpmStatus == '2') {
|
||||||
dropDownAction.push({
|
dropDownAction.push({
|
||||||
label: '再次发起经办人执行反馈流程',
|
label: '再次发起经办人执行反馈流程',
|
||||||
@@ -711,7 +717,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
await startProcessSchedules(params);
|
await startProcessSchedules(params);
|
||||||
await saveOrUpdateDict({ id: record.id, bpmStatus: '2', supervisionCount: nextSuperviseCount, completionStatus: 0 }, true);
|
await saveOrUpdateDict({ id: record.id, bpmStatus: '3', supervisionCount: nextSuperviseCount, completionStatus: 0 }, true);
|
||||||
createMessage.success('发起成功');
|
createMessage.success('发起成功');
|
||||||
reload();
|
reload();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user