From 284dc303e21bb1fda20d7fb952b0c9627e04d5af Mon Sep 17 00:00:00 2001 From: hui <770260999@qq.com> Date: Sun, 28 Apr 2024 18:25:14 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JiHeExpressway/pages/service/board/index.vue | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 51a956d8..0a21499e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue @@ -335,13 +335,13 @@ export default { // } }, created() { - this.____resetForm(); Promise.all([ this.____initDirection(), this.____getBoardPixel(), this.____getTemplateCategory(), this.____getAllTemplate(), ]).then((res) => { + this.____resetForm(); this.____getIotBoard(); }); }, @@ -421,7 +421,6 @@ export default { ____initDirection() { return this.getDicts("iot_board_direction").then((res) => { this.boardDirectionList = res.data; - this.form.selectedDirection = res.data[0].dictValue; }); }, //改变方向 @@ -434,15 +433,15 @@ export default { }, ____resetForm() { this.form = { - selectedDirection: "", + selectedDirection: this.boardDirectionList[0].dictValue, status: ["0", "1"], - stakeFrom: initSearch.startStakeMark, - stakeTo: initSearch.endStakeMark + stakeFrom: [+initSearch.startStakeMark[0], +initSearch.startStakeMark[1]], + stakeTo: [+initSearch.endStakeMark[0], +initSearch.endStakeMark[1]], } }, ____onResetSearchDevice() { this.____resetForm(); - this.____initDirection(); + // this.____initDirection(); this.____getIotBoard(); }, // 情报板设备 折叠面板 @@ -493,7 +492,7 @@ export default { if (!this.selectedSize) { this.selectedSize = item.otherConfig.screenSize; } - console.log(item, item.otherConfig.screenSize) + // console.log(item, item.otherConfig.screenSize) // if (!this.selectedDevices.deviceName) { // this.selectedDevices = item; // } From 2c7ebcff9409d4f35829d5b56a3bff6c04ccdf81 Mon Sep 17 00:00:00 2001 From: hui <770260999@qq.com> Date: Mon, 29 Apr 2024 14:33:26 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/assets/styles/JiHeExpressway.scss | 13 +++- .../components/HomeFrameControl/index.vue | 4 +- .../strategy/components/AddNEditDialog.vue | 7 +- .../pages/service/boardRecord/index.vue | 71 +++++++++---------- ruoyi-ui/vue.config.js | 4 +- 5 files changed, 53 insertions(+), 46 deletions(-) diff --git a/ruoyi-ui/src/assets/styles/JiHeExpressway.scss b/ruoyi-ui/src/assets/styles/JiHeExpressway.scss index acc3b11b..d3777fc1 100644 --- a/ruoyi-ui/src/assets/styles/JiHeExpressway.scss +++ b/ruoyi-ui/src/assets/styles/JiHeExpressway.scss @@ -3,7 +3,7 @@ .fl-around{display: flex; justify-content: space-between;} .fl-1{ flex: 1;} .theme-jihe { - $lightBlue: #3de8ff; + $lightBlue: #a7eef8; $textColor: #f4f4f4; $inputHeight: 26px; color: $textColor; @@ -266,6 +266,17 @@ } } + .el-button{ + border-radius: 100px; + } + .el-button--info{ + background-color: #0E708B; border: none; + } + + .el-button--primary{ + background: #00B3CC; + } + .el-card{ background-color:#064258; border: 1px solid #006a99; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue index df83a4a8..3485c370 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue @@ -39,8 +39,8 @@