<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8" />
|
<title>${Constants.CUSTOMER_CONSTANTS}例行维护计划</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/business/pages/include/header.html" /]
|
[#assign focusLabel = 'LXWHXPZSB']
|
[#include "/business/pages/customerconfig/slacustomer/ciDailyItemheader.html" /]
|
</head>
|
<body style="width:100%;">
|
|
<div class="fs_navtitle" id="fsNavtitle" style="margin-bottom:15px;">
|
<div class="fs_navtitle_con common_list" style="margin:0 15px;">
|
<div class="fsnt_btn">
|
<a class="operating_conmon" href="javascript:selectItem();"><span>选择配置</span></a>
|
</div>
|
</div>
|
</div>
|
|
<div class="fs_main clearfix">
|
|
<table class="display_form common_list_table" style="margin-top:0;">
|
<tr class="title">
|
<td>序列</td>
|
<td width="20%">搜索码</td>
|
<td width="20%">配置名称</td>
|
<td>存放位置</td>
|
<td>${Constants.UNIT_CONSTANTS}</td>
|
<td>操作</td>
|
</tr>
|
[#if ciList?? && ciList?size>0]
|
[#list ciList as ci]
|
<tr>
|
<td>${ci_index+1}</td>
|
<td><a target="_black" class="blue_txt" href="${base}/business/pages/cfg/cfgInfoIndex.html?id=${ci.ID}" >${ci.SEARCHCODE}</a></td>
|
<td><a target="_black" class="blue_txt" href="${base}/business/pages/cfg/cfgInfoIndex.html?id=${ci.ID}" >${ci.CINAME}</a></td>
|
<td>${ci.POSITION}</td>
|
<td>${ci.SUB_CUS_NAME}</td>
|
<td>
|
<a class="blue_txt lb_button" href="javascript:delItem('${ci.ID}','${ci.PROJECT_ITEM_ID}',2);"><span style="border:none;">删除</span></a>
|
</td>
|
</tr>
|
[/#list]
|
[#else]
|
<tr>
|
<td colspan="7"><div class="loadpos"><span class="nodata"></span></div></td>
|
</tr>
|
[/#if]
|
</table>
|
</div>
|
<script type="text/javascript">
|
var customerId = '${RequestParameters.customerId}';
|
var itemId = '${RequestParameters.itemId}';
|
var subId = '${RequestParameters.subId}';
|
var categoryId = '${RequestParameters.categoryId}';
|
//选择通用指标项
|
function selectItem() {
|
window.top.openDialog("0","选择配置",
|
{},
|
{"width":90,"height":90},
|
[{btnId:"btnSure", btnName:"提交", btnStyle:"bluebtn"}],
|
"${base}/business/pages/remind/getSubCheckCiList.html?customerId="+customerId+"&subId="+subId+"&itemId="+itemId+"&categoryId="+categoryId);
|
}
|
function delItem(ciId,itemId,type) {
|
var msg = "确定要删除该配置吗?";
|
window.top.confirmInfo('信息确认', msg, function(){
|
$.post("${base}/business/pages/remind/subRemindCiChange.html", {'ciId':ciId,"type":type,"itemId":itemId},function(data,textStatus){
|
if(data=="1"){
|
window.top.popupTips("操作成功");
|
window.location.reload();
|
} else {
|
window.top.popupTips("操作失败");
|
}
|
});
|
});
|
}
|
|
|
</script>
|
|
</body>
|
</html>
|