|  | @ -65,7 +65,7 @@ import request from "@/utils/request"; | 
			
		
	
		
		
			
				
					|  |  | import { Message } from "element-ui"; |  |  | import { Message } from "element-ui"; | 
			
		
	
		
		
			
				
					|  |  | import { Loading } from 'element-ui'; |  |  | import { Loading } from 'element-ui'; | 
			
		
	
		
		
			
				
					|  |  | import { WarningType as warningTypeMapping, WarningSubclass as warningSubclassTypeMapping } from "@screen/utils/enum.js" |  |  | import { WarningType as warningTypeMapping, WarningSubclass as warningSubclassTypeMapping } from "@screen/utils/enum.js" | 
			
		
	
		
		
			
				
					
					|  |  | 
 |  |  | import { getNearCameraNew } from "@screen/pages/Home/components/RoadAndEvents/utils/httpList.js" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | const warningSourceMapping = { |  |  | const warningSourceMapping = { | 
			
		
	
		
		
			
				
					|  |  |   1: '视频AI', |  |  |   1: '视频AI', | 
			
		
	
	
		
		
			
				
					|  | @ -261,7 +261,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  |     firstBtnClick(id) { |  |  |     firstBtnClick(id) { | 
			
		
	
		
		
			
				
					|  |  |       console.log("id", id); |  |  |       console.log("id", id); | 
			
		
	
		
		
			
				
					
					|  |  |       if (this.activeName == '-1') { //除了 感知事件外的 事件专题 均须处理 |  |  |       if (this.activeName == '-1') { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         request({ |  |  |         request({ | 
			
		
	
		
		
			
				
					|  |  |           url: `/perceivedEvents/warning/getWarningById`,//感知事件 |  |  |           url: `/perceivedEvents/warning/getWarningById`,//感知事件 | 
			
		
	
		
		
			
				
					|  |  |           method: "post", |  |  |           method: "post", | 
			
		
	
	
		
		
			
				
					|  | @ -297,7 +297,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |         }); |  |  |         }); | 
			
		
	
		
		
			
				
					|  |  |       } else { |  |  |       } else { | 
			
		
	
		
		
			
				
					|  |  |         request({ |  |  |         request({ | 
			
		
	
		
		
			
				
					
					|  |  |           url: `/dc/system/event/${id}`, |  |  |           url: `/dc/system/event/${id}`,//交通事件 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |           method: "get", |  |  |           method: "get", | 
			
		
	
		
		
			
				
					|  |  |         }).then((result) => { |  |  |         }).then((result) => { | 
			
		
	
		
		
			
				
					|  |  |           if (result.code != 200) return Message.error(result?.msg); |  |  |           if (result.code != 200) return Message.error(result?.msg); | 
			
		
	
	
		
		
			
				
					|  | @ -305,11 +305,15 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |           data.stringDirection = gzDirectionMapping[data.direction] || data.direction; |  |  |           data.stringDirection = gzDirectionMapping[data.direction] || data.direction; | 
			
		
	
		
		
			
				
					|  |  |           data.startTime = data?.occurrenceTime || ''; |  |  |           data.startTime = data?.occurrenceTime || ''; | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |           data.videoList = []; |  |  |           data.videoList = []; | 
			
		
	
		
		
			
				
					|  |  |  |  |  |           // const cameraData = (await getNearCameraNew(data.stakeMark));//新的上下游摄像头接口 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |           // console.log("cameraData", cameraData) | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |           if (data.otherConfig) { |  |  |           if (data.otherConfig) { | 
			
		
	
		
		
			
				
					|  |  |             let otherConfig = JSON.parse(data.otherConfig); |  |  |             let otherConfig = JSON.parse(data.otherConfig); | 
			
		
	
		
		
			
				
					|  |  |             // data.pictures = otherConfig.pictures || []; |  |  |             // data.pictures = otherConfig.pictures || []; | 
			
		
	
		
		
			
				
					
					|  |  |             data.videoList = otherConfig.videoList || [] |  |  |             data.videoList = otherConfig.videoList || []; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |             //data.videoList = otherConfig.videoList || ['https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-480p.mp4'] |  |  |             //data.videoList = otherConfig.videoList || ['https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-480p.mp4'] | 
			
		
	
		
		
			
				
					|  |  |           } |  |  |           } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | 
 |