修改人员位置弹窗相关

main
jinna 2 years ago
parent 8e3b148182
commit f973917b82
  1. 5
      src/views/alarmcenter/peopleposition/list.vue
  2. 3
      src/views/map/index.vue

@ -13,7 +13,7 @@
</avue-crud>
<!-- 地图定位 -->
<el-dialog v-if="dialogVisible" :visible.sync="dialogVisible" modal="false" append-to-body fullscreen>
<MapView :name="sn" :x="x" :y="y"></MapView>
<MapView :sn="sn" :x="x" :y="y"></MapView>
</el-dialog>
</basic-container>
</template>
@ -94,7 +94,8 @@ export default {
},
data: [],
submitLoading: false,
buildingId: 202861,
// buildingId: 202861,
buildingId: 206885,
//
dialogVisible: false,
sn: '',

@ -53,6 +53,9 @@ export default {
}//x,y
});
window.map.addControl(floorControl);
console.log('sn ===>',this.sn)
console.log('floorNo ===>',this.floorNo)
console.log('x ====>',this.x,'y ====>',this.y)
if(this.sn && this.floorNo && this.x && this.y) {
window.map._map.focusFloorId = this.floorNo;
coordinateToWGS84({ x:this.x, y:this.y, minX: 13439311, maxY:3667244.25 }).then(res => {

Loading…
Cancel
Save