|  |  | @ -43,7 +43,7 @@ | 
			
		
	
		
			
				
					|  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     <!-- "详情"弹出框 --> | 
			
		
	
		
			
				
					|  |  |  |     <EventDetailDialog :visible="eventDetailDialogVisible" :formData="detailDialogFormData" @update:value="handleClose" /> | 
			
		
	
		
			
				
					|  |  |  |     <EventDetailDialog :visible="eventDetailDialogVisible" :formData="detailDialogFormData" :activeName="activeName" @update:value="handleClose" /> | 
			
		
	
		
			
				
					|  |  |  |     <!-- "新增"弹出框 --> | 
			
		
	
		
			
				
					|  |  |  |     <FormEvent :visible="isShowAddNew" @close="onCloseAddNew" /> | 
			
		
	
		
			
				
					|  |  |  |   </div> | 
			
		
	
	
		
			
				
					|  |  | @ -189,7 +189,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         }).then((result) => { | 
			
		
	
		
			
				
					|  |  |  |           if (result.code != 200) return Message.error(result?.msg); | 
			
		
	
		
			
				
					|  |  |  |           result.rows.forEach(it => { | 
			
		
	
		
			
				
					|  |  |  |             it.stringEventSource = warningSourceMapping[it.warningSource]; | 
			
		
	
		
			
				
					|  |  |  |             it.stringEventSource = it?.warningSource ? warningSourceMapping[it?.warningSource] : ''; | 
			
		
	
		
			
				
					|  |  |  |             it.stringDirection = directionMapping[it.direction] || it.direction; | 
			
		
	
		
			
				
					|  |  |  |             it.startTime = it.warningTime; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | @ -302,7 +302,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |           if (result.code != 200) return Message.error(result?.msg); | 
			
		
	
		
			
				
					|  |  |  |           let data = result.data; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |           data.stringEventSource = warningSourceMapping[data.warningSource]; | 
			
		
	
		
			
				
					|  |  |  |           data.stringEventSource = data?.warningSource ? warningSourceMapping[data.warningSource] : ''; | 
			
		
	
		
			
				
					|  |  |  |           data.direction = directionMapping[data.direction] || data.direction; | 
			
		
	
		
			
				
					|  |  |  |           data.startTime = data.warningTime; | 
			
		
	
		
			
				
					|  |  |  |           data.stringEventState = warningStateMapping[data.warningState]; | 
			
		
	
	
		
			
				
					|  |  | @ -353,7 +353,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         ...this.searchData, | 
			
		
	
		
			
				
					|  |  |  |         eventType: data.eventType, | 
			
		
	
		
			
				
					|  |  |  |         eventSources: data.eventSources, | 
			
		
	
		
			
				
					|  |  |  |         warningSource: data.warningSource, | 
			
		
	
		
			
				
					|  |  |  |         warningSource: data?.warningSource || '', | 
			
		
	
		
			
				
					|  |  |  |         direction: data.direction, | 
			
		
	
		
			
				
					|  |  |  |         startTime: daterange && daterange.length > 0 ? daterange[0] : "", | 
			
		
	
		
			
				
					|  |  |  |         endTime: daterange && daterange.length > 0 ? daterange[1] : "", | 
			
		
	
	
		
			
				
					|  |  | 
 |