Jelajahi Sumber

林长管理

hanfucheng 1 tahun lalu
induk
melakukan
1039c3d81c
1 mengubah file dengan 6 tambahan dan 2 penghapusan
  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();
       },