Browse Source

林长管理

hanfucheng 1 year ago
parent
commit
1039c3d81c
1 changed files with 6 additions and 2 deletions
  1. 6 2
      data-ui/src/views/data/digitalforest/linleader/index.vue

+ 6 - 2
data-ui/src/views/data/digitalforest/linleader/index.vue

@@ -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();
       },