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

'附件上传'

parent 2efe1da6
......@@ -549,6 +549,7 @@ export default {
// 图片上传入口
imgUploadShow (check_id) {
let vm = this
vm.upload_list = []
hlsPopup.showActionSheet({
titleText: '请选择照片',
buttonArray: ['拍照', '从相册取'],
......@@ -627,12 +628,12 @@ export default {
clearInterval(recordUploadInterval)
hlsPopup.hideLoading()
hlsPopup.showLongCenter('图片上传成功')
alert('返回结果 ' + JSON.stringify(vm.upload_list))
}
}, 500)
for (var i = 0; i < list.length; i++) {
let uploadSuccess = function (res) {
if (res.result === 'S') {
alert('返回结果 ' + JSON.stringify(res.response))
alreadyUploadNum++
for (var j = 0; j < list.length; j++) {
if (list[j].filePath === res.response.filePath) {
......@@ -1246,8 +1247,8 @@ export default {
.close {
position: absolute;
color: #F96F68;
margin-top: -45px;
margin-left: 40px;
margin-top: -12%;
margin-left: 12%;
img{
width: 14px;
height: 14px;
......
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