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
fdd5918b
Commit
fdd5918b
authored
May 26, 2020
by
张博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重点设备弹框
parent
b600effe
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
32 additions
and
21 deletions
+32
-21
scrollbutton.png
.../3dviewConvertor/assets/convertor/3dview/scrollbutton.png
+0
-0
scrollslider.png
.../3dviewConvertor/assets/convertor/3dview/scrollslider.png
+0
-0
toolmodalbg.png
...s/3dviewConvertor/assets/convertor/3dview/toolmodalbg.png
+0
-0
pointsDetails.scss
mods/components/3dviewConvertor/styles/pointsDetails.scss
+24
-13
MaskContent.js
mods/components/3dviewConvertor/view/MaskContent.js
+2
-1
View3D.js
mods/components/3dviewConvertor/view/View3D.js
+3
-3
AmosGridTable.js
...nvertor/view/common/tableComponent/table/AmosGridTable.js
+1
-2
FireEquipmentModal.js
...ewConvertor/view/points/dialogModel/FireEquipmentModal.js
+2
-2
No files found.
mods/components/3dviewConvertor/assets/convertor/3dview/scrollbutton.png
0 → 100644
View file @
fdd5918b
177 Bytes
mods/components/3dviewConvertor/assets/convertor/3dview/scrollslider.png
0 → 100644
View file @
fdd5918b
100 Bytes
mods/components/3dviewConvertor/assets/convertor/3dview/toolmodalbg.png
0 → 100644
View file @
fdd5918b
30.2 KB
mods/components/3dviewConvertor/styles/pointsDetails.scss
View file @
fdd5918b
...
...
@@ -159,7 +159,11 @@
width
:
100%
;
height
:
100%
;
.amos-modal-container
{
// width: 310px !important;
background-image
:
url('./../assets/convertor/3dview/toolmodalbg.png')
;
background-repeat
:
no-repeat
;
height
:
262px
;
width
:
452px
!
important
;
background-color
:
rgba
(
255
,
255
,
255
,
0
);
.amos-modal-close
{
color
:
white
;
background
:
linear-gradient
(
180deg
,
rgba
(
255
,
0
,
102
,
1
)
0%
,
rgba
(
255
,
0
,
102
,
1
)
0%
,
rgba
(
255
,
51
,
0
,
1
)
100%
,
rgba
(
255
,
51
,
0
,
1
)
100%
);
...
...
@@ -170,36 +174,43 @@
}
}
.amos-modal-header
{
background
:
$model-header-color-3d
;
height
:
3
0px
;
background
:
rgba
(
255
,
255
,
255
,
0
)
;
height
:
5
0px
;
padding
:
0
;
border-width
:
0em
;
.amos-modal-title
{
line-height
:
3
0px
;
line-height
:
5
0px
;
padding-left
:
9px
;
color
:
#fff
;
font-size
:
18px
;
}
}
.amos-modal-content
{
padding
:
0
;
.point-dialog-body
{
margin
:
10px
;
max-height
:
180px
;
color
:
#fff
;
.point-dialog-modal-row
{
border
:
solid
1px
rgba
(
234
,
234
,
234
,
0
.3
);
display
:
flex
;
background
:
$model-body-color-3d
;
background
:
transparent
;
.colTitle
{
float
:
left
;
font-weight
:
bold
;
height
:
40px
;
padding-left
:
8px
;
border-left
:
1px
solid
$core-border-color
;
line-height
:
40px
;
box-sizing
:
border-box
;
flex
:
1
;
background-color
:
rgba
(
25
,
86
,
147
,
0
.6
);
}
.colValue
{
float
:
left
;
height
:
40px
;
padding-left
:
8px
;
flex
:
1
;
border-left
:
1px
solid
$core-border-color
;
line-height
:
40px
;
flex
:
1
.5
;
}
}
}
...
...
@@ -214,7 +225,7 @@
height
:
8px
;
}
::-webkit-scrollbar-thumb
{
/* 拖动条 */
background-image
:
url('./../assets/convertor/3dview/
control-track
.png')
;
background-image
:
url('./../assets/convertor/3dview/
scrollslider
.png')
;
background-repeat
:
no-repeat
;
height
:
10px
;
}
...
...
@@ -222,13 +233,13 @@
background-color
:rgba
(
17
,
44
,
88
,
0
.2
)
;
}
::-webkit-scrollbar-button
{
background-
image
:
url('./../assets/convertor/3dview/control-track.png')
;
background-image
:
url('./../assets/convertor/3dview/scrollbutton.png')
;
background-
repeat
:
no-repeat
;
}
height
:
100%
;
.amos-modal-container
{
background-image
:
url('./../assets/convertor/3dview/modalbg.png')
;
background-image
:
url('./../assets/convertor/3dview/modalbg.png')
;
height
:
497px
;
width
:
866px
!
important
;
background-color
:
rgba
(
255
,
255
,
255
,
0
);
...
...
mods/components/3dviewConvertor/view/MaskContent.js
View file @
fdd5918b
...
...
@@ -109,7 +109,8 @@ class MaskContent extends Component {
return
(
<
div
className
=
"mask-content"
>
<
AmosWebSocket
ref
=
{
node
=>
this
.
aws
=
node
}
url
=
{
wsURL
}
onMessage
=
{
this
.
handleData
}
reconnect
debug
/>
{
sideControlShow
&&
<
SideControl
multiple
=
{
multiple
}
errorAreaId
=
{
errorAreaId
}
onItemClick
=
{
onItemClick
}
layerConfig
=
{
layerConfig
}
animationProps
=
{
controlAnimation
}
/>
}
{
/* { sideControlShow && <SideControl multiple={multiple} errorAreaId={errorAreaId} onItemClick={onItemClick} layerConfig={layerConfig} animationProps={controlAnimation} />} */
}
<
SideControl
multiple
=
{
multiple
}
errorAreaId
=
{
errorAreaId
}
onItemClick
=
{
onItemClick
}
layerConfig
=
{
layerConfig
}
animationProps
=
{
controlAnimation
}
/
>
{
sideControlShow
&&
<
DataPane
animationProps
=
{
datapaneAnim
}
/>
}
<
TopMsg
alarmStart
=
{
alarmStart
}
/
>
{
!
isShowActionBar
&&
<
ModelHeader
headerName
=
{
headerName
}
handleExceptModel
=
{
this
.
handleExceptModel
}
/>
}
...
...
mods/components/3dviewConvertor/view/View3D.js
View file @
fdd5918b
...
...
@@ -1240,9 +1240,9 @@ class View3D extends Component {
}
getExceptionAreaList
=
()
=>
{
exceptionRegionListAction
().
then
(
data
=>
{
this
.
setState
({
exceptionAreas
:
data
});
});
//
exceptionRegionListAction().then(data=>{
//
this.setState({ exceptionAreas: data });
//
});
}
renderPolygonRegion
=
(
exceptionAreas
)
=>
{
...
...
mods/components/3dviewConvertor/view/common/tableComponent/table/AmosGridTable.js
View file @
fdd5918b
...
...
@@ -238,8 +238,7 @@ class AmosGridTable extends Component {
rowSelection
=
{
rowSelection
}
columns
=
{
columns
}
//dataSource={dataList}
dataSource
=
{[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]}
dataSource
=
{
dataList
}
pagination
=
{
_pagination
}
size
=
{
size
}
bordered
=
{
bordered
}
...
...
mods/components/3dviewConvertor/view/points/dialogModel/FireEquipmentModal.js
View file @
fdd5918b
...
...
@@ -47,8 +47,8 @@ class FireEquipmentModal extends Component {
<
Col
className
=
"colTitle"
>
安装位置:
<
/Col
>
<
Col
className
=
"colValue"
>
{
position
}
<
/Col
>
<
/Row
>
<
/Row>
);
<
/Row
>
);
}
else
{
return
(
<
Row
className
=
"point-dialog-body"
>
...
...
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