<!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>
|