From 112a0bb80480390938c04e0757c397b7dc693834 Mon Sep 17 00:00:00 2001
From: hui <770260999@qq.com>
Date: Mon, 5 Feb 2024 17:51:51 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-ui/src/main.js | 2 +-
.../statisticalAnalysis/index.vue | 2 +-
.../pages/service/board/index.vue | 122 ++++++++++--------
3 files changed, 70 insertions(+), 56 deletions(-)
diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js
index a93db47b..cdf37ddc 100644
--- a/ruoyi-ui/src/main.js
+++ b/ruoyi-ui/src/main.js
@@ -78,7 +78,7 @@ Vue.filter('dateformat', function (dataStr, pattern = 'YYY-MM-DD HH:mm:ss') {
window.IS_TESTING = false;
if (process.env.NODE_ENV == 'development'){
- window.IS_TESTING = true;
+ window.IS_TESTING = false;
}
import Empty from "@screen/components/empty";
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue
index 2f2e4760..811c9f73 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue
@@ -236,7 +236,7 @@ export default {
getSystemStatusType().then((res) => {
- if (!res.data || res.msg == "暂无数据") {
+ if (IS_TESTING && (!res.data || res.msg == "暂无数据")) {
this.equipments = [];
this.equipSeries.forEach(item => {
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue
index 5eadcfdc..702296e0 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue
@@ -44,7 +44,13 @@
-
+
+
+ 添加信息
+ 发布信息
+
+
+
@@ -81,21 +88,23 @@
+
-->
+
+
+ 添加模板
+
+
@@ -978,15 +987,27 @@ export default {
margin-right: 0;
}
- .partTitle {
- padding: 0px 0;
- /* // border-bottom: 1px solid #05afe3; */
- margin-bottom: 10px;
+ // .partTitle {
+ // padding: 0px 0;
+ // /* // border-bottom: 1px solid #05afe3; */
+ // margin-bottom: 10px;
+ // display: flex;
+ // justify-content: space-between;
+ // height: 60px;
+ // font-size: 18px;
+ // align-items: center;
+ // .controlBox {
+ // border: 1px solid #f00;
+ // display: flex;
+ // justify-content: center;
+ // margin-bottom: 10px;
+ // }
+ // }
+ .titleBtnBox{
+ flex: 1;
display: flex;
- justify-content: space-between;
- height: 60px;
- font-size: 18px;
- align-items: center;
+ justify-content: flex-end;
+ padding: 0 10px;
}
.partCon {
@@ -1005,13 +1026,6 @@ export default {
align-items: center;
border: 2px solid #004c64;
}
-
- /* // } */
- .controlBox {
- display: flex;
- justify-content: center;
- margin-bottom: 10px;
- }
}
.templateBox {
@@ -1113,13 +1127,13 @@ export default {
}
}
-.qbbBigDotBa {
- width: 64px;
- height: 9px;
- position: absolute;
- right: 5%;
- top: 35%;
-}
+// .qbbBigDotBa {
+// width: 64px;
+// height: 9px;
+// position: absolute;
+// right: 5%;
+// top: 35%;
+// }
::v-deep .el-collapse-item__content {
line-height: normal;
@@ -1160,19 +1174,19 @@ export default {
color: #05afe3 !important;
}
-.boardListTitle {
- // margin-top: 1vh;
- color: #fff;
- height: 35px !important;
- background-image: url('~@/assets/screen/xtb/qbbtit.png');
- background-size: 100% 100%;
- background-repeat: no-repeat;
- background-position: center;
- display: flex;
- justify-content: start !important;
- align-items: center;
- position: relative;
-}
+// .boardListTitle {
+// // margin-top: 1vh;
+// color: #fff;
+// height: 35px !important;
+// background-image: url('~@/assets/screen/xtb/qbbtit.png');
+// background-size: 100% 100%;
+// background-repeat: no-repeat;
+// background-position: center;
+// display: flex;
+// justify-content: start !important;
+// align-items: center;
+// position: relative;
+// }
.qbbBigDot {
width: 18px;
@@ -1180,17 +1194,17 @@ export default {
margin: 0 0.5vw 0 0.5vw;
}
-.partDeviceTempateTitle {
- width: 100%;
- color: #fff;
- padding-right: 110px !important;
- height: 35px !important;
- background-image: url('~@/assets/screen/xtb/qbbti.png');
- background-size: 100% 100%;
- background-repeat: no-repeat;
- background-position: center;
- position: relative;
-}
+// .partDeviceTempateTitle {
+// width: 100%;
+// color: #fff;
+// padding-right: 110px !important;
+// height: 35px !important;
+// background-image: url('~@/assets/screen/xtb/qbbti.png');
+// background-size: 100% 100%;
+// background-repeat: no-repeat;
+// background-position: center;
+// position: relative;
+// }
::v-deep .sortable-chosen:not(th) {
background-color: rgba(5, 175, 227, 0.1) !important;
@@ -1230,7 +1244,7 @@ export default {
::v-deep .el-collapse-item__wrap {
background-color: #053b4f;
- padding: 0 1vw;
+ padding: 0 10px;
}
::v-deep .el-collapse {