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
70199983
Commit
70199983
authored
Jun 11, 2020
by
张博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
4fb030cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
21 deletions
+20
-21
PointsPool.js
mods/components/3dviewConvertor/view/PointsPool.js
+20
-20
AreaLeftTree.js
.../3dviewConvertor/view/moduleEditComponent/AreaLeftTree.js
+0
-1
No files found.
mods/components/3dviewConvertor/view/PointsPool.js
View file @
70199983
...
...
@@ -31,26 +31,26 @@ class PointsPool extends Component {
this
.
markerList
=
{};
}
componentDidMount
()
{
this
.
props
.
subscribe
(
eventTopics
.
base3d_view
,
(
topic
,
data
)
=>
{
if
(
isPointEvent
(
topic
)){
parseMarkers
(
this
,
topic
,
data
);
}
else
if
(
isLevelFilter
(
topic
))
{
parseLevelFilter
(
this
,
topic
,
data
);
}
});
this
.
props
.
subscribe
(
'base3d.fromws1.showFireTruckRoute'
,
(
topic
,
data
)
=>
{
parseMarkers
(
this
,
topic
,
data
);
});
// this.props.subscribe(eventTopics.view3d_init, (topic, data) => {
// const fireTruckMarkerCache = this.markerList['fireCar'];
// if (fireTruckMarkerCache) {
// for (let fireTruck of fireTruckMarkerCache.getValues()) {
// fireTruck.stopMove();
// }
// }
// });
}
//
componentDidMount() {
//
this.props.subscribe(eventTopics.base3d_view, (topic, data) => {
//
if (isPointEvent(topic)){
//
parseMarkers(this, topic, data);
//
} else if (isLevelFilter(topic)) {
//
parseLevelFilter(this, topic, data);
//
}
//
});
//
this.props.subscribe('base3d.fromws1.showFireTruckRoute', (topic, data) => {
//
parseMarkers(this, topic, data);
//
});
//
// this.props.subscribe(eventTopics.view3d_init, (topic, data) => {
//
// const fireTruckMarkerCache = this.markerList['fireCar'];
//
// if (fireTruckMarkerCache) {
//
// for (let fireTruck of fireTruckMarkerCache.getValues()) {
//
// fireTruck.stopMove();
//
// }
//
// }
//
// });
//
}
onMarkersCreated
=
(
type
,
{
markersCache
})
=>
{
...
...
mods/components/3dviewConvertor/view/moduleEditComponent/AreaLeftTree.js
View file @
70199983
...
...
@@ -40,7 +40,6 @@ class AreaLeftTree extends Component {
}
onSearchChange
=
(
e
,
value
)
=>
{
const
{
treeDataList
,
treeData
}
=
this
.
props
;
const
expandedKeys
=
treeDataList
.
map
(
item
=>
{
...
...
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