From 59b7c0dc6c158cc1d0f771a935b8c1800acc7999 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Fri, 18 Jul 2025 14:24:49 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../account-data/components/board-table/constants.ts | 2 +- .../property-marketing/put-account/account-data/index.vue | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/property-marketing/put-account/account-data/components/board-table/constants.ts b/src/views/property-marketing/put-account/account-data/components/board-table/constants.ts index 5239138..5b06da3 100644 --- a/src/views/property-marketing/put-account/account-data/components/board-table/constants.ts +++ b/src/views/property-marketing/put-account/account-data/components/board-table/constants.ts @@ -19,7 +19,7 @@ export const TABLE_COLUMNS = [ }, { title: '运营人员', - dataIndex: 'operator_ame', + dataIndex: 'operator_name', prop: 'operator', width: 180, }, 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 8ea8e92..8f7a3e5 100644 --- a/src/views/property-marketing/put-account/account-data/index.vue +++ b/src/views/property-marketing/put-account/account-data/index.vue @@ -92,7 +92,7 @@ const init = () => { accountTableRef.value?.resetTable(); const yesterday = dayjs().subtract(1, 'day').format('YYYY-MM-DD'); - const data_time = [yesterday, yesterday]; + const data_time = [yesterday, yesterday]; query.value.data_time = data_time; getData(); @@ -137,9 +137,11 @@ const handleSelectionChange = (selectedRows) => { }; const handleTabClick = (key) => { + dataSource.value = []; + selectedRowKeys.value = []; + pageInfo.value = cloneDeep(INITIAL_PAGE_INFO); activeTab.value = key; getData(); - }; const handleExport = () => {