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

'附件上传'

parent 00d9b872
......@@ -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': '',
......
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