diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/setFault.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/setFault.vue deleted file mode 100644 index 93b1e6f44..000000000 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/setFault.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/standDetail.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/standDetail.vue index 89bed56d2..79d43388a 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/standDetail.vue +++ b/src/jmapNew/theme/ningbo_01/menus/dialog/standDetail.vue @@ -17,12 +17,10 @@ :default-expand-all="true" style="background: #f0f0f0;" > -
+
{{ data.name }}
-
+
{{ data.name }}
{{ data.value }}
@@ -108,11 +106,6 @@ export default { }, { children: [ - // { - // name: '上行站台', - // value: '', - // level: 2 - // }, { name: '站台', value: '', @@ -179,19 +172,15 @@ export default { // 车站扣车 this.treeData[1].children[1].value = selected.stationHoldTrain ? '已设置' : '未设置'; // 停站时间 - this.treeData[0].children[2].value = selected.parkingTime == 0 ? '自动' : `${selected.parkingTime} 秒`; + this.treeData[0].children[2].value = selected.parkingTime >= 0 ? `${selected.parkingTime} 秒` : '自动'; // 跳停 this.treeData[0].children[3].value = selected.allSkip || selected.assignSkip ? '已设置' : '未设置'; - // if (selected.direction == '01') { - // 待添加 - // } + if (!stationStand || !station) { this.treeData[2].children[0].value = `自动`; } else { this.treeData[2].children[0].value = selected.runLevelTime > 0 ? `至${station.name}${stationStand.name}:人工` : `至${station.name}${stationStand.name}:自动`; } - // 待添加 - // this.tempData.push({ item: '下行折返策略', status: this.strategyMap[selected.reentryStrategy] ? this.strategyMap[selected.reentryStrategy] : '默认' }); }, doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/stationControl.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/stationControl.vue index 6cbd3cbc2..f79a2eb45 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/stationControl.vue +++ b/src/jmapNew/theme/ningbo_01/menus/dialog/stationControl.vue @@ -15,8 +15,8 @@ diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/trainDeletePlan.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainDeletePlan.vue deleted file mode 100644 index 22ffb19e1..000000000 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainDeletePlan.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/trainEdit.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainEdit.vue deleted file mode 100644 index cb2aa2985..000000000 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainEdit.vue +++ /dev/null @@ -1,181 +0,0 @@ - - - - diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/trainFlag.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainFlag.vue deleted file mode 100644 index 39b3b619a..000000000 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainFlag.vue +++ /dev/null @@ -1,160 +0,0 @@ - - - - diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/trainMoveEvently.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainMoveEvently.vue deleted file mode 100644 index ed0996eb8..000000000 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainMoveEvently.vue +++ /dev/null @@ -1,189 +0,0 @@ - - - - diff --git a/src/jmapNew/theme/ningbo_01/menus/menuTrain.vue b/src/jmapNew/theme/ningbo_01/menus/menuTrain.vue index 240ede036..40451b18d 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuTrain.vue @@ -5,10 +5,7 @@ - - - diff --git a/src/views/newMap/newDesignUser/mapmanage/publish.vue b/src/views/newMap/newDesignUser/mapmanage/publish.vue index 4c1432b64..487903c83 100644 --- a/src/views/newMap/newDesignUser/mapmanage/publish.vue +++ b/src/views/newMap/newDesignUser/mapmanage/publish.vue @@ -78,7 +78,6 @@ export default { this.$refs.form.validate((valid) => { if (valid) { this.loading = true; - delete this.editModel.children; this.verifyMapName(); } }); @@ -93,12 +92,13 @@ export default { } } catch (error) { console.log(error); + this.loading = false; } }, confirmPublish() { - this.$confirm(this.$t('map.verifyMapName'), this.$t('tip.hint'), { - confirmButtonText: this.$t('tip.confirm'), - cancelButtonText: this.$t('tip.cancel'), + this.$confirm('地图名称重复,您确认发布此地图将会覆盖公共地图?', '提示', { + confirmButtonText: '确 定', + cancelButtonText: '取 消', type: 'warning' }).then(() => { this.publishMap();