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
54590b1f
Commit
54590b1f
authored
May 28, 2020
by
zhengjiangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改表格表头样式
parent
d7e5ee38
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
9 deletions
+51
-9
table.scss
src/styles/view/monitor/table.scss
+42
-0
EquipmentMaintainLeft.js
src/view/monitor/equipmentMaintain/EquipmentMaintainLeft.js
+2
-2
EquipmentMaintainRight.js
src/view/monitor/equipmentMaintain/EquipmentMaintainRight.js
+1
-1
SafetyInspectionLeft.js
src/view/monitor/safetyInspection/SafetyInspectionLeft.js
+3
-3
SafteyRight.js
src/view/monitor/safetyManage/SafteyRight.js
+3
-3
No files found.
src/styles/view/monitor/table.scss
View file @
54590b1f
...
@@ -191,6 +191,8 @@
...
@@ -191,6 +191,8 @@
//background: #222b51 !important;
//background: #222b51 !important;
border-color
:
transparent
!
important
;
border-color
:
transparent
!
important
;
text-align
:
center
;
text-align
:
center
;
padding
:
0rem
;
height
:
40px
;
}
}
//鼠标悬浮行背景色修改
//鼠标悬浮行背景色修改
...
@@ -203,9 +205,49 @@
...
@@ -203,9 +205,49 @@
margin-left
:
8px
;
margin-left
:
8px
;
display
:
none
;
display
:
none
;
}
}
.safe-table-title-font-red
{
color
:white
;
height
:
100%
;
background-color
:
#651E39
;
padding-top
:
8%
}
.safe-table-title-font-red-right
{
color
:white
;
height
:
100%
;
background-color
:
#651E39
;
padding-top
:
14%
}
.safe-table-title-font-green
{
color
:white
;
height
:
100%
;
background-color
:
#186B50
;
padding-top
:
14%
}
.safe-table-title-font-yellow
{
color
:white
;
height
:
100%
;
background-color
:
#655E39
;
padding-top
:
14%
}
//灰色
.safe-table-title-font-grey
{
color
:white
;
height
:
100%
;
background-color
:
#324870
;
padding-top
:
5%
}
}
}
...
...
src/view/monitor/equipmentMaintain/EquipmentMaintainLeft.js
View file @
54590b1f
...
@@ -51,13 +51,13 @@ const columns = [
...
@@ -51,13 +51,13 @@ const columns = [
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
},
},
{
{
title
:
'逾期保养'
,
title
:
<
div
className
=
'safe-table-title-font-red'
>
逾期保养
<
/div>
,
width
:
'20%'
,
width
:
'20%'
,
dataIndex
:
'yqby'
,
dataIndex
:
'yqby'
,
render
:
val
=>
<
span
style
=
{{
color
:
"red"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"red"
}}
>
{
val
}
<
/span>
,
},
},
{
{
title
:
'逾期占比'
,
title
:
<
div
className
=
'safe-table-title-font-red'
>
逾期占比
<
/div>
,
width
:
'20%'
,
width
:
'20%'
,
dataIndex
:
'yqzb'
,
dataIndex
:
'yqzb'
,
render
:
val
=>
<
span
style
=
{{
color
:
"red"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"red"
}}
>
{
val
}
<
/span>
,
...
...
src/view/monitor/equipmentMaintain/EquipmentMaintainRight.js
View file @
54590b1f
...
@@ -50,7 +50,7 @@ const columns = [
...
@@ -50,7 +50,7 @@ const columns = [
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
},
},
{
{
title
:
'逾期数量'
,
title
:
<
div
className
=
'safe-table-title-font-red-right'
>
逾期数量
<
/div>
,
width
:
'10%'
,
width
:
'10%'
,
dataIndex
:
'dbtj'
,
dataIndex
:
'dbtj'
,
render
:
val
=>
<
span
style
=
{{
color
:
"red"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"red"
}}
>
{
val
}
<
/span>
,
...
...
src/view/monitor/safetyInspection/SafetyInspectionLeft.js
View file @
54590b1f
...
@@ -33,19 +33,19 @@ const columns = [
...
@@ -33,19 +33,19 @@ const columns = [
render
:
val
=>
<
span
style
=
{{
color
:
"yellow"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"yellow"
}}
>
{
val
}
<
/span>
,
},
},
{
{
title
:
'日巡检计划'
,
title
:
<
div
className
=
"safe-table-title-font-grey"
>
日巡检计划
<
/div>
,
width
:
'15%'
,
width
:
'15%'
,
dataIndex
:
'rxjjh'
,
dataIndex
:
'rxjjh'
,
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
},
},
{
{
title
:
'月巡检计划'
,
title
:
<
div
className
=
"safe-table-title-font-grey"
>
月巡检计划
<
/div>
,
width
:
'15%'
,
width
:
'15%'
,
dataIndex
:
'yxjjh'
,
dataIndex
:
'yxjjh'
,
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
},
},
{
{
title
:
'季度巡检计划'
,
title
:
<
div
className
=
"safe-table-title-font-grey"
>
季度巡检计划
<
/div>
,
width
:
'15%'
,
width
:
'15%'
,
dataIndex
:
'jdxjjh'
,
dataIndex
:
'jdxjjh'
,
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
...
...
src/view/monitor/safetyManage/SafteyRight.js
View file @
54590b1f
...
@@ -44,19 +44,19 @@ const columns = [
...
@@ -44,19 +44,19 @@ const columns = [
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"white"
}}
>
{
val
}
<
/span>
,
},
},
{
{
title
:
'0-60'
,
title
:
<
div
className
=
"safe-table-title-font-red-right"
>
0
-
60
<
/div>
,
width
:
'10%'
,
width
:
'10%'
,
dataIndex
:
'0-60'
,
dataIndex
:
'0-60'
,
render
:
val
=>
<
span
style
=
{{
color
:
"red"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"red"
}}
>
{
val
}
<
/span>
,
},
},
{
{
title
:
'61-85'
,
title
:
<
div
className
=
"safe-table-title-font-yellow"
>
61
-
85
<
/div>
,
width
:
'10%'
,
width
:
'10%'
,
dataIndex
:
'61-85'
,
dataIndex
:
'61-85'
,
render
:
val
=>
<
span
style
=
{{
color
:
"yellow"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"yellow"
}}
>
{
val
}
<
/span>
,
},
},
{
{
title
:
'86-100'
,
title
:
<
div
className
=
"safe-table-title-font-green"
style
=
{{
paddingTop
:
"5% !important"
}}
>
86
-
100
<
/div>
,
width
:
'10%'
,
width
:
'10%'
,
dataIndex
:
'86-100'
,
dataIndex
:
'86-100'
,
render
:
val
=>
<
span
style
=
{{
color
:
"green"
}}
>
{
val
}
<
/span>
,
render
:
val
=>
<
span
style
=
{{
color
:
"green"
}}
>
{
val
}
<
/span>
,
...
...
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