diff --git a/src/main.ts b/src/main.ts index 6c62610c..e0424334 100644 --- a/src/main.ts +++ b/src/main.ts @@ -37,21 +37,21 @@ const setupAll = async () => { const app = createApp(App) //开启离线地图 - app.use(BaiduMapOffline, { - offline: true, - offlineConfig: { - imgext: '.png', - customstyle: '', - tiles_dir: '', - tiles_hybrid: '', - tiles_self: '', - tiles_v_dir: '', - tiles_satellite_dir: '', - tiles_road_dir: '', - tiles_v_road_dir: '', - home: './plugin/offline/' - } - }) + // app.use(BaiduMapOffline, { + // offline: true, + // offlineConfig: { + // imgext: '.png', + // customstyle: '', + // tiles_dir: '', + // tiles_hybrid: '', + // tiles_self: '', + // tiles_v_dir: '', + // tiles_satellite_dir: '', + // tiles_road_dir: '', + // tiles_v_road_dir: '', + // home: './plugin/offline/' + // } + // }) app.use(BaiduMap, { // ak: 'Yp57V71dkOPiXjiN8VdcFRsVELzlVNKK', ak: 'RpQi6WNFZ9tseKzhdwOQsXwFsoVntnsN', diff --git a/src/views/pqs/panorama/components/cityMapL.vue b/src/views/pqs/panorama/components/cityMapL.vue index 56d138e0..20a13941 100644 --- a/src/views/pqs/panorama/components/cityMapL.vue +++ b/src/views/pqs/panorama/components/cityMapL.vue @@ -90,6 +90,7 @@
@@ -312,10 +313,10 @@ const countList: any = ref([ ] }, - // { - // title: '上送网公司', - // children: [{ title: '电网侧监测点', num: 0, onLineNum: 0, integrityRate: 0 }] - // } + { + title: '上送网公司', + children: [{ title: '电网侧监测点', num: 0, onLineNum: 0, integrityRate: 0 }] + } ]) const linList: any = ref([ { @@ -398,7 +399,7 @@ const info = async (row: any) => { getGridDiagramStatistics(form).then(res => { countList.value[0].children[0] = { title: '非电网侧监测点', ...res.data.data[1] } countList.value[0].children[1] = { title: '电网侧监测点', ...res.data.data[0] } - // countList.value[1].children[0] = { title: '电网侧监测点', ...res.data.gwData[0] } + countList.value[1].children[0] = { title: '电网侧监测点', ...res.data.gwData[0] } }) // 监测运行统计 getGridDiagramRunData(form).then(res => { diff --git a/src/views/pqs/panorama/components/cityMapR.vue b/src/views/pqs/panorama/components/cityMapR.vue index 1b66d84f..6fe1e1ba 100644 --- a/src/views/pqs/panorama/components/cityMapR.vue +++ b/src/views/pqs/panorama/components/cityMapR.vue @@ -136,8 +136,8 @@ import { getAssessDetail, evaluationDetail, getGeneralSituation } from '@/api/de const dictData = useDictData() const height = mainHeight(30) const show = ref(false) -const boxHeight: any = mainHeight(70, 3) -const EchHeight: any = mainHeight(170, 3) +const boxHeight: any = mainHeight(30, 3) +const EchHeight: any = mainHeight(130, 3) const statisticsRef = ref() const exceededRef = ref() const formRow: any = ref({}) diff --git a/src/views/pqs/panorama/components/mapL.vue b/src/views/pqs/panorama/components/mapL.vue index 87c40452..2c5cbb38 100644 --- a/src/views/pqs/panorama/components/mapL.vue +++ b/src/views/pqs/panorama/components/mapL.vue @@ -83,6 +83,7 @@
@@ -349,10 +350,10 @@ const countList: any = ref([ }, ] }, - // { - // title: '上送网公司', - // children: [{ title: '电网侧监测点', num: 0, onLineNum: 0, integrityRate: 0 }] - // } + { + title: '上送网公司', + children: [{ title: '电网侧监测点', num: 0, onLineNum: 0, integrityRate: 0 }] + } ]) const linList: any = ref([ { @@ -467,7 +468,7 @@ const info = async (row: any) => { getGridDiagramStatistics(form).then(res => { countList.value[0].children[0] = { title: '非电网侧监测点', ...res.data.data[1] } countList.value[0].children[1] = { title: '电网侧监测点', ...res.data.data[0] } - // countList.value[1].children[0] = { title: '电网侧监测点', ...res.data.gwData[0] } + countList.value[1].children[0] = { title: '电网侧监测点', ...res.data.gwData[0] } }) // 监测运行统计 getGridDiagramRunData(form).then(res => { diff --git a/src/views/pqs/panorama/components/mapR.vue b/src/views/pqs/panorama/components/mapR.vue index 7b09a277..0877da41 100644 --- a/src/views/pqs/panorama/components/mapR.vue +++ b/src/views/pqs/panorama/components/mapR.vue @@ -266,8 +266,8 @@ import { const dictData = useDictData() const show = ref(false) const height = mainHeight(30) -const boxHeight: any = mainHeight(270, 2) -const EchHeight: any = mainHeight(510, 2) +const boxHeight: any = mainHeight(230, 2) +const EchHeight: any = mainHeight(320, 2) const evaluateRef = ref() const steadyStateRef = ref() const formRow: any = ref({})