Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
group-buy-ui
Commits
60e87ead
Commit
60e87ead
authored
Oct 03, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1f52f729
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
index.vue
src/views/pay/index.vue
+9
-0
payResult.vue
src/views/pay/payResult.vue
+1
-0
No files found.
src/views/pay/index.vue
View file @
60e87ead
...
@@ -533,6 +533,15 @@ export default {
...
@@ -533,6 +533,15 @@ export default {
},
},
payResult
(
type
,
error
)
{
payResult
(
type
,
error
)
{
/* 跳转支付结果页面 */
/* 跳转支付结果页面 */
alert
(
JSON
.
stringify
({
reason
:
error
,
orderNo
:
this
.
orderNo
,
payType
:
this
.
payType
,
amount
:
this
.
amountInfo
.
finalAmt
||
''
,
freeAmount
:
this
.
amountInfo
.
freeAmount
||
''
})
);
this
.
$router
.
replace
({
this
.
$router
.
replace
({
name
:
`pay
${
type
}
`
,
name
:
`pay
${
type
}
`
,
query
:
{
query
:
{
...
...
src/views/pay/payResult.vue
View file @
60e87ead
...
@@ -96,6 +96,7 @@ export default {
...
@@ -96,6 +96,7 @@ export default {
};
};
},
},
created
()
{
created
()
{
alert
(
'
query=
'
+
JSON
.
stringify
(
this
.
$route
.
query
));
const
{
orderNo
,
reason
,
amount
,
freeAmount
,
payType
}
=
this
.
$route
.
query
;
const
{
orderNo
,
reason
,
amount
,
freeAmount
,
payType
}
=
this
.
$route
.
query
;
const
{
success
}
=
this
.
$route
.
meta
;
const
{
success
}
=
this
.
$route
.
meta
;
this
.
payType
=
payType
||
''
;
this
.
payType
=
payType
||
''
;
...
...
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