<%@ Page Language="C#" AutoEventWireup="true" CodeFile="tes.aspx.cs" Inherits="query_tes" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>危化品存放时间预警</title>
<link href="../jquery-easyui-1.4.5/demo/demo.css" rel="stylesheet" />
<link href="../jquery-easyui-1.4.5/themes/default/easyui.css" rel="stylesheet" id="easyuiTheme" />
<link href="../jquery-easyui-1.4.5/themes/icon.css" rel="stylesheet" />
<script src="../jquery-easyui-1.4.5/jquery.min.js"></script>
<script type="text/javascript" src="../jquery-easyui-1.4.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../jquery-easyui-1.4.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
function reloadGrid1() {
var ashxurl = "../query/ashx/queryData.ashx?action=dateWarningList&r=" + Math.random();
//var cxms = $('#cxms').combobox("getValue");
$('#tt').datagrid('loadData', { total: 0, rows: [] });
$("#tt").datagrid({
dataType: 'json',
nowrap: false,
pagination: true,
rownumbers: true,
fit: true,
method: 'post',
queryParams: {
},
loadMsg: '数据加载中请稍后……',
url: ashxurl,
pageSize: 20,
pageList: [20, 50, 100],
onBeforeLoad: function (row, param) {
if (row) {
}
}
, onLoadSuccess: function () {
//setcname("cname");//设置sds链接
alert(1);
}
, onLoadError: function () {
alert(2);
}
});
}
function doSearch() {
reloadGrid1();
}
</script>
</head>
<body style="padding: 1px 4px 0 2px;">
<a href="#" onclick="doSearch();">查询</a>
<table id="tt" class="easyui-treegrid">
<thead>
<tr>
<th data-options="fixed:false,field:'wfwName' ,width:200,halign:'center',align:'left'">化学品名称</th>
</tr>
</thead>
</table>
</body>
</html>