This commit is contained in:
chenchenzai 2022-11-25 15:05:18 +08:00
commit 3f0775ba06
2 changed files with 202 additions and 85 deletions

View File

@ -4,17 +4,17 @@
<div class="inner-title"> <div class="inner-title">
重点点位视频监控 重点点位视频监控
<span <span
@click="openVideoList"
style="float: right; style="float: right;
font-size: 16px; font-size: 16px;
color: #fff;
margin-right: 10px; margin-right: 10px;
font-weight: normal; font-weight: normal;
color: rgb(0 255 255); cursor: pointer;
" "
>查看点位列表 >查看点位列表>
<span style="color: #1296db; font-size: 18px; font-weight: bold;cursor: pointer;" <!-- <span style="color: #1296db; font-size: 18px; font-weight: bold;cursor: pointer;"
@click="openVideoList">></span >></span> -->
></span </span>
>
</div> </div>
<div class="video-List"> <div class="video-List">
<div id="video1" class="monitor"> <div id="video1" class="monitor">

View File

@ -88,15 +88,19 @@
</div> </div>
</div> </div>
<div class="analysis-advice"> <div class="analysis-advice">
<span style=" font-size: 14px;color: #fff;">决策建议</span> <span style="font-size: 14px; color: #fff">决策建议</span>
预测<span style=" font-size: 14px; 预测<span
style="
font-size: 14px;
color: rgb(0 255 255); color: rgb(0 255 255);
cursor: pointer; cursor: pointer;
text-decoration: underline;" >{{analysis.area}}</span> text-decoration: underline;
"
>{{ analysis.area }}</span
>
下周人流量较高建议增加环卫人员数量垃圾收运频次 下周人流量较高建议增加环卫人员数量垃圾收运频次
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
@ -105,7 +109,6 @@ import * as echarts from "echarts";
export default { export default {
data() { data() {
return { return {
daterange: null, daterange: null,
dataForm: { dataForm: {
title: "", title: "",
@ -127,9 +130,9 @@ export default {
sanitationNum: 14, sanitationNum: 14,
garbageNum: 2, garbageNum: 2,
mechanNum: 1, mechanNum: 1,
advice:'', advice: "",
area:'第一海水浴场' area: "第一海水浴场",
} },
}; };
}, },
components: {}, components: {},
@ -213,18 +216,39 @@ export default {
type: "category", type: "category",
data: ["人员聚集", "违规停车", "路面不洁", "违章", "占道经营"], data: ["人员聚集", "违规停车", "路面不洁", "违章", "占道经营"],
axisLine: { axisLine: {
show: false, // 线
lineStyle: { lineStyle: {
color: "#fff", color: "#fff",
fontSize: 10, fontSize: 10,
}, },
}, },
axisTick: {
show: false, // 线
alignWithLabel: true, //
inside: true, // 线
length: 0, // x线
},
}, },
yAxis: { yAxis: {
type: "value", type: "value",
axisLine: { axisTick: {
show: false, // 线
alignWithLabel: true, //
inside: true, // 线
length: 0, // x线
},
axisLabel: {
textStyle: {
color: "#fff", //
fontSize: 10, //
},
},
splitLine: {
lineStyle: { lineStyle: {
color: "#fff", // 线
fontSize: 10, color: "#48b",
width: 1,
type: "solid",
}, },
}, },
}, },
@ -235,7 +259,17 @@ export default {
itemStyle: { itemStyle: {
normal: { normal: {
// //
color: "#fe8463", color: new echarts.graphic.LinearGradient(
0,
1,
0,
0,
[
{ offset: 1, color: "#FFDD53" },
{ offset: 0, color: "#FF515A" },
],
false
),
}, },
}, },
}, },
@ -254,7 +288,9 @@ export default {
left: "40px", left: "40px",
bottom: "20px", bottom: "20px",
}, },
tooltip: { tooltip: {
data: ["1", "2", "3", "4"],
// XY // XY
trigger: "axis", trigger: "axis",
backgroundColor: "rgba(32, 33, 36,.7)", backgroundColor: "rgba(32, 33, 36,.7)",
@ -274,71 +310,149 @@ export default {
type: "category", type: "category",
data: ["11.04", "11.05", "11.06", "11.07", "11.08", "11.09", "11.10"], data: ["11.04", "11.05", "11.06", "11.07", "11.08", "11.09", "11.10"],
axisLine: { axisLine: {
show: false, // 线
lineStyle: { lineStyle: {
color: "#fff", color: "#fff",
fontSize: 10, fontSize: 10,
}, },
}, },
axisTick: {
show: false, // 线
alignWithLabel: true, //
inside: true, // 线
length: 0, // x线
},
}, },
yAxis: [ yAxis: [
{ {
type: "value", type: "value",
axisLine: { axisTick: {
show: false, // 线
alignWithLabel: true, //
inside: true, // 线
length: 0, // x线
},
axisLabel: {
textStyle: {
color: "#fff", //
fontSize: 10, //
},
},
splitLine: {
show: false, // 线
lineStyle: { lineStyle: {
color: "#fff", // 线
fontSize: 10, color: "#48b",
width: 1,
type: "solid",
}, },
}, },
}, },
{ {
type: "value", type: "value",
axisLine: { axisTick: {
show: false, // 线
alignWithLabel: true, //
inside: true, // 线
length: 0, // x线
},
axisLabel: {
textStyle: {
color: "#fff", //
fontSize: 10, //
},
},
splitLine: {
lineStyle: { lineStyle: {
color: "#fff", // 线
fontSize: 10, color: "#48b",
width: 1,
type: "solid",
}, },
}, },
}, },
], ],
series: [ series: [
{ {
data: [25, 20, 15, 11, 10, 5,6,3], name: "人员数量",
data: [14, 10, 4, 11, 10, 12, 6, 13],
type: "bar", type: "bar",
itemStyle: { itemStyle: {
normal: { normal: {
color: new echarts.graphic.LinearGradient(
color: "rgb(89 166 190)", 0,
1,
0,
0,
[
{ offset: 0, color: "#00DCFB" },
{ offset: 1, color: "#14566B" },
],
false
),
}, },
}, },
}, },
{ {
name: "路面不洁",
type: "line", type: "line",
yAxisIndex: 1, yAxisIndex: 1,
data: [59, 10, 140, 40, 30, 40,160,50], data: [150, 165, 160, 150, 130, 140, 160],
itemStyle: { itemStyle: {
color: 'green', normal: {
showSymbol: false, color: "#faa12f", //
borderColor: "rgba(251,222,153,0.5)",
borderWidth: 4,
lineStyle: {
//线
type: "solid", //'dotted'线 'solid'线
color: "#faa12f",
width: 1,
borderColor: "#faa12f", //
},
},
}, },
}, },
{ {
name: "违规停车",
type: "line", type: "line",
yAxisIndex: 1, yAxisIndex: 1,
data: [20, 30, 49, 57, 120, 28,40,60], data: [140, 155, 126, 172, 130, 120, 150],
itemStyle: { itemStyle: {
color: 'yellow', normal: {
showSymbol: false, color: "#eff20c", //
borderColor: "rgba(251,222,153,0.5)",
borderWidth: 4,
lineStyle: {
//线
type: "solid", //'dotted'线 'solid'线
color: "#eff20c",
width: 1,
borderColor: "#b5d816", //
},
},
}, },
}, },
{ {
name: "垃圾桶满溢",
type: "line", type: "line",
yAxisIndex: 1, yAxisIndex: 1,
data: [60, 80, 100, 100, 150, 126,100,160], data: [170, 155, 110, 120, 110, 120, 110],
itemStyle: { itemStyle: {
color: 'orange', normal: {
showSymbol: false, color: "#08e715", //
borderColor: "rgba(251,222,153,0.5)",
borderWidth: 4,
lineStyle: {
//线
type: "solid", //'dotted'线 'solid'线
color: "#08e715",
width: 1,
borderColor: "#147f1a", //
},
},
}, },
}, },
], ],
}; };
eventChart.setOption(option); eventChart.setOption(option);
@ -373,10 +487,12 @@ export default {
margin-top: 7px; margin-top: 7px;
width: 96%; width: 96%;
margin-left: 2%; margin-left: 2%;
height: 20px; height: 22px;
line-height: 20px; line-height: 22px;
border-radius: 1px; border-radius: 1px;
background: #9000; background: #9000;
border-color: #107bb0;
box-shadow: 1px 1px 5px 1px RGB(16, 123, 176, 0.8) inset;
color: #ffffff; color: #ffffff;
} }
::v-deep .el-date-editor .el-range__icon { ::v-deep .el-date-editor .el-range__icon {
@ -399,6 +515,7 @@ export default {
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
color: #ffffff; color: #ffffff;
// background: linear-gradient(90deg, #0873c1 0, rgba(8, 115, 193, 0) 100%);
} }
.list1 { .list1 {
width: 100%; width: 100%;
@ -464,7 +581,8 @@ export default {
width: 100%; width: 100%;
.list2-conclusion { .list2-conclusion {
color: #fff; color: #fff;
border: 1px solid #fff; border-color: #107bb0;
box-shadow: 1px 1px 5px 1px RGB(16, 123, 176, 0.8) inset;
margin: 10px; margin: 10px;
padding: 0px 3px; padding: 0px 3px;
font-size: 14px; font-size: 14px;
@ -492,7 +610,8 @@ export default {
width: 25%; width: 25%;
color: #fff; color: #fff;
.item-div { .item-div {
background: #5f676c; // background: #5f676c;
background: url("~@/assets/img/roadGovernancebg.png") no-repeat;
margin: 10px 10px; margin: 10px 10px;
} }
} }
@ -502,11 +621,9 @@ export default {
font-size: 14px; font-size: 14px;
margin-left: 10px; margin-left: 10px;
} }
} }
.list4 { .list4 {
width: 100%; width: 100%;
} }
header { header {
width: 100%; width: 100%;