<a id="btn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'">查询</a>
//查询按钮
$("#btn").click(function () {
loadtable();
});
1.切换查询条件时改变表格(datagrid的传参方式是queryParams)中第一列的表头名称
$("#btn").click(function () {
$(".datagrid-cell-c1-Name").first().find("span:first").html($("#fanwei").combobox("getText"));
//loadtable();
$("#dt_dayw").datagrid("load", {
fanwei: $("#fanwei").combobox("getValue"),
year: $("#time").combobox("getValue")
});
});