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
d34ba129
Commit
d34ba129
authored
Mar 17, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
23aaf9e1
Pipeline
#5226
canceled with stages
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
69 additions
and
18 deletions
+69
-18
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+1
-1
accessory-info.vue
src/pages/userBindNew/np/accessory-info.vue
+18
-3
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+32
-11
enclosure.vue
src/pages/userBindNew/org/enclosure.vue
+18
-3
No files found.
src/pages/carConfirm/confirm-detail.vue
View file @
d34ba129
...
...
@@ -391,7 +391,7 @@ export default {
}
let
success
=
function
(
imgdata
)
{
obj
.
filePath
=
imgdata
vm
.
confirmContractSign
(
hlsUtil
.
convertImageUrl
(
imgdata
)
)
vm
.
confirmContractSign
(
imgdata
)
vm
.
faceListUpload
.
push
(
obj
)
}
let
error
=
function
()
{
...
...
src/pages/userBindNew/np/accessory-info.vue
View file @
d34ba129
...
...
@@ -273,6 +273,9 @@ export default {
house_id
:
''
,
car_id
:
''
,
estate_id
:
''
,
houseImgUpload
:
''
,
carImgUpload
:
''
,
estateImgUpload
:
''
,
houseFlag
:
false
,
// 房产证查看标识,为false则用查询出来的,为true则用拍照出来的
carFlag
:
false
,
// 行驶证查看标识,为false则用查询出来的,为true则用拍照出来的
estateFlag
:
false
,
// 不动产权证查看标识,为false则用查询出来的,为true则用拍照出来的
...
...
@@ -383,6 +386,9 @@ export default {
success
:
''
,
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
),
}
vm
.
houseImgUpload
=
''
vm
.
carImgUpload
=
''
vm
.
estateImgUpload
=
''
vm
.
houseImg
=
''
vm
.
carImg
=
''
vm
.
estateImg
=
''
...
...
@@ -444,6 +450,9 @@ export default {
success
:
''
,
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
),
}
vm
.
houseImgUpload
=
''
vm
.
carImgUpload
=
''
vm
.
estateImgUpload
=
''
vm
.
houseImg
=
''
vm
.
carImg
=
''
vm
.
estateImg
=
''
...
...
@@ -623,7 +632,7 @@ export default {
source_type
:
'PRJ_CDD_ITEM_CHECK'
,
picture
:
''
,
check_id
:
vm
.
house_id
,
filePath
:
vm
.
houseImg
,
filePath
:
vm
.
houseImg
Upload
,
attachment_id
:
''
,
user_id
:
1
,
fileName
:
'房产证'
,
...
...
@@ -641,7 +650,7 @@ export default {
source_type
:
'PRJ_CDD_ITEM_CHECK'
,
picture
:
''
,
check_id
:
vm
.
estate_id
,
filePath
:
vm
.
estateImg
,
filePath
:
vm
.
estateImg
Upload
,
attachment_id
:
''
,
user_id
:
1
,
fileName
:
'不动产权证'
,
...
...
@@ -659,7 +668,7 @@ export default {
source_type
:
'PRJ_CDD_ITEM_CHECK'
,
picture
:
''
,
check_id
:
vm
.
car_id
,
filePath
:
vm
.
carImg
,
filePath
:
vm
.
carImg
Upload
,
attachment_id
:
''
,
user_id
:
1
,
fileName
:
'行驶证'
,
...
...
@@ -698,14 +707,17 @@ export default {
if
(
ocrType
===
'HOUSE_CARD'
)
{
vm
.
isUploadHouse
=
true
vm
.
houseImg
=
hlsUtil
.
convertImageUrl
(
imgdata
)
vm
.
houseImgUpload
=
imgdata
vm
.
houseIdentify
(
imgdata
)
}
else
if
(
ocrType
===
'CAR_CARD'
)
{
vm
.
isUploadCar
=
true
vm
.
carImg
=
hlsUtil
.
convertImageUrl
(
imgdata
)
vm
.
carImgUpload
=
imgdata
vm
.
carIdentify
(
imgdata
)
}
else
if
(
ocrType
===
'REAL_EST_CERTIFICATE'
)
{
vm
.
isUploadEstate
=
true
vm
.
estateImg
=
hlsUtil
.
convertImageUrl
(
imgdata
)
vm
.
estateImgUpload
=
imgdata
vm
.
estateIdentify
(
imgdata
)
}
}
...
...
@@ -790,15 +802,18 @@ export default {
}
else
{
if
(
ocrType
===
'HOUSE_CARD'
)
{
vm
.
houseImg
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
])
vm
.
houseImgUpload
=
imgUrl
[
0
]
vm
.
isUploadHouse
=
true
vm
.
houseIdentify
(
imgUrl
[
0
])
}
else
if
(
ocrType
===
'CAR_CARD'
)
{
vm
.
carImg
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
])
vm
.
carImgUpload
=
imgUrl
[
0
]
vm
.
isUploadCar
=
true
vm
.
carIdentify
(
imgUrl
[
0
])
}
else
if
(
ocrType
===
'REAL_EST_CERTIFICATE'
)
{
vm
.
isUploadEstate
=
true
vm
.
estateImg
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
])
vm
.
estateImgUpload
=
imgUrl
[
0
]
vm
.
estateIdentify
(
imgUrl
[
0
])
}
}
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
d34ba129
...
...
@@ -443,11 +443,17 @@ export default {
bp_id
:
''
,
flag
:
true
,
// 显示未授权框
bpClass
:
''
,
laImgUpload
:
''
,
from
:
false
,
inputNum
:
false
,
// 填写业务经办
isApproved
:
false
,
// 审批通过为true
isAddNewType
:
false
,
hasPeople
:
false
,
// 是否有第二角色
idCardFrontUpload
:
''
,
idCardBackUpload
:
''
,
authidCardFrontUpload
:
''
,
authidCardBackUpload
:
''
,
licenseImgUpload
:
''
,
isAGENT
:
this
.
$route
.
params
.
isAGENT
,
// 是否为经销商
isMultiRole
:
this
.
$route
.
params
.
isMultiRole
,
// 担保人/承租人为true
img_url
:
{},
...
...
@@ -603,6 +609,8 @@ export default {
vm
.
isAddNewType
=
false
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
/* || from.fullPath === '/margin-first-pay' */
vm
.
bp_type_flag
=
false
vm
.
licenseImgUpload
=
''
vm
.
laImgUpload
=
''
vm
.
legal_personMsg
=
{
id_card_no
:
null
,
bp_legal_name
:
''
,
...
...
@@ -623,6 +631,10 @@ export default {
vm
.
multiBpTypeSelectList
=
[]
// 选择的角色
vm
.
multiRoleList
=
[]
// 查询的角色
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
idCardFrontUpload
=
''
vm
.
idCardBackUpload
=
''
vm
.
authidCardFrontUpload
=
''
vm
.
authidCardBackUpload
=
''
vm
.
idCardFront
=
''
// 身份证正面图片
vm
.
idCardBack
=
''
// 身份证反面图片
vm
.
authidCardFront
=
''
// 授权人身份证正面图片
...
...
@@ -655,6 +667,8 @@ export default {
vm
.
hasMultiRole
=
false
vm
.
isApproved
=
false
vm
.
bp_type_flag
=
false
vm
.
licenseImgUpload
=
''
vm
.
laImgUpload
=
''
vm
.
multiBpType
=
{
bp_type_n
:
''
,
bp_type
:
''
,
...
...
@@ -667,6 +681,10 @@ export default {
id_card_date_from
:
''
,
// 法定代表人身份证有效期从
id_card_date_to
:
''
,
// 法定代表人身份证有效期到
}
vm
.
idCardFrontUpload
=
''
vm
.
idCardBackUpload
=
''
vm
.
authidCardFrontUpload
=
''
vm
.
authidCardBackUpload
=
''
vm
.
baseInfo
=
{
agent_username
:
''
,
district_id
:
''
,
...
...
@@ -1538,12 +1556,13 @@ export default {
hlsPopup
.
showLongCenter
(
'请拍照'
)
}
else
{
if
(
ocrType
===
'idCard'
)
{
type
===
'front'
?
(
vm
.
idCardFront
=
hlsUtil
.
convertImageUrl
(
imgdata
),
vm
.
idCardIdentify
(
imgdata
,
'idCard'
),
vm
.
idCardFront
EditFlag
=
true
)
:
(
vm
.
idCardBack
=
hlsUtil
.
convertImageUrl
(
imgdata
),
vm
.
idCardBackIdentify
(
imgdata
,
'idCard'
)
,
vm
.
idCardBackEditFlag
=
true
)
type
===
'front'
?
(
vm
.
idCardFront
=
hlsUtil
.
convertImageUrl
(
imgdata
),
vm
.
idCardIdentify
(
imgdata
,
'idCard'
),
vm
.
idCardFront
Upload
=
imgdata
,
vm
.
idCardFrontEditFlag
=
true
)
:
(
vm
.
idCardBack
=
hlsUtil
.
convertImageUrl
(
imgdata
),
vm
.
idCardBackIdentify
(
imgdata
,
'idCard'
),
vm
.
idCardBackUpload
=
imgdata
,
vm
.
idCardBackEditFlag
=
true
)
}
else
if
(
ocrType
===
'authidCard'
)
{
type
===
'front'
?
(
vm
.
authidCardFront
=
hlsUtil
.
convertImageUrl
(
imgdata
),
vm
.
idCardIdentify
(
imgdata
,
'authidCard'
),
vm
.
authidCardFront
EditFlag
=
true
)
:
(
vm
.
authidCardBack
=
hlsUtil
.
convertImageUrl
(
imgdata
),
vm
.
idCardBackIdentify
(
imgdata
,
'authidCard'
)
,
vm
.
authidCardBackEditFlag
=
true
)
type
===
'front'
?
(
vm
.
authidCardFront
=
hlsUtil
.
convertImageUrl
(
imgdata
),
vm
.
idCardIdentify
(
imgdata
,
'authidCard'
),
vm
.
authidCardFront
Upload
=
imgdata
,
vm
.
authidCardFrontEditFlag
=
true
)
:
(
vm
.
authidCardBack
=
hlsUtil
.
convertImageUrl
(
imgdata
),
vm
.
idCardBackIdentify
(
imgdata
,
'authidCard'
),
vm
.
authidCardBackUpload
=
imgdata
,
vm
.
authidCardBackEditFlag
=
true
)
}
else
if
(
ocrType
===
'license'
)
{
vm
.
licenseEditFlag
=
true
// 营业执照图片状态已修改
vm
.
licenseImg
=
hlsUtil
.
convertImageUrl
(
imgdata
)
vm
.
licenseImgUpload
=
imgdata
vm
.
licenseIdentify
(
imgdata
)
}
}
...
...
@@ -1566,12 +1585,13 @@ export default {
hlsPopup
.
showLongCenter
(
'请选择一张图片'
)
}
else
{
if
(
ocrType
===
'idCard'
)
{
type
===
'front'
?
(
vm
.
idCardFront
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
]),
vm
.
idCardIdentify
(
imgUrl
[
0
],
'idCard'
),
vm
.
idCardFront
EditFlag
=
true
)
:
(
vm
.
idCardBack
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
]),
vm
.
idCardBackIdentify
(
imgUrl
[
0
],
'idCard'
)
,
vm
.
idCardBackEditFlag
=
true
)
type
===
'front'
?
(
vm
.
idCardFront
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
]),
vm
.
idCardIdentify
(
imgUrl
[
0
],
'idCard'
),
vm
.
idCardFront
Upload
=
imgUrl
[
0
],
vm
.
idCardFrontEditFlag
=
true
)
:
(
vm
.
idCardBack
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
]),
vm
.
idCardBackIdentify
(
imgUrl
[
0
],
'idCard'
),
vm
.
idCardBackUpload
=
imgUrl
[
0
]
,
vm
.
idCardBackEditFlag
=
true
)
}
else
if
(
ocrType
===
'authidCard'
)
{
type
===
'front'
?
(
vm
.
authidCardFront
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
]),
vm
.
idCardIdentify
(
imgUrl
[
0
],
'authidCard'
),
vm
.
authidCardFront
EditFlag
=
true
)
:
(
vm
.
authidCardBack
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
]),
vm
.
idCardBackIdentify
(
imgUrl
[
0
],
'authidCard'
)
,
vm
.
authidCardBackEditFlag
=
true
)
type
===
'front'
?
(
vm
.
authidCardFront
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
]),
vm
.
idCardIdentify
(
imgUrl
[
0
],
'authidCard'
),
vm
.
authidCardFront
Upload
=
imgUrl
[
0
],
vm
.
authidCardFrontEditFlag
=
true
)
:
(
vm
.
authidCardBack
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
]),
vm
.
idCardBackIdentify
(
imgUrl
[
0
],
'authidCard'
),
vm
.
authidCardBackUpload
=
imgUrl
[
0
]
,
vm
.
authidCardBackEditFlag
=
true
)
}
else
if
(
ocrType
===
'license'
)
{
vm
.
licenseEditFlag
=
true
// 营业执照图片状态已修改
vm
.
licenseImg
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
])
vm
.
licenseImgUpload
=
imgUrl
[
0
]
vm
.
licenseIdentify
(
imgUrl
[
0
])
}
}
...
...
@@ -1755,7 +1775,6 @@ export default {
vm
.
load_picture
(
item
.
check_id
,
index
,
item
.
cdd_item
)
})
}
if
(
vm
.
idCardFrontEditFlag
)
{
// 法定代表人身份证正面图片已修改,重新上传
vm
.
idCardFrontUrlFlag
=
true
vm
.
delete_pic_to_ocr
(
vm
.
idCardFrontAttachmentId
)
// 先删除之前识别的图片
...
...
@@ -1765,7 +1784,7 @@ export default {
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'picture'
:
''
,
'check_id'
:
vm
.
idCardFrontCheck_id
,
'filePath'
:
vm
.
idCardFront
,
'filePath'
:
vm
.
idCardFront
Upload
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'法人身份证正面'
,
...
...
@@ -1783,7 +1802,7 @@ export default {
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'picture'
:
''
,
'check_id'
:
vm
.
idCardBackCheck_id
,
'filePath'
:
vm
.
idCardBack
,
'filePath'
:
vm
.
idCardBack
Upload
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'法人身份证背面'
,
...
...
@@ -1801,7 +1820,7 @@ export default {
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'picture'
:
''
,
'check_id'
:
vm
.
authidCardFrontCheck_id
,
'filePath'
:
vm
.
authidCardFront
,
'filePath'
:
vm
.
authidCardFront
Upload
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'授权人身份证正面'
,
...
...
@@ -1819,7 +1838,7 @@ export default {
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'picture'
:
''
,
'check_id'
:
vm
.
authidCardBackCheck_id
,
'filePath'
:
vm
.
authidCardBack
,
'filePath'
:
vm
.
authidCardBack
Upload
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'授权人身份证背面'
,
...
...
@@ -1837,7 +1856,7 @@ export default {
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'picture'
:
''
,
'check_id'
:
vm
.
licenseCheck_id
,
'filePath'
:
vm
.
licenseImg
,
'filePath'
:
vm
.
licenseImg
Upload
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'企业营业执照'
,
...
...
@@ -1855,7 +1874,7 @@ export default {
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'picture'
:
''
,
'check_id'
:
vm
.
laCheck_id
,
'filePath'
:
vm
.
laImg
,
'filePath'
:
vm
.
laImg
Upload
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'授权证书'
,
...
...
@@ -1909,6 +1928,7 @@ export default {
let
success
=
function
(
imgdata
)
{
vm
.
LaEditFlag
=
true
vm
.
laImg
=
hlsUtil
.
convertImageUrl
(
imgdata
)
vm
.
laImgUpload
=
imgdata
}
let
error
=
function
()
{
hlsPopup
.
showLongCenter
(
'请拍照'
)
...
...
@@ -1926,6 +1946,7 @@ export default {
}
else
{
vm
.
LaEditFlag
=
true
vm
.
laImg
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
])
vm
.
laImgUpload
=
imgUrl
[
0
]
}
}
let
error
=
function
()
{
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
d34ba129
...
...
@@ -354,6 +354,9 @@ export default {
propertyFlag
:
false
,
// 不动产证查看标识,为false则用查询出来的,为true则用拍照出来的
carImg
:
''
,
houseImg
:
''
,
houseImgUpload
:
''
,
carImgUpload
:
''
,
estateImgUpload
:
''
,
propertyImg
:
''
,
// 不动产识别图片
from
:
false
,
bp_id
:
''
,
...
...
@@ -471,6 +474,9 @@ export default {
words_result_num
:
''
,
success
:
''
,
}
vm
.
houseImgUpload
=
''
vm
.
carImgUpload
=
''
vm
.
estateImgUpload
=
''
vm
.
upload_list
=
[]
// 上传图片列表
vm
.
dowload_list
=
[]
vm
.
cddItemList
=
[]
...
...
@@ -534,6 +540,9 @@ export default {
words_result_num
:
''
,
success
:
''
,
}
vm
.
houseImgUpload
=
''
vm
.
carImgUpload
=
''
vm
.
estateImgUpload
=
''
vm
.
upload_list
=
[]
// 上传图片列表
vm
.
dowload_list
=
[]
vm
.
cddItemList
=
[]
...
...
@@ -741,7 +750,7 @@ export default {
source_type
:
'PRJ_CDD_ITEM_CHECK'
,
picture
:
''
,
check_id
:
vm
.
house_id
,
filePath
:
vm
.
houseImg
,
filePath
:
vm
.
houseImg
Upload
,
attachment_id
:
''
,
user_id
:
1
,
fileName
:
'房产证'
,
...
...
@@ -759,7 +768,7 @@ export default {
source_type
:
'PRJ_CDD_ITEM_CHECK'
,
picture
:
''
,
check_id
:
vm
.
car_id
,
filePath
:
vm
.
carImg
,
filePath
:
vm
.
carImg
Upload
,
attachment_id
:
''
,
user_id
:
1
,
fileName
:
'行驶证'
,
...
...
@@ -777,7 +786,7 @@ export default {
source_type
:
'PRJ_CDD_ITEM_CHECK'
,
picture
:
''
,
check_id
:
vm
.
property_id
,
filePath
:
vm
.
propertyImg
,
filePath
:
vm
.
estateImgUpload
,
attachment_id
:
''
,
user_id
:
1
,
fileName
:
'不动产权证'
,
...
...
@@ -818,14 +827,17 @@ export default {
if
(
ocrType
===
'HOUSE_CARD'
)
{
vm
.
isUploadHouse
=
true
vm
.
houseImg
=
hlsUtil
.
convertImageUrl
(
imgdata
)
vm
.
houseImgUpload
=
imgdata
vm
.
houseCardIdentify
(
imgdata
)
}
else
if
(
ocrType
===
'CAR_CARD'
)
{
vm
.
isUploadCar
=
true
vm
.
carImg
=
hlsUtil
.
convertImageUrl
(
imgdata
)
vm
.
carImgUpload
=
imgdata
vm
.
carCardIdentify
(
imgdata
)
}
else
if
(
ocrType
===
'REAL_EST_CERTIFICATE'
)
{
vm
.
isUploadProperty
=
true
vm
.
propertyImg
=
hlsUtil
.
convertImageUrl
(
imgdata
)
vm
.
estateImgUpload
=
imgdata
vm
.
propertyIdentify
(
imgdata
)
}
}
...
...
@@ -849,15 +861,18 @@ export default {
}
else
{
if
(
ocrType
===
'HOUSE_CARD'
)
{
vm
.
houseImg
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
])
vm
.
houseImgUpload
=
imgUrl
[
0
]
vm
.
isUploadHouse
=
true
vm
.
houseCardIdentify
(
imgUrl
[
0
])
}
else
if
(
ocrType
===
'CAR_CARD'
)
{
vm
.
carImg
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
])
vm
.
carImgUpload
=
imgUrl
[
0
]
vm
.
isUploadCar
=
true
vm
.
carCardIdentify
(
imgUrl
[
0
])
}
else
if
(
ocrType
===
'REAL_EST_CERTIFICATE'
)
{
vm
.
isUploadProperty
=
true
vm
.
propertyImg
=
hlsUtil
.
convertImageUrl
(
imgUrl
[
0
])
vm
.
estateImgUpload
=
imgUrl
[
0
]
vm
.
propertyIdentify
(
imgUrl
[
0
])
}
}
...
...
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