fix(任务中心): 批量参数
This commit is contained in:
parent
033aa593ba
commit
0ba1d0ac2b
|
@ -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 || '');
|
||||||
|
|
|
@ -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 || '');
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue