Commit b6acc5ad authored by linxin's avatar linxin

Merge branch 'liuxin' into develop

parents 28bc59b9 addb9294
Pipeline #4036 canceled with stages
......@@ -556,27 +556,29 @@ export default {
},
imgUploadTakePicture (check_id) {
let vm = this
let obj = {
pkvalue: check_id,
source_type: 'HLS_APP_USER',
picture: '',
check_id: check_id,
filePath: '',
attachment_id: '',
user_id: 1,
fileName: '',
}
let cameraoptions = {
quality: 100,
}
let success = function (imgUrl) {
let obj = {
pkvalue: check_id,
source_type: 'HLS_APP_USER',
picture: '',
check_id: check_id,
filePath: '',
attachment_id: '',
user_id: 1,
fileName: '',
}
obj.picture = imgUrl
obj.filePath = imgUrl
obj.picture = imgUrl[0]
obj.filePath = imgUrl[0]
vm.upLoadObj = obj.picture
// 拍完一张立马执行保存图片逻辑
vm.save_picture(obj)
}
let error = function () {}
let error = function () {
hlsPopup.showLongCenter('请选择图片')
}
vm.hlsUtil.takePicture(cameraoptions, success, error)
},
openCamera (ocrType, type) {
......
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