function deletefile() {
debugger
var contId = ajaxform.getColumnValue("contId");
var records = applyFileGrid.collectData(true,"checked");
var records1 = applyFileGrid.getCheckedRecords();
if(records1.length==0){
alert("请选中数据,然后删除");
return ;
}
var dataArr = [] ;
dataArr.push(records);
$.request({
action: "deletefile",
data: dataArr,
params: {
contId : contId ,
},
success: dd
});
}
function dd(response){
debugger
var applyFileWrap = response.getAjaxDataWrap("applyFileWrap"); //项目附件
applyFileGrid.setData(applyFileWrap);
applyFileGrid.reset();
}