H5/Js/LLJ/List.js
@@ -18,7 +18,9 @@ totalCount: 0, checked: true, id:'' id: '', searchKeyword: '', // 搜索关键词 originalData: [], // 保存原始数据 } }, mounted() { @@ -30,6 +32,15 @@ this.onLoad(); }, methods: { // 新增搜索处理方法 handleSearch() { this.pageIndex = 0; this.data = []; this.finished = false; this.isSearching = true; this.onLoad(); }, onLoad() { @@ -50,7 +61,8 @@ pageIndex: that.pageIndex, limit: that.limit, createUser: that.userInfo.loginAccount, result: result result: result, keyword: that.searchKeyword.trim(), // 新增搜索参数 }, false) .then(function (res) { var json = res;