<!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 = 'LXWHXPZZDJH']
|
[#include "/business/pages/customerconfig/slacustomer/ciDailyItemheader.html" /]
|
|
|
</head>
|
|
<div class="fs_main clearfix">
|
<body style="width:100%;">
|
|
<table class="display_form common_list_table">
|
<tr class="title">
|
<td width="10%">${Constants.CUSTOMER_CONSTANTS}</td>
|
<td width="5%">计划数量</td>
|
<td width="5%">执行数量</td>
|
<td width="7%">联系人</td>
|
<td width="7%">联系方式</td>
|
<td width="10%">操作</td>
|
</tr>
|
<tr>
|
<td>${customer.CUSTOMER_NAME}</td>
|
<td>${num[customer.ID+"-"+customer.ID]?default(0)}</td>
|
<td>${num[customer.ID+"-"+customer.ID+"2"]?default(0)}</td>
|
<td>${customer.CONTACT}</td>
|
<td>${customer.PHONE}</td>
|
<td class="list_btnmore_wrap">
|
<a class="blue_txt lb_button" href="javascript:itemCycle('${itemId}','${customer.ID}','');"><span>周期/联系人</span></a>
|
<a class="blue_txt lb_button" href="javascript:plan('${itemId}','${customer.ID}','');"><span>计划</span></a>
|
<a class="blue_txt lb_button" target="_blank" href="${base}/business/pages/remind/getSubRemindCiList.html?categoryId=${RequestParameters.categoryId}&itemId=${itemId}&customerId=${customer.ID}&subId=${customer.ID}"><span style="border:none;">配置列表</span></a>
|
</td>
|
</tr>
|
</table>
|
[#if customers?? && customers?size>0]
|
<table class="display_form common_list_table">
|
<tr class="title">
|
<td width="10%">子${Constants.CUSTOMER_CONSTANTS}</td>
|
<td width="5%">计划数量</td>
|
<td width="5%">执行数量</td>
|
<td width="7%">联系人</td>
|
<td width="7%">联系方式</td>
|
<td width="10%">操作</td>
|
</tr>
|
[#list customers as customers]
|
<tr>
|
<td onclick="toggleSub('${customer.ID}')" style="cursor:pointer;">${customers.CUSTOMER_NAME}</td>
|
<td>${num[customer.ID+"-"+customers.ID]?default(0)}</td>
|
<td>${num[customer.ID+"-"+customers.ID+"2"]?default(0)}</td>
|
<td>${customers.CONTACT}</td>
|
<td>${customers.PHONE}</td>
|
<td class="list_btnmore_wrap">
|
<a class="blue_txt lb_button" href="javascript:itemCycle('${itemId}','${customer.ID}','${customers.ID}');"><span>周期/联系人</span></a>
|
<a class="blue_txt lb_button" href="javascript:plan('${itemId}','${customer.ID}','${customers.ID}');"><span>计划</span></a>
|
<a class="blue_txt lb_button" target="_blank" href="${base}/business/pages/remind/getSubRemindCiList.html?categoryId=${RequestParameters.categoryId}&itemId=${itemId}&customerId=${customer.ID}&subId=${customers.ID}"><span style="border:none;">配置列表</span></a>
|
</td>
|
</tr>
|
[/#list]
|
</table>
|
[#else]
|
<div class="loadpos"><span class="nodata"></span></div>
|
[/#if]
|
<script type="text/javascript">
|
function toggleSub(id) {
|
$(".sub"+id).toggle();
|
}
|
//编辑执行周期
|
function itemCycle(itemId,customerId,subId) {
|
window.top.openDialog("0","周期/联系人",
|
{},
|
{"width":50,"height":60},
|
[{btnId:"btnSure", btnName:"提交", btnStyle:"bluebtn"}],
|
"${base}/business/pages/remind/itemCycle.html?itemId="+itemId+"&customerId="+customerId+"&subId="+subId);
|
}
|
|
|
//查看执行计划
|
function plan(itemId,customerId,subId) {
|
window.top.openDialog("0","执行计划",
|
{},
|
{"width":90,"height":80},
|
[{btnId:"btnSure", btnName:"提交", btnStyle:"bluebtn"}],
|
"${base}/business/pages/remind/itemPlan.html?itemId="+itemId+"&customerId="+customerId+"&subId="+subId);
|
}
|
|
</script>
|
|
</body>
|
</div>
|
</html>
|