diff --git a/src/views/planMonitor/detail.vue b/src/views/planMonitor/detail.vue
index a537dee71..8308e2891 100644
--- a/src/views/planMonitor/detail.vue
+++ b/src/views/planMonitor/detail.vue
@@ -250,7 +250,11 @@ export default {
}).then(() => {
if (this.hasRelease) {
publishRunPlan(row.id, {runPlanName: name}).then(resp => {
- this.$message.success(this.$t('tip.publishRunPlanSuccess'));
+ if (resp.data.length <= 0) {
+ this.$message.success(this.$t('tip.publishRunPlanSuccess'));
+ } else {
+ this.$messageBox(`${this.$t('tip.publishRunPlanFail')}: ${resp.data[0]}`);
+ }
this.refresh();
}).catch(() => {
this.$messageBox(this.$t('tip.publishRunPlanFail'));
diff --git a/src/views/planMonitor/editTool/menuBar.vue b/src/views/planMonitor/editTool/menuBar.vue
index a20557791..24075a0ec 100644
--- a/src/views/planMonitor/editTool/menuBar.vue
+++ b/src/views/planMonitor/editTool/menuBar.vue
@@ -612,7 +612,11 @@ export default {
type: 'warning'
}).then(() => {
publishRunPlan(param.planId, {runPlanName: param.planName}).then(resp => {
- this.$message.success(this.$t('tip.publishRunPlanSuccess'));
+ if (resp.data.length <= 0) {
+ this.$message.success(this.$t('tip.publishRunPlanSuccess'));
+ } else {
+ this.$messageBox(`${this.$t('tip.publishRunPlanFail')}: ${resp.data[0]}`);
+ }
}).catch(() => {
this.$messageBox(this.$t('tip.publishRunPlanFail'));
});
diff --git a/src/views/planMonitor/editTool/routingoperate/routeConfig.vue b/src/views/planMonitor/editTool/routingoperate/routeConfig.vue
index 97524b3c8..afe856e72 100644
--- a/src/views/planMonitor/editTool/routingoperate/routeConfig.vue
+++ b/src/views/planMonitor/editTool/routingoperate/routeConfig.vue
@@ -11,7 +11,7 @@
-
+
- {{ $t('map.activate') }}
+ >{{ $t('map.activate') }} -->
@@ -40,7 +40,8 @@
>{{ $t('map.activate') }}
-
+
+
- {{ $t('map.activate') }}
+ >{{ $t('map.activate') }} -->