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
0c79699b
Commit
0c79699b
authored
May 27, 2020
by
zhengjiangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改表格样式和点击事件
parent
22a333e8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
270 additions
and
176 deletions
+270
-176
report.20200525.173259.11892.0.001.json
report.20200525.173259.11892.0.001.json
+0
-0
report.20200526.130100.16728.0.001.json
report.20200526.130100.16728.0.001.json
+0
-0
table.scss
src/styles/view/monitor/table.scss
+113
-108
DailyTrainLeft.js
src/view/monitor/dailyTrain/DailyTrainLeft.js
+13
-12
DailyTrainRight.js
src/view/monitor/dailyTrain/DailyTrainRight.js
+17
-14
index.js
src/view/monitor/dailyTrain/index.js
+20
-2
EquipmentMaintainLeft.js
src/view/monitor/equipmentMaintain/EquipmentMaintainLeft.js
+16
-2
EquipmentMaintainRight.js
src/view/monitor/equipmentMaintain/EquipmentMaintainRight.js
+18
-5
index.js
src/view/monitor/equipmentMaintain/index.js
+20
-2
SafetyInspectionLeft.js
src/view/monitor/safetyInspection/SafetyInspectionLeft.js
+1
-12
SafteyLeft.js
src/view/monitor/safetyManage/SafteyLeft.js
+14
-11
SafteyRight.js
src/view/monitor/safetyManage/SafteyRight.js
+19
-5
index.js
src/view/monitor/safetyManage/index.js
+19
-3
No files found.
report.20200525.173259.11892.0.001.json
deleted
100644 → 0
View file @
22a333e8
This diff is collapsed.
Click to expand it.
report.20200526.130100.16728.0.001.json
deleted
100644 → 0
View file @
22a333e8
This diff is collapsed.
Click to expand it.
src/styles/view/monitor/table.scss
View file @
0c79699b
...
@@ -13,6 +13,92 @@
...
@@ -13,6 +13,92 @@
position
:
relative
;
position
:
relative
;
height
:
100%
;
height
:
100%
;
.ant-table
{
height
:
100%
;
background
:linear-gradient
(
180deg
,
rgba
(
17
,
12
,
48
,
1
)
0
%
,
rgba
(
0
,
0
,
0
,
0
.19
)
100
%
)
;
border-radius
:
0px
0px
0
0
;
height
:
100%
;
.ant-table-content
{
height
:
100%
;
.ant-table-body
table
td
{
border-color
:
transparent
!
important
;
text-align
:
center
;
}
//背景色奇数和偶数
.back-02
{
background
:transparent
!
important
;
opacity
:
1
;
}
.back-01
{
background
:rgba
(
14
,
127
,
180
,
0
.29
)
;
}
.ant-table-scroll
{
height
:
100%
;
.ant-table-header
{
overflow
:
hidden
;
margin-bottom
:
3px
!
important
;
// padding-bottom: 0px !important;
margin-top
:
-2px
!
important
;
margin-left
:
-2px
!
important
;
margin-right
:
-2px
!
important
}
.ant-table-body
{
//max-height: 91% !important ;
overflow-y
:
auto
!
important
;
background
:transparent
!
important
;
//滚动条
&
:
:-
webkit-scrollbar
{
height
:
5px
;
}
&
:
:-
webkit-scrollbar-thumb
{
border-radius
:
5px
;
-webkit-box-shadow
:
inset
0
0
5px
rgba
(
0
,
0
,
0
,
0
.2
);
background-image
:
url('/src/assets/safetyManage/hengxian.png')
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
}
&
:
:-
webkit-scrollbar-track
{
-webkit-box-shadow
:
0
;
border-radius
:
0
;
background-image
:
url('/src/assets/safetyManage/gdt.png')
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
}
&
:
:-
webkit-scrollbar-button
{
background-image
:
url('/src/assets/safetyManage/shang.png')
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
}
table
{
width
:
300px
;
border-color
:
transparent
!
important
;
td
{
border-color
:
transparent
!
important
;
}
}
}
}
}
}
.ant-pagination
{
.ant-pagination
{
position
:
absolute
;
position
:
absolute
;
...
@@ -28,8 +114,30 @@
...
@@ -28,8 +114,30 @@
}
}
}
}
.mini
.ant-pagination-total-text
{
height
:
20px
;
line-height
:
20px
;
font-size
:
13px
;
font-family
:
Microsoft
YaHei
UI
;
font-weight
:
400
;
line-height
:
19px
;
color
:rgba
(
255
,
255
,
255
,
1
)
;
}
.mini
.ant-pagination-options
{
margin-left
:
8px
;
display
:
none
;
}
.ant-pagination-total-text
{
.ant-pagination-total-text
{
color
:
white
;
font-size
:
13px
;
font-family
:
Microsoft
YaHei
UI
;
font-weight
:
400
;
line-height
:
19px
;
color
:rgba
(
255
,
255
,
255
,
1
)
;
//float: right
}
}
.ant-pagination-prev
{
.ant-pagination-prev
{
...
@@ -49,6 +157,7 @@
...
@@ -49,6 +157,7 @@
color
:rgba
(
0
,
185
,
255
,
0
.3
)
color
:rgba
(
0
,
185
,
255
,
0
.3
)
}
}
}
}
}
}
//分页颜色调整
//分页颜色调整
...
@@ -74,61 +183,6 @@
...
@@ -74,61 +183,6 @@
}
}
}
}
}
}
}
.ant-table-content
{
height
:
100%
;
.ant-table-body
{
// max-height: 500px !important ;
overflow-y
:
auto
!
important
;
background
:transparent
!
important
;
table
{
width
:
300px
;
border-color
:
transparent
!
important
;
td
{
border-color
:
transparent
!
important
;
}
}
}
}
.ant-table
{
background
:linear-gradient
(
180deg
,
rgba
(
17
,
12
,
48
,
1
)
0
%
,
rgba
(
0
,
0
,
0
,
0
.19
)
100
%
)
;
border-radius
:
0px
0px
0
0
;
}
.ant-pagination.mini
.ant-pagination-total-text
{
height
:
20px
;
line-height
:
20px
;
}
//表格正文居中
.ant-table-content
.ant-table-body
table
td
{
border-color
:
transparent
!
important
;
text-align
:
center
;
}
.ant-table-fixed-header
.ant-table-scroll
.ant-table-header
{
overflow
:
hidden
;
}
.ant-pagination.mini
.ant-pagination-total-text
{
font-size
:
13px
;
font-family
:
Microsoft
YaHei
UI
;
font-weight
:
400
;
line-height
:
19px
;
color
:rgba
(
255
,
255
,
255
,
1
)
;
//float: right
}
//修改表头文字、背景颜色
//修改表头文字、背景颜色
.ant-table-thead
>
tr
>
th
{
.ant-table-thead
>
tr
>
th
{
...
@@ -145,69 +199,20 @@
...
@@ -145,69 +199,20 @@
}
}
.ant-table-content
{
.ant-pagination.mini
.ant-pagination-options
{
margin-left
:
8px
;
.ant-table-scroll
.ant-table-header
{
display
:
none
;
margin-bottom
:
3px
!
important
;
// padding-bottom: 0px !important;
margin-top
:
-2px
!
important
;
margin-left
:
-2px
!
important
;
margin-right
:
-2px
!
important
}
}
//背景色奇数和偶数
.back-02
{
background
:transparent
!
important
;
opacity
:
1
;
}
}
.back-01
{
background
:rgba
(
14
,
127
,
180
,
0
.29
)
;
}
}
.ant-pagination.mini
.ant-pagination-options
{
margin-left
:
8px
;
display
:
none
;
}
//滚动条样式
.ant-table-body
{
&
:
:-
webkit-scrollbar
{
height
:
5px
;
}
&
:
:-
webkit-scrollbar-thumb
{
border-radius
:
5px
;
-webkit-box-shadow
:
inset
0
0
5px
rgba
(
0
,
0
,
0
,
0
.2
);
background-image
:
url('/src/assets/safetyManage/hengxian.png')
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
}
&
:
:-
webkit-scrollbar-track
{
-webkit-box-shadow
:
0
;
border-radius
:
0
;
background-image
:
url('/src/assets/safetyManage/gdt.png')
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
}
&
:
:-
webkit-scrollbar-button
{
background-image
:
url('/src/assets/safetyManage/shang.png')
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
}
}
}
}
src/view/monitor/dailyTrain/DailyTrainLeft.js
View file @
0c79699b
...
@@ -377,24 +377,25 @@ class DailyTrainyLeft extends Component {
...
@@ -377,24 +377,25 @@ class DailyTrainyLeft extends Component {
}
}
componentDidMount
()
{
componentDidMount
()
{
const
{
pagination
}
=
this
.
state
;
debugger
var
box1
=
document
.
getElementById
(
"dailyTrain-bottom-left"
);
var
box2
=
document
.
getElementById
(
"one-div"
);
if
(
box1
&&
box2
){
//此处在加一层判断,更加严密,如果box存在的情况下获取
console
.
log
(
box1
.
offsetHeight
);
console
.
log
(
box2
.
offsetHeight
);
this
.
setState
({
tableHeight
:(
box1
.
offsetHeight
-
box2
.
offsetHeight
)
})
}
}
onRequestTable
=
(
callback
)
=>
{
this
.
setState
({
data
:
data
,
totalCount
:
data
.
length
});
callback
&&
callback
(
data
);
// electricFireListAction(current, pageSize, searchName).then(d => {
// const { dataList, total } = d || {};
// });
}
}
onChange
=
(
value
,
item
)
=>
{
onChange
=
(
value
,
item
)
=>
{
debugger
console
.
log
(
value
,
item
);
console
.
log
(
value
,
item
);
}
}
...
...
src/view/monitor/dailyTrain/DailyTrainRight.js
View file @
0c79699b
...
@@ -380,24 +380,27 @@ class DailyTrainRight extends Component {
...
@@ -380,24 +380,27 @@ class DailyTrainRight extends Component {
}
}
componentDidMount
()
{
componentDidMount
()
{
const
{
pagination
}
=
this
.
state
;
debugger
var
box1
=
document
.
getElementById
(
"dailyTrain-bottom-left"
);
var
box2
=
document
.
getElementById
(
"one-div"
);
if
(
box1
&&
box2
){
//此处在加一层判断,更加严密,如果box存在的情况下获取
console
.
log
(
box1
.
offsetHeight
);
console
.
log
(
box2
.
offsetHeight
);
this
.
setState
({
tableHeight
:(
box1
.
offsetHeight
-
box2
.
offsetHeight
)
})
}
}
onEdit
=
(
id
)
=>
{
// this.type = 'edit';
// electricFireDetailsAction(id).then(d => {
// this.setState({
// form: d,
// title: d.name
// })
// })
console
.
log
(
"id:"
+
id
)
this
.
setState
({
data
:
data
,
totalCount
:
data
.
length
})
}
}
onChange
=
(
value
,
item
)
=>
{
onChange
=
(
value
,
item
)
=>
{
debugger
console
.
log
(
value
,
item
);
console
.
log
(
value
,
item
);
}
}
...
@@ -435,9 +438,9 @@ class DailyTrainRight extends Component {
...
@@ -435,9 +438,9 @@ class DailyTrainRight extends Component {
getAcitonData
=
()
=>
{
getAcitonData
=
()
=>
{
this
.
setState
({
//
this.setState({
data
:
data
//
data:data
})
//
})
}
}
/**
/**
...
...
src/view/monitor/dailyTrain/index.js
View file @
0c79699b
...
@@ -8,14 +8,32 @@ import DailyTrainRight from './DailyTrainRight';
...
@@ -8,14 +8,32 @@ import DailyTrainRight from './DailyTrainRight';
*/
*/
export
default
class
DailyTrain
extends
Component
{
export
default
class
DailyTrain
extends
Component
{
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
activeKey
:
''
};
}
componentDidMount
(){
//右侧窗口默认显示第一个数据查询的列表
this
.
list
&&
this
.
list
.
onRequestTable
((
list
)
=>
this
.
onEditClick
(
list
[
0
]))
}
onEditClick
=
(
record
)
=>
{
this
.
listTwo
.
onEdit
(
record
.
key
)
}
render
()
{
render
()
{
return
(
return
(
<
div
className
=
"dailyTrain-safety"
>
<
div
className
=
"dailyTrain-safety"
>
<
div
className
=
"dailyTrain-safty-content"
>
<
div
className
=
"dailyTrain-safty-content"
>
<
div
className
=
"dailyTrain-top"
><
/div
>
<
div
className
=
"dailyTrain-top"
><
/div
>
<
div
className
=
"dailyTrain-bottom"
>
<
div
className
=
"dailyTrain-bottom"
>
<
DailyTrainyLeft
/>
<
DailyTrainyLeft
ref
=
{
node
=>
this
.
list
=
node
}
/
>
<
DailyTrainRight
/>
<
DailyTrainRight
ref
=
{
node
=>
this
.
listTwo
=
node
}
/
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/view/monitor/equipmentMaintain/EquipmentMaintainLeft.js
View file @
0c79699b
...
@@ -378,7 +378,6 @@ class EquipmentMaintainLeft extends Component {
...
@@ -378,7 +378,6 @@ class EquipmentMaintainLeft extends Component {
componentDidMount
()
{
componentDidMount
()
{
const
{
pagination
}
=
this
.
state
;
const
{
pagination
}
=
this
.
state
;
debugger
var
box1
=
document
.
getElementById
(
"equipmentMaintain-bottom-left"
);
var
box1
=
document
.
getElementById
(
"equipmentMaintain-bottom-left"
);
var
box2
=
document
.
getElementById
(
"one-div"
);
var
box2
=
document
.
getElementById
(
"one-div"
);
if
(
box1
&&
box2
){
//此处在加一层判断,更加严密,如果box存在的情况下获取
if
(
box1
&&
box2
){
//此处在加一层判断,更加严密,如果box存在的情况下获取
...
@@ -392,9 +391,24 @@ class EquipmentMaintainLeft extends Component {
...
@@ -392,9 +391,24 @@ class EquipmentMaintainLeft extends Component {
}
}
onRequestTable
=
(
callback
)
=>
{
this
.
setState
({
data
:
data
,
totalCount
:
data
.
length
});
callback
&&
callback
(
data
);
// electricFireListAction(current, pageSize, searchName).then(d => {
// const { dataList, total } = d || {};
// });
}
onChange
=
(
value
,
item
)
=>
{
onChange
=
(
value
,
item
)
=>
{
debugger
console
.
log
(
value
,
item
);
console
.
log
(
value
,
item
);
}
}
...
...
src/view/monitor/equipmentMaintain/EquipmentMaintainRight.js
View file @
0c79699b
...
@@ -347,7 +347,6 @@ class EquipmentMaintainRight extends Component {
...
@@ -347,7 +347,6 @@ class EquipmentMaintainRight extends Component {
componentDidMount
()
{
componentDidMount
()
{
const
{
pagination
}
=
this
.
state
;
const
{
pagination
}
=
this
.
state
;
debugger
var
box1
=
document
.
getElementById
(
"equipmentMaintain-bottom-left"
);
var
box1
=
document
.
getElementById
(
"equipmentMaintain-bottom-left"
);
var
box2
=
document
.
getElementById
(
"one-div"
);
var
box2
=
document
.
getElementById
(
"one-div"
);
if
(
box1
&&
box2
){
//此处在加一层判断,更加严密,如果box存在的情况下获取
if
(
box1
&&
box2
){
//此处在加一层判断,更加严密,如果box存在的情况下获取
...
@@ -361,9 +360,23 @@ class EquipmentMaintainRight extends Component {
...
@@ -361,9 +360,23 @@ class EquipmentMaintainRight extends Component {
}
}
onEdit
=
(
id
)
=>
{
// this.type = 'edit';
// electricFireDetailsAction(id).then(d => {
// this.setState({
// form: d,
// title: d.name
// })
// })
console
.
log
(
"id:"
+
id
)
this
.
setState
({
data
:
data
,
totalCount
:
data
.
length
})
}
onChange
=
(
value
,
item
)
=>
{
onChange
=
(
value
,
item
)
=>
{
debugger
console
.
log
(
value
,
item
);
console
.
log
(
value
,
item
);
}
}
...
@@ -401,9 +414,9 @@ class EquipmentMaintainRight extends Component {
...
@@ -401,9 +414,9 @@ class EquipmentMaintainRight extends Component {
getAcitonData
=
()
=>
{
getAcitonData
=
()
=>
{
this
.
setState
({
//
this.setState({
data
:
data
//
data:data
})
//
})
}
}
/**
/**
...
...
src/view/monitor/equipmentMaintain/index.js
View file @
0c79699b
...
@@ -8,14 +8,32 @@ import EquipmentMaintainRight from './EquipmentMaintainRight';
...
@@ -8,14 +8,32 @@ import EquipmentMaintainRight from './EquipmentMaintainRight';
*/
*/
export
default
class
EquipmentMaintainTrain
extends
Component
{
export
default
class
EquipmentMaintainTrain
extends
Component
{
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
activeKey
:
''
};
}
componentDidMount
(){
//右侧窗口默认显示第一个数据查询的列表
this
.
list
&&
this
.
list
.
onRequestTable
((
list
)
=>
this
.
onEditClick
(
list
[
0
]))
}
onEditClick
=
(
record
)
=>
{
this
.
listTwo
.
onEdit
(
record
.
key
)
}
render
()
{
render
()
{
return
(
return
(
<
div
className
=
"equipmentMaintain-safety"
>
<
div
className
=
"equipmentMaintain-safety"
>
<
div
className
=
"equipmentMaintain-safty-content"
>
<
div
className
=
"equipmentMaintain-safty-content"
>
<
div
className
=
"equipmentMaintain-top"
><
/div
>
<
div
className
=
"equipmentMaintain-top"
><
/div
>
<
div
className
=
"equipmentMaintain-bottom"
>
<
div
className
=
"equipmentMaintain-bottom"
>
<
EquipmentMaintainLeft
/>
<
EquipmentMaintainLeft
ref
=
{
node
=>
this
.
list
=
node
}
/
>
<
EquipmentMaintainRight
/>
<
EquipmentMaintainRight
ref
=
{
node
=>
this
.
listTwo
=
node
}
/
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/view/monitor/safetyInspection/SafetyInspectionLeft.js
View file @
0c79699b
...
@@ -378,24 +378,13 @@ class SafetyInspectionLeft extends Component {
...
@@ -378,24 +378,13 @@ class SafetyInspectionLeft extends Component {
}
}
componentDidMount
()
{
componentDidMount
()
{
const
{
pagination
}
=
this
.
state
;
debugger
var
box1
=
document
.
getElementById
(
"safetyInspection-bottom-left"
);
var
box2
=
document
.
getElementById
(
"one-div"
);
if
(
box1
&&
box2
){
//此处在加一层判断,更加严密,如果box存在的情况下获取
console
.
log
(
box1
.
offsetHeight
);
console
.
log
(
box2
.
offsetHeight
);
this
.
setState
({
tableHeight
:(
box1
.
offsetHeight
-
box2
.
offsetHeight
)
})
}
}
}
onChange
=
(
value
,
item
)
=>
{
onChange
=
(
value
,
item
)
=>
{
debugger
console
.
log
(
value
,
item
);
console
.
log
(
value
,
item
);
}
}
...
...
src/view/monitor/safetyManage/SafteyLeft.js
View file @
0c79699b
...
@@ -377,24 +377,27 @@ class SafteyLeft extends Component {
...
@@ -377,24 +377,27 @@ class SafteyLeft extends Component {
}
}
componentDidMount
()
{
componentDidMount
()
{
const
{
pagination
}
=
this
.
state
;
debugger
var
box1
=
document
.
getElementById
(
"fire-bottom-left"
);
var
box2
=
document
.
getElementById
(
"one-div"
);
if
(
box1
&&
box2
){
//此处在加一层判断,更加严密,如果box存在的情况下获取
console
.
log
(
box1
.
offsetHeight
);
console
.
log
(
box2
.
offsetHeight
);
this
.
setState
({
tableHeight
:(
box1
.
offsetHeight
-
box2
.
offsetHeight
)
})
}
}
onRequestTable
=
(
callback
)
=>
{
this
.
setState
({
data
:
data
,
totalCount
:
data
.
length
});
callback
&&
callback
(
data
);
// electricFireListAction(current, pageSize, searchName).then(d => {
// const { dataList, total } = d || {};
// });
}
}
onChange
=
(
value
,
item
)
=>
{
onChange
=
(
value
,
item
)
=>
{
debugger
console
.
log
(
value
,
item
);
console
.
log
(
value
,
item
);
}
}
...
...
src/view/monitor/safetyManage/SafteyRight.js
View file @
0c79699b
...
@@ -417,7 +417,6 @@ class SafteyRight extends Component {
...
@@ -417,7 +417,6 @@ class SafteyRight extends Component {
componentDidMount
()
{
componentDidMount
()
{
const
{
pagination
}
=
this
.
state
;
const
{
pagination
}
=
this
.
state
;
debugger
var
box1
=
document
.
getElementById
(
"fire-bottom-left"
);
var
box1
=
document
.
getElementById
(
"fire-bottom-left"
);
var
box2
=
document
.
getElementById
(
"one-div"
);
var
box2
=
document
.
getElementById
(
"one-div"
);
if
(
box1
&&
box2
){
//此处在加一层判断,更加严密,如果box存在的情况下获取
if
(
box1
&&
box2
){
//此处在加一层判断,更加严密,如果box存在的情况下获取
...
@@ -431,9 +430,24 @@ class SafteyRight extends Component {
...
@@ -431,9 +430,24 @@ class SafteyRight extends Component {
}
}
onEdit
=
(
id
)
=>
{
// this.type = 'edit';
// electricFireDetailsAction(id).then(d => {
// this.setState({
// form: d,
// title: d.name
// })
// })
console
.
log
(
"id:"
+
id
)
this
.
setState
({
data
:
data
,
totalCount
:
data
.
length
})
}
onChange
=
(
value
,
item
)
=>
{
onChange
=
(
value
,
item
)
=>
{
debugger
console
.
log
(
value
,
item
);
console
.
log
(
value
,
item
);
}
}
...
@@ -471,9 +485,9 @@ class SafteyRight extends Component {
...
@@ -471,9 +485,9 @@ class SafteyRight extends Component {
getAcitonData
=
()
=>
{
getAcitonData
=
()
=>
{
this
.
setState
({
//
this.setState({
data
:
data
//
data:data
})
//
})
}
}
/**
/**
...
...
src/view/monitor/safetyManage/index.js
View file @
0c79699b
...
@@ -4,9 +4,25 @@ import SafteyRight from './SafteyRight';
...
@@ -4,9 +4,25 @@ import SafteyRight from './SafteyRight';
/**
/**
*
中心级2侧模块
*
安全培训
*/
*/
export
default
class
Safety
extends
Component
{
export
default
class
Safety
extends
Component
{
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
activeKey
:
''
};
}
componentDidMount
(){
//右侧窗口默认显示第一个数据查询的列表
this
.
list
&&
this
.
list
.
onRequestTable
((
list
)
=>
this
.
onEditClick
(
list
[
0
]))
}
onEditClick
=
(
record
)
=>
{
this
.
listTwo
.
onEdit
(
record
.
key
)
}
render
()
{
render
()
{
return
(
return
(
...
@@ -14,8 +30,8 @@ export default class Safety extends Component {
...
@@ -14,8 +30,8 @@ export default class Safety extends Component {
<
div
className
=
"fire-safty-content"
>
<
div
className
=
"fire-safty-content"
>
<
div
className
=
"fire-top"
><
/div
>
<
div
className
=
"fire-top"
><
/div
>
<
div
className
=
"fire-bottom"
>
<
div
className
=
"fire-bottom"
>
<
SafteyLeft
/>
<
SafteyLeft
ref
=
{
node
=>
this
.
list
=
node
}
/
>
<
SafteyRight
/>
<
SafteyRight
ref
=
{
node
=>
this
.
listTwo
=
node
}
/
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
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