//提交审批
function PlanSubmit(index) {
clickRow(index);
var row = $('#grid').datagrid('getSelected');
if (row) {
$.ajax({
url: '<%: Url.Content("~/DeployModule/ShiftChange/Transfer?documentNumber=") %>' + row.id,
success: function (msg) {
$.messager.alert('提示', theJsonValue.Message, 'info', function () {
})
}
});
}
下面网址有详细例子: