From 22a2e115178cf0f2368062eeb4a0aed7e8de6be8 Mon Sep 17 00:00:00 2001 From: joylink_fanyuhong <18706759286@163.com> Date: Mon, 24 Jun 2024 18:43:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E4=BF=A1=E6=81=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../newMap/display/terminals/diagramEdit/menuBar.vue | 8 ++++++++ src/views/planMonitor/newEditTool/menuBar.vue | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/src/views/newMap/display/terminals/diagramEdit/menuBar.vue b/src/views/newMap/display/terminals/diagramEdit/menuBar.vue index d6a89fd0c..31f8e2aa1 100644 --- a/src/views/newMap/display/terminals/diagramEdit/menuBar.vue +++ b/src/views/newMap/display/terminals/diagramEdit/menuBar.vue @@ -714,6 +714,14 @@ export default { confirmPublish() { publishRunPlanAllUser(this.loadRunPlanId, this.publishName || this.loadRunPlanName).then(resp => { this.$message.success(this.$t('tip.publishRunPlanSuccess')); + if (resp.data && resp.data.length > 0) { + let message = ''; + resp.data.forEach(msg => message += (msg + ';')) + this.$confirm(message, this.$t('global.tips'), { + confirmButtonText: this.$t('global.confirm'), + showCancelButton: false + }) + } this.publishVisible = false; }).catch(() => { this.$messageBox(this.$t('tip.publishRunPlanFail')); diff --git a/src/views/planMonitor/newEditTool/menuBar.vue b/src/views/planMonitor/newEditTool/menuBar.vue index 51dc89866..f728c4d61 100644 --- a/src/views/planMonitor/newEditTool/menuBar.vue +++ b/src/views/planMonitor/newEditTool/menuBar.vue @@ -717,6 +717,13 @@ export default { confirmPublish() { publishRunPlanAllUser(this.loadRunPlanId, this.publishName || this.loadRunPlanName).then(resp => { this.$message.success(this.$t('tip.publishRunPlanSuccess')); + if (resp.data && resp.data.length > 0) { + let message = ''; + resp.data.forEach(msg => message += (msg + ';')) + this.$confirm(message, this.$t('global.tips'), { + confirmButtonText: this.$t('global.confirm') + }) + } this.publishVisible = false; }).catch(() => { this.$messageBox(this.$t('tip.publishRunPlanFail'));