Browse Source

更改

wangqin
zhangzhang 8 months ago
parent
commit
dd76eded93
  1. 8
      ruoyi-ui/src/views/JiHeExpressway/components/ManualWarningCard/index.vue
  2. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/events/index.vue

8
ruoyi-ui/src/views/JiHeExpressway/components/ManualWarningCard/index.vue

@ -10,8 +10,12 @@
<!-- <img :src="require(`./test.png`)"> -->
<ElImage
style="width: 212px; height: 159px"
:src="cardData.pictures ? cardData.pictures[0] : null"
:preview-src-list="cardData.pictures || []"
:src="
cardData.otherConfig.pictures
? cardData.otherConfig.pictures[0]
: null
"
:preview-src-list="cardData.otherConfig.pictures || []"
>
<div slot="error">
<i class="el-icon-picture-outline icon"></i>

2
ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/events/index.vue

@ -107,8 +107,10 @@ export default {
res.rows.forEach((it) => {
it.source = "非机预警";
it.stringDirection = directionMapping[it.direction] || it.direction;
it.otherConfig = JSON.parse(it.otherConfig);
});
this.data = res.rows;
console.log("darta", this.data);
});
// request({
// // url: `/dc/system/event/dispatchEventList`,

Loading…
Cancel
Save