修改bug
This commit is contained in:
@@ -801,7 +801,7 @@ export default {
|
||||
console.log(val);
|
||||
switch (val.btnName) {
|
||||
case "search":
|
||||
this.handleQuery();
|
||||
this.handleQuery(val);
|
||||
break;
|
||||
case "addNew":
|
||||
this.handleAdd();
|
||||
@@ -899,8 +899,12 @@ export default {
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
handleQuery(val) {
|
||||
this.queryParams.pageNo = 1;
|
||||
this.queryParams.username = val.username;
|
||||
this.queryParams.mobile = val.mobile;
|
||||
this.queryParams.status = val.status;
|
||||
this.queryParams.createTime = val.createTime;
|
||||
this.getList();
|
||||
},
|
||||
/** 新增按钮操作 */
|
||||
|
||||
Reference in New Issue
Block a user