diff --git a/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue index dbc443836..7e16c6ceb 100644 --- a/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue +++ b/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue @@ -121,7 +121,8 @@ export default { buttons: [ { name: this.$t('map.preview'), - handleClick: this.overlapSwitchDetail + handleClick: this.overlapSwitchDetail, + showControl: (row) => { return row.overlapCode; } } ] }, @@ -245,7 +246,6 @@ export default { this.$Dictionary.switchLocateType().then(list => { this.SwitchLocateTypeList = list; }); - this.getProtectList(); this.acquireMapList(); }, methods: { @@ -284,7 +284,6 @@ export default { that.$convertSpecifiedField(elem, that.signalList, 'code', 'uniqueName', ['startSignalCode', 'endSignalCode']); that.$convertSpecifiedField(elem, that.stationList, 'code', 'name', ['stationCode']); that.$convertSpecifiedField(elem, that.sectionList, 'code', 'name', ['nearSectionCode', 'autoTriggerSectionCode', 'turnBackSectionCode']); - that.$convertSpecifiedField(elem, that.ContinueProtectList, 'code', 'name', ['overlapCode']); }); } } @@ -469,12 +468,6 @@ export default { selectedObj(index, row) { this.$emit('setRouteCode', row, this.codeType); this.show = false; - }, - // 获取延续保护list - getProtectList() { - getContinueProtectList(this.$route.params.mapId, {pageSize:9999, pageNum:1}).then((resp) => { - this.ContinueProtectList = resp.data.list; - }); } } }; diff --git a/src/views/newMap/newMapdraft/dataRelation/routeoperate/protect.vue b/src/views/newMap/newMapdraft/dataRelation/routeoperate/protect.vue index 555755e60..fe740aa49 100644 --- a/src/views/newMap/newMapdraft/dataRelation/routeoperate/protect.vue +++ b/src/views/newMap/newMapdraft/dataRelation/routeoperate/protect.vue @@ -1,10 +1,62 @@