<template>
|
<div class="new-page">
|
<div style="display: flex; justify-content: space-between">
|
<div class="header_box">
|
<h1>运维考核大屏</h1>
|
<div class="tabs-box">
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
<el-tab-pane
|
v-for="item in testData1"
|
:label="item.name"
|
:name="item.value"
|
:key="item.value"
|
></el-tab-pane>
|
</el-tabs>
|
</div>
|
</div>
|
<div class="return-button" @click="returnPath">返回</div>
|
</div>
|
<div style="display: flex; justify-content: space-between">
|
<div class="left_box">
|
<div class="card">
|
<div class="card_header">
|
<div class="title">设备数据</div>
|
</div>
|
<div>
|
<div class="device_data">
|
<img
|
src="../../../assets/images/screen/lxicon.png"
|
alt=""
|
style="height: 25px"
|
/>
|
<div style="margin: 0 10px">人脸</div>
|
<div class="data-info">
|
<div class="data-lable">设备总数</div>
|
<div class="data-num type1" v-roll>{{ 1123 }}</div>
|
</div>
|
<div class="data-info">
|
<div class="data-lable">设备正常数</div>
|
<div class="data-num type2" v-roll>{{ 1123 }}</div>
|
</div>
|
<div class="data-info">
|
<div class="data-lable">设备异常数</div>
|
<div class="data-num type3" v-roll>{{ 1123 }}</div>
|
</div>
|
</div>
|
<div class="device_data">
|
<img
|
src="../../../assets/images/screen/lxicon.png"
|
alt=""
|
style="height: 25px"
|
/>
|
<div style="margin: 0 10px">车辆</div>
|
<div class="data-info">
|
<div class="data-lable">设备总数</div>
|
<div class="data-num type1" v-roll>{{ 1123 }}</div>
|
</div>
|
<div class="data-info">
|
<div class="data-lable">设备正常数</div>
|
<div class="data-num type2" v-roll>{{ 1123 }}</div>
|
</div>
|
<div class="data-info">
|
<div class="data-lable">设备异常数</div>
|
<div class="data-num type3" v-roll>{{ 1123 }}</div>
|
</div>
|
</div>
|
<div class="device_data">
|
<img
|
src="../../../assets/images/screen/lxicon.png"
|
alt=""
|
style="height: 25px"
|
/>
|
<div style="margin: 0 10px">视频</div>
|
<div class="data-info">
|
<div class="data-lable">设备总数</div>
|
<div class="data-num type1" v-roll>{{ 1123 }}</div>
|
</div>
|
<div class="data-info">
|
<div class="data-lable">设备正常数</div>
|
<div class="data-num type2" v-roll>{{ 1123 }}</div>
|
</div>
|
<div class="data-info">
|
<div class="data-lable">设备异常数</div>
|
<div class="data-num type3" v-roll>{{ 1123 }}</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div class="card">
|
<div class="card_header">
|
<div class="title">设备正常率</div>
|
<div style="margin: 10px 10px">
|
<ScreenTable></ScreenTable>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div class="large_screen_box">
|
<ScreenMap></ScreenMap>
|
</div>
|
<div class="left_box">
|
<div class="card" style="height: 103px">
|
<div class="card_header"></div>
|
</div>
|
<div class="card" style="height: 500px">
|
<div class="card_header"><div class="title">人脸考核数据</div></div>
|
<div><ScreenData></ScreenData></div>
|
</div>
|
</div>
|
</div>
|
<div class="footer_box">
|
<div class="footer_card">
|
<div class="card_header">
|
<div class="title">人脸考核数据</div>
|
<div style="width: 500px; margin-left: 40px">
|
<ExamineChart class="wrapper-item"></ExamineChart>
|
</div>
|
</div>
|
</div>
|
<div class="footer_card">
|
<div class="card_header">
|
<div class="title">车辆考核数据</div>
|
<div style="width: 500px; margin-left: 40px">
|
<ExamineChart class="wrapper-item"></ExamineChart>
|
</div>
|
</div>
|
</div>
|
<div class="footer_card">
|
<div class="card_header">
|
<div class="title">视频考核数据</div>
|
<div style="width: 500px; margin-left: 40px">
|
<ExamineChart class="wrapper-item"></ExamineChart>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
</template>
|
|
<script>
|
import ScreenTable from "../components/screen-table/index.vue";
|
import ScreenMap from "../components/screen-wrapper/index.vue";
|
import ScreenMapThree from "../components/screen-map-three/index";
|
import ExamineChart from "../components/screen-examine/components/examine-chart.vue";
|
import ScreenData from "../components/screen-data/index.vue";
|
export default {
|
name: "Newpage",
|
components: {
|
ScreenTable,
|
ScreenMapThree,
|
ScreenMap,
|
ExamineChart,
|
ScreenData,
|
},
|
data() {
|
return {
|
isEnd: false,
|
activeName: "1",
|
testData1: [
|
{
|
name: "省厅数据",
|
value: "1",
|
},
|
{
|
name: "市局数据",
|
value: "2",
|
},
|
{
|
name: "公安部数据",
|
value: "3",
|
},
|
],
|
};
|
},
|
mounted() {},
|
methods: {
|
returnPath() {
|
this.$router.push('/index');
|
},
|
handleClick() {},
|
},
|
};
|
</script>
|
|
<style lang="scss" scoped>
|
.new-page {
|
color: rgb(255, 255, 255);
|
.header_box {
|
display: flex;
|
align-items: center;
|
margin-top: 10px;
|
}
|
.return-button {
|
position: absolute;
|
right: 20px;
|
top: 20px;
|
border-radius: 4px;
|
border: 1px solid #4481DD;
|
background-color: rgba(67, 102, 155, 0.4);
|
color: #4481DD;
|
padding: 5px 20px;
|
cursor: pointer;
|
}
|
}
|
::v-deep .tabs-box {
|
margin-top: 5px;
|
.el-tabs__item {
|
color: #ffffff !important;
|
font-size: 20px;
|
}
|
.is-active {
|
color: #66b5ff !important;
|
background: url("../../../assets/images/screen/button1.png");
|
background-size: cover !important;
|
background-repeat: no-repeat !important;
|
background-position: center center !important;
|
}
|
}
|
::v-deep .el-input__inner {
|
background: rgba(67, 102, 155, 0.4) !important;
|
color: #4481dd;
|
border-color: #4481dd !important;
|
}
|
|
::v-deep .date-select .el-range-input {
|
background-color: transparent !important;
|
color: #4481dd;
|
}
|
::v-deep .date-select .el-date-editor .el-range-separator {
|
color: #4481dd !important;
|
}
|
// }
|
/* 去掉tabs标签栏下的下划线 */
|
::v-deep .el-tabs__nav-wrap::after {
|
position: static !important;
|
// background-color: #fff;
|
}
|
::v-deep .el-tabs__active-bar{
|
width: 0 !important;
|
}
|
::v-deep .el-tabs__item {
|
margin: 5px 30px;
|
padding: 0px 25px !important;
|
border-radius: 5px;
|
background: url("../../../assets/images/screen/button.png");
|
background-size: 100% 100%;
|
background-repeat: no-repeat !important;
|
background-position: center center !important;
|
}
|
.left_box {
|
width: 460px;
|
.card {
|
height: 300px;
|
width: 460px;
|
margin: 20px 0;
|
.card_header {
|
height: 40px;
|
}
|
}
|
}
|
.large_screen_box {
|
width: 920px;
|
height: 621px;
|
margin: 20px 0;
|
background: url("../../../assets/images/screen/bigBg.png");
|
background-size: 100% 100%;
|
background-repeat: no-repeat !important;
|
background-position: center center !important;
|
}
|
.card {
|
background: url("../../../assets/images/screen/cardBg1.png");
|
background-size: 100% 100%;
|
background-repeat: no-repeat !important;
|
background-position: center center !important;
|
}
|
.card_header {
|
background: url("../../../assets/images/screen/headerBg.png");
|
background-size: 100% 100%;
|
background-repeat: no-repeat !important;
|
background-position: center center !important;
|
}
|
.footer_box {
|
width: 100%;
|
height: 320px;
|
background: url("../../../assets/images/screen/cardBg.png");
|
background-size: 100% 101%;
|
background-repeat: no-repeat !important;
|
background-position: center center !important;
|
display: flex;
|
justify-content: space-between;
|
.footer_card {
|
width: 33%;
|
margin: 5px 0;
|
.card_header {
|
height: 40px;
|
}
|
}
|
}
|
.title {
|
margin-left: 20px;
|
padding-top: 5px;
|
color: #fff;
|
letter-spacing: 2px;
|
font-size: 20px;
|
font-style: italic;
|
}
|
.data-info {
|
flex: 1;
|
color: #5b83bd;
|
font-size: 16px;
|
|
.data-num {
|
margin-top: 5px;
|
font-size: 24px;
|
color: #fff;
|
}
|
|
.type1 {
|
color: #287cfa;
|
}
|
.type2 {
|
color: #0cd81d;
|
}
|
.type3 {
|
color: #e20c0c;
|
}
|
}
|
.device_data {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
margin: 20px;
|
}
|
</style>
|