|
@ -23,14 +23,14 @@ const components = files.keys().reduce((components, key) => { |
|
|
}, {}); |
|
|
}, {}); |
|
|
|
|
|
|
|
|
const originGridArea = { |
|
|
const originGridArea = { |
|
|
EventInformation: "1 / 1 / span 9 / 1", // 事件信息(左1) |
|
|
EventInformation: "1 / 1 / span 12 / 1", // 事件信息(左1) |
|
|
DispatchLiaison: "10 / 1 / span 9 / 2", // 调度联络(左2) |
|
|
DispatchLiaison: "13 / 1 / span 11 / 2", // 调度联络(左2) |
|
|
TrafficControl: "19 / 1 / span 7 / 2", //交通管制(右3) |
|
|
TrafficControl: "24 / 1 / span 10 / 2", //交通管制(左3) |
|
|
CrowdnessIndicatorRankings: "1 / 2 / span 11 / 2", //地图 / 拥挤指数排名情况(中1) |
|
|
CrowdnessIndicatorRankings: "1 / 2 / span 12 / 2", //地图 / 拥挤指数排名情况(中1) |
|
|
DisposalProcess: "12 / 2 / span 14 / 2", //处置过程(中2) |
|
|
DisposalProcess: "13 / 2 / span 21 / 2", //处置过程(中2) |
|
|
RealTimeVideo: "1 / 3 / span 7 / 3", //实时视频(右1) |
|
|
RealTimeVideo: "1 / 3 / span 9 / 3", //实时视频(右1) |
|
|
ReleaseInformation: "8 / 3 / span 7 / 3", //信息发布(右2) |
|
|
ReleaseInformation: "10 / 3 / span 7 / 3", //信息发布(右2) |
|
|
DeviceControl: "15 / 3 / span 11 / 3", //设备管控(右3) |
|
|
DeviceControl: "17 / 3 / span 17 / 3", //设备管控(右3) |
|
|
// DisposalPlan: "17 / 1 / span 9 / 2", //处置预案(作废) |
|
|
// DisposalPlan: "17 / 1 / span 9 / 2", //处置预案(作废) |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
@ -78,11 +78,11 @@ export default { |
|
|
if(['设备设施隐患','非法上路','施工建设','服务区异常'].includes(result.data.eventName)){ |
|
|
if(['设备设施隐患','非法上路','施工建设','服务区异常'].includes(result.data.eventName)){ |
|
|
const gridArea = {...originGridArea} |
|
|
const gridArea = {...originGridArea} |
|
|
// 第一列变化 |
|
|
// 第一列变化 |
|
|
gridArea['DispatchLiaison'] = '10 / 1 / span 16 / 2' |
|
|
gridArea['DispatchLiaison'] = '10 / 1 / span 20 / 2' |
|
|
delete gridArea.TrafficControl; |
|
|
delete gridArea.TrafficControl; |
|
|
if(['设备设施隐患','非法上路'].includes(result.data.eventName)){ |
|
|
if(['设备设施隐患','非法上路'].includes(result.data.eventName)){ |
|
|
// 第三列变化 |
|
|
// 第三列变化 |
|
|
gridArea['RealTimeVideo'] = '1 / 3 / span 13 / 3' |
|
|
gridArea['RealTimeVideo'] = '1 / 3 / span 17 / 3' |
|
|
delete gridArea.ReleaseInformation; |
|
|
delete gridArea.ReleaseInformation; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|