diff --git a/src/views/fileManage/fullSearch.vue b/src/views/fileManage/fullSearch.vue
index 9c19938..6ad72da 100644
--- a/src/views/fileManage/fullSearch.vue
+++ b/src/views/fileManage/fullSearch.vue
@@ -20,8 +20,18 @@
-
>
下载 预览
@@ -124,6 +134,16 @@ export default {
},
methods: {
+ handleTableChange(pagination, filters, sorter) {
+ //分页、排序、筛选变化时触发
+ //TODO 筛选
+ if (Object.keys(sorter).length > 0) {
+ this.isorter.column = sorter.field;
+ this.isorter.order = "ascend" == sorter.order ? "asc" : "desc"
+ }
+ this.ipagination = pagination;
+ this.getFileList();
+ },
download(item){
let apiBaseUrl = window._CONFIG['domianURL'] || "/jeecg-boot";
window.open(apiBaseUrl+"/file/downloadFile?fileId="+item.id);
@@ -154,6 +174,10 @@ export default {
fullTextSearching(this.searchFile).then((res) => {
if (res.success) {
this.dataSource = res.result
+ if(res.result.total)
+ {
+ this.ipagination.total = res.result.total;
+ }
} else {
this.$message.warning(res.message);
}