From 7cd4f8551937899c5417e8295037f72f43913188 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期三, 02 八月 2023 10:46:22 +0800 Subject: [PATCH] 发布管理删除和发布功能优化,接口超时等带问题 --- src/views/datamanage/uploadmanage.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/views/datamanage/uploadmanage.vue b/src/views/datamanage/uploadmanage.vue index 0aac1da..ddbcf49 100644 --- a/src/views/datamanage/uploadmanage.vue +++ b/src/views/datamanage/uploadmanage.vue @@ -893,7 +893,7 @@ <div v-loading="true" element-loading-background="rgba(0, 0, 0, 0.0) " - element-loading-text="鏁版嵁鍙戝竷涓�" + :element-loading-text="loadingText" style="margin: 0px 20px;widht:100%;height:calc(100% - 80px); " > </div> @@ -1056,6 +1056,7 @@ }, stridOption: [], osgbLasOption: [], + loadingText: '鏁版嵁鍙戝竷涓�' } }, methods: { @@ -1109,6 +1110,7 @@ srids: srids, zx: zs } + this.loadingText = '鏁版嵁鍙戝竷涓�'; this.loadDialogVisible = true this.setOsgbCanel(); const data = await publish_insert(obj); @@ -1162,6 +1164,7 @@ models: models } + this.loadingText = '鏁版嵁鍙戝竷涓�'; this.loadDialogVisible = true this.insertModelVisible = false; @@ -1201,7 +1204,9 @@ this.options = std; }, setloadDialogVisible() { - this.loadDialogVisible = false + + this.loadDialogVisible = false; + this.loadingText = '鏁版嵁鍙戝竷涓�'; }, setinsertLayerCancel() { this.insertDialogVisible = false; @@ -1252,6 +1257,7 @@ type: this.formInline.type, noData: this.insertLayer.noData } + this.loadingText = '鏁版嵁鍙戝竷涓�'; this.loadDialogVisible = true this.insertDialogVisible = false; @@ -1346,7 +1352,7 @@ ids: std, type: this.formInline.type } - + this.loadingText = '鏁版嵁鍙戝竷涓�'; this.loadDialogVisible = true this.insertDialogVisible = false; @@ -1435,6 +1441,7 @@ var that = this this.$confirm('纭畾鏄惁鍒犻櫎鎵�閫夊唴瀹�?') .then(_ => { + that.deletePage() }) .catch(_ => { @@ -1443,6 +1450,8 @@ } }, async deletePage() { + this.loadingText = '鏁版嵁鍒犻櫎涓�'; + this.loadDialogVisible = true; var std = []; for (var i in this.multipleSelection) { std.push(this.multipleSelection[i].id); @@ -1458,6 +1467,7 @@ }); this.getTableData(); } + this.loadDialogVisible = false; }, //棰勮寮圭獥鎵撳紑 setPreviewLayer(res) { -- Gitblit v1.9.3