Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
shenshaokai
jinfa-platform
Commits
fa61b6c3
Commit
fa61b6c3
authored
Jan 28, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加操作成功页面跳转
parent
42ac3e24
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
verify.tsx
...vice/exchangeApplication/exchangePrConfirmBack/verify.tsx
+8
-0
verify.tsx
...rService/returnApplication/returnPrConfirmBack/verify.tsx
+8
-0
No files found.
src/pages/afterService/exchangeApplication/exchangePrConfirmBack/verify.tsx
View file @
fa61b6c3
...
...
@@ -86,6 +86,10 @@ const ExchangePrConfirmBackVerify: React.FC = () => {
onOk
()
{
return
PublicApi
.
postAsReplaceGoodsContinueReturnDeliveryGoods
({
dataId
:
id
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
history
.
goBack
();
}
});
},
});
...
...
@@ -103,6 +107,10 @@ const ExchangePrConfirmBackVerify: React.FC = () => {
onOk
()
{
return
PublicApi
.
postAsReplaceGoodsContinueReturnDeliveryGoods
({
dataId
:
id
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
history
.
goBack
();
}
});
},
});
...
...
src/pages/afterService/returnApplication/returnPrConfirmBack/verify.tsx
View file @
fa61b6c3
...
...
@@ -86,6 +86,10 @@ const ReturnPrConfirmBackVerify: React.FC = () => {
onOk
()
{
return
PublicApi
.
postAsReturnGoodsContinueReturnDeliveryGoods
({
dataId
:
id
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
history
.
goBack
();
}
});
},
});
...
...
@@ -103,6 +107,10 @@ const ReturnPrConfirmBackVerify: React.FC = () => {
onOk
()
{
return
PublicApi
.
postAsReturnGoodsContinueReturnDeliveryGoods
({
dataId
:
id
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
history
.
goBack
();
}
});
},
});
...
...
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