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 501dd3be..47e9849b 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 @@ -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 || [];