Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
station-elec-manage-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
station-elec-manage-view
Commits
0bfd026e
Commit
0bfd026e
authored
May 28, 2020
by
万伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情页表,搜索菜单与下拉框,以及对应搜索选择数据切换事件
parent
1c3e4832
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
45 additions
and
19 deletions
+45
-19
detail.scss
src/styles/view/biz/detail/detail.scss
+19
-5
data.js
src/view/biz/duty/detail/data.js
+20
-7
index.js
src/view/biz/duty/detail/index.js
+0
-0
GrowthStatistics.js
src/view/biz/duty/situation/GrowthStatistics.js
+2
-3
RecentStatistics.js
src/view/biz/duty/situation/RecentStatistics.js
+1
-1
RiskFailure.js
src/view/biz/duty/situation/RiskFailure.js
+1
-1
SafetyRate.js
src/view/biz/duty/situation/SafetyRate.js
+2
-2
No files found.
src/styles/view/biz/detail/detail.scss
View file @
0bfd026e
...
@@ -57,7 +57,6 @@
...
@@ -57,7 +57,6 @@
background
:rgba
(
0
,
185
,
255
,
0
.3
)
;
background
:rgba
(
0
,
185
,
255
,
0
.3
)
;
border-radius
:
17px
;
border-radius
:
17px
;
top
:
30px
;
top
:
30px
;
margin-left
:
880px
;
color
:
#5FFFFD
;
color
:
#5FFFFD
;
.amos-search-icon-right
{
.amos-search-icon-right
{
left
:
255px
;
left
:
255px
;
...
@@ -70,6 +69,21 @@
...
@@ -70,6 +69,21 @@
border-radius
:
17px
;
border-radius
:
17px
;
}
}
}
}
.selectDiv
{
position
:
relative
;
right
:
-900px
;
margin-left
:
20px
;
color
:
white
;
.amos-select-dropdown
{
border
:
0
;
min-width
:
7em
;
line-height
:
32px
;
background-color
:
rgba
(
0
,
185
,
255
,
0
.3
);
border-radius
:
15px
;
top
:
-3px
;
}
}
}
}
.infoContent
{
.infoContent
{
height
:
888px
;
height
:
888px
;
...
@@ -77,10 +91,10 @@
...
@@ -77,10 +91,10 @@
.ant-table-content
{
.ant-table-content
{
height
:
800px
;
height
:
800px
;
opacity
:
1
;
opacity
:
1
;
.ant-table-placeholder
{
.ant-table-placeholder
{
background
:rgba
(
14
,
127
,
180
,
0
.29
)
;
background
:rgba
(
14
,
127
,
180
,
0
.29
)
;
opacity
:
0
.63
;
opacity
:
0
.63
;
}
}
.ant-table-tbody
{
.ant-table-tbody
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
@@ -90,7 +104,7 @@
...
@@ -90,7 +104,7 @@
}
}
}
}
table
{
table
{
width
:
100%
;
width
:
100%
;
}
}
.ant-table-body
>
.clickRowStyl
:hover
>
td
{
.ant-table-body
>
.clickRowStyl
:hover
>
td
{
background-color
:
#00b4ed
;
background-color
:
#00b4ed
;
...
@@ -233,7 +247,7 @@
...
@@ -233,7 +247,7 @@
width
:
100%
;
width
:
100%
;
.ant-table-thead
>
tr
>
th
{
.ant-table-thead
>
tr
>
th
{
background
:rgba
(
0
,
185
,
255
,
0
.38
)!
important
;
background
:rgba
(
0
,
185
,
255
,
0
.38
)!
important
;
font-size
:
20p
!
important
;
font-size
:
20p
x
!
important
;
font-family
:
Microsoft
YaHei
;
font-family
:
Microsoft
YaHei
;
font-weight
:bold
;
font-weight
:bold
;
color
:rgba
(
255
,
255
,
255
,
1
)
;
color
:rgba
(
255
,
255
,
255
,
1
)
;
...
...
src/view/biz/duty/detail/data.js
View file @
0bfd026e
...
@@ -107,35 +107,48 @@ const sevenDaysRiskCensusData = [{
...
@@ -107,35 +107,48 @@ const sevenDaysRiskCensusData = [{
'sa'
:
'复龙换流站'
,
'sb'
:
'送点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
'sa'
:
'复龙换流站'
,
'sb'
:
'送点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
},
{
{
'sa'
:
'奉贤换流站'
,
'sb'
:
'
送
点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
'sa'
:
'奉贤换流站'
,
'sb'
:
'
收
点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
},
{
{
'sa'
:
'苏州换流站'
,
'sb'
:
'送点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
'sa'
:
'苏州换流站'
,
'sb'
:
'送点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
},
{
{
'sa'
:
'中州换流站'
,
'sb'
:
'
送点'
,
'sc'
:
'告警
'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
'sa'
:
'中州换流站'
,
'sb'
:
'
收点'
,
'sc'
:
'隐患
'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
},
{
{
'sa'
:
'天山换流站'
,
'sb'
:
'送点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
'sa'
:
'天山换流站'
,
'sb'
:
'送点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
},
{
{
'sa'
:
'金华换流站'
,
'sb'
:
'送点'
,
'sc'
:
'
告警
'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
'sa'
:
'金华换流站'
,
'sb'
:
'送点'
,
'sc'
:
'
隐患
'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
},
{
{
'sa'
:
'
龙泉换流站'
,
'sb'
:
'送点'
,
'sc'
:
'告警
'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
'sa'
:
'
三亚换流站'
,
'sb'
:
'送点'
,
'sc'
:
'隐患
'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
},
{
{
'sa'
:
'
政平换流站'
,
'sb'
:
'送
点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
'sa'
:
'
龙泉换流站'
,
'sb'
:
'收
点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
},
{
{
'sa'
:
'
伊克昭换流站'
,
'sb'
:
'送
点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
'sa'
:
'
厦门换流站'
,
'sb'
:
'收
点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
},
{
{
'sa'
:
'陕北换流站'
,
'sb'
:
'送点'
,
'sc'
:
'告警'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
'sa'
:
'南昌换流站'
,
'sb'
:
'送点'
,
'sc'
:
'隐患'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
{
'sa'
:
'政平换流站'
,
'sb'
:
'送点'
,
'sc'
:
'隐患'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
{
'sa'
:
'伊克昭换流站'
,
'sb'
:
'收点'
,
'sc'
:
'隐患'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
{
'sa'
:
'陕北换流站'
,
'sb'
:
'送点'
,
'sc'
:
'隐患'
,
'sd'
:
'23'
,
'se'
:
'23'
,
'sf'
:
'12'
,
'sg'
:
'12'
,
'sh'
:
'12'
,
'si'
:
'23'
,
'sj'
:
'97'
,
},
},
{
{
...
...
src/view/biz/duty/detail/index.js
View file @
0bfd026e
This diff is collapsed.
Click to expand it.
src/view/biz/duty/situation/GrowthStatistics.js
View file @
0bfd026e
...
@@ -7,7 +7,7 @@ class GrowthStatistics extends Component {
...
@@ -7,7 +7,7 @@ class GrowthStatistics extends Component {
<
div
className
=
'growth-statistics-view common-margin'
>
<
div
className
=
'growth-statistics-view common-margin'
>
<
div
className
=
'daily-title daily-title-content'
>
告警隐患周增幅统计
<
/div
>
<
div
className
=
'daily-title daily-title-content'
>
告警隐患周增幅统计
<
/div
>
<
div
className
=
'growth-content'
>
<
div
className
=
'growth-content'
>
<
div
style
=
{{
position
:
"initial"
,
width
:
28
,
height
:
28
,
marginTop
:
-
2
3
,
marginLeft
:
358
}}
<
div
style
=
{{
position
:
"initial"
,
width
:
28
,
height
:
28
,
marginTop
:
-
2
8
,
marginLeft
:
358
}}
onClick
=
{
this
.
props
.
onWarnClick
}
><
/div
>
onClick
=
{
this
.
props
.
onWarnClick
}
><
/div
>
<
div
className
=
'growth-item growth-item-header'
>
<
div
className
=
'growth-item growth-item-header'
>
<
div
>
日期
<
/div
>
<
div
>
日期
<
/div
>
...
@@ -22,8 +22,7 @@ class GrowthStatistics extends Component {
...
@@ -22,8 +22,7 @@ class GrowthStatistics extends Component {
<
div
>
{
item
.
growth
}
<
/div
>
<
div
>
{
item
.
growth
}
<
/div
>
<
/div
>
<
/div
>
)
)
)
)
}
}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/view/biz/duty/situation/RecentStatistics.js
View file @
0bfd026e
...
@@ -34,7 +34,7 @@ class RecentStatistics extends Component {
...
@@ -34,7 +34,7 @@ class RecentStatistics extends Component {
<
Button
size
=
'sm'
children
=
{
<
span
>
隐患
<
/span>} className='button-style' value="2" style={
(
value == '2'
)?
select:noselect}/
>
<
Button
size
=
'sm'
children
=
{
<
span
>
隐患
<
/span>} className='button-style' value="2" style={
(
value == '2'
)?
select:noselect}/
>
<
/ButtonGroup
>
<
/ButtonGroup
>
<
div
className
=
'recent-statistics-content'
>
<
div
className
=
'recent-statistics-content'
>
<
div
style
=
{{
position
:
"initial"
,
width
:
28
,
height
:
28
,
marginTop
:
-
1
4
,
marginLeft
:
362
}}
<
div
style
=
{{
position
:
"initial"
,
width
:
28
,
height
:
28
,
marginTop
:
-
1
9
,
marginLeft
:
362
}}
onClick
=
{
this
.
props
.
onStatisticClick
}
><
/div
>
onClick
=
{
this
.
props
.
onStatisticClick
}
><
/div
>
<
ReactEcharts
option
=
{
recentData
}
style
=
{{
height
:
'100%'
,
width
:
'100%'
}}
/
>
<
ReactEcharts
option
=
{
recentData
}
style
=
{{
height
:
'100%'
,
width
:
'100%'
}}
/
>
<
/div
>
<
/div
>
...
...
src/view/biz/duty/situation/RiskFailure.js
View file @
0bfd026e
...
@@ -8,7 +8,7 @@ class RiskFailure extends Component {
...
@@ -8,7 +8,7 @@ class RiskFailure extends Component {
<
div
className
=
'risk-failure-view common-margin daily-title'
>
<
div
className
=
'risk-failure-view common-margin daily-title'
>
<
div
className
=
'daily-title daily-title-content'
>
安全风险失效
TOP10
<
/div
>
<
div
className
=
'daily-title daily-title-content'
>
安全风险失效
TOP10
<
/div
>
<
div
className
=
'top-ten-content'
>
<
div
className
=
'top-ten-content'
>
<
div
style
=
{{
position
:
"initial"
,
width
:
28
,
height
:
28
,
marginTop
:
-
3
2
,
marginLeft
:
352
}}
<
div
style
=
{{
position
:
"initial"
,
width
:
28
,
height
:
28
,
marginTop
:
-
3
5
,
marginLeft
:
352
}}
onClick
=
{
this
.
props
.
onRiskClick
}
><
/div
>
onClick
=
{
this
.
props
.
onRiskClick
}
><
/div
>
{
{
riskFailureData
.
map
((
item
,
index
)
=>
riskFailureData
.
map
((
item
,
index
)
=>
...
...
src/view/biz/duty/situation/SafetyRate.js
View file @
0bfd026e
...
@@ -9,9 +9,9 @@ class SafetyRate extends Component {
...
@@ -9,9 +9,9 @@ class SafetyRate extends Component {
<
div
className
=
'safety-rate-view common-margin daily-title'
>
<
div
className
=
'safety-rate-view common-margin daily-title'
>
<
div
className
=
'daily-title-content'
>
<
div
className
=
'daily-title-content'
>
安全指数
TOP10
安全指数
TOP10
<
/div
>
<
/div
>
<
div
className
=
'top-ten-content'
style
=
{{
position
:
"initial"
}}
>
<
div
className
=
'top-ten-content'
style
=
{{
position
:
"initial"
}}
>
<
div
style
=
{{
position
:
"initial"
,
width
:
28
,
height
:
28
,
marginTop
:
-
3
2
,
marginLeft
:
352
}}
<
div
style
=
{{
position
:
"initial"
,
width
:
28
,
height
:
28
,
marginTop
:
-
3
6
,
marginLeft
:
352
}}
onClick
=
{
this
.
props
.
onClick
}
><
/div
>
onClick
=
{
this
.
props
.
onClick
}
><
/div
>
{
{
SafetyRateData
.
map
((
item
,
index
)
=>
SafetyRateData
.
map
((
item
,
index
)
=>
...
...
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