Commit 010925a3 authored by agping's avatar agping

1

parent 20c90b06
......@@ -679,7 +679,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
//获取反面图片
if(data.data.id_card_image_back){
$('#container_body_img_area_reverse_edit').append('<div class="result-reverse-edit"><img data-imgname="{0}" src="{1}" alt="" class="diagram-image J_preview"/> <span class="span-del-reverse">删除</span></div>'.stringFormatObj({
'0': data.data.id_card_image_front,
'0': data.data.id_card_image_back,
'1':ServerHostImageLiu + '/static/user_id_card/' + data.data.id_card_image_back
}));
}
......
......@@ -106,7 +106,7 @@ define(['doT', 'text!temp/attendance_template_tpl.html', 'css!style/home.css', '
that.checkFinish(e.target.dataset.index)
})
//批量上传上传处理事件
$("#file_input").change(function() {
$("#file_input").change(function(e) {
var _this = $(this);
var formData = new FormData();
formData.append('setting_date', cost.getDate());
......@@ -126,6 +126,7 @@ define(['doT', 'text!temp/attendance_template_tpl.html', 'css!style/home.css', '
if(_data.code == 200) {
alert(_data.msg);
cost.getList(1);
e.target.value = '';//置空input值 可以上传重复文件
} else {
alert(_data.msg);
};
......
......@@ -261,7 +261,7 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
}
});
//批量上传上传处理事件
$("#file_input").change(function() {
$("#file_input").change(function(e) {
var _this = $(this);
var formData = new FormData();
// formData.append('AuthToken', user_info_obj.AuthToken);
......@@ -281,6 +281,8 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
if(_data.code == 200) {
alert(_data.msg);
cost.getList(1);
e.target.value = '';//置空input值 可以上传重复文件
} else {
alert(_data.msg);
};
......
......@@ -595,6 +595,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
$('#order_id').val("");
$('#house_id').val("");
$('#house_address').val("");
$('#district_id2_city').val("");
$('#commit_home').val("");
$('#commit_shop').val("");
$('#comit_name').val("");
......
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