|
@@ -523,13 +523,17 @@
|
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
|
- this.queryParams.deptId = null
|
|
|
+ this.queryParams.pageNum = 1;
|
|
|
+ if(!this.queryThisLevel){
|
|
|
+ this.queryParams.deptName = 0
|
|
|
+ }else {
|
|
|
+ this.queryParams.deptName = null
|
|
|
+ }
|
|
|
this.queryParams.pageNum = 1;
|
|
|
this.getList();
|
|
|
},
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
- this.queryParams.deptId = null
|
|
|
this.resetForm("queryForm");
|
|
|
this.handleQuery();
|
|
|
},
|