perf: 字段调整
This commit is contained in:
@ -19,7 +19,7 @@ export const TABLE_COLUMNS = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '运营人员',
|
title: '运营人员',
|
||||||
dataIndex: 'operator_ame',
|
dataIndex: 'operator_name',
|
||||||
prop: 'operator',
|
prop: 'operator',
|
||||||
width: 180,
|
width: 180,
|
||||||
},
|
},
|
||||||
|
|||||||
@ -92,7 +92,7 @@ const init = () => {
|
|||||||
accountTableRef.value?.resetTable();
|
accountTableRef.value?.resetTable();
|
||||||
|
|
||||||
const yesterday = dayjs().subtract(1, 'day').format('YYYY-MM-DD');
|
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;
|
query.value.data_time = data_time;
|
||||||
|
|
||||||
getData();
|
getData();
|
||||||
@ -137,9 +137,11 @@ const handleSelectionChange = (selectedRows) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleTabClick = (key) => {
|
const handleTabClick = (key) => {
|
||||||
|
dataSource.value = [];
|
||||||
|
selectedRowKeys.value = [];
|
||||||
|
pageInfo.value = cloneDeep(INITIAL_PAGE_INFO);
|
||||||
activeTab.value = key;
|
activeTab.value = key;
|
||||||
getData();
|
getData();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleExport = () => {
|
const handleExport = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user