From d5fb65532736b996aa3176423e11e8fb114bce90 Mon Sep 17 00:00:00 2001 From: 李红刚 <p-honggang.li@pcitc.com> Date: 星期三, 17 三月 2021 14:41:44 +0800 Subject: [PATCH] 修改标绘绘制圆出现中心点BUG及同时清楚多个 --- src/views/MapTemplate.vue | 28 ++++++++++++++++++++-------- 1 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/views/MapTemplate.vue b/src/views/MapTemplate.vue index 5e3f482..be0702d 100644 --- a/src/views/MapTemplate.vue +++ b/src/views/MapTemplate.vue @@ -11,10 +11,11 @@ <monitor-panel></monitor-panel> <!-- <top-enterprise-panel></top-enterprise-panel>--> <tool-box-panel ref="toolBox"></tool-box-panel> - <menu-special></menu-special> +<!-- <menu-special></menu-special>--> <legend-panel></legend-panel> - <summary-sheets v-show="isShowbtn"></summary-sheets> - <el-button id="mapbtn" type="primary" icon="el-icon-c-scale-to-original" circle @click="isshowhidden"></el-button> + <summary-sheets></summary-sheets> + <enterprise></enterprise> +<!-- <el-button id="map-btn" el-icon-c-scale-to-original icon="el-icon-c-scale-to-original" circle @click="isShowHidden"></el-button>--> </div> </template> @@ -30,14 +31,16 @@ import summarySheets from '@components/table/summarySheets.vue' import ToolBoxPanel from '@components/panel/ToolBoxPanel' import Popup from '@views/popup/Popup' -import MenuSpecial from '@components/panel/MenuTopic' +// import MenuSpecial from '@components/panel/MenuTopic' import LegendPanel from '@components/panel/LegendPanel' +import Enterprise from '../components/table/enterprise' export default { name: 'MapTemplate', components: { + Enterprise, LegendPanel, - MenuSpecial, + // MenuSpecial, ToolBoxPanel, // TopEnterprisePanel, SgisLayerController, @@ -49,7 +52,7 @@ }, data () { return { - isShowbtn: false, + // isShowBtn: false, map: null, lcServiceLayerVisible: false, basemapHelper: {}, @@ -68,8 +71,8 @@ }) }, methods: { - isshowhidden () { - this.isShowbtn = !this.isShowbtn + isShowHidden () { + this.isShowBtn = !this.isShowBtn }, saveMapStatus () { window.serviceLayerHelper = this.serviceLayerHelper @@ -161,5 +164,14 @@ //background-color: #0661AE; border-top: 1px solid #0661AE; } + #map-btn { + position: fixed; + top: 20px; + left: 100px; + z-index: 9999; + } + .leaflet-custom-icon{ + background: white; + } } </style> -- Gitblit v1.8.0