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
331d2945
authored
May 09, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
payurl window.location.href
parent
6ab21063
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
14 deletions
src/views/Bill/index.vue
src/views/Bill/record.vue
src/views/More/index.vue
src/views/Bill/index.vue
View file @
331d2945
...
@@ -234,16 +234,10 @@ export default {
...
@@ -234,16 +234,10 @@ export default {
"loadPayUrl"
"loadPayUrl"
]),
]),
toPay
()
{
toPay
()
{
let
payUrl
=
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
this
.
payUrl
+
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
"&accountType=1&payType=3&selected=1&failUrl="
+
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=1&periodId=
${
this
.
currentPerId
}
&selected=1&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
)
+
window
.
location
.
href
=
payUrl
;
"&successUrl="
+
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
)
+
""
+
"&periodId="
+
this
.
currentPerId
;
window
.
open
(
payUrl
);
},
},
toPage
(
flag
)
{
toPage
(
flag
)
{
switch
(
flag
)
{
switch
(
flag
)
{
...
@@ -436,7 +430,7 @@ export default {
...
@@ -436,7 +430,7 @@ export default {
"padding-top:"
+
conHeight
+
"px !important"
"padding-top:"
+
conHeight
+
"px !important"
);
);
}
}
},
2
00
);
},
1
00
);
},
},
closeWebView
()
{
closeWebView
()
{
try
{
try
{
...
...
src/views/Bill/record.vue
View file @
331d2945
...
@@ -101,7 +101,7 @@ export default {
...
@@ -101,7 +101,7 @@ export default {
this
.
setPageNavState
();
this
.
setPageNavState
();
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
this
.
accountId
=
this
.
$route
.
query
.
accountId
;
this
.
accountId
=
this
.
$route
.
query
.
accountId
;
const
f
or
mType
=
this
.
$route
.
query
.
fromType
;
const
f
ro
mType
=
this
.
$route
.
query
.
fromType
;
console
.
log
(
"fromType="
,
fromType
);
console
.
log
(
"fromType="
,
fromType
);
if
(
!
fromType
)
{
if
(
!
fromType
)
{
if
(
this
.
getBeginDate
>
"2020-04-30"
)
{
if
(
this
.
getBeginDate
>
"2020-04-30"
)
{
...
...
src/views/More/index.vue
View file @
331d2945
...
@@ -77,8 +77,8 @@ export default {
...
@@ -77,8 +77,8 @@ export default {
toPay
()
{
toPay
()
{
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=19&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=19&
selected=1&
failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
window
.
open
(
payUrl
)
;
window
.
location
.
href
=
payUrl
;
},
},
toPage
()
{
toPage
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
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