事件上报

This commit is contained in:
liuye
2023-05-08 14:08:31 +08:00
parent 051627f53b
commit 56956f178d

View File

@@ -5,7 +5,7 @@
<div class="status-name" :class="detailStatus.cls" v-text="detailStatus.label"/>
</AiGroup>
<AiGroup description noBorder labelColor="#999">
<AiItem label="事件来源" :value="info.groupName"/>
<AiItem label="事件来源" :value="$dict.getLabel('residentEventSource', info.eventSource)"/>
<AiItem label="事件类型" :value="info.groupName"/>
<AiItem label="所属网格" :value="info.girdName"/>
<AiItem label="上报时间" :value="info.createTime"/>
@@ -82,7 +82,7 @@ export default {
},
onLoad(query) {
this.getInfo(query.id)
this.$dict.load(['clapEventStatus'])
this.$dict.load(['clapEventStatus', 'residentEventSource'])
},
methods: {
getInfo(id = this.info.id) {