|
@ -42,7 +42,7 @@ export default { |
|
|
props: { |
|
|
props: { |
|
|
detailId: { |
|
|
detailId: { |
|
|
type: [String, Number], |
|
|
type: [String, Number], |
|
|
default: "96b9918efc01488cb22fa1d9d3236dfd", |
|
|
default: "162cb8824ea141f3a96a74ad81c22796", |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
provide() { |
|
|
provide() { |
|
@ -73,7 +73,8 @@ export default { |
|
|
}) |
|
|
}) |
|
|
.then((result) => { |
|
|
.then((result) => { |
|
|
if (result.code != 200) return; |
|
|
if (result.code != 200) return; |
|
|
console.log(result.data); |
|
|
result.data.longitude = '116.829275'; |
|
|
|
|
|
result.data.dimension = '36.583156'; |
|
|
this.provideData.detail = result.data; |
|
|
this.provideData.detail = result.data; |
|
|
if ( |
|
|
if ( |
|
|
["设备设施隐患", "非法上路", "施工建设", "服务区异常"].includes( |
|
|
["设备设施隐患", "非法上路", "施工建设", "服务区异常"].includes( |
|
@ -82,7 +83,7 @@ export default { |
|
|
) { |
|
|
) { |
|
|
const gridArea = { ...originGridArea }; |
|
|
const gridArea = { ...originGridArea }; |
|
|
// 第一列变化 |
|
|
// 第一列变化 |
|
|
gridArea["DispatchLiaison"] = "10 / 1 / span 20 / 2"; |
|
|
gridArea["DispatchLiaison"] = "13 / 1 / span 21 / 2"; |
|
|
delete gridArea.TrafficControl; |
|
|
delete gridArea.TrafficControl; |
|
|
if (["设备设施隐患", "非法上路"].includes(result.data.eventName)) { |
|
|
if (["设备设施隐患", "非法上路"].includes(result.data.eventName)) { |
|
|
// 第三列变化 |
|
|
// 第三列变化 |
|
|