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();
}

相关文章:

  • 2021-10-23
  • 2021-08-10
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2023-01-04
猜你喜欢
  • 2021-04-17
  • 2022-12-23
  • 2021-05-25
  • 2021-06-20
  • 2022-03-04
  • 2022-02-10
相关资源
相似解决方案