Commit d31eb057 authored by suhuiguang's avatar suhuiguang

缺陷:【实景监控】三维模型,风险点RPN值变化后,未在上级风险区域顶部实时展示红色色柱及安全指数值。

parent 19eed715
{
"sceneName": "station-yinan",
"basePath": "/threeres/models/yinan/",
"basePath": "/mods/components/3dviewConvertor/threeres/models/yinan/",
"models": [
{ "objName": "ground.obj", "mtlName": "ground.mtl", "modelLevel": "Park" },
{ "objName": "helper-text.obj", "mtlName": "helper-text.mtl", "modelLevel": "Stuff" }
......
......@@ -1565,22 +1565,26 @@ class View3D extends Component {
}
getExceptionAreasList = () => {
this._marker = [];
exceptionRegionListAction().then(data=>{
const exceptionAreas = data && data.filter(e=>{
const exceptionAreas = data.filter(e=>{
return e.routePath && e.routePath.routePath && e.routePath.routePath.length > 0;
});
this.setState({ exceptionAreas });
});
}
initExceptionAreasData = ()=>{
this.setState({ startLoadExceptionArea: true },()=>{
this.setState({ startLoadExceptionArea: false, exceptionAreas: [] },()=>{
this.getExceptionAreasList();
});
}
selectonRectCreated = (polygonRegion) => {
polygonRegion.visible = true;
}
selectPolygonRegion =(exceptionAreas,id)=> {
const regionConf = {
// regionColor: '#76d015', // 区域颜色
......
......@@ -45,11 +45,9 @@ class ExceptionArea extends Component {
onMarkerClick = (marker) => {
const { extData, node } = marker;
this.props.handleExceptModel && this.props.handleExceptModel('into_except_model',extData.id);
this.props.focusObject && this.props.focusObject(node);
this.props.getErrorAreaPoint && this.props.getErrorAreaPoint(extData.id);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment