diff --git a/src/views/components/common/AccountSelect.vue b/src/views/components/common/AccountSelect.vue index 494cac4..07b0a83 100644 --- a/src/views/components/common/AccountSelect.vue +++ b/src/views/components/common/AccountSelect.vue @@ -1,11 +1,5 @@ diff --git a/src/views/property-marketing/put-account/account-dashboard/index.vue b/src/views/property-marketing/put-account/account-dashboard/index.vue index 3356ba9..b395248 100644 --- a/src/views/property-marketing/put-account/account-dashboard/index.vue +++ b/src/views/property-marketing/put-account/account-dashboard/index.vue @@ -76,7 +76,6 @@ import EchartsItem from './components/echarts-item/index'; import { PLATFORM_LIST } from '../common_constants'; import { - getPlacementAccountsList, getPlacementAccountsTrend, getPlacementAccountProjectsTrend, fetchAccountOperators, @@ -96,7 +95,6 @@ const getOperators = async () => { } }; const query = reactive({ - names: '', platform: '', operator_id: '', data_time: [], @@ -137,7 +135,6 @@ const handleSearch = async () => { getAccountProjectsTrend(); } }; -// 定义图表配置 const chartConfigs = ref([ { dataKey: 'total_use_amount', @@ -224,25 +221,17 @@ const chartConfigs = ref([ series_data: [], }, ]); -const handleReset = async () => {}; +const handleReset = async () => { + query.platform = ''; + query.operator_id = ''; + query.ids = []; + query.placement_account_id = []; + handleSearch(); +}; const operators = ref([]); -const accountList = ref([]); -const handleTabClick = (key) => { - handleSearch(); -}; - -// 获取账户名称 -const getAccountList = async () => { - const { code, data } = await getPlacementAccountsList(query); - if (code === 200) { - accountList.value = data; - } -}; - onMounted(() => { handleSearch(); - getAccountList(); getOperators(); }); diff --git a/src/views/property-marketing/put-account/investment-guidelines/components/month-data/index.vue b/src/views/property-marketing/put-account/investment-guidelines/components/month-data/index.vue index 7f9fab3..59b77aa 100644 --- a/src/views/property-marketing/put-account/investment-guidelines/components/month-data/index.vue +++ b/src/views/property-marketing/put-account/investment-guidelines/components/month-data/index.vue @@ -1,7 +1,7 @@