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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>维保配置</title>
[#include "/business/pages/include/static.html" /]
<link rel="stylesheet" type="text/css" href="${common_static}/static/ui/utilfunc/css/normalize.css">
<link rel="stylesheet" type="text/css" href="${common_static}/static/ui/css/table-print.css">
[#include "/component/DatePicker.html" /]
</head>
 
<body class="fullscreen">
[#include "/business/pages/include/header.html" /]
 
[#assign focusLabel = "XJJH"]
[#include "/business/pages/customermanage/infoheader.html" /]
<div class="fs_navpath">
     <h3>当前位置</h3>
    <span></span>
    <a>${Constants.CUSTOMER_CONSTANTS}管理</a>
    <span></span>
    <em>巡检计划</em>
</div>
<div style="margin:10px;">
</div>
 
<div class="fs_main equip_add clearfix" >
    <div class="check_btn clearfix">
        <a class="common close"><span>关闭</span></a>
        <a class="common export"><span>导出</span></a>
        <a class="common print"><span>打印</span></a>
        <a class="common photoprint"><span>影印版</span></a>
        <a class="common electronic"><span>电子版</span></a>
    </div>
    <div class="table_basic_print">
    <span class="fsnt_btn">年份:[@datepicker id="year" length=4 value="${year}" class="general" /]<a href="javascript:query();" class="fb_submit" style="float:none;">查询</a></span>
    <h3>年度巡检计划</h3>
    <div class="table_basic_info"> <span class="info">单位:${customerName}</span> </div>
    <table>
        <tr class="title">
            <td rowspan="2" colspan="2">配置分类</td>
            [#if report.month?? && report.month?size>0]
                [#list report.month as month]
                <td colspan="${month.colspan}">${DateUtil.format("MM",month.yearMonth)}月</td>
                [/#list]
            [/#if]
        </tr>
        <tr class="title">
            [#if report.month?? && report.month?size>0]
                [#list report.month as month]
                    [#if month.days?? && month.days?size>0]
                        [#list month.days as day]
                            <td>${DateUtil.format("dd",day)}号</td>
                        [/#list]
                    [#else]
                        <td>&nbsp;</td>
                    [/#if]
                [/#list]
            [/#if]
        </tr>
        
        [#if report.categorys?? && report.categorys?size>0]
        [#list report.categorys as category]
            <tr>
                <td rowspan="${category.ejNum}">${category.NAME}</td>
                [#if category.ejTree?? && category.ejTree?size>0]
                    [#list category.ejTree as ej]
                        [#if ej_index==0]
                            <td>${ej.NAME}</td>
                            [#if ej.userMonth?? && ej.userMonth?size>0]
                                [#list ej.userMonth as month]
                                    [#if month?? && month?size>0]
                                    <td>
                                        [#list month as mon]
                                        <span 
                                        [#if mon.PLAN_DATE > today]
                                            class="go_checking"
                                        [#else]
                                            [#if mon.STATE==1]
                                                class="no_check"
                                            [#elseif mon.STATE==2]
                                                class="checking"
                                            [#elseif mon.STATE==3]
                                                class="have_checked"
                                            [/#if]
                                        [/#if]>
                                        ${mon.USER_NAME}
                                        </span>
                                        [/#list]
                                        </td>
                                    [#else]
                                    <td>&nbsp;</td>
                                    [/#if]
                                [/#list]
                            [/#if]
                        [/#if]
                    [/#list]
                [#else]
                    <td>&nbsp;</td>
                    [#if report.month?? && report.month?size>0]
                        [#list report.month as month]
                            [#if month.days?? && month.days?size>0]
                                [#list month.days as day]
                                    <td>&nbsp;</td>
                                [/#list]
                            [#else]
                                <td>&nbsp;</td>
                            [/#if]
                        [/#list]
                    [/#if]
                    
                    
                    
                [/#if]
            </tr>
            
            [#if category.ejTree?? && category.ejTree?size>1]
                [#list category.ejTree as ej]
                        [#if ej_index!=0]
                        <tr>
                            <td>${ej.NAME}</td>
                            [#if ej.userMonth?? && ej.userMonth?size>0]
                                [#list ej.userMonth as month]
                                    [#if month?? && month?size>0]
                                    <td>
                                        [#list month as mon]
                                        <span 
                                        [#if mon.PLAN_DATE > today]
                                            class="go_checking"
                                        [#else]
                                            [#if mon.STATE==1]
                                                class="no_check"
                                            [#elseif mon.STATE==2]
                                                class="checking"
                                            [#elseif mon.STATE==3]
                                                class="have_checked"
                                                [/#if]
                                        [/#if]>
                                        ${mon.USER_NAME}
                                        </span>
                                        [/#list]
                                        </td>
                                    [#else]
                                    <td>&nbsp;</td>
                                    [/#if]
                                [/#list]
                            [/#if]
                        </tr>
                        [/#if]
                [/#list]
            [/#if]
            
        [/#list]
    [/#if]
    </table>
    <div class="example clearfix">
        <h4>说明:</h4>
        <span class="have_checked">已完成</span><span class="checking">进行中</span><span class="no_check">未进行</span><span class="go_checking">将进行</span></div>
</div>
</div>
 
<script type="text/javascript">
function query() {
    var year = $("#year").val();
    window.location.href="${base}/business/pages/customermanage/planRp.html?customerId=${RequestParameters.customerId}&year="+year;
}
</script>
 
[#include "/business/pages/include/footer.html" /]
</body>
</html>