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
eb7f8489
Commit
eb7f8489
authored
Nov 19, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'附件名'
parent
3142a682
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
26 deletions
+26
-26
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+12
-12
enterprise.vue
src/pages/userBind/org/enterprise.vue
+14
-14
No files found.
src/pages/userBind/np/naturePerson.vue
View file @
eb7f8489
...
...
@@ -306,7 +306,7 @@
</div>
</div>
</div>
<div
class=
"card-upload"
@
click=
"imgUploadShow(list.check_id)"
>
<div
class=
"card-upload"
@
click=
"imgUploadShow(list.
description,list.
check_id)"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
</div>
...
...
@@ -677,7 +677,7 @@ export default {
'filePath'
:
vm
.
idCardFront
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'
front
'
,
'fileName'
:
'
自然人身份证正面
'
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
...
...
@@ -693,7 +693,7 @@ export default {
'filePath'
:
vm
.
idCardBack
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'
back
'
,
'fileName'
:
'
自然人身份证背面
'
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
...
...
@@ -709,7 +709,7 @@ export default {
'filePath'
:
vm
.
idCardFrontSp
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'
front
'
,
'fileName'
:
'
配偶身份证正面
'
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
...
...
@@ -725,7 +725,7 @@ export default {
'filePath'
:
vm
.
idCardBackSp
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'
back
'
,
'fileName'
:
'
配偶身份证背面
'
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
...
...
@@ -807,7 +807,7 @@ export default {
}
},
// 图片上传入口
imgUploadShow
(
check_id
)
{
imgUploadShow
(
description
,
check_id
)
{
let
vm
=
this
// vm.upload_list = []
hlsPopup
.
showActionSheet
({
...
...
@@ -815,14 +815,14 @@ export default {
buttonArray
:
[
'拍照'
,
'从相册取'
],
callback
:
index
=>
{
if
(
index
===
0
)
{
vm
.
imgUploadOpenCamera
(
check_id
)
vm
.
imgUploadOpenCamera
(
description
,
check_id
)
}
else
{
vm
.
imgUploadTakePicture
(
check_id
)
vm
.
imgUploadTakePicture
(
description
,
check_id
)
}
},
})
},
imgUploadOpenCamera
(
check_id
)
{
imgUploadOpenCamera
(
description
,
check_id
)
{
let
vm
=
this
let
obj
=
{
'pkvalue'
:
check_id
,
...
...
@@ -832,7 +832,7 @@ export default {
'filePath'
:
''
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
''
,
'fileName'
:
description
+
'_'
+
new
Date
().
getTime
()
,
}
let
cameraoptions
=
{
quality
:
100
,
...
...
@@ -851,7 +851,7 @@ export default {
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
imgUploadTakePicture
(
check_id
)
{
imgUploadTakePicture
(
description
,
check_id
)
{
let
vm
=
this
let
cameraoptions
=
{
quality
:
100
,
...
...
@@ -867,7 +867,7 @@ export default {
'filePath'
:
''
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
''
,
'fileName'
:
description
+
'_'
+
new
Date
().
getTime
()
,
}
obj
.
picture
=
imgUrl
[
i
]
obj
.
filePath
=
imgUrl
[
i
]
...
...
src/pages/userBind/org/enterprise.vue
View file @
eb7f8489
...
...
@@ -394,7 +394,7 @@
</div>
</div>
</div>
<div
class=
"card-upload"
@
click=
"imgUploadShow(list.check_id)"
>
<div
class=
"card-upload"
@
click=
"imgUploadShow(list.
description,list.
check_id)"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
</div>
...
...
@@ -1563,7 +1563,7 @@ export default {
'filePath'
:
vm
.
idCardFront
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'
front
'
,
'fileName'
:
'
法人身份证正面
'
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
...
...
@@ -1579,7 +1579,7 @@ export default {
'filePath'
:
vm
.
idCardBack
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'
back
'
,
'fileName'
:
'
法人身份证背面
'
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
...
...
@@ -1595,7 +1595,7 @@ export default {
'filePath'
:
vm
.
authidCardFront
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'
front
'
,
'fileName'
:
'
授权人身份证正面
'
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
...
...
@@ -1611,7 +1611,7 @@ export default {
'filePath'
:
vm
.
authidCardBack
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'
back
'
,
'fileName'
:
'
授权人身份证背面
'
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
...
...
@@ -1627,7 +1627,7 @@ export default {
'filePath'
:
vm
.
licenseImg
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
''
,
'fileName'
:
'
企业营业执照
'
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
...
...
@@ -1643,7 +1643,7 @@ export default {
'filePath'
:
vm
.
laImg
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
''
,
'fileName'
:
'
授权证书
'
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
...
...
@@ -1760,7 +1760,7 @@ export default {
vm
.
hlsUtil
.
takePicture
(
cameraoptions
,
success
,
error
)
},
// 图片上传入口
imgUploadShow
(
check_id
)
{
imgUploadShow
(
description
,
check_id
)
{
let
vm
=
this
// vm.upload_list = []
hlsPopup
.
showActionSheet
({
...
...
@@ -1768,14 +1768,14 @@ export default {
buttonArray
:
[
'拍照'
,
'从相册取'
],
callback
:
index
=>
{
if
(
index
===
0
)
{
vm
.
imgUploadOpenCamera
(
check_id
)
vm
.
imgUploadOpenCamera
(
description
,
check_id
)
}
else
{
vm
.
imgUploadTakePicture
(
check_id
)
vm
.
imgUploadTakePicture
(
description
,
check_id
)
}
},
})
},
imgUploadOpenCamera
(
check_id
)
{
imgUploadOpenCamera
(
description
,
check_id
)
{
let
vm
=
this
let
obj
=
{
'pkvalue'
:
check_id
,
...
...
@@ -1785,7 +1785,7 @@ export default {
'filePath'
:
''
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
''
,
'fileName'
:
description
+
'_'
+
new
Date
().
getTime
()
,
}
let
cameraoptions
=
{
quality
:
100
,
...
...
@@ -1804,7 +1804,7 @@ export default {
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
imgUploadTakePicture
(
check_id
)
{
imgUploadTakePicture
(
description
,
check_id
)
{
let
vm
=
this
let
cameraoptions
=
{
quality
:
100
,
...
...
@@ -1820,7 +1820,7 @@ export default {
'filePath'
:
''
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
''
,
'fileName'
:
description
+
'_'
+
new
Date
().
getTime
()
,
}
obj
.
picture
=
imgUrl
[
i
]
obj
.
filePath
=
imgUrl
[
i
]
...
...
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