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
5f958ca0
Commit
5f958ca0
authored
Dec 06, 2018
by
snail
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新17域
parent
25bbd6ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
LeadPage.js
src/swift/LeadPage.js
+11
-3
No files found.
src/swift/LeadPage.js
View file @
5f958ca0
import
React
,{
Component
}
from
'react'
import
{
bindActionCreators
}
from
'redux'
;
import
{
connect
}
from
'react-redux'
;
import
{
Table
,
Steps
,
Row
,
Col
}
from
'antd'
import
{
Table
,
Steps
,
Row
,
Col
,
Input
}
from
'antd'
import
{
updateTreeValue
,
updateRcvBic
,
initSwiftMessageTree
,
updateSwiftMessage
}
from
'../store/modules/swift/swift_action'
;
...
...
@@ -85,8 +85,15 @@ export const mty=[
// ]
export
class
LeadPage
extends
Component
{
constructor
(
props
)
{
super
(
props
)
this
.
state
=
{
fil
:
''
}
}
columns
=
[{
title
:
'创建报文'
,
title
:
<
div
>
<
Input
placeholder
=
"输入报文类型数字,快速筛选"
size
=
"large"
onChange
=
{
e
=>
this
.
setState
({
fil
:
e
.
target
.
value
})}
/
>
<
/div>
,
dataIndex
:
'desp'
,
key
:
'desp'
,
render
:(
text
,
record
)
=>
{
...
...
@@ -99,6 +106,7 @@ export class LeadPage extends Component
},
]
render
()
{
return
(
...
...
@@ -119,7 +127,7 @@ export class LeadPage extends Component
<
Col
span
=
{
3
}
/
>
<
Col
span
=
{
18
}
>
<
Table
columns
=
{
this
.
columns
}
dataSource
=
{
mty
}
/
>
<
Table
columns
=
{
this
.
columns
}
dataSource
=
{
this
.
state
.
fil
?
mty
.
filter
(
item
=>
item
.
mty
.
startsWith
(
'mt'
+
this
.
state
.
fil
)):
mty
}
/
>
<
/Col
>
<
Col
span
=
{
3
}
/
>
...
...
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