Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
xugong
hls-xcmg-vue-app
Commits
2bd354e2
Commit
2bd354e2
authored
Jan 06, 2020
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'1.6问题修复'
parent
fd107659
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
534 additions
and
7 deletions
+534
-7
body-check.vue
src/pages/carConfirm/body-check.vue
+486
-0
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+8
-3
body-check.vue
src/pages/contractSigning/body-check.vue
+12
-0
body-check.vue
src/pages/distributorSign/body-check.vue
+12
-0
bank-info.vue
src/pages/userBindNew/np/bank-info.vue
+5
-2
bankInfo.vue
src/pages/userBindNew/org/bankInfo.vue
+11
-2
No files found.
src/pages/carConfirm/body-check.vue
0 → 100644
View file @
2bd354e2
This diff is collapsed.
Click to expand it.
src/pages/carConfirm/confirm-detail.vue
View file @
2bd354e2
...
...
@@ -167,13 +167,17 @@
</tab-button>
<tab-button
class=
"approve"
@
click
.
native=
"isConfirm"
>
确定
</tab-button>
</bottom-tab>
<!--活体检测-->
<body-check
ref=
"body"
:check_id=
"$route.params.check_id"
:confirm_id=
"confirm_id"
/>
</h-view>
</
template
>
<
script
>
import
Tab
from
'@/pages/carConfirm/tab'
import
bodyCheck
from
'./body-check'
export
default
{
components
:
{
Tab
,
bodyCheck
,
},
filters
:
{
lengthCheck
:
function
(
value
)
{
...
...
@@ -371,13 +375,14 @@ export default {
})
},
goBodyCheck
(
confirm_id
)
{
// 活体检测
this
.
$router
.
push
({
this
.
$refs
.
body
.
show
()
/*this.$router.push({
name: 'BodyCheck',
params: {
check_id: this.$route.params.check_id,
confirm_id: confirm_id,
},
})
})
*/
},
// 图片保存
save_picture
(
list
)
{
...
...
src/pages/contractSigning/body-check.vue
View file @
2bd354e2
...
...
@@ -199,6 +199,18 @@ export default {
}
},
})
}
else
if
(
res
.
result
.
result
.
code
.
create
!==
res
.
result
.
result
.
code
.
identify
)
{
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
`检测失败,您可能朗读的语音码有误,是否重新重新尝试?`
,
onConfirm
:
data
=>
{
if
(
data
)
{
// 重新尝试
vm
.
getCode
()
}
else
{
}
},
})
}
else
{
hlsPopup
.
showPopup
({
title
:
'提示'
,
...
...
src/pages/distributorSign/body-check.vue
View file @
2bd354e2
...
...
@@ -199,6 +199,18 @@ export default {
}
},
})
}
else
if
(
res
.
result
.
result
.
code
.
create
!==
res
.
result
.
result
.
code
.
identify
)
{
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
`检测失败,您可能朗读的语音码有误,是否重新重新尝试?`
,
onConfirm
:
data
=>
{
if
(
data
)
{
// 重新尝试
vm
.
getCode
()
}
else
{
}
},
})
}
else
{
hlsPopup
.
showPopup
({
title
:
'提示'
,
...
...
src/pages/userBindNew/np/bank-info.vue
View file @
2bd354e2
...
...
@@ -239,7 +239,7 @@ export default {
},
})
}
else
{
this
.
hlsPopup
.
showLongCenter
(
'
请先保存
'
)
this
.
hlsPopup
.
showLongCenter
(
'
电子签认证出错
'
)
}
},
async
getNpCertificationUrl
()
{
...
...
@@ -251,9 +251,12 @@ export default {
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
$post
(
url
,
param
)
hlsPopup
.
hideLoading
()
if
(
res
.
info
.
code
===
0
)
{
if
(
(
res
.
info
.
code
===
0
)
&&
(
res
.
info
.
data
.
authUrl
)
)
{
vm
.
authUrl
=
res
.
info
.
data
.
authUrl
return
vm
.
authUrl
}
else
if
((
res
.
info
.
code
===
0
)
&&
(
res
.
info
.
data
.
openId
)){
vm
.
authUrl
=
res
.
info
.
data
.
openId
return
vm
.
authUrl
}
else
{
hlsPopup
.
showError
(
res
.
info
.
msg
)
return
''
...
...
src/pages/userBindNew/org/bankInfo.vue
View file @
2bd354e2
...
...
@@ -312,6 +312,9 @@ export default {
},
})
}
else
{
this
.
hlsPopup
.
showLongCenter
(
'电子签认证出错'
)
}
},
// 获取个人认证url
async
getNpCertificationUrl
()
{
...
...
@@ -323,9 +326,12 @@ export default {
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
$post
(
url
,
param
)
hlsPopup
.
hideLoading
()
if
(
res
.
info
.
code
===
0
)
{
if
(
(
res
.
info
.
code
===
0
)
&&
(
res
.
info
.
data
.
authUrl
)
)
{
vm
.
authUrl
=
res
.
info
.
data
.
authUrl
return
vm
.
authUrl
}
else
if
((
res
.
info
.
code
===
0
)
&&
(
res
.
info
.
data
.
openId
)){
vm
.
authUrl
=
res
.
info
.
data
.
openId
return
vm
.
authUrl
}
else
{
hlsPopup
.
showError
(
res
.
info
.
msg
)
//vm.errorMsg = res.info.msg
...
...
@@ -342,9 +348,12 @@ export default {
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
$post
(
url
,
param
)
hlsPopup
.
hideLoading
()
if
(
res
.
info
.
code
===
0
)
{
if
(
(
res
.
info
.
code
===
0
)
&&
(
res
.
info
.
data
.
authUrl
)
)
{
vm
.
authUrl
=
res
.
info
.
data
.
authUrl
return
vm
.
authUrl
}
else
if
((
res
.
info
.
code
===
0
)
&&
(
res
.
info
.
data
.
openId
)){
vm
.
authUrl
=
res
.
info
.
data
.
openId
return
vm
.
authUrl
}
else
{
hlsPopup
.
showError
(
res
.
info
.
msg
)
return
''
...
...
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