perf: 投放账户模块走查问题调整
This commit is contained in:
@ -7,7 +7,7 @@ export const TABLE_COLUMNS = [
|
|||||||
title: '账户名称',
|
title: '账户名称',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
prop: 'name',
|
prop: 'name',
|
||||||
width: 180,
|
width: 240,
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -38,7 +38,7 @@
|
|||||||
<div class="filter-row flex">
|
<div class="filter-row flex">
|
||||||
<div v-if="!isAccountTab" class="filter-row-item flex items-center">
|
<div v-if="!isAccountTab" class="filter-row-item flex items-center">
|
||||||
<span class="label">关联账户</span>
|
<span class="label">关联账户</span>
|
||||||
<a-space class="w-160px">
|
<a-space class="w-240px">
|
||||||
<AccountSelect v-model="query.placement_account_id" :options="placementAccounts" @change="handleSearch" />
|
<AccountSelect v-model="query.placement_account_id" :options="placementAccounts" @change="handleSearch" />
|
||||||
</a-space>
|
</a-space>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -7,7 +7,7 @@ export const TABLE_COLUMNS = [
|
|||||||
title: '计划名称',
|
title: '计划名称',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
prop: 'name',
|
prop: 'name',
|
||||||
width: 180,
|
width: 240,
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -91,7 +91,8 @@ const init = () => {
|
|||||||
selectedRowKeys.value = [];
|
selectedRowKeys.value = [];
|
||||||
accountTableRef.value?.resetTable();
|
accountTableRef.value?.resetTable();
|
||||||
|
|
||||||
const data_time = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')];
|
const yesterday = dayjs().subtract(1, 'day').format('YYYY-MM-DD');
|
||||||
|
const data_time = [yesterday, yesterday];
|
||||||
query.value.data_time = data_time;
|
query.value.data_time = data_time;
|
||||||
|
|
||||||
getData();
|
getData();
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
size="medium"
|
size="medium"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
allow-clear
|
allow-clear
|
||||||
|
allow-search
|
||||||
@change="handleChange"
|
@change="handleChange"
|
||||||
>
|
>
|
||||||
<a-option v-for="(item, index) in options" :key="index" :value="item.id" :label="item.name">
|
<a-option v-for="(item, index) in options" :key="index" :value="item.id" :label="item.name">
|
||||||
|
|||||||
Reference in New Issue
Block a user