统计分析

This commit is contained in:
851673013@qq.com 2022-07-05 20:03:41 +08:00
parent f4717b5744
commit f68ac3812c
2 changed files with 61 additions and 46 deletions

View File

@ -336,6 +336,7 @@ export default {
} }
.water-point-analysis-eachars { .water-point-analysis-eachars {
display: flex; display: flex;
// height: 165px;
& > div:first-child { & > div:first-child {
width: 60%; width: 60%;
height: 165px; height: 165px;

View File

@ -26,10 +26,10 @@
> >
<template slot-scope="{ item }"> <template slot-scope="{ item }">
<div style="margin-bottom: -10px" class="name"> <div style="margin-bottom: -10px" class="name">
{{ item.text || "" }} {{ item.text || '' }}
</div> </div>
<span style="font-size: 10px; color: #afbcc5">{{ <span style="font-size: 10px; color: #afbcc5">{{
item.detail.address || "" item.detail.address || ''
}}</span> }}</span>
</template> </template>
<!-- <template slot="append">搜索</template> --> <!-- <template slot="append">搜索</template> -->
@ -72,7 +72,13 @@
<div class="title">地图图层</div> <div class="title">地图图层</div>
<div class="change-btn-box"> <div class="change-btn-box">
<el-checkbox-group v-model="changeLayerBtnGroup"> <el-checkbox-group v-model="changeLayerBtnGroup">
<el-checkbox-button v-for="item in changeLayerBtnList" :key="item.index" :label="item" @change="layerHandleChange(item)" border></el-checkbox-button> <el-checkbox-button
v-for="item in changeLayerBtnList"
:key="item.index"
:label="item"
@change="layerHandleChange(item)"
border
></el-checkbox-button>
</el-checkbox-group> </el-checkbox-group>
</div> </div>
</div> </div>
@ -89,7 +95,10 @@ import complaintEvent from './components/ComplaintEvent'
import VideoList from './components/VideoList' import VideoList from './components/VideoList'
import SiteList from './components/SiteList' import SiteList from './components/SiteList'
import { selectByJdWd } from '@/api/construction/index' import { selectByJdWd } from '@/api/construction/index'
import { createSiteListPop, createCameraDetailsPop } from '@/supermap/createMarkerPopup' import {
createSiteListPop,
createCameraDetailsPop
} from '@/supermap/createMarkerPopup'
export default { export default {
data () { data () {
@ -102,7 +111,6 @@ export default {
changeLayerBtnList: ['视频监控', '积水点'], changeLayerBtnList: ['视频监控', '积水点'],
changeLayerBtnGroup: [], changeLayerBtnGroup: [],
eventCheckList: [] eventCheckList: []
} }
}, },
components: { components: {
@ -129,11 +137,13 @@ export default {
// this.circle(latLng); // this.circle(latLng);
this.hiMap.mapObj.map.flyTo({ lat: row.wd, lng: row.jd }) this.hiMap.mapObj.map.flyTo({ lat: row.wd, lng: row.jd })
// this.WithinRadiusSite(latLng); // this.WithinRadiusSite(latLng);
const dataEvent = [{ const dataEvent = [
{
latLng: { lat: row.wd, lng: row.jd }, latLng: { lat: row.wd, lng: row.jd },
data: row, data: row,
type: 'site' type: 'site'
}] }
]
this.hiMapFun.addPointsToMap( this.hiMapFun.addPointsToMap(
dataEvent, dataEvent,
'construction.png', 'construction.png',
@ -293,7 +303,12 @@ export default {
}) })
} }
}) })
this.hiMapFun.addResourceOnMapWithoutSuperMapCluster(dataEvent, 'videoSurveillance.png', type, createCameraDetailsPop) this.hiMapFun.addResourceOnMapWithoutSuperMapCluster(
dataEvent,
'videoSurveillance.png',
type,
createCameraDetailsPop
)
} }
}, },
beforeDestroy () {} beforeDestroy () {}
@ -304,7 +319,7 @@ export default {
@font-face { @font-face {
font-family: 'Tensentype-ZhiHeiJ-W5'; font-family: 'Tensentype-ZhiHeiJ-W5';
src: url("../../../assets/construction/TTZhiHeiJ-W5.ttf"); src: url('../../../assets/construction/TTZhiHeiJ-W5.ttf');
} }
.map-box { .map-box {
width: 100%; width: 100%;
@ -323,7 +338,7 @@ export default {
z-index: 1000; z-index: 1000;
width: 100%; width: 100%;
height: 166px; height: 166px;
background: url("~@/assets/construction/title.png") no-repeat; background: url('~@/assets/construction/title.png') no-repeat;
text-align: center; text-align: center;
.title { .title {
font-size: 46px; font-size: 46px;
@ -336,7 +351,7 @@ export default {
} }
.title::before { .title::before {
content: '青岛市积水点地图'; content: '青岛市积水点地图';
text-shadow: 0px 3px 10px rgba(0,0,0,.9); text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.9);
position: absolute; position: absolute;
z-index: -1; z-index: -1;
} }
@ -347,10 +362,10 @@ export default {
z-index: 1000; z-index: 1000;
left: 496px; left: 496px;
top: 90px; top: 90px;
border: 1px solid rgba(31,254,253,.9); border: 1px solid rgba(31, 254, 253, 0.9);
::v-deep .el-input__inner { ::v-deep .el-input__inner {
color: #fff; color: #fff;
background: rgba($color: #203b5d, $alpha: .8); background: rgba($color: #203b5d, $alpha: 0.8);
width: 226px; width: 226px;
height: 36px; height: 36px;
border: none; border: none;
@ -360,7 +375,7 @@ export default {
} }
::v-deep .el-input__prefix { ::v-deep .el-input__prefix {
top: -1px; top: -1px;
color: rgba(31,254,253,.9); color: rgba(31, 254, 253, 0.9);
} }
::v-deep .el-input-group__append { ::v-deep .el-input-group__append {
width: 54px; width: 54px;
@ -379,7 +394,7 @@ export default {
z-index: -1 !important; z-index: -1 !important;
width: 226px !important; width: 226px !important;
left: 0px !important; left: 0px !important;
background: rgba(32,59,93,.8); background: rgba(32, 59, 93, 0.8);
border: 1px solid #1ffefd; border: 1px solid #1ffefd;
li { li {
color: #fff; color: #fff;
@ -397,7 +412,7 @@ export default {
top: 90px; top: 90px;
height: 908px; height: 908px;
width: 478px; width: 478px;
background: rgba($color: #05213b, $alpha: .85) background: rgba($color: #05213b, $alpha: 0.85);
} }
.eventNum { .eventNum {
@ -433,8 +448,8 @@ export default {
right: 8px; right: 8px;
top: 92px; top: 92px;
width: 398px; width: 398px;
height:460px; // height:460px;
background: rgba($color: #05213b, $alpha: .85); background: rgba($color: #05213b, $alpha: 0.85);
} }
.siteList { .siteList {
@ -444,13 +459,13 @@ export default {
top: 660px; top: 660px;
width: 398px; width: 398px;
// height:500px; // height:500px;
background: rgba($color: #05213b, $alpha: .85); background: rgba($color: #05213b, $alpha: 0.85);
} }
.changeLayer { .changeLayer {
width: 332px; width: 332px;
height: 67px; height: 67px;
background: rgba(7,26,44,.8); background: rgba(7, 26, 44, 0.8);
position: absolute; position: absolute;
bottom: 10px; bottom: 10px;
left: 50%; left: 50%;
@ -461,7 +476,7 @@ export default {
width: 96px; width: 96px;
height: 100%; height: 100%;
font-size: 16px; font-size: 16px;
color: rgba(255,255,255,.6); color: rgba(255, 255, 255, 0.6);
text-align: center; text-align: center;
line-height: 67px; line-height: 67px;
} }
@ -476,13 +491,12 @@ export default {
padding: 6px 14px; padding: 6px 14px;
border: 0; border: 0;
border-radius: 10px; border-radius: 10px;
} }
.el-checkbox-button:first-child .el-checkbox-button__inner { .el-checkbox-button:first-child .el-checkbox-button__inner {
margin-right: 10px; margin-right: 10px;
} }
.el-checkbox-button.is-checked .el-checkbox-button__inner { .el-checkbox-button.is-checked .el-checkbox-button__inner {
background: #027DB4; background: #027db4;
color: #ffffff; color: #ffffff;
box-shadow: unset; box-shadow: unset;
} }
@ -535,7 +549,7 @@ export default {
} }
} }
</style> </style>
<style lang='scss'> <style lang="scss">
// ::-webkit-scrollbar { // ::-webkit-scrollbar {
// width: 8px; // width: 8px;
// background: rgba(255, 255, 255, 0.1); // background: rgba(255, 255, 255, 0.1);