feat(xispeak): 新增删除单条流程接口,改用processInstId删除流程
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -83,6 +83,7 @@
|
||||
updateLaunchType,
|
||||
saveOrUpdateDict,
|
||||
withDrawXiSpeak,
|
||||
deleteSingleProcess,
|
||||
getRootListWithDept,
|
||||
bgXiSpeakFeedbackList,
|
||||
} from './BgXiSpeak.api';
|
||||
@@ -597,7 +598,7 @@
|
||||
}
|
||||
|
||||
async function handleDeleteProcess(processRecord, reload) {
|
||||
const res = await withDrawXiSpeak({ id: currentBusinessId.value });
|
||||
const res = await deleteSingleProcess({ processInstId: processRecord.processInstId });
|
||||
if (res.success) {
|
||||
createMessage.success(res.message || '删除流程成功');
|
||||
await reload();
|
||||
|
||||
Reference in New Issue
Block a user