refactor(notification): 更新通知函数导入路径
This commit is contained in:
@ -12,7 +12,7 @@ import { useTableSelectionWithPagination } from '@/hooks/useTableSelectionWithPa
|
|||||||
import { downloadByUrl } from '@/utils/tools';
|
import { downloadByUrl } from '@/utils/tools';
|
||||||
import DeleteTaskModal from './delete-task-modal.vue';
|
import DeleteTaskModal from './delete-task-modal.vue';
|
||||||
import icon1 from '@/assets/img/media-account/icon-delete.png';
|
import icon1 from '@/assets/img/media-account/icon-delete.png';
|
||||||
import { showExportNotification, showFailExportNotification } from '@/utils/arcoD';
|
import { showExportNotification, showFailExportNotification } from '@/utils/notification';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup(props, { emit, expose }) {
|
setup(props, { emit, expose }) {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import { useTableSelectionWithPagination } from '@/hooks/useTableSelectionWithPa
|
|||||||
import { downloadByUrl } from '@/utils/tools';
|
import { downloadByUrl } from '@/utils/tools';
|
||||||
import DeleteTaskModal from './delete-task-modal.vue';
|
import DeleteTaskModal from './delete-task-modal.vue';
|
||||||
import icon1 from '@/assets/img/media-account/icon-delete.png';
|
import icon1 from '@/assets/img/media-account/icon-delete.png';
|
||||||
// import { showExportNotification } from '@/utils/arcoD';
|
// import { showExportNotification } from '@/utils/notification';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup(props, { emit, expose }) {
|
setup(props, { emit, expose }) {
|
||||||
|
|||||||
@ -64,7 +64,7 @@ import { getAccountBoardOverview, getAccountBoardList, postAccountBoardExport }
|
|||||||
import { formatNumberShow } from '@/utils/tools';
|
import { formatNumberShow } from '@/utils/tools';
|
||||||
import { INITIAL_QUERY, CARD_FIELDS } from './constants';
|
import { INITIAL_QUERY, CARD_FIELDS } from './constants';
|
||||||
// import { downloadByUrl } from '@/utils/tools';
|
// import { downloadByUrl } from '@/utils/tools';
|
||||||
import { showExportNotification } from '@/utils/arcoD';
|
import { showExportNotification } from '@/utils/notification';
|
||||||
|
|
||||||
import icon1 from '@/assets/img/icon-question.png';
|
import icon1 from '@/assets/img/icon-question.png';
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,7 @@ import SyncDataModal from '../sync-data-modal';
|
|||||||
import CommonSelect from '@/components/common-select';
|
import CommonSelect from '@/components/common-select';
|
||||||
|
|
||||||
// import { downloadByUrl } from '@/utils/tools';
|
// import { downloadByUrl } from '@/utils/tools';
|
||||||
import { showExportNotification } from '@/utils/arcoD';
|
import { showExportNotification } from '@/utils/notification';
|
||||||
import { genRandomId } from '@/utils/tools';
|
import { genRandomId } from '@/utils/tools';
|
||||||
import {
|
import {
|
||||||
fetchAccountTags,
|
fetchAccountTags,
|
||||||
|
|||||||
@ -136,7 +136,7 @@ import BatchTagModal from './components/batch-tag-modal';
|
|||||||
import BatchGroupModal from './components/batch-group-modal';
|
import BatchGroupModal from './components/batch-group-modal';
|
||||||
|
|
||||||
import { INITIAL_QUERY, INITIAL_PAGE_INFO, SHOW_TYPES } from './constants';
|
import { INITIAL_QUERY, INITIAL_PAGE_INFO, SHOW_TYPES } from './constants';
|
||||||
import { showImportResultNotification } from '@/utils/arcoD';
|
import { showImportResultNotification } from '@/utils/notification';
|
||||||
import { getTaskStatus } from '@/api/all/common';
|
import { getTaskStatus } from '@/api/all/common';
|
||||||
import { EnumStatus } from '@/views/property-marketing/media-account/components/status-select/status-box.tsx';
|
import { EnumStatus } from '@/views/property-marketing/media-account/components/status-select/status-box.tsx';
|
||||||
import {
|
import {
|
||||||
|
|||||||
@ -67,7 +67,7 @@ import {
|
|||||||
postPlacementAccountDataListExport,
|
postPlacementAccountDataListExport,
|
||||||
} from '@/api/all/propertyMarketing';
|
} from '@/api/all/propertyMarketing';
|
||||||
|
|
||||||
import { showExportNotification } from '@/utils/arcoD';
|
import { showExportNotification } from '@/utils/notification';
|
||||||
import { INITIAL_QUERY, INITIAL_PAGE_INFO } from './constants';
|
import { INITIAL_QUERY, INITIAL_PAGE_INFO } from './constants';
|
||||||
// import { downloadByUrl } from '@/utils/tools';
|
// import { downloadByUrl } from '@/utils/tools';
|
||||||
|
|
||||||
|
|||||||
@ -174,7 +174,7 @@ import CommonSelect from '@/components/common-select';
|
|||||||
|
|
||||||
import { PLATFORM_LIST, ENUM_PUT_ACCOUNT_PLATFORM } from '@/utils/platform';
|
import { PLATFORM_LIST, ENUM_PUT_ACCOUNT_PLATFORM } from '@/utils/platform';
|
||||||
|
|
||||||
import { showExportNotification } from '@/utils/arcoD';
|
import { showExportNotification } from '@/utils/notification';
|
||||||
import { genRandomId } from '@/utils/tools';
|
import { genRandomId } from '@/utils/tools';
|
||||||
import {
|
import {
|
||||||
postPlacementAccounts,
|
postPlacementAccounts,
|
||||||
|
|||||||
@ -102,7 +102,7 @@ import DeleteAccountModal from './components/account-table/delete-account';
|
|||||||
import { INITIAL_QUERY } from './constants';
|
import { INITIAL_QUERY } from './constants';
|
||||||
import { getPlacementAccounts, getPlacementAccountsHealth } from '@/api/all/propertyMarketing';
|
import { getPlacementAccounts, getPlacementAccountsHealth } from '@/api/all/propertyMarketing';
|
||||||
import { getTaskStatus } from '@/api/all/common';
|
import { getTaskStatus } from '@/api/all/common';
|
||||||
import { showImportResultNotification } from '@/utils/arcoD';
|
import { showImportResultNotification } from '@/utils/notification';
|
||||||
|
|
||||||
import icon4 from '@/assets/img/media-account/icon-success.png';
|
import icon4 from '@/assets/img/media-account/icon-success.png';
|
||||||
import icon5 from '@/assets/img/media-account/icon-warn.png';
|
import icon5 from '@/assets/img/media-account/icon-warn.png';
|
||||||
|
|||||||
Reference in New Issue
Block a user