From bfeba5bd4404027c288d9cc87969b94c2576b79e Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Fri, 18 Jul 2025 18:00:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../media-account/account-dashboard/index.vue | 4 ++-- .../account-manage/components/add-account-modal/index.vue | 2 +- .../property-marketing/put-account/account-data/index.vue | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/property-marketing/media-account/account-dashboard/index.vue b/src/views/property-marketing/media-account/account-dashboard/index.vue index e95cd0b..ced1f9e 100644 --- a/src/views/property-marketing/media-account/account-dashboard/index.vue +++ b/src/views/property-marketing/media-account/account-dashboard/index.vue @@ -65,7 +65,7 @@ import AccountTable from './components/account-table'; import { getAccountBoardOverview, getAccountBoardList, postAccountBoardExport } from '@/api/all/propertyMarketing'; import { formatNumberShow } from '@/utils/tools'; import { INITIAL_QUERY, CARD_FIELDS } from './constants'; -import { downloadByUrl } from '@/utils/tools'; +// import { downloadByUrl } from '@/utils/tools'; import { showExportNotification } from '@/utils/arcoD'; import icon1 from '@/assets/img/icon-question.png'; @@ -140,7 +140,7 @@ const handleExport = () => { }).then((res) => { const { code, data } = res; if (code === 200) { - downloadByUrl(data.download_url); + showExportNotification(`正在下载“${data.name}”,请稍后...`); } }); }; diff --git a/src/views/property-marketing/media-account/account-manage/components/add-account-modal/index.vue b/src/views/property-marketing/media-account/account-manage/components/add-account-modal/index.vue index 2c70712..3529846 100644 --- a/src/views/property-marketing/media-account/account-manage/components/add-account-modal/index.vue +++ b/src/views/property-marketing/media-account/account-manage/components/add-account-modal/index.vue @@ -26,7 +26,7 @@ import AuthorizedAccountModal from '../authorized-account-modal'; import StatusBox from '../status-box'; import SyncDataModal from '../sync-data-modal'; -import { downloadByUrl } from '@/utils/tools'; +// import { downloadByUrl } from '@/utils/tools'; import { showExportNotification } from '@/utils/arcoD'; import { fetchAccountTags, diff --git a/src/views/property-marketing/put-account/account-data/index.vue b/src/views/property-marketing/put-account/account-data/index.vue index 5d6c39a..5953929 100644 --- a/src/views/property-marketing/put-account/account-data/index.vue +++ b/src/views/property-marketing/put-account/account-data/index.vue @@ -68,8 +68,9 @@ import { postPlacementAccountDataListExport, } from '@/api/all/propertyMarketing'; +import { showExportNotification } from '@/utils/arcoD'; import { INITIAL_QUERY, INITIAL_PAGE_INFO } from './constants'; -import { downloadByUrl } from '@/utils/tools'; +// import { downloadByUrl } from '@/utils/tools'; import icon2 from '@/assets/img/media-account/icon-group.png'; @@ -148,7 +149,7 @@ const handleExport = () => { }).then((res) => { const { code, data } = res; if (code === 200) { - downloadByUrl(data.download_url); + showExportNotification(`正在下载“${data.name}”,请稍后...`); } }); };