Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
hrs_app_h5
/
bill
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
536a38c1
authored
May 09, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fee
parent
e7c4f044
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
src/views/Bill/index.vue
src/views/Bill/index.vue
View file @
536a38c1
...
...
@@ -234,10 +234,18 @@ export default {
"loadPayUrl"
]),
toPay
()
{
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=1&periodId=
${
this
.
currentPerId
}
&selected=1&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
window
.
location
.
href
=
payUrl
;
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
const
payMethod
=
0
;
const
payType
=
4
;
const
selected
=
0
;
const
fee
=
this
.
data
.
waitPay
;
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=1&periodId=
${
this
.
currentPerId
}
&payMethod=
${
payMethod
}
&payType=
${
payType
}
&fee=
${
fee
}
&selected=1&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
window
.
location
.
href
=
payUrl
;
},
toPage
(
flag
)
{
switch
(
flag
)
{
...
...
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