cy
2022-06-28 2ba5c891b24d4d0cd6ce7ef833592e4f576ee5e8
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>驻场服务监督卡</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
</head>
 
<body class="user_center uc_date">
    [#include "/business/wechat/include/whead.html" /]
    <table class="uc_date_top clearfix">
        <tr>
            <td><a href="javascript:reduceYear();"><img src="${common_static}/static/wechat/images/date-day-prev.gif" alt="" /></a></td>
            <td><h3 id="yearDom" y="${year}">${year}年</h3></td>
            <td><a href="javascript:addYear();"><img src="${common_static}/static/wechat/images/date-day-next.gif" alt="" /></a></td>
        </tr>
    </table>
    <div class="monthshow clearfix" id="calandar">
        
    </div>
    
    <script type="text/javascript">
            function queryCalandar() {
                var year = $("#yearDom").attr("y");
                var loadingHtml = '<div class="loading" id="loading"><img src="${common_static}/static/wechat/images/loading.gif"></div>';
                $("body").append(loadingHtml);
                $.post("${base}/uwyw/uSatis/uzcsatisCalendar.html",{"year":year},function(data,textStatus) {
                    $("#loading").remove();
                    $("#calandar").html(data);
                })
            }
            
            function reduceYear() {
                var year = parseInt($("#yearDom").attr("y"));
                year = year - 1;
                $("#yearDom").html(year+"年");
                $("#yearDom").attr("y",year);
                queryCalandar();
            }
            
            function addYear() {
                var year = parseInt($("#yearDom").attr("y"));
                year = year + 1;
                $("#yearDom").html(year+"年");
                $("#yearDom").attr("y",year);
                queryCalandar();
            }
            
            
            
            $(function() {
                queryCalandar();
            });
</script>
    [#include "/business/wechat/include/ufooter.html" /]
</body>
</html>