cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!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>