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
2e84a2c9
Commit
2e84a2c9
authored
Jun 11, 2020
by
单奇雲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
冲突
parent
487428c2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
MaskContent.js
mods/components/3dviewConvertor/view/MaskContent.js
+1
-1
AreaLeftTree.js
.../3dviewConvertor/view/moduleEditComponent/AreaLeftTree.js
+2
-2
PointLeftTree.js
...3dviewConvertor/view/moduleEditComponent/PointLeftTree.js
+2
-1
No files found.
mods/components/3dviewConvertor/view/MaskContent.js
View file @
2e84a2c9
...
@@ -114,7 +114,7 @@ class MaskContent extends Component {
...
@@ -114,7 +114,7 @@ class MaskContent extends Component {
<
div
className
=
"mask-content"
>
<
div
className
=
"mask-content"
>
<
AmosWebSocket
ref
=
{
node
=>
this
.
aws
=
node
}
url
=
{
wsURL
}
onMessage
=
{
this
.
handleData
}
reconnect
debug
/>
<
AmosWebSocket
ref
=
{
node
=>
this
.
aws
=
node
}
url
=
{
wsURL
}
onMessage
=
{
this
.
handleData
}
reconnect
debug
/>
{
!
alarmStarted
&&
sideControlShow
&&
<
SideControl
multiple
=
{
multiple
}
errorAreaId
=
{
errorAreaId
}
onItemClick
=
{
onItemClick
}
layerConfig
=
{
layerConfig
}
animationProps
=
{
controlAnimation
}
activeAction
=
{
activeAction
}
/>
}
{
!
alarmStarted
&&
sideControlShow
&&
<
SideControl
multiple
=
{
multiple
}
errorAreaId
=
{
errorAreaId
}
onItemClick
=
{
onItemClick
}
layerConfig
=
{
layerConfig
}
animationProps
=
{
controlAnimation
}
activeAction
=
{
activeAction
}
/>
}
{
!
alarmStarted
&&
isShowActionBar
&&
<
SearchPane
visible
=
{
searchPaneVisible
}
focusPosition
=
{
focusPosition
}
changeSearchPaneVisible
=
{
()
=>
this
.
changeSearchPaneVisible
}
/>
}
{
!
alarmStarted
&&
isShowActionBar
&&
<
SearchPane
visible
=
{
searchPaneVisible
}
focusPosition
=
{
focusPosition
}
changeSearchPaneVisible
=
{
this
.
changeSearchPaneVisible
}
/>
}
<
TopMsg
alarmStart
=
{
alarmStart
}
/
>
<
TopMsg
alarmStart
=
{
alarmStart
}
/
>
{
!
alarmStarted
&&
!
isShowActionBar
&&
<
ModelHeader
animationProps
=
{
controlAnimation
}
headerName
=
{
headerName
}
handleExceptModel
=
{
this
.
handleExceptModel
}
/>
}
{
!
alarmStarted
&&
!
isShowActionBar
&&
<
ModelHeader
animationProps
=
{
controlAnimation
}
headerName
=
{
headerName
}
handleExceptModel
=
{
this
.
handleExceptModel
}
/>
}
{
!
alarmStarted
&&
isShowActionBar
&&
<
ActionBar
activeAction
=
{
activeAction
}
onActionItemClick
=
{(
e
)
=>
this
.
actionBarClick
(
e
)}
animationProps
=
{
controlAnimation
}
/>
}
{
!
alarmStarted
&&
isShowActionBar
&&
<
ActionBar
activeAction
=
{
activeAction
}
onActionItemClick
=
{(
e
)
=>
this
.
actionBarClick
(
e
)}
animationProps
=
{
controlAnimation
}
/>
}
...
...
mods/components/3dviewConvertor/view/moduleEditComponent/AreaLeftTree.js
View file @
2e84a2c9
...
@@ -61,9 +61,9 @@ class AreaLeftTree extends Component {
...
@@ -61,9 +61,9 @@ class AreaLeftTree extends Component {
});
});
}
}
onSearchChange
=
e
=>
{
onSearchChange
=
(
e
,
v
)
=>
{
const
{
treeDataList
,
treeData
}
=
this
.
state
;
const
{
treeDataList
,
treeData
}
=
this
.
state
;
const
value
=
e
.
target
.
value
;
let
value
=
v
?
v
:
''
;
const
expandedKeys
=
treeDataList
const
expandedKeys
=
treeDataList
.
map
(
item
=>
{
.
map
(
item
=>
{
if
(
item
.
title
.
indexOf
(
value
)
>
-
1
)
{
if
(
item
.
title
.
indexOf
(
value
)
>
-
1
)
{
...
...
mods/components/3dviewConvertor/view/moduleEditComponent/PointLeftTree.js
View file @
2e84a2c9
...
@@ -66,8 +66,9 @@ class PointLeftTree extends Component {
...
@@ -66,8 +66,9 @@ class PointLeftTree extends Component {
this
.
setState
({
pointType
:
value
});
this
.
setState
({
pointType
:
value
});
this
.
props
.
pointTypeChange
(
value
);
this
.
props
.
pointTypeChange
(
value
);
}
}
onSearchChange
=
(
e
,
v
alue
)
=>
{
onSearchChange
=
(
e
,
v
)
=>
{
const
{
treeDataList
,
treeData
}
=
this
.
state
;
const
{
treeDataList
,
treeData
}
=
this
.
state
;
let
value
=
v
?
v
:
''
;
const
expandedKeys
=
treeDataList
const
expandedKeys
=
treeDataList
.
map
(
item
=>
{
.
map
(
item
=>
{
if
(
item
.
title
.
indexOf
(
value
)
>
-
1
)
{
if
(
item
.
title
.
indexOf
(
value
)
>
-
1
)
{
...
...
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