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
6cafbc87
Commit
6cafbc87
authored
Jun 10, 2020
by
张博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chongtu
parent
a8c2579e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
55 deletions
+0
-55
moduleEdit.scss
mods/components/3dviewConvertor/styles/moduleEdit.scss
+0
-0
PointLeftTree.js
...3dviewConvertor/view/moduleEditComponent/PointLeftTree.js
+0
-55
marker3DFactory.js
...components/3dviewConvertor/view/points/marker3DFactory.js
+0
-0
No files found.
mods/components/3dviewConvertor/styles/moduleEdit.scss
View file @
6cafbc87
This diff is collapsed.
Click to expand it.
mods/components/3dviewConvertor/view/moduleEditComponent/PointLeftTree.js
View file @
6cafbc87
/* eslint-disable react/prop-types */
/* eslint-disable react/prop-types */
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
PropTypes
from
'prop-types'
;
import
PropTypes
from
'prop-types'
;
<<<<<<<
HEAD
import
{
Connect
,
Tree
,
Select
,
Search
,
Button
}
from
'amos-framework'
;
=======
import
{
Connect
,
Tree
,
Select
,
Search
,
Button
}
from
'amos-framework'
;
import
{
Connect
,
Tree
,
Select
,
Search
,
Button
}
from
'amos-framework'
;
import
imgStatic
from
'../../consts/imgStatic'
;
import
imgStatic
from
'../../consts/imgStatic'
;
const
moduleEditIcon
=
imgStatic
.
moduleEditIcon
;
const
moduleEditIcon
=
imgStatic
.
moduleEditIcon
;
>>>>>>>
65
a1bc65d6a063bb28ef1709a82cec0df2fe3505
const
eventConnect
=
Connect
.
eventConnect
;
const
eventConnect
=
Connect
.
eventConnect
;
const
TreeNode
=
Tree
.
TreeNode
;
const
TreeNode
=
Tree
.
TreeNode
;
const
Option
=
Select
.
Option
;
const
Option
=
Select
.
Option
;
...
@@ -48,23 +44,14 @@ class PointLeftTree extends Component {
...
@@ -48,23 +44,14 @@ class PointLeftTree extends Component {
}
}
componentDidMount
()
{
componentDidMount
()
{
<<<<<<<
HEAD
let
{
treeData
,
pointTypeArr
,
treeDataList
}
=
this
.
props
;
=======
let
{
treeData
,
pointTypeArr
,
treeDataList
}
=
this
.
props
;
let
{
treeData
,
pointTypeArr
,
treeDataList
}
=
this
.
props
;
>>>>>>>
65
a1bc65d6a063bb28ef1709a82cec0df2fe3505
this
.
setState
({
this
.
setState
({
treeData
,
treeData
,
treeDataList
,
treeDataList
,
pointTypeArr
,
pointTypeArr
,
<<<<<<<
HEAD
pointType
:
pointTypeArr
[
0
]
?
pointTypeArr
[
0
].
code
:
''
});
=======
pointType
:
pointTypeArr
[
0
]?
pointTypeArr
[
0
].
code
:
''
pointType
:
pointTypeArr
[
0
]?
pointTypeArr
[
0
].
code
:
''
});
});
// console.log(this.props)
// console.log(this.props)
>>>>>>>
65
a1bc65d6a063bb28ef1709a82cec0df2fe3505
}
}
componentWillReceiveProps
(
nextProps
)
{
componentWillReceiveProps
(
nextProps
)
{
...
@@ -134,47 +121,6 @@ class PointLeftTree extends Component {
...
@@ -134,47 +121,6 @@ class PointLeftTree extends Component {
);
);
if
(
item
.
children
)
{
if
(
item
.
children
)
{
return
(
return
(
<<<<<<<
HEAD
<
TreeNode
title
=
{
<
div
>
{
item
.
isRegion
?
<
span
>
{
title
}
<
span
className
=
'icon'
>
{
// eslint-disable-next-line jsx-a11y/alt-text
item
.
isRegion
?
item
.
isBind
?
<
img
src
=
'/mods/components/3dviewConvertor/assets/convertor/moduleEdit/bindedTip.png'
/>
:
// eslint-disable-next-line jsx-a11y/alt-text
<
img
src
=
'/mods/components/3dviewConvertor/assets/convertor/moduleEdit/nobindTip.png'
/>
:
// eslint-disable-next-line jsx-a11y/alt-text
item
.
isBind
?
<
img
src
=
'/mods/components/3dviewConvertor/assets/convertor/moduleEdit/bindedTip.png'
/>
:
// eslint-disable-next-line jsx-a11y/alt-text
item
.
position3d
?
<
img
src
=
'/mods/components/3dviewConvertor/assets/convertor/moduleEdit/noSaveTip.png'
/>
:
// eslint-disable-next-line jsx-a11y/alt-text
<
img
src
=
'/mods/components/3dviewConvertor/assets/convertor/moduleEdit/nobindTip.png'
/>
}
<
/span
>
<
/span>
:
<
span
draggable
onDragStart
=
{()
=>
{
this
.
props
.
dragItemChange
(
item
);
}}
>
{
title
}
<
span
className
=
'icon'
>
{
item
.
isRegion
?
item
.
isBind
?
<
img
src
=
'/mods/components/3dviewConvertor/assets/convertor/moduleEdit/bindedTip.png'
/>
:
<
img
src
=
'/mods/components/3dviewConvertor/assets/convertor/moduleEdit/nobindTip.png'
/>
:
item
.
isBind
?
<
img
src
=
'/mods/components/3dviewConvertor/assets/convertor/moduleEdit/bindedTip.png'
/>
:
item
.
position3d
?
<
img
src
=
'/mods/components/3dviewConvertor/assets/convertor/moduleEdit/noSaveTip.png'
/>
:
<
img
src
=
'/mods/components/3dviewConvertor/assets/convertor/moduleEdit/nobindTip.png'
/>
}
<
/span
>
<
/span>
}
<
/div
>
=======
<
TreeNode
<
TreeNode
title
=
{
title
=
{
<
div
>
<
div
>
...
@@ -209,7 +155,6 @@ class PointLeftTree extends Component {
...
@@ -209,7 +155,6 @@ class PointLeftTree extends Component {
<
/span
>
<
/span
>
<
/span>
}
<
/span>
}
<
/div
>
<
/div
>
>>>>>>>
65
a1bc65d6a063bb28ef1709a82cec0df2fe3505
}
}
key
=
{
item
.
id
}
key
=
{
item
.
id
}
dataRef
=
{
item
}
dataRef
=
{
item
}
...
...
mods/components/3dviewConvertor/view/points/marker3DFactory.js
View file @
6cafbc87
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