Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor
Overview
Overview
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
fukai
swifteditor
Commits
d8596d5e
Commit
d8596d5e
authored
Oct 21, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加返回按钮
parent
69d6ecee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
LeadPage.js
src/swift/LeadPage.js
+13
-2
No files found.
src/swift/LeadPage.js
View file @
d8596d5e
import
React
,{
Component
}
from
'react'
import
{
bindActionCreators
}
from
'redux'
;
import
{
connect
}
from
'react-redux'
;
import
{
Table
,
Steps
,
Row
,
Col
,
Input
}
from
'antd'
import
{
Table
,
Steps
,
Row
,
Col
,
Input
,
Affix
,
Button
}
from
'antd'
import
{
updateTreeValue
,
updateRcvBic
,
initSwiftMessageTree
,
updateSwiftMessage
}
from
'../store/modules/swift/swift_action'
;
...
...
@@ -171,7 +171,18 @@ export class LeadPage extends Component
<
Col
span
=
{
18
}
>
<
Table
columns
=
{
this
.
columns
}
dataSource
=
{
this
.
state
.
fil
?
mty
.
filter
(
item
=>
item
.
mty
.
indexOf
(
'mt'
+
this
.
state
.
fil
)
==
0
):
mty
}
/
>
<
/Col
>
<
Col
span
=
{
3
}
/
>
<
Col
span
=
{
3
}
>
<
Affix
offsetTop
=
{
100
}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
Button
type
=
"primary"
title
=
"Return"
style
=
{{
marginRight
:
'1em'
,
width
:
'8em'
}}
>
<
a
onClick
=
{
()
=>
{
this
.
props
.
history
.
push
(
`entry/
${
this
.
props
.
params
.
mctid
?
this
.
props
.
params
.
mctid
:
''
}
`
)
}
}
>
Go
Back
<
/a
>
<
/Button
>
<
/div
>
<
/Affix
>
<
/Col
>
<
/Row
>
<
/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