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
1af4f69a
Commit
1af4f69a
authored
Nov 14, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'测试附件'
parent
e5538b5f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
4 deletions
+17
-4
contract-details.vue
src/pages/distributorSign/contract-details.vue
+5
-0
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+4
-0
enterprise.vue
src/pages/userBind/org/enterprise.vue
+7
-3
hlsUtil.js
src/scripts/hlsUtil.js
+1
-1
No files found.
src/pages/distributorSign/contract-details.vue
View file @
1af4f69a
...
@@ -340,6 +340,9 @@ export default {
...
@@ -340,6 +340,9 @@ export default {
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
let
cardUrl
=
process
.
env
.
filePath
+
'attachment_id='
+
res
.
info
.
attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
let
cardUrl
=
process
.
env
.
filePath
+
'attachment_id='
+
res
.
info
.
attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
return
cardUrl
return
cardUrl
}
else
if
(
res
.
result
===
'S'
&&
!
res
.
info
.
attachment_id
)
{
hlsPopup
.
showLongCenter
(
'未找到身份证照片'
)
return
null
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
return
null
return
null
...
@@ -369,6 +372,8 @@ export default {
...
@@ -369,6 +372,8 @@ export default {
}
}
},
},
})
})
}
else
{
hlsPopup
.
showLongCenter
(
'比对失败'
)
}
}
})
})
},
},
...
...
src/pages/userBind/np/naturePerson.vue
View file @
1af4f69a
...
@@ -739,6 +739,10 @@ export default {
...
@@ -739,6 +739,10 @@ export default {
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
showSuccess
(
'保存成功'
)
vm
.
hlsPopup
.
showSuccess
(
'保存成功'
)
vm
.
isSave
=
true
vm
.
isSave
=
true
vm
.
idCardFrontEditFlag
=
false
// 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardBackEditFlag
=
false
// 身份证反面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardFrontSpEditFlag
=
false
// 配偶身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
idCardBackSpEditFlag
=
false
// 配偶身份证反面修改标识,为true则标识已修改,后续需要重新上传此照片
window
.
localStorage
.
setItem
(
'user_id'
,
res
.
bp_id
)
window
.
localStorage
.
setItem
(
'user_id'
,
res
.
bp_id
)
window
.
sessionStorage
.
setItem
(
'user_id'
,
res
.
bp_id
)
window
.
sessionStorage
.
setItem
(
'user_id'
,
res
.
bp_id
)
window
.
sessionStorage
.
setItem
(
'bp_name'
,
vm
.
baseInfo
.
bp_name
)
window
.
sessionStorage
.
setItem
(
'bp_name'
,
vm
.
baseInfo
.
bp_name
)
...
...
src/pages/userBind/org/enterprise.vue
View file @
1af4f69a
...
@@ -280,7 +280,7 @@
...
@@ -280,7 +280,7 @@
<div
v-if=
"authidCardFront"
@
click=
"ocrShow('authidCard', 'front')"
>
<div
v-if=
"authidCardFront"
@
click=
"ocrShow('authidCard', 'front')"
>
<img
:src=
"authidCardFront"
style=
"width: 100%;height: 100%;margin: 0"
>
<img
:src=
"authidCardFront"
style=
"width: 100%;height: 100%;margin: 0"
>
</div>
</div>
<!--
<div
v-if=
"authidCardFront && !isApproved"
@
click=
"ocrShow('authidCard', 'front')"
>
<!--
<div
v-if=
"authidCardFront && !isApproved"
@
click=
"ocrShow('authidCard', 'front')"
>
<img
:src=
"authidCardFront"
style=
"width: 100%;height: 100%;margin: 0"
>
<img
:src=
"authidCardFront"
style=
"width: 100%;height: 100%;margin: 0"
>
</div>
</div>
<div
v-if=
"isApproved && authidCardFront"
>
<div
v-if=
"isApproved && authidCardFront"
>
...
@@ -1077,8 +1077,12 @@ export default {
...
@@ -1077,8 +1077,12 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
showSuccess
(
'保存成功'
)
vm
.
hlsPopup
.
showSuccess
(
'保存成功'
)
// window.localStorage.setItem('user_id', res.bp_id)
vm
.
idCardFrontEditFlag
=
false
// 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
// window.sessionStorage.setItem('user_id', res.bp_id)
vm
.
idCardBackEditFlag
=
false
// 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
authidCardFrontEditFlag
=
false
// 授权人身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
authidCardBackEditFlag
=
false
// 授权人身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
licenseEditFlag
=
false
// 营业执照照片修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
LaEditFlag
=
false
// 授权书图片修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
bp_id
=
res
.
bp_id
vm
.
bp_id
=
res
.
bp_id
vm
.
getBankInfo
()
vm
.
getBankInfo
()
// 查询资料清单
// 查询资料清单
...
...
src/scripts/hlsUtil.js
View file @
1af4f69a
...
@@ -395,7 +395,7 @@ export default {
...
@@ -395,7 +395,7 @@ export default {
}
}
options
.
mimeType
=
'multipart/form-date'
options
.
mimeType
=
'multipart/form-date'
let
ft
=
new
FileTransfer
()
// eslint-disable-line
let
ft
=
new
FileTransfer
()
// eslint-disable-line
alert
(
'options.fileName '
+
options
.
fileName
)
function
uploadSuccess
(
result
)
{
function
uploadSuccess
(
result
)
{
success
(
JSON
.
parse
(
result
.
response
))
success
(
JSON
.
parse
(
result
.
response
))
}
}
...
...
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