/ function dataOrder(sort,order){ var requestForm = $("#requestForm"); if ($('#orderDir').length > 0) { $('#orderDir').remove(); } if ($('#orderColumn').length > 0) { $('#orderColumn').remove(); } var orderColumn = $(''); requestForm.append(orderColumn); var orderDir = $(''); requestForm.append(orderDir); $.ajax({ type: "post", url: "/database/drughi/list", data: requestForm.serialize(), success: function (response) { $("#data_content").html(response); } }); return false; } /** * 导出 */ $(document).on("click", "#exportExcel", function () { var requestForm = $("#requestForm"); requestForm.attr("action", "/database/drughi/export"); requestForm.attr("target", "_blank"); requestForm.submit(); });