修改bug

This commit is contained in:
2024-06-04 15:43:00 +08:00
parent 7c6949dfa0
commit 7fc6ed87a4
3 changed files with 26 additions and 3 deletions

View File

@@ -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();
},
/** 新增按钮操作 */