代码调整

This commit is contained in:
joylink_cuiweidong 2021-03-05 17:50:22 +08:00
parent c785523699
commit 43c8c577ae
3 changed files with 6 additions and 7 deletions

View File

@ -137,7 +137,7 @@ export default {
}, },
computed: { computed: {
title() { title() {
return this.$t('planMonitor.modifying.modifyRunLevel'); return this.$t('planMonitor.modifying.modifyRunLevel') + ' (单位:秒)';
} }
}, },
mounted() { mounted() {

View File

@ -143,14 +143,13 @@ export default {
} }
} }
reentryData[each.code] = temp; reentryData[each.code] = temp;
} else { }
if (each.reentryData.tbBack || each.reentryData.tbFrom || each.reentryData.tbTo) { if (each.reentryData.tbBack || each.reentryData.tbFrom || each.reentryData.tbTo) {
tbBackList.push(each.stationName); tbBackList.push(each.stationName);
}
} }
}); });
if (tbBackList.length > 0) { if (tbBackList.length > 0) {
this.$messageBox('请设置【' + reentryData.toString() + '】站后折返信息'); this.$messageBox('请设置【' + tbBackList.toString() + '】站后折返信息');
return; return;
} else if (Object.keys(reentryData).length == 0) { } else if (Object.keys(reentryData).length == 0) {
// JSON.stringify(reentryData) == '{}' // JSON.stringify(reentryData) == '{}'

View File

@ -108,7 +108,7 @@ export default {
}, },
computed: { computed: {
title() { title() {
return this.$t('planMonitor.modifying.modifyRunLevel'); return this.$t('planMonitor.modifying.modifyRunLevel') + ' (单位:秒)';
}, },
isNewMap() { isNewMap() {
return this.$route.path.includes('displayNew'); return this.$route.path.includes('displayNew');