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
8db56280
Commit
8db56280
authored
May 27, 2020
by
zhengjiangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表格点击事件增加
parent
0c79699b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
DailyTrainLeft.js
src/view/monitor/dailyTrain/DailyTrainLeft.js
+2
-0
index.js
src/view/monitor/dailyTrain/index.js
+1
-1
No files found.
src/view/monitor/dailyTrain/DailyTrainLeft.js
View file @
8db56280
...
@@ -492,6 +492,7 @@ rowClassName = (record, index) => {
...
@@ -492,6 +492,7 @@ rowClassName = (record, index) => {
render
()
{
render
()
{
let
defaultPageConfig
=
this
.
pageConfig
;
let
defaultPageConfig
=
this
.
pageConfig
;
const
{
current
,
pageSize
,
total
}
=
this
.
state
;
const
{
current
,
pageSize
,
total
}
=
this
.
state
;
const
{
onEditClick
}
=
this
.
props
;
let
{
pagination
,
isChecked
,
fname
,
data
,
totalCount
,
selectedRowKeys
}
=
this
.
state
;
let
{
pagination
,
isChecked
,
fname
,
data
,
totalCount
,
selectedRowKeys
}
=
this
.
state
;
return
(
return
(
<
div
className
=
"dailyTrain-bottom-left"
id
=
"dailyTrain-bottom-left"
>
<
div
className
=
"dailyTrain-bottom-left"
id
=
"dailyTrain-bottom-left"
>
...
@@ -556,6 +557,7 @@ rowClassName = (record, index) => {
...
@@ -556,6 +557,7 @@ rowClassName = (record, index) => {
defaultPageConfig
=
{
defaultPageConfig
}
defaultPageConfig
=
{
defaultPageConfig
}
getPanelHeight
=
{
this
.
getPanelHeight
}
getPanelHeight
=
{
this
.
getPanelHeight
}
rowClassName
=
{
this
.
rowClassName
}
rowClassName
=
{
this
.
rowClassName
}
onRowClick
=
{(
record
)
=>
onEditClick
(
record
)}
/
>
/
>
...
...
src/view/monitor/dailyTrain/index.js
View file @
8db56280
...
@@ -32,7 +32,7 @@ export default class DailyTrain extends Component {
...
@@ -32,7 +32,7 @@ export default class DailyTrain extends Component {
<
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
ref
=
{
node
=>
this
.
list
=
node
}
/
>
<
DailyTrainyLeft
ref
=
{
node
=>
this
.
list
=
node
}
onEditClick
=
{
this
.
onEditClick
}
/
>
<
DailyTrainRight
ref
=
{
node
=>
this
.
listTwo
=
node
}
/
>
<
DailyTrainRight
ref
=
{
node
=>
this
.
listTwo
=
node
}
/
>
<
/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