|
|
@ -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 || []; |
|
|
|