From 691b8f7112f82613b49d223dbd7a0c2b2da77fc3 Mon Sep 17 00:00:00 2001 From: RenCheng Date: Fri, 9 May 2025 17:32:39 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/data/dataCleansing.vue | 10 ---------- src/views/data/dataManage.vue | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/src/views/data/dataCleansing.vue b/src/views/data/dataCleansing.vue index fd87bba..0400c4c 100644 --- a/src/views/data/dataCleansing.vue +++ b/src/views/data/dataCleansing.vue @@ -126,16 +126,6 @@ export default { align: "center", dataIndex: 'dataNum' }, - { - title: '开始时间', - align: "center", - dataIndex: 'startTime' - }, - { - title: '最后更新时间', - align: "center", - dataIndex: 'endTime' - }, { title: '标签类型', align: "center", diff --git a/src/views/data/dataManage.vue b/src/views/data/dataManage.vue index b550a2c..f95e71c 100644 --- a/src/views/data/dataManage.vue +++ b/src/views/data/dataManage.vue @@ -128,16 +128,6 @@ align:"center", dataIndex: 'tableMessName' }, - { - title: '开始时间', - align:"center", - dataIndex: 'startTime' - }, - { - title: '最后更新时间', - align:"center", - dataIndex: 'endTime' - }, { title: '标签类型', align:"center", From a41172471aad1333fa41c88d1f4bdb4dc14d1a38 Mon Sep 17 00:00:00 2001 From: RenCheng Date: Fri, 9 May 2025 21:38:25 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/fileManage/fullSearch.vue | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) 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); } From 36adff7ab2853945137842a547159b7a80b3100b Mon Sep 17 00:00:00 2001 From: RenCheng Date: Fri, 9 May 2025 23:54:22 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=A8=E6=96=87?= =?UTF-8?q?=E6=A3=80=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/fileManage/fullSearch.vue | 60 ++++++++++++----------------- 1 file changed, 25 insertions(+), 35 deletions(-) diff --git a/src/views/fileManage/fullSearch.vue b/src/views/fileManage/fullSearch.vue index 6ad72da..404ef9f 100644 --- a/src/views/fileManage/fullSearch.vue +++ b/src/views/fileManage/fullSearch.vue @@ -21,18 +21,9 @@
- - > + 下载  预览 @@ -43,6 +34,7 @@