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) {