Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
project
jinfa-admin
Commits
82cd56d9
Commit
82cd56d9
authored
Dec 28, 2020
by
Bill
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into test
parents
fc2c1aa6
2163c70c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
index.tsx
...leSettingManage/platformSettlementStrategy/list/index.tsx
+13
-1
No files found.
src/pages/ruleSettingManage/platformSettlementStrategy/list/index.tsx
View file @
82cd56d9
...
...
@@ -4,7 +4,7 @@
*/
import
React
,
{
useRef
}
from
'react'
;
import
{
Card
,
Button
}
from
'antd'
;
import
{
Card
,
Button
,
Space
}
from
'antd'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
{
StandardTable
}
from
'god'
;
import
{
PublicApi
}
from
'@/services/api'
;
...
...
@@ -75,12 +75,24 @@ const MemberSettle: React.FC<{}> = () => {
return
null
}
return
(
<
Space
>
<
Link
to=
{
`/ruleSettingManager/platformSettlementStrategy/edit?id=${record.id}`
}
>
修改
</
Link
>
<
Button
type=
"link"
onClick=
{
()
=>
handleRemove
({
id
:
record
.
id
})
}
>
删除
</
Button
>
</
Space
>
)
}
},
]
const
handleRemove
=
(
params
)
=>
{
PublicApi
.
postSettleAccountsPlatformConfigDeletePlatformSettlementStrategy
(
params
)
.
then
(({
data
,
code
})
=>
{
if
(
code
===
1000
)
{
formActions
.
submit
();
}
})
}
const
goToCreate
=
()
=>
{
history
.
push
(
'/ruleSettingManager/platformSettlementStrategy/add'
);
}
...
...
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