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
68603861
Commit
68603861
authored
Oct 16, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'附件上传'
parent
00d9b872
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+5
-7
No files found.
src/pages/userBind/np/naturePerson.vue
View file @
68603861
...
...
@@ -471,9 +471,9 @@ export default {
if
(
res
.
result
===
'S'
)
{
vm
.
cddItemList
=
[...
res
.
lists
]
// 查询图片
/*
vm.cddItemList.forEach(item => {
vm
.
cddItemList
.
forEach
(
item
=>
{
vm
.
load_picture
(
item
.
check_id
)
})
*/
})
}
})
},
...
...
@@ -557,9 +557,8 @@ export default {
imgUploadOpenCamera
(
check_id
){
let
vm
=
this
let
obj
=
{
'pkvalue'
:
7928
,
'pkvalue'
:
check_id
,
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'check_id'
:
check_id
,
'picture'
:
''
,
'filePath'
:
''
,
'attachment_id'
:
''
,
...
...
@@ -581,7 +580,7 @@ export default {
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
imgUploadTakePicture
(){
imgUploadTakePicture
(
check_id
){
let
vm
=
this
let
cameraoptions
=
{
quality
:
100
,
...
...
@@ -589,9 +588,8 @@ export default {
let
success
=
function
(
imgUrl
)
{
for
(
let
i
=
0
;
i
<
imgUrl
.
length
;
i
++
)
{
let
obj
=
{
'pkvalue'
:
7928
,
'pkvalue'
:
check_id
,
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'check_id'
:
check_id
,
'picture'
:
''
,
'filePath'
:
''
,
'attachment_id'
:
''
,
...
...
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