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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>${Constants.UNIT_CONSTANTS}指标执行计划</title>
[#include "/business/pages/include/static.html" /]
[#include "/business/pages/include/print.html" /]
    [#include "/component/excExport.html" /]
</head>
 
<body class="fullscreen">
[#include "/business/pages/include/header.html" /]
[#include "/component/newupload.html" /]
[#include "/component/DatePicker.html" /]
[#assign focusLabel = 'zbjh']
[#include "/business/pages/include/remindHeader.html" /]
<div class="fs_navpath">
    <h3>当前位置</h3>
    <span></span>
    <a>例行维护指标计划报表</a>
    <span></span>
</div>
    <div class="check_date">
        <div class="year_month">
            <!-- 年份 -->
            <div class="icon_select">
                <a class="mainbtn">
                    <span><em year="${year}" id="yearPanel">${year}年</em></span>
                </a>
                <div class="ins_con">
                    [#if years?? && years?size>0]
                        [#list years as year]
                            <a year="${year}">${year}年</a>
                        [/#list]
                    [/#if]
                </div>
            </div>
            
            <!-- 月 -->
            <div class="ym_month">
                [#list 1..12 as day]
                [#if day<10]
                <a href="javascript:queryReport('0${day}');" [#if mon == ("0"+day)]class="focus"[/#if]>0${day}月</a>
                [#else]
                <a href="javascript:queryReport('${day}');" [#if mon == day]class="focus"[/#if]>${day}月</a>
                [/#if]
                [/#list]
            </div>
        </div>
    </div>
      
      <div class="check_btn clearfix">
        <a class="common close" href="javascript:window.close();"><span>关闭</span></a>
        [@excExp id="printDiv" name="" /]
        <a class="common print" href="javascript:printA4(2,'printDiv');"><span>打印</span></a>
    </div>
      
       <div class="device" id="printDiv" style="padding:0;border:0;">
            
       <table class="reportTable tablew">
        <tr class="titleTr">
            <td colspan="32">【${customerName}】${format(month,"yyyy年MM月")}例行维护指标计划表</td>
        </tr>
        <tr>
            <td class="tdbg" rowspan="2">序号</td>
            <td class="tdbg" rowspan="2">指标名称</td>
            <td class="tdbg" colspan="${days?size}">${format(month,"yyyy年MM月")}</td>
        </tr>
        
        <tr>
            [#if days?? && days?size>0]
                [#list days as day]
                    <td class="tdbg">${DateUtil.format("dd",day)}</td>
                [/#list]
            [/#if]
        </tr>
        
        [#if subList?? && subList?size>0]
            [#list subList as zb]
            <tr>
                <td>${zb_index+1}</td>
                <td>${zb.zbName}</td>
                
                
                [#list zb.msgs as msg]
                        [#if msg.STATE == 1]
                        <td class="have_checked"></td>
                        [#elseif msg.STATE == 2]
                        <td class="go_checking" style="cursor:pointer;" onclick="javascript:window.location.href='${base}/business/pages/ciremind/orderdeal/ciRemindDetail.html?orderId=${msg.ORDER_ID}&flowId=${msg.FLOW_ID}'">
                        </td>
                        [#else]
                        <td></td>
                        [/#if]
                [/#list]
            </tr>
            [/#list]
        [/#if]
        <tr>
            <td colspan="${days?size+2}" align="left" style="border:none;">
            <b>说明:</b>
                <font class="go_checking">已执行</font>
                <font class="have_checked">未执行</font>
            </td>
        </tr>
        
    </table>
    </div>
    
    <script type="text/javascript">
    var customerId = '${customerId}';
    //var projectId = '${projectId}';
    var subCustomerId = '${subCustomerId}';
    function queryReport(mon) {
        var year = $("#yearPanel").attr("year");
        var month = year+mon;
        window.location.href="${base}/business/pages/ciremind/orderdeal/cusItemPlanReport.html?customerId="+customerId+"&month="+month+"&subCustomerId="+subCustomerId;
    }
    
    $(function() {
        $(".ins_con>a").click(function() {
            var year = $(this).attr("year");
            $("#yearPanel").attr("year",year);
            $("#yearPanel").text(year+"年");
        });
    })
    
    
    </script>
</body>
</html>