fix(任务中心): 批量参数

This commit is contained in:
baiqi 2024-10-30 10:38:36 +08:00 committed by Craftsman
parent 033aa593ba
commit 0ba1d0ac2b
3 changed files with 5 additions and 5 deletions

View File

@ -527,7 +527,7 @@
selectIds: params?.selectedIds || [], selectIds: params?.selectedIds || [],
selectAll: !!params?.selectAll, selectAll: !!params?.selectAll,
excludeIds: params?.excludeIds || [], excludeIds: params?.excludeIds || [],
...conditionParams.value, condition: conditionParams.value,
}); });
} else { } else {
await currentStopTask(record?.id || ''); await currentStopTask(record?.id || '');

View File

@ -607,7 +607,7 @@
selectIds: params?.selectedIds || [], selectIds: params?.selectedIds || [],
selectAll: !!params?.selectAll, selectAll: !!params?.selectAll,
excludeIds: params?.excludeIds || [], excludeIds: params?.excludeIds || [],
...conditionParams.value, condition: conditionParams.value,
}); });
} else { } else {
await currentDeleteTask(record?.id || ''); await currentDeleteTask(record?.id || '');
@ -660,7 +660,7 @@
selectIds: params?.selectedIds || [], selectIds: params?.selectedIds || [],
selectAll: !!params?.selectAll, selectAll: !!params?.selectAll,
excludeIds: params?.excludeIds || [], excludeIds: params?.excludeIds || [],
...conditionParams.value, condition: conditionParams.value,
}); });
} else { } else {
await currentStopTask(record?.id || ''); await currentStopTask(record?.id || '');

View File

@ -450,7 +450,7 @@
selectIds: params?.selectedIds || [], selectIds: params?.selectedIds || [],
selectAll: !!params?.selectAll, selectAll: !!params?.selectAll,
excludeIds: params?.excludeIds || [], excludeIds: params?.excludeIds || [],
...conditionParams.value, condition: conditionParams.value,
}); });
Message.success(t('ms.taskCenter.openTaskSuccess')); Message.success(t('ms.taskCenter.openTaskSuccess'));
resetSelector(); resetSelector();
@ -475,7 +475,7 @@
selectIds: params?.selectedIds || [], selectIds: params?.selectedIds || [],
selectAll: !!params?.selectAll, selectAll: !!params?.selectAll,
excludeIds: params?.excludeIds || [], excludeIds: params?.excludeIds || [],
...conditionParams.value, condition: conditionParams.value,
}); });
Message.success(t('ms.taskCenter.closeTaskSuccess')); Message.success(t('ms.taskCenter.closeTaskSuccess'));
resetSelector(); resetSelector();