Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cauchy-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
cauchy-ui
Commits
f88d03e5
Commit
f88d03e5
authored
Jul 21, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.quantgroup.cn/ui/cauchy-ui
parents
a6b62450
9d95cfb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
index.vue
src/views/pay/index.vue
+7
-9
No files found.
src/views/pay/index.vue
View file @
f88d03e5
...
...
@@ -216,9 +216,8 @@ export default {
mounted
()
{
this
.
orderNo
=
this
.
$route
.
query
.
orderNo
||
cookies
.
get
(
'
orderNo
'
)?.
orderNo
;
cookies
.
set
(
'
orderNo
'
,
{
orderNo
:
this
.
orderNo
});
if
(
this
.
$route
?.
query
?.
ocrflag
||
cookies
.
get
(
'
ocrflag
'
)
)
{
if
(
this
.
$route
?.
query
?.
ocrflag
)
{
this
.
payInfo
=
cookies
.
get
(
'
info
'
)
||
{};
this
.
flowOrderNo
=
this
.
payInfo
?.
paramsData
?.
flowOrderNo
||
''
;
cookies
.
remove
(
'
ocrflag
'
);
cookies
.
remove
(
'
info
'
);
// 先支付再查询信息
...
...
@@ -456,7 +455,7 @@ export default {
}
error
?.
message
&&
this
.
$toast
(
error
?.
message
);
this
.
error
=
error
?.
message
;
this
.
retrieve
();
this
.
pwdModal
&&
this
.
retrieve
();
return
;
}
const
{
creditPayInfo
=
{},
wxPayInfo
=
{},
flowOrderNo
,
aliPayInfo
=
{}
}
=
data
;
...
...
@@ -481,22 +480,22 @@ export default {
)
{
/* 密码或者短信鉴权 */
this
.
close
();
console
.
log
(
creditPayStatus
,
'
creditPayStatus
'
);
this
[
`
${
creditPayStatusType
[
creditPayStatus
]}
Modal`
]
=
true
;
return
;
}
else
if
(
creditPayStatus
===
FACE_VERIFICATION_CODE_PAY
)
{
/* 人脸鉴权 */
cookies
.
set
(
'
info
'
,
{
paramsData
,
paramsData
:
{
flowOrderNo
:
this
.
flowOrderNo
,
...
paramsData
},
payType
:
this
.
payType
,
selectedCoupon
:
this
.
selectedCoupon
,
isCheckAgreement
:
this
.
isCheckAgreement
,
mergePayPretreatmentId
:
this
.
mergePayPretreatmentId
});
this
.
close
();
setTimeout
(()
=>
{
this
.
goOcr
();
},
500
);
this
.
goOcr
();
}
},
payResult
(
type
,
error
)
{
...
...
@@ -571,7 +570,6 @@ export default {
flowOrderNo
:
this
.
flowOrderNo
,
callBackUrl
:
encodeURIComponent
(
`
${
window
.
location
.
href
}
&ocrflag=1`
)
});
cookies
.
set
(
'
ocrflag
'
,
1
);
if
(
!
res
.
callBackUrl
)
return
;
window
.
location
.
href
=
res
.
callBackUrl
;
},
...
...
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