瀏覽代碼

林长管理

hanfucheng 1 年之前
父節點
當前提交
1039c3d81c
共有 1 個文件被更改,包括 6 次插入2 次删除
  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();
       },