diff --git a/ruoyi-ui/src/api/event/perceiveEvent.js b/ruoyi-ui/src/api/event/perceiveEvent.js index 7a147f24..c8336aa6 100644 --- a/ruoyi-ui/src/api/event/perceiveEvent.js +++ b/ruoyi-ui/src/api/event/perceiveEvent.js @@ -165,7 +165,7 @@ export function geTwarningTotal(query) { export function getRoadSectionList(query) { //system/status/tablist return request({ - url: '/business/roadSection/list', + url: '/business/roadSection/listAll', method: 'get', params: { ...query, diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue index 6126f45b..e0acb02b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue @@ -2,7 +2,7 @@
- +
@@ -15,10 +15,10 @@
-
@@ -82,7 +82,7 @@ export default { ]) } }, - data(){ + data() { return { picUrl: './test.png' } @@ -94,6 +94,19 @@ export default { }, created() { this.statusMap = statusMap; + }, + methods: { + getFirstBtnText(state) { + let text = '详情'; + if(state == 5) text = '去确认' + if(state == 4) text = '详情' + if(state == 3) text = '处置记录' + return text; + }, + getLastBtnText(state) { + let text = '去处置'; + return text; + }, } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue index a47c01f4..83f0da7e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue @@ -1,6 +1,6 @@