diff --git a/src/views/newMap/newMapdraft/index.vue b/src/views/newMap/newMapdraft/index.vue index ce171e015..b2be54748 100644 --- a/src/views/newMap/newMapdraft/index.vue +++ b/src/views/newMap/newMapdraft/index.vue @@ -31,6 +31,7 @@ @generateCIEvent="generateCIEvent" @updateMapModel="updateMapModel" @generateDepotCiEvent="generateDepotCiEvent" + @setMapFunctionConfig="setMapFunctionConfig" @setCenter="setCenter" @selectView="selectViewDraft" @showMap="showMap" @@ -48,6 +49,7 @@ + @@ -67,6 +69,7 @@ import CheckConfig from './checkConfig'; import ElementImport from './elementImport'; import PopMenu from '@/components/PopMenu'; import DepotStation from './depotStation'; +import mapFunctionConfig from './mapFunctionConfig'; import ConfigMap from './configMap'; @@ -83,7 +86,8 @@ export default { PopMenu, CheckConfig, ElementImport, - DepotStation + DepotStation, + mapFunctionConfig }, data() { return { @@ -312,6 +316,9 @@ export default { generateDepotCiEvent() { this.$refs.depotStation.doShow(); }, + setMapFunctionConfig() { + this.$refs.mapFunctionConfig.show(); + }, handleSelectControlPage(model) { if (this.$refs.mapOperate) { this.$refs.mapOperate.handleSelectControlPage(model); diff --git a/src/views/newMap/newMapdraft/mapFunctionConfig.vue b/src/views/newMap/newMapdraft/mapFunctionConfig.vue new file mode 100644 index 000000000..f941a635a --- /dev/null +++ b/src/views/newMap/newMapdraft/mapFunctionConfig.vue @@ -0,0 +1,218 @@ + + + + + + + 地图功能配置项 + + + + + + + {{ scope.row.configValue }} + + + + {{ scope.row.configValue }} + + + + 是 + 否 + + + + + + + + + + {{ getMultipleName(item, scope.row.options) }} + + + + + + + + + + + + + + {{ $t('global.confirm') }} + {{ $t('global.cancel') }} + + + + + + + + diff --git a/src/views/newMap/newMapdraft/mapoperate/index.vue b/src/views/newMap/newMapdraft/mapoperate/index.vue index 852b204a1..f0b4dc03c 100644 --- a/src/views/newMap/newMapdraft/mapoperate/index.vue +++ b/src/views/newMap/newMapdraft/mapoperate/index.vue @@ -17,7 +17,7 @@ 现地配置 大屏配置 车辆段配置 - 地图配置 + 地图配置 @@ -244,6 +244,9 @@ export default { generateCIEvent() { this.$emit('generateCIEvent'); }, + setMapFunctionConfig() { + this.$emit('setMapFunctionConfig'); + }, generateDepotCiEvent() { this.$emit('generateDepotCiEvent'); }