|
|
@@ -3,43 +3,50 @@
|
|
|
<sa-table ref="crudRef" :options="options" :columns="columns" :searchForm="searchForm">
|
|
|
<!-- 搜索区 tableSearch -->
|
|
|
<template #tableSearch>
|
|
|
- <a-col :sm="6" :xs="24">
|
|
|
+ <a-col :sm="4" :md="5" :lg="5" :xl="6" :xxl="4" :xs="24">
|
|
|
<a-form-item label="游戏" field="game_id">
|
|
|
<game-select v-model="searchForm.game_id" multiple />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :sm="6" :xs="24">
|
|
|
+ <a-col :sm="7" :md="6" :lg="8" :xl="12" :xxl="7" :xs="24">
|
|
|
<a-form-item label="注册日期" field="tdate">
|
|
|
<a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
|
|
|
+ <div>
|
|
|
+ <a-space>
|
|
|
+ <a-button size="mini" type="primary" @click="refreshDay('yesterday')">前一天</a-button>
|
|
|
+ <a-button size="mini" type="primary" @click="refreshDay('today')">当天</a-button>
|
|
|
+ <a-button size="mini" type="primary" @click="refreshDay('tomorrow')">后一天</a-button>
|
|
|
+ </a-space>
|
|
|
+ </div>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :sm="6" :xs="24">
|
|
|
+ <a-col :sm="4" :md="5" :lg="5" :xl="6" :xxl="4" :xs="24">
|
|
|
<a-form-item label="媒体类型" field="media_id">
|
|
|
<media-select v-model="searchForm.media_id" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :sm="6" :xs="24">
|
|
|
+ <a-col :sm="4" :md="5" :lg="5" :xl="6" :xxl="4" :xs="24">
|
|
|
<a-form-item label="渠道ID" field="agent_id">
|
|
|
<a-input v-model="searchForm.agent_id" placeholder="请输入渠道ID" allow-clear />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :sm="6" :xs="24">
|
|
|
+ <a-col :sm="4" :md="5" :lg="5" :xl="6" :xxl="4" :xs="24">
|
|
|
<a-form-item label="广告位ID" field="site_id">
|
|
|
<a-input v-model="searchForm.site_id" placeholder="请输入广告位ID" allow-clear />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :sm="6" :xs="24">
|
|
|
+ <a-col :sm="4" :md="5" :lg="5" :xl="6" :xxl="4" :xs="24">
|
|
|
<a-form-item label="负责人" field="auth_id">
|
|
|
<auth-select v-model="searchForm.auth_id" multiple />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
</template>
|
|
|
<template #tableSearchExtend>
|
|
|
- <a-space>
|
|
|
+ <!-- <a-space>
|
|
|
<a-button type="primary" @click="refreshDay('yesterday')">前一天</a-button>
|
|
|
<a-button type="primary" @click="refreshDay('today')">当天</a-button>
|
|
|
<a-button type="primary" @click="refreshDay('tomorrow')">后一天</a-button>
|
|
|
- </a-space>
|
|
|
+ </a-space> -->
|
|
|
</template>
|
|
|
|
|
|
<!-- Table 自定义渲染 -->
|