搜索条件优化
Showing
1 changed file
with
7 additions
and
4 deletions
... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
36 | :value="item.value" | 36 | :value="item.value" |
37 | /> | 37 | /> |
38 | </el-select> --> | 38 | </el-select> --> |
39 | <el-input v-model="searchObj.channel" clearable size="small" placeholder="请输入地区" style="width: 200px;" class="filter-item" /> | 39 | <el-input v-model="searchObj.region" clearable size="small" placeholder="请输入地区" style="width: 200px;" class="filter-item" /> |
40 | <el-input v-model="searchObj.channel" clearable size="small" placeholder="请输入渠道" style="width: 200px;" class="filter-item" /> | 40 | <el-input v-model="searchObj.channel" clearable size="small" placeholder="请输入渠道" style="width: 200px;" class="filter-item" /> |
41 | <el-input v-model="searchObj.cardNum" clearable size="small" placeholder="请输入卡号" style="width: 200px;" class="filter-item" /> | 41 | <el-input v-model="searchObj.cardNum" clearable size="small" placeholder="请输入卡号" style="width: 200px;" class="filter-item" /> |
42 | <el-input v-model="searchObj.batch" clearable size="small" placeholder="请输入批次(数字)" style="width: 200px;" class="filter-item" /> | 42 | <el-input v-model="searchObj.batch" clearable size="small" placeholder="请输入批次(数字)" style="width: 200px;" class="filter-item" /> |
... | @@ -68,7 +68,7 @@ | ... | @@ -68,7 +68,7 @@ |
68 | <el-tag v-if="Number(scope.row.status) === 3" type="info">已失效</el-tag> | 68 | <el-tag v-if="Number(scope.row.status) === 3" type="info">已失效</el-tag> |
69 | </template> | 69 | </template> |
70 | </el-table-column> | 70 | </el-table-column> |
71 | <el-table-column label="地区" show-overflow-tooltip prop="region" /> | 71 | <el-table-column label="地区" width="120px" show-overflow-tooltip prop="region" /> |
72 | <el-table-column label="渠道" width="80px" prop="channel" /> | 72 | <el-table-column label="渠道" width="80px" prop="channel" /> |
73 | <el-table-column label="批次" width="60px" prop="batch" /> | 73 | <el-table-column label="批次" width="60px" prop="batch" /> |
74 | <el-table-column label="产品id" width="60px" prop="productId" /> | 74 | <el-table-column label="产品id" width="60px" prop="productId" /> |
... | @@ -112,7 +112,7 @@ export default { | ... | @@ -112,7 +112,7 @@ export default { |
112 | total: 0, | 112 | total: 0, |
113 | tableHeight: 0, | 113 | tableHeight: 0, |
114 | searchObj: { | 114 | searchObj: { |
115 | page: 0, | 115 | page: 1, |
116 | size: 20, | 116 | size: 20, |
117 | vipType: '', | 117 | vipType: '', |
118 | cardNum: '', | 118 | cardNum: '', |
... | @@ -151,7 +151,10 @@ export default { | ... | @@ -151,7 +151,10 @@ export default { |
151 | this.searchObj.page = 0 | 151 | this.searchObj.page = 0 |
152 | } | 152 | } |
153 | this.loading = true | 153 | this.loading = true |
154 | aiqiyi.getSmallSellList(this.searchObj).then(res => { | 154 | aiqiyi.getSmallSellList({ |
155 | ...this.searchObj, | ||
156 | page: this.searchObj.page - 1 | ||
157 | }).then(res => { | ||
155 | this.loading = false | 158 | this.loading = false |
156 | this.smallSellList = res.content | 159 | this.smallSellList = res.content |
157 | this.total = res.totalElements | 160 | this.total = res.totalElements | ... | ... |
-
Please register or sign in to post a comment