fix:修改缺陷

This commit is contained in:
gounaikang 2022-08-29 17:54:23 +08:00
parent 23715f0314
commit 1cd04c95fc
7 changed files with 44 additions and 13 deletions

View File

@ -193,6 +193,9 @@ export default {
grid: { grid: {
bottom: 34, bottom: 34,
}, },
tooltip: {
trigger: 'axis'
},
xAxis: { xAxis: {
type: 'category', type: 'category',
boundaryGap: false, boundaryGap: false,
@ -213,6 +216,7 @@ export default {
yAxis: [ yAxis: [
{ {
type: 'value', type: 'value',
minInterval : 1,
name: '人', name: '人',
nameTextStyle: { nameTextStyle: {
color: 'rgba(255, 255, 255,.8)' color: 'rgba(255, 255, 255,.8)'

View File

@ -276,7 +276,7 @@ import { selectMonthAreaEvent, selectByAreaEvent, selectEventType } from "@/api/
}, },
{ {
text: "事件处置率", text: "事件处置率",
subtext: ' 65%', subtext: ' 50%',
left: 35, left: 35,
top: 'center', top: 'center',
textStyle: { textStyle: {
@ -327,6 +327,9 @@ import { selectMonthAreaEvent, selectByAreaEvent, selectEventType } from "@/api/
return '{name|' + name + " " + " " + '}{value|' + tarValue + '件' + " " + " " + p + "%" + '}' return '{name|' + name + " " + " " + '}{value|' + tarValue + '件' + " " + " " + p + "%" + '}'
}, },
}, },
tooltip: {
trigger: 'item'
},
series: [ series: [
{ {
type: 'pie', type: 'pie',
@ -411,6 +414,9 @@ import { selectMonthAreaEvent, selectByAreaEvent, selectEventType } from "@/api/
top: 80, top: 80,
bottom: 34, bottom: 34,
}, },
tooltip: {
trigger: "axis"
},
xAxis: { xAxis: {
type: 'category', type: 'category',
boundaryGap: false, boundaryGap: false,
@ -431,6 +437,7 @@ import { selectMonthAreaEvent, selectByAreaEvent, selectEventType } from "@/api/
yAxis: { yAxis: {
type: 'value', type: 'value',
name: '数量', name: '数量',
minInterval : 1,
nameTextStyle: { nameTextStyle: {
color: 'rgba(255, 255, 255.0.8)' color: 'rgba(255, 255, 255.0.8)'
}, },
@ -505,6 +512,9 @@ import { selectMonthAreaEvent, selectByAreaEvent, selectEventType } from "@/api/
top: 80, top: 80,
bottom: 34, bottom: 34,
}, },
tooltip: {
trigger: "axis"
},
xAxis: { xAxis: {
type: 'category', type: 'category',
boundaryGap: false, boundaryGap: false,

View File

@ -326,15 +326,22 @@ export default {
{ {
latLng: { lat: arr[1], lng: arr[0] }, latLng: { lat: arr[1], lng: arr[0] },
data: item, data: item,
type: "site",
}, },
]; ];
this.hiMapFun.removeLayerByLayerName("roadPoint");
this.hiMap.mapObj.map.flyTo({ lat: arr[1], lng: arr[0] }); this.hiMap.mapObj.map.flyTo({ lat: arr[1], lng: arr[0] });
this.hiMapFun.openPopupVideoSurveillance(searchDataDetail[0]); this.hiMapFun.addPointsToMap(
this.hiMapFun.addResourceOnMapWithoutSuperMapCluster(
searchDataDetail, searchDataDetail,
"poi-red.png", "poi-red.png",
"address" "roadPoint"
); );
// this.hiMapFun.openPopupVideoSurveillance(searchDataDetail[0]);
// this.hiMapFun.addResourceOnMapWithoutSuperMapCluster(
// searchDataDetail,
// "poi-red.png",
// "address"
// );
// this.timer = setTimeout(() => { // this.timer = setTimeout(() => {
// this.addResourceTomap("", this.cameraAllData); // this.addResourceTomap("", this.cameraAllData);
// }, 1000); // }, 1000);
@ -641,6 +648,7 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;
z-index: -1;
.normal-map-content { .normal-map-content {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -770,7 +778,7 @@ export default {
.siteList { .siteList {
position: absolute; position: absolute;
z-index: 1000; z-index: 10;
right: 8px; right: 8px;
top: 562px; top: 562px;
width: 398px; width: 398px;
@ -782,7 +790,7 @@ export default {
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
bottom: 120px; bottom: 120px;
z-index: 1005; z-index: 10;
width: 555px; width: 555px;
height: 80px; height: 80px;
background: url("~@/assets/civilizedCity/legend.png") no-repeat; background: url("~@/assets/civilizedCity/legend.png") no-repeat;
@ -793,7 +801,7 @@ export default {
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
bottom: 220px; bottom: 220px;
z-index: 1000; z-index: 10;
span { span {
position: absolute; position: absolute;
right: 42px; right: 42px;
@ -811,7 +819,7 @@ export default {
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
display: flex; display: flex;
z-index: 1000; z-index: 10;
.title { .title {
width: 96px; width: 96px;
height: 100%; height: 100%;

View File

@ -33,7 +33,7 @@
@click="typeSelect(item)" @click="typeSelect(item)"
>{{item}}</div> >{{item}}</div>
</div> </div>
<div class="filter-btn-processStateSelect"> <div v-if="false" class="filter-btn-processStateSelect">
<div class="processStateSelect-btn" <div class="processStateSelect-btn"
v-for="item in filterButton.processStateSelect" v-for="item in filterButton.processStateSelect"
:key="item" :key="item"

View File

@ -182,6 +182,7 @@ export default {
yAxis: [ yAxis: [
{ {
type: 'value', type: 'value',
minInterval : 1,
name: 'dB', name: 'dB',
nameTextStyle: { nameTextStyle: {
color: 'rgba(255, 255, 255,.8)' color: 'rgba(255, 255, 255,.8)'
@ -312,14 +313,14 @@ export default {
// } // }
.site-popup { .site-popup {
a.leaflet-popup-close-button { a.leaflet-popup-close-button {
top:120px; top:150px;
} }
.leaflet-popup-content-wrapper { .leaflet-popup-content-wrapper {
box-shadow: 0 0 10px rgba($color: #1ffefd, $alpha: .4); box-shadow: 0 0 10px rgba($color: #1ffefd, $alpha: .4);
background: rgba(24,51,76,.95); background: rgba(24,51,76,.95);
border: 1px solid rgba(50,227,235,.95); border: 1px solid rgba(50,227,235,.95);
position: relative; position: relative;
top: 120px; top: 150px;
} }
.leaflet-popup-content { .leaflet-popup-content {
width: 734px !important; width: 734px !important;

View File

@ -349,7 +349,7 @@ import * as echarts from 'echarts'
}, },
{ {
text: "事件处置率", text: "事件处置率",
subtext: ' 65%', subtext: ' 50%',
left: 35, left: 35,
top: 'center', top: 'center',
textStyle: { textStyle: {
@ -400,6 +400,9 @@ import * as echarts from 'echarts'
return '{name|' + name + " " + " " + '}{value|' + tarValue + '件' + " " + " " + p + "%" + '}' return '{name|' + name + " " + " " + '}{value|' + tarValue + '件' + " " + " " + p + "%" + '}'
}, },
}, },
tooltip: {
trigger: 'item'
},
series: [ series: [
{ {
type: 'pie', type: 'pie',
@ -484,6 +487,9 @@ import * as echarts from 'echarts'
top: 80, top: 80,
bottom: 34, bottom: 34,
}, },
tooltip: {
trigger: "axis"
},
xAxis: { xAxis: {
type: 'category', type: 'category',
boundaryGap: false, boundaryGap: false,
@ -504,6 +510,7 @@ import * as echarts from 'echarts'
yAxis: { yAxis: {
type: 'value', type: 'value',
name: '数量', name: '数量',
minInterval : 1,
nameTextStyle: { nameTextStyle: {
color: 'rgba(255, 255, 255.0.8)' color: 'rgba(255, 255, 255.0.8)'
}, },

View File

@ -417,6 +417,7 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;
z-index: -1;
.normal-map-content { .normal-map-content {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -563,7 +564,7 @@ export default {
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
display: flex; display: flex;
z-index: 1000; z-index: 10;
.title { .title {
width: 96px; width: 96px;
height: 100%; height: 100%;