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',