修改delRow中compileId传值bug

This commit is contained in:
duandongmei
2018-06-14 16:04:37 +08:00
parent 45fc0f8cf1
commit c2b16db99a

View File

@@ -140,7 +140,7 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
if(str.substr(str.length-1)== ','){
ids = str.substr(0,str.length-1);
}
if(compileIdStr.substr(str.length-1)== ','){
if(compileIdStr.substr(compileIdStr.length-1)== ','){
compileIds = compileIdStr.substr(0,compileIdStr.length-1);
}
if(ids == ""){
@@ -152,9 +152,9 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
if(v=="ok"){
if(url.indexOf("?")>0){
window.location = url+"&ids="+ids+"&compileIds"+compileIds;
window.location = url+"&ids="+ids+"&compileIds="+compileIds;
}else{
window.location = url+"?ids="+ids+"&compileIds"+compileIds;
window.location = url+"?ids="+ids+"&compileIds="+compileIds;
}
//$("#searchForm").submit();