diff --git a/pom.xml b/pom.xml
index ba15b44..f7a31b5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -218,6 +218,29 @@
${ruoyi.version}
+
+
+ org.apache.logging.log4j
+ log4j-core
+ 2.15.0
+
+
+ org.apache.logging.log4j
+ log4j-api
+ 2.15.0
+
+
+ org.apache.logging.log4j
+ log4j-slf4j-impl
+ 2.15.0
+ test
+
+
+ org.apache.logging.log4j
+ log4j-web
+ 2.15.0
+
+
diff --git a/ruoyi-admin/src/main/resources/static/css/autoscroll-table.css b/ruoyi-admin/src/main/resources/static/css/autoscroll-table.css
index 16234de..e1a7d69 100644
--- a/ruoyi-admin/src/main/resources/static/css/autoscroll-table.css
+++ b/ruoyi-admin/src/main/resources/static/css/autoscroll-table.css
@@ -68,12 +68,12 @@
font-size: 0.9rem;
}
-.autoscroll-table > tbody > tr:nth-child(odd) > td {
+.autoscroll-table > tbody > tr:nth-child(even) > td {
background-color: rgba(9, 63, 98, 0.1);
outline: rgba(9, 63, 98, 0.1) solid 0.1044444444em;
}
-.autoscroll-table > tbody > tr:nth-child(even) > td {
+.autoscroll-table > tbody > tr:nth-child(odd) > td {
background-color: #1077BC19;
outline: #1077BC19 solid 0.1044444445em;
}
diff --git a/ruoyi-admin/src/main/resources/static/css/main.css b/ruoyi-admin/src/main/resources/static/css/main.css
index 698422b..2c9c2e9 100644
--- a/ruoyi-admin/src/main/resources/static/css/main.css
+++ b/ruoyi-admin/src/main/resources/static/css/main.css
@@ -115,7 +115,50 @@ body.body-substation-1 {
opacity: 1;
}
-.text-success-light {
+.text-success {
color: #3bfd00 !important;
}
+.transformer-btn {
+ color: #D6D6D6;
+ font-size: 75%;
+ background: url("../img/section-btn-blurred.png") no-repeat;
+ background-size: 100% 100%;
+ width: 5.2rem;
+ height: 1.6rem;
+ border: none;
+ box-shadow: none;
+ margin-right: 0.4rem;
+ padding: 0;
+}
+
+.transformer-btn:hover, .transformer-btn.active {
+ color: #D6D6D6;
+ background: url("../img/section-btn-selected.png") no-repeat;
+ background-size: 100% 100%;
+}
+
+.card {
+ border-radius: 0;
+ border: #01f8ff 1px solid;
+ background: none;
+}
+
+.card-header {
+ text-align: center;
+ background: #063b5bcf;
+ border-radius: 0 !important;
+ color: #FAFAFA;
+}
+
+.card-body {
+ background: #0a4378;
+ border-radius: 0 !important;
+}
+
+.status-badge {
+ position: absolute;
+ float: right;
+ right: 10%;
+ top: 4%;
+}
\ No newline at end of file
diff --git a/ruoyi-admin/src/main/resources/static/img/transformer-noshadow.png b/ruoyi-admin/src/main/resources/static/img/transformer-noshadow.png
new file mode 100644
index 0000000..9a589ce
Binary files /dev/null and b/ruoyi-admin/src/main/resources/static/img/transformer-noshadow.png differ
diff --git a/ruoyi-admin/src/main/resources/static/img/transformer.png b/ruoyi-admin/src/main/resources/static/img/transformer.png
new file mode 100644
index 0000000..75276bc
Binary files /dev/null and b/ruoyi-admin/src/main/resources/static/img/transformer.png differ
diff --git a/ruoyi-admin/src/main/resources/static/js/queuing-menu.js b/ruoyi-admin/src/main/resources/static/js/queuing-menu.js
index 866e2c6..f6daa8c 100644
--- a/ruoyi-admin/src/main/resources/static/js/queuing-menu.js
+++ b/ruoyi-admin/src/main/resources/static/js/queuing-menu.js
@@ -88,6 +88,7 @@ class QueuingMenu {
pop() {
this.queue.pop()
+ this.ensureActive()
this.render(false, true)
}
diff --git a/ruoyi-admin/src/main/resources/templates/section/home.html b/ruoyi-admin/src/main/resources/templates/section/home.html
index 61d0180..edad3d1 100644
--- a/ruoyi-admin/src/main/resources/templates/section/home.html
+++ b/ruoyi-admin/src/main/resources/templates/section/home.html
@@ -241,7 +241,7 @@
334
监控装置
- 336
+ 336
装置调试
0
diff --git a/ruoyi-admin/src/main/resources/templates/section/substation.html b/ruoyi-admin/src/main/resources/templates/section/substation.html
index 183d826..7cf0b75 100644
--- a/ruoyi-admin/src/main/resources/templates/section/substation.html
+++ b/ruoyi-admin/src/main/resources/templates/section/substation.html
@@ -119,6 +119,57 @@
left: 43.1%;
color: #e9fe01;
}
+
+ #alert-list {
+ position: absolute;
+ top: 71%;
+ left: 3%;
+ width: 48%;
+ height: 25%;
+ }
+
+ #alert-list td, #alert-list th {
+ padding: 0.4% 0;
+ }
+
+ #monitor-tabs {
+ position: absolute;
+ top: 5.6%;
+ left: 55%;
+ }
+
+ #transformer-card-group {
+ position: absolute;
+ top: 13%;
+ left: 54.5%;
+ width: 44%;
+ height: 81%;
+ overflow-y: scroll;
+ }
+
+ #transformer-card-group::-webkit-scrollbar {
+ display: none;
+ }
+
+ #transformer-card-group .card {
+ width: 49%;
+ height: 48%;
+ display: inline-block;
+ overflow: hidden;
+ margin-bottom: 0.3rem;
+ }
+
+ #transformer-card-group .card .card-body {
+ text-align: center;
+ height: 13.3rem;
+ }
+
+ #transformer-card-group .card img {
+ position: absolute;
+ /*width: 100%;*/
+ height: 12rem;
+ left: 17%;
+ }
@@ -150,12 +201,93 @@
-
+
+
+
+
+
+
+
+
-
+