<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>健康检查指标计划</title>
|
[#include "/business/pages/include/static.html" /]
|
</head>
|
<body class="fullscreen">
|
[#include "/business/pages/include/header.html" /]
|
[#assign focusLabel = 'PZLB'/]
|
[#include "/business/pages/health/healthPlanHeader.html" /]
|
|
<div class="fs_navtitle" >
|
<div class="fs_navtitle_con common_list" style="margin:0 15px;">
|
<div class="fsnt_btn">
|
<a class="operating_conmon" href="javascript:edit('${RequestParameters.planId}','${RequestParameters.subId}');"><span>新增</span></a>
|
</div>
|
</div>
|
</div>
|
<div class="fs_main clearfix">
|
<div id="main"></div>
|
<div class="paging clearfix" id="pagination"></div>
|
</div>
|
<script type="text/javascript">
|
var nowPage = 1;
|
var cusId = '${RequestParameters.cusId}';
|
var planId = '${RequestParameters.planId}';
|
function query(){
|
var subCusId = $("#subCusId").val();
|
var state = $("#state").val();
|
var params = {'cusId':cusId,'planId':planId,'subCusId':subCusId,'state':state};
|
pagination("${base}/business/pages/health/healthCfgData.html","${base}/business/pages/health/healthCfgCount.html","main","pagination",{cpage:nowPage,psize:10},params,function(data,page) {
|
nowPage = page;
|
});
|
}
|
|
$(function() {
|
query();
|
})
|
|
function edit(planId,subId){
|
var url = "${base}/business/pages/health/selCfgList.html?planId="+planId+"&subId="+subId;
|
window.top.openDialog("0","新增",
|
{},
|
{"width":65,"height":50},
|
[{btnId:"btnSure", btnName:"提交", btnStyle:"bluebtn"}],
|
url);
|
}
|
|
function detail(id){
|
var url = "${base}/business/pages/health/healthPlanDetail.html?id="+id;
|
window.top.openDialog("0","详情",
|
{},
|
{"width":50,"height":60},
|
[],
|
url);
|
}
|
|
//删除设备
|
function delDevice(ciId,type) {
|
var msg;
|
if(type == 1) {
|
msg = "确定要启用该配置吗?";
|
} else {
|
msg = "确定要禁用该配置吗?";
|
}
|
window.top.confirmInfo('信息确认', msg, function(){
|
$.post("${base}/business/pages/health/delCi.html", {'ciId':ciId,"type":type},function(data,textStatus){
|
if(data=="1"){
|
window.top.popupTips("操作成功");
|
window.location.reload();
|
} else {
|
window.top.popupTips("操作失败");
|
}
|
});
|
});
|
}
|
</script>
|
[#include "/business/pages/include/footer.html" /]
|
</body>
|
</html>
|