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
<!doctype html>
<html class="no-js">
<head>
    [#include "/business/pages/include/print.html" /]
    [#include "/component/excExport.html" /]
    <meta charset="utf-8">
    <title>${subTitle}满意度调查统计表</title>
    <style>
        .mytable {
            border-collapse: collapse;
            border-spacing: 0;
        }
 
        .mytable td {
            padding: 5px 10px;
            border: 1px solid #ccc;
            color: #666;
            font-size: 12px;
            line-height: 24px;
        }
 
        .bgcolor {
            background-color: #f0f0f0;
        }
    </style>
</head>
 
<body class="fullscreen">
[#include "/business/pages/include/static.html" /]
<div class="check_btn clearfix" style="margin-right: 27px;">
    [@excExp id="printDiv" name="${subTitle}满意度调查统计" /]
</div>
<div style="text-align:center;margin-top:30px;"><h2>${subTitle}满意度调查统计表</h2></div>
<div id="printDiv" style="width:100%;height:380px;overflow:auto;">
    <table class="mytable" style="margin:0 auto;text-align:center;width:3500px;margin:10px;">
        <tr>
            <td rowspan="3">时间</td>
            [#list root.children as lv1]
            [#assign size =0 /]
            [#list lv1.children as lv2]
            [#assign size = size + lv2.children?size /]
            [/#list]
            <td colspan="${size}">${lv1.text}</td>
            [/#list]
        </tr>
        <tr>
            [#list root.children as lv1]
            [#list lv1.children as lv2]
            <td colspan="${lv2.children?size}">${lv2.text}</td>
            [/#list]
            [/#list]
        </tr>
        <tr>
            [#list root.children as lv1]
            [#list lv1.children as lv2]
            [#list lv2.children as lv3]
            <td>${lv3.text}</td>
            [/#list]
            [/#list]
            [/#list]
        </tr>
        [#if resList??&&resList?size>0]
        [#list resList as res]
        <tr>
            <td>${DateUtil.format('yyyy年MM月',res.CARD_MONTH)}</td>
            [#if res.total_num??]
            [#list res.total_num?split(",") as item]
            <td>${item}</td>
            [/#list]
            [/#if]
        </tr>
        [/#list]
        [/#if]
    </table>
</div>
</body>
</html>