|
|
@@ -35,7 +35,7 @@
|
|
35
|
35
|
<el-button type="primary" icon="ios-search" label="default" class="mr15" size="small"
|
|
36
|
36
|
@click="userSearch">搜索
|
|
37
|
37
|
</el-button>
|
|
38
|
|
- <el-button class="ResetSearch mr10" size="small" @click="getList">重置</el-button>
|
|
|
38
|
+ <el-button class="ResetSearch mr10" size="small" @click="getList(1)">重置</el-button>
|
|
39
|
39
|
</el-form-item>
|
|
40
|
40
|
</el-col>
|
|
41
|
41
|
</el-row>
|
|
|
@@ -205,12 +205,13 @@ export default {
|
|
205
|
205
|
}
|
|
206
|
206
|
},
|
|
207
|
207
|
mounted() {
|
|
208
|
|
- this.getList();
|
|
|
208
|
+ this.getList(1);
|
|
209
|
209
|
},
|
|
210
|
210
|
methods: {
|
|
211
|
211
|
// 默认列表
|
|
212
|
|
- getList() {
|
|
|
212
|
+ getList(num) {
|
|
213
|
213
|
this.listLoading = true;
|
|
|
214
|
+ this.searchFrom.page = num || this.searchFrom.page;
|
|
214
|
215
|
getZeroLineUserList(this.searchFrom).then(res => {
|
|
215
|
216
|
this.tableData.data = res.data.list;
|
|
216
|
217
|
this.tableData.total = res.data.count;
|