|
@@ -293,12 +293,10 @@
|
|
|
<el-tab-pane label="实时画面" name="frame">
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="地理位置" name="point" style="height:75vh;">
|
|
|
- <div class="info-button-group">
|
|
|
- <button>视频联动</button>
|
|
|
- <button>矢量标记</button>
|
|
|
- <button>测面</button>
|
|
|
- <button>测距</button>
|
|
|
- </div>
|
|
|
+ <div class="info-button-group">
|
|
|
+ <button>视频联动</button>
|
|
|
+ <button @click="editableLayers('supermapNotProcessed')">测量工具</button>
|
|
|
+ </div>
|
|
|
<supermapNotProcessed ref="supermapNotProcessed" v-if="'point' === activeName" style="width:100% ;height: 75vh;" :mapDiv="'forestWarmSuperMap'" :mapSite="{doubleClickZoom:false}" :codes="['9fa5']" @preview="preview" :isSideBySide="false"></supermapNotProcessed>
|
|
|
</el-tab-pane>
|
|
|
<!-- <supermapNotProcessed ref="supermapNotProcessed" style="width: 1000px;height: 1000px;" :mapDiv="'forestWarmSuperMap'" :mapSite="{doubleClickZoom:false}" :codes="['9fa5']" @preview="preview" :isSideBySide="false"></supermapNotProcessed> -->
|
|
@@ -436,9 +434,7 @@
|
|
|
<el-tab-pane label="地理位置" name="point">
|
|
|
<div class="info-button-group">
|
|
|
<button>视频联动</button>
|
|
|
- <button>矢量标记</button>
|
|
|
- <button>测面</button>
|
|
|
- <button>测距</button>
|
|
|
+ <button @click="editableLayers('supermapProcessed')">测量工具</button>
|
|
|
</div>
|
|
|
<supermapProcessed ref="supermapProcessed" v-if="'point' === activeName" style="width:100% ;height: 75vh" :mapDiv="'supermapProcessedSuperMap'" :mapSite="{doubleClickZoom:false}" :codes="['9fa5']" @preview="preview" :isSideBySide="false"></supermapProcessed>
|
|
|
</el-tab-pane>
|
|
@@ -904,6 +900,23 @@
|
|
|
}
|
|
|
},
|
|
|
/** ----------------------------------事件弹窗开始------------------------------------- */
|
|
|
+ editableLayers(processedState){
|
|
|
+ if(processedState=='supermapNotProcessed'){
|
|
|
+ let aa = this.$refs.supermapNotProcessed.isEditableLayers;
|
|
|
+ if (!this.$refs.supermapNotProcessed.isEditableLayers) {
|
|
|
+ this.$refs.supermapNotProcessed.isEditableLayers = true
|
|
|
+ } else {
|
|
|
+ this.$refs.supermapNotProcessed.isEditableLayers = false
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ let bb = this.$refs.supermapProcessed.isEditableLayers ;
|
|
|
+ if (!this.$refs.supermapProcessed.isEditableLayers) {
|
|
|
+ this.$refs.supermapProcessed.isEditableLayers = true
|
|
|
+ } else {
|
|
|
+ this.$refs.supermapProcessed.isEditableLayers = false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
switchImage(url) {
|
|
|
this.url = url
|
|
|
},
|
|
@@ -1093,8 +1106,6 @@
|
|
|
this.deptName = ''
|
|
|
this.eventStatus = ''
|
|
|
},
|
|
|
- /** ----------------------------------事件弹窗结束------------------------------------- */
|
|
|
- /** ----------------------------------事件弹窗开始-处理中------------------------------------- */
|
|
|
updateEventStatusProcessed() {
|
|
|
if(this.eventStatus==''){
|
|
|
this.$modal.msgError("请选择状态");
|
|
@@ -1242,7 +1253,7 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- /** ----------------------------------事件弹窗结束-处理中------------------------------------- */
|
|
|
+ /** ----------------------------------事件弹窗结束------------------------------------- */
|
|
|
getBaseInfo() {
|
|
|
let that = this
|
|
|
that.sourceData = [];
|