Browse Source

事件时间

wangqin
zhoule 7 months ago
parent
commit
fa0da7cf48
  1. 10
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue

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

@ -199,8 +199,16 @@ export default {
if (result.code != 200) return Message.error(result?.msg);
result.rows.forEach(it => {
it.stringDirection = gzDirectionMapping[it.direction] || it.direction;
it.startTime = it?.occurrenceTime || '';
it.stringEventType = it.stringEventType + (it.eventSubclass ? `(${it.eventSubclass})` : '');
if (this.activeName == '0') {
it.startTime = it?.occurrenceTime || '';
} else if (this.activeName == '1') {
} else if (this.activeName == '2') {
it.startTime = it?.endTime || '';
}
// if (it.otherConfig) {
// let otherConfig = JSON.parse(it.otherConfig);
// it.pictures = otherConfig.pictures || [];

Loading…
Cancel
Save