From 91c06c82019271f7d12cdf0a03e6301293f1c9c9 Mon Sep 17 00:00:00 2001
From: xuyoubin <1562013420@qq.com>
Date: Wed, 27 Dec 2023 11:01:38 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E6=96=B0=E7=96=86=E5=A4=A9=E5=B1=B1?=
=?UTF-8?q?=E9=92=A2=E9=93=81=E6=96=B0=E8=83=BD=E6=BA=90=E8=A3=85=E8=BD=BD?=
=?UTF-8?q?=E6=9C=BA=E7=9B=91=E6=8E=A7=E9=A1=B9=E7=9B=AE=20=E7=99=BB?=
=?UTF-8?q?=E9=99=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
god-ui/src/layout/components/Sidebar/Logo.vue | 10 +-
god-ui/src/views/index.vue | 6 +-
god-ui/src/views/login.vue | 12 +-
god-ui/src/views/newEnergy/home/index.vue | 205 +++++++++++++++++-
4 files changed, 212 insertions(+), 21 deletions(-)
diff --git a/god-ui/src/layout/components/Sidebar/Logo.vue b/god-ui/src/layout/components/Sidebar/Logo.vue
index 940d0e26..80937c2c 100644
--- a/god-ui/src/layout/components/Sidebar/Logo.vue
+++ b/god-ui/src/layout/components/Sidebar/Logo.vue
@@ -103,11 +103,11 @@ export default {
this.title = '新疆天山钢铁新能源监控'
document.title = '新疆天山钢铁新能源监控'
break;
- // case '9320':
- // // 工程车作业及人员行为AI系统
- // this.title = '工程车作业及人员行为AI系统'
- // document.title = '工程车作业及人员行为AI系统'
- // break;
+ case '9360':
+ // 工程车作业及人员行为AI系统
+ this.title = '工程车作业及人员行为AI系统'
+ document.title = '工程车作业及人员行为AI系统'
+ break;
default:
this.title = ' '
diff --git a/god-ui/src/views/index.vue b/god-ui/src/views/index.vue
index 2bd98cb2..654c396e 100644
--- a/god-ui/src/views/index.vue
+++ b/god-ui/src/views/index.vue
@@ -12,6 +12,8 @@
+
+
@@ -31,6 +33,7 @@ import waterHome from './waterHome/index.vue'
import battery from './battery/index.vue'
import hlsnHome from './hlsnManage/home/index.vue'
import engineer from './engineeringVehicle/home/index.vue'
+import energy from './newEnergy/home/index.vue'
export default {
components: {
HomePage,
@@ -46,7 +49,8 @@ export default {
waterHome,
battery,
hlsnHome,
- engineer
+ engineer,
+ energy
},
data() {
return {
diff --git a/god-ui/src/views/login.vue b/god-ui/src/views/login.vue
index d1891072..64e9d27e 100644
--- a/god-ui/src/views/login.vue
+++ b/god-ui/src/views/login.vue
@@ -216,14 +216,14 @@ export default {
break;
case '9340':
document.title = '新疆天山钢铁新能源监控'
- loginDom.style.backgroundImage = 'url(/images/xinjiang-bg.png)'
+ loginDom.style.backgroundImage = 'url(/images/xinjiang.png)'
+ this.redirect = '/index'
+ break;
+ case '9360':
+ document.title = '工程车作业管控及人员行为AI智能识别系统'
+ loginDom.style.backgroundImage = 'url(/images/zuoye.png)'
this.redirect = '/index'
break;
- // case '9350':
- // document.title = '工程车作业管控及人员行为AI智能识别系统'
- // loginDom.style.backgroundImage = 'url(/images/zuoye.png)'
- // this.redirect = '/index'
- // break;
default:
document.title = ''
loginDom.style.backgroundImage = 'url(/images/gangyin-bg.png)'
diff --git a/god-ui/src/views/newEnergy/home/index.vue b/god-ui/src/views/newEnergy/home/index.vue
index 4f02583f..98dc8974 100644
--- a/god-ui/src/views/newEnergy/home/index.vue
+++ b/god-ui/src/views/newEnergy/home/index.vue
@@ -15,6 +15,7 @@
}"
v-for="(item, index) in topList"
:key="index"
+ @click="goPage(item.path)"
>
{{ item.name }}
@@ -56,7 +57,24 @@
-
+
@@ -216,7 +382,6 @@ export default {
}
.box {
width: 100%;
- height: 100vh;
background: #f1f1f1;
padding: 10px 15px;
}
@@ -271,6 +436,28 @@ export default {
height: calc(300px - 2rem);
}
}
+//设备报警类型
+.footer {
+ width: 100%;
+ margin-top: 20px;
+ display: flex;
+ justify-content: space-between;
+ .left,
+ .right {
+ width: 48%;
+ background: #fff;
+ padding: 15px;
+ }
+ #chart2 {
+ width: 100%;
+ height: calc(350px - 2rem);
+ }
+ .right-item{
+ width: 100%;
+ height: calc(350px - 2rem);
+ overflow-x: auto;
+ }
+}
@for $i from 1 through 6 {
.top-icon-#{$i} {
background-image: url(./assets/top#{$i}.png);