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

View File

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