<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>选择指标项</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/cfgcateSelector.html" /]
|
</head>
|
|
<body class="fullscreen">
|
|
|
<div class="fs_main clearfix">
|
<div class="event_fill list_common_select">
|
<table><tr><th width="85%">
|
<div class="fill_item"><label>指标名称:</label><input class="general" type="text" id="itemName"/></div>
|
<div class="fill_item"><label>配置三级分类:</label>
|
[@cfgcate id="fullCateId" name="fullCateName" lv="2" /]
|
</div>
|
</th><td width="15%">
|
<a class="retrievebtn" id="reset">重置</a><a class="retrievebtn focus" onclick="psearch();">查询</a>
|
</td></tr></table>
|
</div>
|
</div>
|
<div class="fs_main clearfix">
|
<div id="main"></div>
|
<div class="paging clearfix" id="pagination" style="margin-bottom:10px;"></div>
|
</div>
|
|
<script type="text/javascript">
|
|
|
var customerId = '${RequestParameters.customerId}';
|
var nowPage = 1;
|
function query() {
|
var itemName=$.trim($("#itemName").val());
|
var itemType=$.trim($("#itemType").val());
|
var cate=$.trim($("#fullCateId").val());
|
var state=$.trim($("#state").val());
|
var params = {"customerId":customerId,"itemName":itemName,"itemType":itemType,"cate":cate,"state":state};
|
pagination("${base}/business/pages/customerconfig/slacustomer/checkHealthItems.html","${base}/business/pages/customerconfig/slacustomer/checkHealthItemsCount.html","main","pagination",{cpage:nowPage,psize:10},params,function(data,page) {
|
nowPage = page;
|
});
|
}
|
|
$(function() {
|
query();
|
$("#reset").click(function() {
|
window.location.reload(true);
|
});
|
|
|
$(":checkbox.selectItem").live("click",function() {
|
var tableCheckboxLen = $(":checkbox.selectItem").length;
|
var tableCheckboxCheckedLen = $(":checkbox.selectItem:checked").length;
|
$("#checkAll").attr("checked",(tableCheckboxLen == tableCheckboxCheckedLen));
|
});
|
|
})
|
|
|
function psearch() {
|
nowPage = 1;
|
query();
|
}
|
|
|
|
|
|
</script>
|
|
|
</body>
|
</html>
|