src/main/webapp/static/js/plan/plan.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/webapp/static/js/plan/plan.js
@@ -273,9 +273,15 @@ }); } ,done: function(res, index, upload){ //成功的回调 if (res.code == 200) { element.progress('progress-demo-'+ index, '100%'); //执行进度条。n 即为返回的进度百分比 layer.msg('上传成功', {icon: 1}); $("#progress-id-" + index).html("已完成") }else { element.progress('progress-demo-'+ index, '100%'); //执行进度条。n 即为返回的进度百分比 layer.msg('上传失败', {icon: 2}); $("#progress-id-" + index).html("上传失败") } var that = this; //if(res.code == 0){ //上传成功 var tr = that.elemList.find('tr#upload-'+ index)