From 10a581b773262ba15de2ab382de79ec8fcfa26e3 Mon Sep 17 00:00:00 2001 From: zhoule Date: Wed, 8 May 2024 15:57:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=8B=E4=BB=B6=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/RoadStateCard/index.vue | 46 ++++++----------- .../pages/control/event/dispatch/index.vue | 50 +++++-------------- .../pages/control/event/event/index.vue | 1 + 3 files changed, 30 insertions(+), 67 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue index 67d4a0be..6a77ffe0 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue @@ -1,18 +1,11 @@ @@ -106,6 +88,10 @@ export default { }, ], }, + isShowLeft: { + type: Boolean, + default: true + } }, data() { return { @@ -180,7 +166,7 @@ export default { display: flex; flex-direction: column; - > p { + >p { font-size: 12px; color: #f4f4f4; line-height: 24px; @@ -212,7 +198,7 @@ export default { display: flex; gap: 9px; - > div { + >div { // flex: 1; } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue index 7a2b35b8..af94e2d9 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue @@ -9,51 +9,27 @@ 刷新 - +
- +
- - + + @@ -104,7 +80,7 @@ export default { this.initData(); }, methods: { - onRefreshForm(){ + onRefreshForm() { this.searchData.pageNum = 1; this.$refs.searchComp.handleResetForm(); }, @@ -205,8 +181,8 @@ export default { display: flex; // justify-content: flex-end; justify-content: space-between; - .refresh-btn { - } + + .refresh-btn {} } .body { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue index 2bc8b0fa..3ab3a6f7 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue @@ -153,6 +153,7 @@ export default { cardData: { ...item, state }, lastBtnColor: textColor, lastBtnText: text, + isShowLeft: this.activeName == '-1' }; }, queryData(flag) {