...
|
...
|
@@ -16,6 +16,7 @@ |
|
|
.div_search .textbox { margin-top: 20px; }
|
|
|
.div_search .easyui-linkbutton { margin-top: 20px; }
|
|
|
</style>
|
|
|
<div style="margin-left: 30px;" class="div_search">
|
|
|
<label>开始时间:</label>
|
|
|
<input class="easyui-datetimebox" id="beginTime">
|
|
|
</input>
|
...
|
...
|
@@ -25,7 +26,7 @@ |
|
|
</input>
|
|
|
|
|
|
<label>订单号:</label>
|
|
|
<input class="easyui-textbox" id="orderCode">
|
|
|
<input class="easyui-textbox" id="orderCode" >
|
|
|
</input>
|
|
|
|
|
|
<label>联盟用户ID:</label>
|
...
|
...
|
@@ -36,6 +37,7 @@ |
|
|
<input class="easyui-textbox" id="unionType">
|
|
|
</input>
|
|
|
<a id="searchBtn" class="btn-info">查询</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div region="center">
|
|
|
<div style="margin-left: 30px;margin-top: 20px; height: 500px;">
|
...
|
...
|
@@ -48,7 +50,12 @@ |
|
|
$("#userOrdersTable").myDatagrid({
|
|
|
fit: true,
|
|
|
fitColumns: true,
|
|
|
//queryParams: param,
|
|
|
queryParams:{
|
|
|
beginTime : $("#beginTime").val(),
|
|
|
endTime : $("#endTime").val(),
|
|
|
orderCode : $("#orderCode").val(),
|
|
|
unionId : $("#unionId").val()
|
|
|
},
|
|
|
nowrap: false,
|
|
|
url: contextPath + "/UnionRest/queryUnionOrders",
|
|
|
method: 'POST',
|
...
|
...
|
@@ -152,16 +159,28 @@ |
|
|
}
|
|
|
});
|
|
|
|
|
|
$("#searchBtn").linkbutton({
|
|
|
iconCls: "icon-search",
|
|
|
text: "查询",
|
|
|
onClick: function () {
|
|
|
var param = {};
|
|
|
function getParam(table) {
|
|
|
var paramsArray = $("#"+table+"").serializeArray();
|
|
|
var params = {};
|
|
|
for (var i = 0; i < paramsArray.length; i++) {
|
|
|
params[paramsArray[i].name] = paramsArray[i].value;
|
|
|
}
|
|
|
return params;
|
|
|
}
|
|
|
|
|
|
$("#userOrdersTable").myDatagrid("load", param);
|
|
|
$("#searchBtn").linkbutton({
|
|
|
iconCls : "icon-search",
|
|
|
onClick : function() {
|
|
|
$("#userOrdersTable").datagrid("load", {
|
|
|
beginTime : $("#beginTime").val(),
|
|
|
endTime : $("#endTime").val(),
|
|
|
orderCode : $("#orderCode").val(),
|
|
|
unionId : $("#unionId").val()
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
});
|
|
|
</script>
|
|
|
</body>
|
...
|
...
|
|