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
3a5414dd
Commit
3a5414dd
authored
Oct 14, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'法人识别'
parent
7378e1a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+1
-1
enterprise.vue
src/pages/userBind/org/enterprise.vue
+10
-6
No files found.
src/pages/userBind/np/naturePerson.vue
View file @
3a5414dd
...
@@ -216,7 +216,7 @@
...
@@ -216,7 +216,7 @@
<img
src=
"@/assets/userBind/close.png"
@
click=
"hideModal"
>
<img
src=
"@/assets/userBind/close.png"
@
click=
"hideModal"
>
</div>
</div>
<img
v-if=
"!bankImg"
src=
"@/assets/userBind/addBack.png"
class=
"addBack"
@
click=
"ocrShow('bankCard', '')"
>
<img
v-if=
"!bankImg"
src=
"@/assets/userBind/addBack.png"
class=
"addBack"
@
click=
"ocrShow('bankCard', '')"
>
<img
v-if=
"bankImg && !isApproved"
:src=
"bankImg"
class=
"addBack"
style=
"height: 38%;"
>
<img
v-if=
"bankImg && !isApproved"
:src=
"bankImg"
class=
"addBack"
@
click=
"ocrShow('bankCard', '')"
style=
"height: 38%;"
>
<list-item
:item-height=
"44"
class=
"card-Info"
>
<list-item
:item-height=
"44"
class=
"card-Info"
>
<item>
<item>
<div
slot=
"name"
>
银行卡卡号
</div>
<div
slot=
"name"
>
银行卡卡号
</div>
...
...
src/pages/userBind/org/enterprise.vue
View file @
3a5414dd
...
@@ -41,8 +41,8 @@
...
@@ -41,8 +41,8 @@
<div
v-if=
"!licenseImg"
@
click=
"ocrShow('license', '')"
>
<div
v-if=
"!licenseImg"
@
click=
"ocrShow('license', '')"
>
<img
src=
"@/assets/userBind/camera.png"
>
<img
src=
"@/assets/userBind/camera.png"
>
</div>
</div>
<div
v-if=
"licenseImg && !isApproved"
>
<div
v-if=
"licenseImg && !isApproved"
@
click=
"ocrShow('license', '')"
style=
"width: 100%;height: 100%"
>
<img
:src=
"licenseImg"
>
<img
:src=
"licenseImg"
style=
"width: 100%;height: 100%;margin: 0"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -277,7 +277,9 @@
...
@@ -277,7 +277,9 @@
<img
src=
"@/assets/userBind/close.png"
@
click=
"hideModal"
>
<img
src=
"@/assets/userBind/close.png"
@
click=
"hideModal"
>
</div>
</div>
<img
v-if=
"!bankImg"
src=
"@/assets/userBind/addBack.png"
class=
"addBack"
@
click=
"ocrShow('bankCard', '')"
>
<img
v-if=
"!bankImg"
src=
"@/assets/userBind/addBack.png"
class=
"addBack"
@
click=
"ocrShow('bankCard', '')"
>
<img
v-if=
"bankImg && !isApproved"
:src=
"bankImg"
class=
"addBack"
style=
"height: 38%;"
>
<img
v-if=
"bankImg && !isApproved"
:src=
"bankImg"
class=
"addBack"
style=
"height: 38%;"
@
click=
"ocrShow('bankCard', '')"
>
<list-item
:item-height=
"44"
class=
"card-Info"
>
<list-item
:item-height=
"44"
class=
"card-Info"
>
<item>
<item>
<div
slot=
"name"
>
银行卡卡号
</div>
<div
slot=
"name"
>
银行卡卡号
</div>
...
@@ -409,6 +411,7 @@ export default {
...
@@ -409,6 +411,7 @@ export default {
idCardFront
:
''
,
// 身份证正面图片
idCardFront
:
''
,
// 身份证正面图片
idCardBack
:
''
,
// 身份证反面图片
idCardBack
:
''
,
// 身份证反面图片
licenseImg
:
''
,
// 营业执照照片
licenseImg
:
''
,
// 营业执照照片
bankImg
:
''
,
// 银行卡图片
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -455,10 +458,10 @@ export default {
...
@@ -455,10 +458,10 @@ export default {
}
}
},
},
'tabNum'
:
function
(
newVal
,
oldVal
)
{
'tabNum'
:
function
(
newVal
,
oldVal
)
{
/*if ((newVal === 1 && !this.bp_id) && !this.from) {
/*
if ((newVal === 1 && !this.bp_id) && !this.from) {
this.hlsPopup.showError('请先保存基本信息')
this.hlsPopup.showError('请先保存基本信息')
this.tabNum = oldVal
this.tabNum = oldVal
}*/
}
*/
},
},
},
},
created
()
{
created
()
{
...
@@ -1080,7 +1083,7 @@ export default {
...
@@ -1080,7 +1083,7 @@ export default {
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
let
result
=
res
.
result
.
words_result
let
result
=
res
.
result
.
words_result
if
(
flag
)
{
// 未授权 姓名,身份证号
if
(
vm
.
flag
)
{
// 未授权 姓名,身份证号
vm
.
baseInfo
.
legal_person
=
result
.
姓名
.
words
vm
.
baseInfo
.
legal_person
=
result
.
姓名
.
words
vm
.
legal_personMsg
.
id_card_no
=
result
.
公民身份号码
.
words
vm
.
legal_personMsg
.
id_card_no
=
result
.
公民身份号码
.
words
}
else
{
// 已授权 姓名,身份证号
}
else
{
// 已授权 姓名,身份证号
...
@@ -1116,6 +1119,7 @@ export default {
...
@@ -1116,6 +1119,7 @@ export default {
vm
.
baseInfo
.
legal_person
=
result
.
法人
.
words
vm
.
baseInfo
.
legal_person
=
result
.
法人
.
words
vm
.
baseInfo
.
registered_place
=
result
.
地址
.
words
vm
.
baseInfo
.
registered_place
=
result
.
地址
.
words
vm
.
baseInfo
.
organization_code
=
result
.
社会信用代码
.
words
vm
.
baseInfo
.
organization_code
=
result
.
社会信用代码
.
words
alert
(
JSON
.
stringify
(
result
))
})
})
},
},
},
},
...
...
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