Browse Source

感知事件

wangqin
zhoule 9 months ago
parent
commit
9cb5c0eeeb
  1. 4
      ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue
  2. 7
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue

4
ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue

@ -2,8 +2,8 @@
<BorderRadiusImage class='RoadStateCard' borderRadius="2px"
borderColor="linear-gradient(360deg, rgba(55, 231, 255, 0.3), rgba(55, 231, 255, 0))" borderWidth="2px">
<div class="left">
<!-- <img :src="cardData.pictures[0] || require(`./test.png` )"> -->
<img :src="require(`./test.png`)">
<img :src="(cardData.pictures ? cardData.pictures[0] : null) || require(`./test.png` )">
<!-- <img :src="require(`./test.png`)"> -->
</div>
<div class="right">
<div class="info">

7
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue

@ -175,8 +175,9 @@ export default {
};
},
getData() {
if (this.activeName == '-1') {
console.log('activeName', this.activeName)
if (this.activeName === '-1') {
console.log('activeName22', this.activeName)
request({
url: `/perceivedEvents/warning/perceivedEventsList`,
method: "post",
@ -335,6 +336,8 @@ export default {
...this.searchData,
eventType: data.eventType,
eventSources: data.eventSources,
warningSource: data.warningSource,
direction: data.direction,
startTime: daterange && daterange.length > 0 ? daterange[0] : "",
endTime: daterange && daterange.length > 0 ? daterange[1] : "",
stakeMark: stakeMark,

Loading…
Cancel
Save