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
ee450c5d
Commit
ee450c5d
authored
Oct 17, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'bug修复'
parent
6c5f1333
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
37 deletions
+58
-37
main.js
src/main.js
+2
-2
my-info.vue
src/pages/myInfo/my-info.vue
+2
-1
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+26
-15
enterprise.vue
src/pages/userBind/org/enterprise.vue
+28
-19
No files found.
src/main.js
View file @
ee450c5d
...
@@ -58,8 +58,8 @@ import Jpush from './scripts/jpushService'
...
@@ -58,8 +58,8 @@ import Jpush from './scripts/jpushService'
import
Jmessage
from
'./scripts/jmessageService'
import
Jmessage
from
'./scripts/jmessageService'
//if (process.env.CONFIG_ENV === 'uat') {
//if (process.env.CONFIG_ENV === 'uat') {
const
VConsole
=
require
(
'vconsole'
)
//
const VConsole = require('vconsole')
new
VConsole
()
// eslint-disable-line
//
new VConsole() // eslint-disable-line
//}
//}
Vue
.
use
(
componentInstall
)
Vue
.
use
(
componentInstall
)
...
...
src/pages/myInfo/my-info.vue
View file @
ee450c5d
...
@@ -396,8 +396,9 @@ export default {
...
@@ -396,8 +396,9 @@ export default {
background: #00469c;
background: #00469c;
border-radius: 4px;
border-radius: 4px;
color: #fff;
color: #fff;
margin-bottom: 6
0
px;
margin-bottom: 6
8
px;
margin-left:2%;
margin-left:2%;
margin-top: 20px;
}
}
}
}
.content {
.content {
...
...
src/pages/userBind/np/naturePerson.vue
View file @
ee450c5d
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
<input
<input
slot=
"content"
slot=
"content"
v-model=
"bank.bank_account_num"
v-model=
"bank.bank_account_num"
readonly
placeholder=
"识别银行卡自动填充"
placeholder=
"识别银行卡自动填充"
>
>
</item>
</item>
...
@@ -267,7 +267,7 @@
...
@@ -267,7 +267,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
银行名称
</div>
<div
slot=
"name"
>
银行名称
</div>
<input
slot=
"content"
v-model=
"bank.bank_full_name"
readonly
placeholder=
"识别银行卡自动填充"
>
<input
slot=
"content"
v-model=
"bank.bank_full_name"
placeholder=
"识别银行卡自动填充"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
支行名称
</div>
<div
slot=
"name"
>
支行名称
</div>
...
@@ -410,9 +410,9 @@ export default {
...
@@ -410,9 +410,9 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
// 绑定查询入口
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
// 绑定查询入口
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
from
=
true
vm
.
basicInfoQuery
()
vm
.
basicInfoQuery
()
vm
.
loadItemList
()
// 附件查询
vm
.
loadItemList
()
// 附件查询
vm
.
from
=
true
})
})
}
}
next
()
next
()
...
@@ -457,6 +457,7 @@ export default {
...
@@ -457,6 +457,7 @@ export default {
})
})
},
},
async
verified
()
{
async
verified
()
{
this
.
dowload_list
=
[]
// 保存之前将图片下载列表清空,防止出现重复的图片
let
bpId
=
await
this
.
saveWord
()
let
bpId
=
await
this
.
saveWord
()
this
.
getBankInfo
()
this
.
getBankInfo
()
// 查询资料清单
// 查询资料清单
...
@@ -464,7 +465,7 @@ export default {
...
@@ -464,7 +465,7 @@ export default {
},
},
loadItemList
()
{
loadItemList
()
{
let
vm
=
this
let
vm
=
this
let
bpId
=
window
.
localStorage
.
getItem
(
'user_id'
)
let
bpId
=
vm
.
from
?
vm
.
$route
.
params
.
bp_id
:
window
.
localStorage
.
getItem
(
'user_id'
)
let
url
=
process
.
env
.
basePath
+
'prj_cdd_check_list'
let
url
=
process
.
env
.
basePath
+
'prj_cdd_check_list'
let
param
=
{
let
param
=
{
master
:
{
master
:
{
...
@@ -711,12 +712,17 @@ export default {
...
@@ -711,12 +712,17 @@ export default {
height
:
1382
,
height
:
1382
,
}
}
let
success
=
function
(
imgdata
)
{
let
success
=
function
(
imgdata
)
{
if
(
ocrType
===
'idCard'
)
{
if
(
!
imgdata
){
type
===
'front'
?
(
vm
.
idCardFront
=
imgdata
)
:
(
vm
.
idCardBack
=
imgdata
)
hlsPopup
.
showLongCenter
(
'请拍照'
)
vm
.
idCardIdentify
(
imgdata
)
}
}
else
if
(
ocrType
===
'bankCard'
)
{
else
{
vm
.
bankImg
=
imgdata
if
(
ocrType
===
'idCard'
)
{
vm
.
bankCardIdentify
(
imgdata
)
type
===
'front'
?
(
vm
.
idCardFront
=
imgdata
,
vm
.
idCardIdentify
(
imgdata
))
:
(
vm
.
idCardBack
=
imgdata
)
vm
.
idCardIdentify
(
imgdata
)
}
else
if
(
ocrType
===
'bankCard'
)
{
vm
.
bankImg
=
imgdata
vm
.
bankCardIdentify
(
imgdata
)
}
}
}
}
}
let
error
=
function
()
{
let
error
=
function
()
{
...
@@ -733,11 +739,16 @@ export default {
...
@@ -733,11 +739,16 @@ export default {
maxCount
:
1
,
maxCount
:
1
,
}
}
let
success
=
function
(
imgUrl
)
{
let
success
=
function
(
imgUrl
)
{
if
(
ocrType
===
'idCard'
)
{
if
(
!
imgUrl
){
type
===
'front'
?
(
vm
.
idCardFront
=
imgUrl
[
0
],
vm
.
idCardIdentify
(
imgUrl
[
0
]))
:
(
vm
.
idCardBack
=
imgUrl
[
0
])
hlsPopup
.
showLongCenter
(
'请选择一张图片'
)
}
else
if
(
ocrType
===
'bankCard'
)
{
}
vm
.
bankImg
=
imgUrl
[
0
]
else
{
vm
.
bankCardIdentify
(
imgUrl
[
0
])
if
(
ocrType
===
'idCard'
)
{
type
===
'front'
?
(
vm
.
idCardFront
=
imgUrl
[
0
],
vm
.
idCardIdentify
(
imgUrl
[
0
]))
:
(
vm
.
idCardBack
=
imgUrl
[
0
])
}
else
if
(
ocrType
===
'bankCard'
)
{
vm
.
bankImg
=
imgUrl
[
0
]
vm
.
bankCardIdentify
(
imgUrl
[
0
])
}
}
}
}
}
let
error
=
function
()
{
let
error
=
function
()
{
...
...
src/pages/userBind/org/enterprise.vue
View file @
ee450c5d
...
@@ -690,6 +690,7 @@ export default {
...
@@ -690,6 +690,7 @@ export default {
},
},
verified
()
{
verified
()
{
this
.
dowload_list
=
[]
// 保存之前将图片下载列表清空,防止出现重复的图片
if
(
this
.
flag
)
{
if
(
this
.
flag
)
{
// this.flag = false
// this.flag = false
for
(
let
i
in
this
.
authMsg
)
{
for
(
let
i
in
this
.
authMsg
)
{
...
@@ -1139,14 +1140,19 @@ export default {
...
@@ -1139,14 +1140,19 @@ export default {
height
:
1382
,
height
:
1382
,
}
}
let
success
=
function
(
imgdata
)
{
let
success
=
function
(
imgdata
)
{
if
(
ocrType
===
'idCard'
)
{
if
(
!
imgdata
){
type
===
'front'
?
(
vm
.
idCardFront
=
imgdata
,
vm
.
idCardIdentify
(
imgdata
))
:
(
vm
.
idCardBack
=
imgdata
)
hlsPopup
.
showLongCenter
(
'请拍照'
)
}
else
if
(
ocrType
===
'bankCard'
)
{
}
vm
.
bankImg
=
imgdata
else
{
vm
.
bankCardIdentify
(
imgdata
)
if
(
ocrType
===
'idCard'
)
{
}
else
if
(
ocrType
===
'license'
)
{
type
===
'front'
?
(
vm
.
idCardFront
=
imgdata
,
vm
.
idCardIdentify
(
imgdata
))
:
(
vm
.
idCardBack
=
imgdata
)
vm
.
licenseImg
=
imgdata
}
else
if
(
ocrType
===
'bankCard'
)
{
vm
.
licenseIdentify
(
imgdata
)
vm
.
bankImg
=
imgdata
vm
.
bankCardIdentify
(
imgdata
)
}
else
if
(
ocrType
===
'license'
)
{
vm
.
licenseImg
=
imgdata
vm
.
licenseIdentify
(
imgdata
)
}
}
}
}
}
let
error
=
function
()
{
let
error
=
function
()
{
...
@@ -1163,17 +1169,20 @@ export default {
...
@@ -1163,17 +1169,20 @@ export default {
maxCount
:
1
,
maxCount
:
1
,
}
}
let
success
=
function
(
imgUrl
)
{
let
success
=
function
(
imgUrl
)
{
if
(
ocrType
===
'idCard'
)
{
if
(
!
imgUrl
){
type
===
'front'
hlsPopup
.
showLongCenter
(
'请选择一张图片'
)
?
(
vm
.
idCardFront
=
imgUrl
[
0
])
}
:
(
vm
.
idCardBack
=
imgUrl
[
0
])
else
{
vm
.
idCardIdentify
(
imgUrl
[
0
])
if
(
ocrType
===
'idCard'
)
{
}
else
if
(
ocrType
===
'bankCard'
)
{
type
===
'front'
?
(
vm
.
idCardFront
=
imgUrl
[
0
],
vm
.
idCardIdentify
(
imgUrl
[
0
]))
:
(
vm
.
idCardBack
=
imgUrl
[
0
])
vm
.
bankImg
=
imgUrl
[
0
]
vm
.
idCardIdentify
(
imgUrl
[
0
])
vm
.
bankCardIdentify
(
imgUrl
[
0
])
}
else
if
(
ocrType
===
'bankCard'
)
{
}
else
if
(
ocrType
===
'license'
)
{
vm
.
bankImg
=
imgUrl
[
0
]
vm
.
licenseImg
=
imgUrl
[
0
]
vm
.
bankCardIdentify
(
imgUrl
[
0
])
vm
.
licenseIdentify
(
imgUrl
[
0
])
}
else
if
(
ocrType
===
'license'
)
{
vm
.
licenseImg
=
imgUrl
[
0
]
vm
.
licenseIdentify
(
imgUrl
[
0
])
}
}
}
}
}
let
error
=
function
()
{
let
error
=
function
()
{
...
...
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