From 1ed17fcedc0968bdce9e90f338153d5f53210935 Mon Sep 17 00:00:00 2001 From: Li xia <2309368887@qq.com> Date: Mon, 19 Aug 2024 17:01:11 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E2=80=9D=E8=B6=85=E4=BD=8E0816?= =?UTF-8?q?=E9=9C=80=E6=B1=82=E4=BF=AE=E6=94=B9=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bigScreen/enpComponents/cems.vue | 4 +- src/views/bigScreen/index_enp_blue.vue | 55 ++++++++++++++++++++-- 2 files changed, 52 insertions(+), 7 deletions(-) diff --git a/src/views/bigScreen/enpComponents/cems.vue b/src/views/bigScreen/enpComponents/cems.vue index 029859da..0621347b 100644 --- a/src/views/bigScreen/enpComponents/cems.vue +++ b/src/views/bigScreen/enpComponents/cems.vue @@ -38,12 +38,12 @@ 36% - + - + 45% diff --git a/src/views/bigScreen/index_enp_blue.vue b/src/views/bigScreen/index_enp_blue.vue index 3a9a4704..e5a53eef 100644 --- a/src/views/bigScreen/index_enp_blue.vue +++ b/src/views/bigScreen/index_enp_blue.vue @@ -192,6 +192,9 @@ @click="configDark" size="small"> +
+ 退出 +
@@ -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;