|
@@ -342,7 +342,7 @@
|
|
/*actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.recruitPlanChangeId + '\')"><i class="fa fa-edit"></i> 编辑</a> ');*/
|
|
/*actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.recruitPlanChangeId + '\')"><i class="fa fa-edit"></i> 编辑</a> ');*/
|
|
actions.push('<a class="btn btn-danger btn-xs" href="javascript:void(0)" onclick="remove(' + index + ',this)"><i class="fa fa-remove"></i> </a>');
|
|
actions.push('<a class="btn btn-danger btn-xs" href="javascript:void(0)" onclick="remove(' + index + ',this)"><i class="fa fa-remove"></i> </a>');
|
|
return actions.join('');
|
|
return actions.join('');
|
|
- }
|
|
|
|
|
|
+ }
|
|
}]
|
|
}]
|
|
};
|
|
};
|
|
|
|
|
|
@@ -585,7 +585,7 @@
|
|
function remove(index, obj) {
|
|
function remove(index, obj) {
|
|
$.modal.confirm("确认删除么?", function () {
|
|
$.modal.confirm("确认删除么?", function () {
|
|
$("#bootstrap-table").bootstrapTable('remove', {
|
|
$("#bootstrap-table").bootstrapTable('remove', {
|
|
- field: 'recruitPlanChildId',
|
|
|
|
|
|
+ field: 'recruitPlanChangeId',
|
|
values: JSON.parse("[" + $("input[name=\'columns[" + index + "].nprs\']").attr("id") + "]")
|
|
values: JSON.parse("[" + $("input[name=\'columns[" + index + "].nprs\']").attr("id") + "]")
|
|
})
|
|
})
|
|
});
|
|
});
|