Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-station-module-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
amos-station-module-view
Commits
623735d3
Commit
623735d3
authored
Jun 11, 2020
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改缺陷757
parent
876bde88
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
105 additions
and
141 deletions
+105
-141
View3D.js
mods/components/3dviewConvertor/view/View3D.js
+3
-8
AreaLeftTree.js
.../3dviewConvertor/view/moduleEditComponent/AreaLeftTree.js
+102
-133
No files found.
mods/components/3dviewConvertor/view/View3D.js
View file @
623735d3
...
...
@@ -796,13 +796,10 @@ class View3D extends Component {
//选中区域变化
selectItemChange
=
(
selectArea
)
=>
{
this
.
a3dRef
.
changeDrawState
(
PEN_STATE
.
CLEARED
);
//清除当前路径
// 结束绘制
this
.
setState
({
drawing
:
false
});
this
.
setState
({
selectArea
,
rightHeight
:
JSON
.
parse
(
selectArea
.
routePath
).
regionHeigth
,
selectArea
:
{
...
selectArea
},
drawing
:
false
,
// 结束绘制
rightHeight
:
selectArea
.
routePath
?
JSON
.
parse
(
selectArea
.
routePath
).
regionHeigth
:
10
,
showRightPanel
:
true
});
}
...
...
@@ -848,7 +845,6 @@ class View3D extends Component {
this
.
areas
.
push
(
<
PolygonRegion
{...
this
.
areaStyles
.
normal
}
points
=
{
item
.
routePath
?
JSON
.
parse
(
item
.
routePath
).
routePath
:
''
}
onCreated
=
{(
e
)
=>
{
this
.
onRegionCreated
(
e
,
item
);}}
/>
)
;
{
this
.
getAreas
(
item
.
children
);}
}
}
else
{
if
(
dragItem
)
{
if
(
dragItem
&&
dragItem
.
parentId
&&
dragItem
.
parentId
===
item
.
id
)
{
...
...
@@ -862,7 +858,6 @@ class View3D extends Component {
}
}
}
else
{
if
(
item
.
children
&&
item
.
children
.
length
>
0
)
{
this
.
getAreas
(
item
.
children
);
...
...
mods/components/3dviewConvertor/view/moduleEditComponent/AreaLeftTree.js
View file @
623735d3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment