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
898ee81e
authored
May 13, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://gitlab.corp.qinqinxiaobao.com:9880/hrs_app_h5/bill
parents
f33c7d0b
da88f7d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
src/views/Bill/index.vue
src/views/More/index.vue
src/views/Bill/index.vue
View file @
898ee81e
...
...
@@ -244,7 +244,8 @@ export default {
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
}
`
;
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=1&periodId=
${
this
.
currentPerId
}
&payMethod=
${
payMethod
}
&payType=
${
payType
}
&fee=
${
fee
}
&selected=0&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
window
.
location
.
href
=
payUrl
;
},
toPage
(
flag
)
{
...
...
@@ -503,6 +504,9 @@ export default {
this
.
setBarHeightLowBee
();
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
await
this
.
loadPeriodData
();
},
async
created
(){
this
.
payUrl
=
await
this
.
loadPayUrl
();
}
};
...
...
src/views/More/index.vue
View file @
898ee81e
...
...
@@ -77,7 +77,7 @@ export default {
toPay
()
{
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=19&selected=
1
&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=19&selected=
0
&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
console
.
log
(
'payUrl='
,
payUrl
);
window
.
location
.
href
=
payUrl
;
},
...
...
@@ -117,7 +117,9 @@ export default {
async
mounted
()
{
this
.
setPageNavState
();
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
await
this
.
getData
();
await
this
.
getData
();
},
async
created
(){
this
.
payUrl
=
await
this
.
loadPayUrl
();
}
};
...
...
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