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

'附件上传'

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