同步现场代码 修改电网一张图页面

This commit is contained in:
GGJ
2024-05-29 13:39:46 +08:00
parent f6f015cf4b
commit 3d0bd8f644
11 changed files with 226 additions and 166 deletions

View File

@@ -94,7 +94,7 @@ const form: any = ref({
const height = mainHeight(10)
// 获取区域名称
const changeValue = (e: any) => {
// mapRef.value.locatePositions(e)
//mapRef.value.locatePositions(e)
form.value.orgNo = e.data.id //list.filter((item: any) => item.code == e.orgId)[0]?.id || dictData.state.area[0].id
options.value[0].name = e.data.areaName
@@ -118,12 +118,12 @@ const infoShow = (e: boolean) => {
}
// 地图控制图层
const LookMap = (row: any, key?: any) => {
// mapRef.value.addMarkers({ ...row, type: 1 }, key)
//mapRef.value.addMarkers({ ...row, type: 1 }, key)
}
//区域统计展示切换
const GridDiagram = (k?: number) => {
// mapRef.value.radiusPop(k)
// mapRef.value.flyTo({ coordinate: [116.84428600000001, 40.57707185292256] }, 6.709267680647425)
//mapRef.value.radiusPop(k)
//mapRef.value.flyTo({ coordinate: [116.84428600000001, 40.57707185292256] }, 6.709267680647425)
}
const info = () => {
form.value.startTime = datePickerRef.value.timeValue[0]
@@ -133,7 +133,7 @@ const info = () => {
form.value.type = datePickerRef.value.interval
// mapRef.value.grids(form.value)
//mapRef.value.grids(form.value)
if (control.value == 1) {
mapLRef.value.info(form.value)
mapRRef.value.info(form.value)