feat: [bpm][antd] todo 修改, 一些优化

This commit is contained in:
jason
2025-12-01 15:53:57 +08:00
parent 0731999e7d
commit 29e79448e4
10 changed files with 136 additions and 181 deletions

View File

@@ -15,7 +15,7 @@ import { useGridColumns, useGridFormSchema } from './data';
defineOptions({ name: 'BpmDoneTask' });
/** 查看历史 */
function handleHistory(row: BpmTaskApi.TaskManager) {
function handleHistory(row: BpmTaskApi.Task) {
router.push({
name: 'BpmProcessInstanceDetail',
query: {
@@ -26,7 +26,7 @@ function handleHistory(row: BpmTaskApi.TaskManager) {
}
/** 撤回任务 */
async function handleWithdraw(row: BpmTaskApi.TaskManager) {
async function handleWithdraw(row: BpmTaskApi.Task) {
const hideLoading = message.loading({
content: '正在撤回中...',
duration: 0,
@@ -67,7 +67,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
refresh: true,
search: true,
},
} as VxeTableGridOptions<BpmTaskApi.TaskManager>,
} as VxeTableGridOptions<BpmTaskApi.Task>,
});
</script>