refactor(notification): 更新通知函数导入路径

This commit is contained in:
rd
2025-09-19 15:59:38 +08:00
parent 6936fb0fb5
commit 7846e02447
9 changed files with 10 additions and 10 deletions

View File

@ -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 }) {

View File

@ -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 }) {

View File

@ -40,7 +40,7 @@
@sorterChange="handleSorterChange" @sorterChange="handleSorterChange"
/> />
<div v-if="pageInfo.total > 0" class="pagination-row"> <div v-if="pageInfo.total > 0" class="pagination-row">
<Pagination <Pagination
:total="pageInfo.total" :total="pageInfo.total"
size="small" size="small"
:showTotal="(total, range) => `共 ${total} 条`" :showTotal="(total, range) => `共 ${total} 条`"
@ -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';

View File

@ -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,

View File

@ -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 {

View File

@ -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';

View File

@ -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,

View File

@ -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';