From a87e999e6ffc22dd3c069727f2e1e53a011f2cf7 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Sun, 7 Apr 2024 17:07:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E4=B8=AD=E5=BF=83=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/layout/components/Topbar.vue | 2 -- .../src/views/dataset/data/ViewTable.vue | 2 +- .../src/views/dataset/exportExcel/index.vue | 30 ------------------- 3 files changed, 1 insertion(+), 33 deletions(-) diff --git a/core/frontend/src/layout/components/Topbar.vue b/core/frontend/src/layout/components/Topbar.vue index 84cbb10a2a..2de1e118b8 100644 --- a/core/frontend/src/layout/components/Topbar.vue +++ b/core/frontend/src/layout/components/Topbar.vue @@ -318,7 +318,6 @@ export default { this.beforeUnload_time = new Date().getTime() }, downloadClick() { - console.log('this.$refs.ExportExcelRef', this.$refs.ExportExcelRef) this.$refs.ExportExcelRef.init() }, unloadHandler(e) { @@ -327,7 +326,6 @@ export default { // this.logout().then(res => {}) } }, - // 通过当前路径找到二级菜单对应项,存到store,用来渲染左侧菜单 initCurrentRoutes() { const { diff --git a/core/frontend/src/views/dataset/data/ViewTable.vue b/core/frontend/src/views/dataset/data/ViewTable.vue index 88ca6221c0..1b5dfbe282 100644 --- a/core/frontend/src/views/dataset/data/ViewTable.vue +++ b/core/frontend/src/views/dataset/data/ViewTable.vue @@ -537,7 +537,7 @@ export default { this.table.expressionTree = JSON.stringify({ items, logic }) this.exportDatasetLoading = true exportDataset(this.table).then((res) => { - this.openMessageSuccess('后台导出中', 'info') + this.openMessageSuccess('后台导出中,查看进度可前往', 'info') }).finally(() => { this.exportDatasetLoading = false this.showExport = false diff --git a/core/frontend/src/views/dataset/exportExcel/index.vue b/core/frontend/src/views/dataset/exportExcel/index.vue index 075ce6f4cc..a274530203 100644 --- a/core/frontend/src/views/dataset/exportExcel/index.vue +++ b/core/frontend/src/views/dataset/exportExcel/index.vue @@ -189,36 +189,6 @@ export default { }; this.handlerConfirm(options); }, - openMessageLoading(cb) { - const h = this.$createElement; - const iconClass = `el-icon-loading`; - const customClass = `de-message-loading de-message-export`; - this.$message({ - message: h("p", null, [ - "后台导出中,可前往", - h( - Button, - { - props: { - type: "text", - size: "mini", - }, - class: "btn-text", - on: { - click: () => { - cb(); - }, - }, - }, - "数据导出中心", - ), - "查看进度,进行下载、暂停等操作", - ]), - iconClass, - showClose: true, - customClass, - }); - }, delAll() { post( '/exportCenter/delete',