|
@@ -9,7 +9,7 @@
|
|
|
<el-input v-model="queryParams.name" size="small" placeholder="请输入客户名称"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" size="small" @click="getList">查询</el-button>
|
|
|
+ <el-button type="primary" size="small" @click="init">查询</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</el-header>
|
|
@@ -135,6 +135,10 @@ export default {
|
|
|
this.userIds.splice(index, 1);
|
|
|
}
|
|
|
},
|
|
|
+ init(){
|
|
|
+ this.queryParams.current = 1
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
// 获取表格数据
|
|
|
getList() {
|
|
|
this.loading = true;
|