Commit 5890ca05 5890ca058454681795d56a4c93ad12b83b74b3ef by 官美宏

搜索条件优化

1 parent 49d94ec4
......@@ -36,7 +36,7 @@
:value="item.value"
/>
</el-select> -->
<el-input v-model="searchObj.channel" clearable size="small" placeholder="请输入地区" style="width: 200px;" class="filter-item" />
<el-input v-model="searchObj.region" clearable size="small" placeholder="请输入地区" style="width: 200px;" class="filter-item" />
<el-input v-model="searchObj.channel" clearable size="small" placeholder="请输入渠道" style="width: 200px;" class="filter-item" />
<el-input v-model="searchObj.cardNum" clearable size="small" placeholder="请输入卡号" style="width: 200px;" class="filter-item" />
<el-input v-model="searchObj.batch" clearable size="small" placeholder="请输入批次(数字)" style="width: 200px;" class="filter-item" />
......@@ -68,7 +68,7 @@
<el-tag v-if="Number(scope.row.status) === 3" type="info">已失效</el-tag>
</template>
</el-table-column>
<el-table-column label="地区" show-overflow-tooltip prop="region" />
<el-table-column label="地区" width="120px" show-overflow-tooltip prop="region" />
<el-table-column label="渠道" width="80px" prop="channel" />
<el-table-column label="批次" width="60px" prop="batch" />
<el-table-column label="产品id" width="60px" prop="productId" />
......@@ -112,7 +112,7 @@ export default {
total: 0,
tableHeight: 0,
searchObj: {
page: 0,
page: 1,
size: 20,
vipType: '',
cardNum: '',
......@@ -151,7 +151,10 @@ export default {
this.searchObj.page = 0
}
this.loading = true
aiqiyi.getSmallSellList(this.searchObj).then(res => {
aiqiyi.getSmallSellList({
...this.searchObj,
page: this.searchObj.page - 1
}).then(res => {
this.loading = false
this.smallSellList = res.content
this.total = res.totalElements
......