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'));