feat:”超低0816需求修改“

This commit is contained in:
Li xia 2024-08-19 17:01:11 +08:00
parent 2fdcd3db1b
commit 1ed17fcedc
2 changed files with 52 additions and 7 deletions

View File

@ -38,12 +38,12 @@
<el-table-column label="NOX达标率(%)" width="130">
36%
</el-table-column>
<el-table-column label="颗粒物折算(mg/m3)" width="130">
<el-table-column label="颗粒物(mg/m3)" width="130">
<template #default="scope">
{{ scope.row.envdata.dust_zs ? scope.row.envdata.dust_zs : '-' }}
</template>
</el-table-column>
<el-table-column label="颗粒物折算达标率(%)" width="130">
<el-table-column label="颗粒物达标率(%)" width="130">
45%
</el-table-column>
<el-table-column label="温度(℃)">

View File

@ -192,6 +192,9 @@
@click="configDark" size="small"></el-button>
</div>
<div class="quit" @click="backlogin">
退出
</div>
</div>
</div>
</el-header>
@ -641,8 +644,9 @@ export default {
lineData3: [],
liData3: ["设备名称", "PM10", "PM2.5"],
table4Visible: false,
lineData4: ["环卫车","洒水"],
liData4: ["车辆类型", "作业情况"],
lineData4: [],
refValue4: "moocBox1",
liData4: ["车辆类型", "运行时间","运行里程"],
noIndex: true,
eqNumData: {
sc: 0,
@ -686,6 +690,7 @@ export default {
that.addListener();
setTimeout(function () {}, 5000);
});
// that.intervalinfo = setInterval(() => {
// that.getleft1Data();
// // that.getleft2Data();
@ -807,6 +812,7 @@ export default {
lineData.push(arr);
});
this.lineData2 = lineData;
//console.log(this.lineData2)
});
},
//---
@ -840,18 +846,48 @@ export default {
lineData.push(arr);
});
this.lineData3 = lineData;
});
},
//
getright2Data() {},
//
getright3Data() {},
getright3Data() {
let lineData = [];
let arr = [],
obj1 = {},
obj2 = {},
obj3 = {};
obj1.elType = "primary";
obj1.value = "洒水车"; //
obj2.elType = "primary";
obj2.value ="2024-08-22"; //PM10
obj3.elType = "primary";
obj3.value ="23"; //PM2.5
arr.push(obj1);
arr.push(obj2);
arr.push(obj3);
lineData.push(arr);
this.lineData4 = lineData;
},
configDark() {
this.config.dark = this.config.dark ? false : true;
},
backSystem() {
this.$router.push({ path: "/dashboard_enp" });
},
//退
backlogin(){
this.$router.push({ path: "/login" });
},
closeDialog() {
this.elDrawer = false;
this.activeIndex = 0;
@ -1184,11 +1220,20 @@ header {
background-size: cover;
background-image: url("/public/img/enp_blue/user_enp.png");
}
.quit{
width: 3.5vh;
height: 2.3vh;
margin-top: 1.2vh;
margin-left: 2vh;
background-size: cover;
cursor: pointer;
}
.dark_config {
width: 2.3vh;
height: 2.3vh;
margin-top: 0.9vh;
margin-left: 2vh;
background-size: cover;
}
.model {
@ -1447,13 +1492,13 @@ header {
/* 车辆统计-start */
.carStaticWrap{
flex-shrink: 1;
width: 200px;
width: 23vh;
align-self: center;
display: flex;
flex-direction: column;
}
.todyCarItem {
width:75px;
width:22vh;
color: white;
display: flex;
flex-direction: column;