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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
[#include "/business/wechat/include/title.html" /]
[#include "/business/wechat/include/wheader.html" /]
<script type="text/javascript">
/*日期选择*/
$(function(){
    $(".taskoption").click(function(){ 
        var i=$(".taskoption").index(this);
        var taskcon = $(".tasksearchdate"); 
        taskcon.eq(i).animate({width: 'toggle'}); 
        /*taskcon.eq(i).animate({ 
    right:parseInt(taskcon.css('right'),10)==0 ? -taskcon.outerWidth() : 0 
    }); */
        $(".tasksearchdate h2").delay(300).fadeIn(); 
        $(".tasksearchcon").delay(300).fadeIn(); 
        taskcon.eq(i).next(".el_popmask").fadeIn();
    });
    
    $(".taskclose").click(function(){ 
        var taskcon = $(this).parents("div.tasksearchdate");
        taskcon.animate({width: 'toggle'});  
        $(".tasksearchdate h2").fadeOut(); 
        $(".tasksearchcon").fadeOut(); 
        /*taskcon.animate({ 
    right:parseInt(taskcon.css('right'),10)==0 ? -taskcon.outerWidth() : 0    });*/
        taskcon.next(".el_popmask").fadeOut();
    });
    
    $(".el_popmask").click(function(){
        var taskcon = $(this).prev("div"); 
        taskcon.animate({width: 'toggle'});  
        $(".tasksearchdate h2").fadeOut(); 
        $(".tasksearchcon").fadeOut();
        /*taskcon.animate({ 
    right:parseInt(taskcon.css('right'),10)==0 ? -taskcon.outerWidth() : 0});*/
        $(this).fadeOut();
    
    });
    
    $(".scroller").mobiscroll().date();
    
    var currYear = (new Date()).getFullYear()-3; 
    //初始化日期控件
    var opt = {
        preset: 'date', //日期,可选:date\datetime\time\tree_list\image_text\select
        theme: 'default', //皮肤样式,可选:default\android\android-ics light\android-ics\ios\jqm\sense-ui\wp light\wp
        display: 'inline', //显示方式 ,可选:modal\inline\bubble\top\bottom
        mode: 'scroller', //日期选择模式,可选:scroller\clickpick\mixed
        lang:'zh',
        dateFormat: 'yyyy-mm-dd', // 日期格式
        setText: '确定', //确认按钮名称
        cancelText: '取消',//取消按钮名籍我
        dateOrder: 'yyyymmdd', //面板中日期排列格式
        dayText: '日', monthText: '月', yearText: '年', //面板中年月日文字
        showNow: false,  
        nowText: "今",  
        startYear: currYear,//开始年份  
        endYear:currYear + 100 //结束年份  
        //endYear:2099 //结束年份
    };
    
    $(".scroller").mobiscroll(opt);
    
    $(".tasksearchbtn").click(function(){
        var selDate = '';
        $('#start_div').find('div[aria-selected=true]').each(function(){
            if(selDate==''){
                selDate = selDate + $(this).text();
            }else{
                selDate = selDate + '-' + $(this).text();
            }
        });
        selDate = selDate.replace(/\-/g,'');
        window.location.href = "${base}/uwyw/uWorkReport/uWeekIndex.html?cusId=${RequestParameters.cusId}&selDate="+selDate;
    })
});
window.onload=function(){  
    var pages = document.getElementById("ywtable");  
    var scale = window.screen.height / window.screen.width;  
    pages.style.height = document.body.clientWidth * scale -$('.kltit').height()-$('.taskrunw-bg').height() - 74 + "px";  
}
</script>
</head>
 
<body>
<header class="kltit">
    <label class="check taskoption"></label>
    <a href="${base}/uwyw/uworkReport.html?cusId=${RequestParameters.cusId}"><span></span></a>运维周报(${cusName})
</header>
<section class="taskrunw">
<div class="taskrunw-bg">
    <header class="taskrunwtit">
        <h2>${DateUtil.format("yyyy年MM月", dateInfo.selDate)}第${dateInfo.weekNum}周</h2>
        (${DateUtil.format("yyyy/MM/dd", dateInfo.startDate)} ~ ${DateUtil.format("yyyy/MM/dd", dateInfo.endDate)})
    </header>
    </div>
    <div id="ywtable">
    <table>
        <tr>
            <td class="taskrunw1">
                <a href="${base}/uwyw/uWorkReport/uOrderSurveyChart.html?cusId=${RequestParameters.cusId}&selDate=${dateInfo.selDate}&weekNum=${dateInfo.weekNum}&statisType=week&orderType=survey"><p>总览</p><img src="${common_static}/static/wechat/style/images/weekicon1.png" alt=""/>
                </a>
            </td>
            <td class="taskrunw2">
                <a href="${base}/uwyw/uWorkReport/uIncidentMonChart.html?cusId=${RequestParameters.cusId}&selDate=${dateInfo.selDate}&weekNum=${dateInfo.weekNum}&statisType=week&orderType=incident"><p>事件</p><img src="${common_static}/static/wechat/style/images/weekicon2.png" alt=""/>
                </a>
            </td>
        </tr>
        <tr>
            <td class="taskrunw3">
                <a href="${base}/uwyw/uWorkReport/uQuestionMonChart.html?cusId=${RequestParameters.cusId}&selDate=${dateInfo.selDate}&weekNum=${dateInfo.weekNum}&statisType=week&orderType=question"><p>问题</p><img src="${common_static}/static/wechat/style/images/weekicon3.png" alt=""/>
                </a>
            </td>
            <td class="taskrunw4">
                <a href="${base}/uwyw/uWorkReport/uLocalMonChart.html?cusId=${RequestParameters.cusId}&selDate=${dateInfo.selDate}&weekNum=${dateInfo.weekNum}&statisType=week&orderType=local"><p>驻场</p><img src="${common_static}/static/wechat/style/images/weekicon4.png" alt=""/>
                </a>
            </td>
<!--             <td class="taskrunw5" width="33.3%"> -->
<!--                 <a href="#"><p>例行维护</p><img src="${common_static}/static/wechat/style/images/weekicon5.png" alt=""/> -->
<!--                 </a> -->
<!--             </td> -->
        </tr>
<!--         <tr> -->
<!--             <td class="taskrunw8"> -->
<!--                 <a href="#"><p>健康检查</p><img src="${common_static}/static/wechat/style/images/weekicon8.png" alt=""/> -->
<!--                 </a> -->
<!--             </td> -->
<!--         </tr> -->
    </table>
    </div>
</section>
<div>   
    <div class="tasksearchdate">
        <h2><a href="#" class="taskclose">关闭</a>结束时间</h2>
          <div id="start_div" class="tasksearchcon">
            <input class="scroller"/>
        </div>
        <button type="button" class="tasksearchbtn">确定</button>       
    </div>
    <div class="el_popmask"></div> 
</div>
 
</body>
</html>