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
becf5f9c
Commit
becf5f9c
authored
May 28, 2020
by
zhengjiangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加表格联动点击事件
parent
8db56280
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
3 deletions
+7
-3
table.scss
src/styles/view/monitor/table.scss
+1
-1
EquipmentMaintainLeft.js
src/view/monitor/equipmentMaintain/EquipmentMaintainLeft.js
+2
-0
index.js
src/view/monitor/equipmentMaintain/index.js
+1
-1
SafteyLeft.js
src/view/monitor/safetyManage/SafteyLeft.js
+2
-0
index.js
src/view/monitor/safetyManage/index.js
+1
-1
No files found.
src/styles/view/monitor/table.scss
View file @
becf5f9c
...
...
@@ -27,7 +27,7 @@
text-align
:
center
;
}
//背景色奇数和偶数
//背景色奇数和偶数
(自定义)
.back-02
{
background
:transparent
!
important
;
opacity
:
1
;
...
...
src/view/monitor/equipmentMaintain/EquipmentMaintainLeft.js
View file @
becf5f9c
...
...
@@ -505,6 +505,7 @@ rowClassName = (record, index) => {
render
()
{
let
defaultPageConfig
=
this
.
pageConfig
;
const
{
current
,
pageSize
,
total
}
=
this
.
state
;
const
{
onEditClick
}
=
this
.
props
;
let
{
pagination
,
isChecked
,
fname
,
data
,
totalCount
,
selectedRowKeys
}
=
this
.
state
;
return
(
<
div
className
=
"equipmentMaintain-bottom-left"
id
=
"equipmentMaintain-bottom-left"
>
...
...
@@ -537,6 +538,7 @@ rowClassName = (record, index) => {
defaultPageConfig
=
{
defaultPageConfig
}
getPanelHeight
=
{
this
.
getPanelHeight
}
rowClassName
=
{
this
.
rowClassName
}
onRowClick
=
{(
record
)
=>
onEditClick
(
record
)}
/
>
...
...
src/view/monitor/equipmentMaintain/index.js
View file @
becf5f9c
...
...
@@ -32,7 +32,7 @@ export default class EquipmentMaintainTrain extends Component {
<
div
className
=
"equipmentMaintain-safty-content"
>
<
div
className
=
"equipmentMaintain-top"
><
/div
>
<
div
className
=
"equipmentMaintain-bottom"
>
<
EquipmentMaintainLeft
ref
=
{
node
=>
this
.
list
=
node
}
/
>
<
EquipmentMaintainLeft
ref
=
{
node
=>
this
.
list
=
node
}
onEditClick
=
{
this
.
onEditClick
}
/
>
<
EquipmentMaintainRight
ref
=
{
node
=>
this
.
listTwo
=
node
}
/
>
<
/div
>
<
/div
>
...
...
src/view/monitor/safetyManage/SafteyLeft.js
View file @
becf5f9c
...
...
@@ -494,6 +494,7 @@ rowClassName = (record, index) => {
render
()
{
let
defaultPageConfig
=
this
.
pageConfig
;
const
{
current
,
pageSize
,
total
}
=
this
.
state
;
const
{
onEditClick
}
=
this
.
props
;
let
{
pagination
,
isChecked
,
fname
,
data
,
totalCount
,
selectedRowKeys
}
=
this
.
state
;
return
(
<
div
className
=
"fire-bottom-left"
id
=
"fire-bottom-left"
>
...
...
@@ -558,6 +559,7 @@ rowClassName = (record, index) => {
defaultPageConfig
=
{
defaultPageConfig
}
getPanelHeight
=
{
this
.
getPanelHeight
}
rowClassName
=
{
this
.
rowClassName
}
onRowClick
=
{(
record
)
=>
onEditClick
(
record
)}
/
>
...
...
src/view/monitor/safetyManage/index.js
View file @
becf5f9c
...
...
@@ -30,7 +30,7 @@ export default class Safety extends Component {
<
div
className
=
"fire-safty-content"
>
<
div
className
=
"fire-top"
><
/div
>
<
div
className
=
"fire-bottom"
>
<
SafteyLeft
ref
=
{
node
=>
this
.
list
=
node
}
/
>
<
SafteyLeft
ref
=
{
node
=>
this
.
list
=
node
}
onEditClick
=
{
this
.
onEditClick
}
/
>
<
SafteyRight
ref
=
{
node
=>
this
.
listTwo
=
node
}
/
>
<
/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