Commit f801015a authored by 李晓兵's avatar 李晓兵

'身份证上传'

parent c3fb9f2b
......@@ -616,6 +616,7 @@ export default {
'pkvalue': check_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': check_id,
'filePath': '',
'attachment_id': '',
'user_id': 1,
......@@ -643,11 +644,13 @@ export default {
quality: 100,
}
let success = function (imgUrl) {
var list = []
for (let i = 0; i < imgUrl.length; i++) {
let obj = {
'pkvalue': check_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'check_id': check_id,
'filePath': '',
'attachment_id': '',
'user_id': 1,
......@@ -655,7 +658,6 @@ export default {
}
obj.picture = imgUrl[i]
obj.filePath = imgUrl[i]
var list = []
list.push(obj)
}
// 拍完一张立马执行保存图片逻辑
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment