unknown 3 years ago
parent
commit
b1b67f0ce8
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/pages/other/file-search.vue

+ 5 - 1
src/pages/other/file-search.vue

@@ -32,7 +32,7 @@
 
 
               <el-form-item>
-                <el-button @click="getArticalList" type="primary">搜索</el-button>
+                <el-button @click="handleSearch" type="primary">搜索</el-button>
               </el-form-item>
             </el-form>
           </div>
@@ -170,6 +170,10 @@ export default {
     isLeader( departmentId ){
       return data.getLeader(departmentId, this.userDepartments)>1;
     },
+    handleSearch(){
+      this.page = 1
+      this.getArticalList()
+    },
     handleSizeChange(size){
       this.page =1
       this.pageSize = size