feat: 批量下载任务
This commit is contained in:
@ -151,6 +151,7 @@ import StatusBox from '../status-box';
|
||||
import { PLATFORM_LIST, ENUM_PLATFORM } from '@/views/property-marketing/put-account/common_constants';
|
||||
|
||||
import { showExportNotification } from '@/utils/arcoD';
|
||||
import { genRandomId } from '@/utils/tools';
|
||||
import {
|
||||
postPlacementAccounts,
|
||||
getPlacementAccountsDetail,
|
||||
@ -289,9 +290,9 @@ const handleBatchImport = async () => {
|
||||
});
|
||||
|
||||
if (code === 200) {
|
||||
const ID = 'IMPORT-PUT-ACCOUNT';
|
||||
showExportNotification(`正在导入“${file.value.name}”,请稍后...`, ID);
|
||||
emits('startQueryTaskStatus', data.id, ID);
|
||||
const id = genRandomId();
|
||||
showExportNotification(`正在导入“${file.value.name}”,请稍后...`, { id });
|
||||
emit('startQueryTaskStatus', data.id, id);
|
||||
onClose();
|
||||
} else {
|
||||
uploadStatus.value = UploadStatus.ERROR;
|
||||
|
||||
Reference in New Issue
Block a user