<!doctype html>
|
<html>
|
<head>
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
<script type="text/javascript" src="${common_static}/static/wechat/style/js/myswiper.js"></script>
|
</head>
|
|
<body>
|
<header class="kltit">
|
<a href="javascript:history.go(-1);"><span></span></a>例行维护
|
</header>
|
<nav class="kltwo clearfix">
|
<div class="kltwowrap">
|
<a href="#" hidefocus="true" class="active">指标</a>
|
<a href="#" hidefocus="true">工单</a>
|
<a href="#" hidefocus="true">计划</a>
|
</div>
|
</nav>
|
<div class="swiper-pages swiper-container" id="swiper-pages">
|
<div class="swiper-wrapper">
|
<div class="swiper-slide">
|
<section class="taskstati clearfix">
|
<div id="main"></div>
|
<div id="page" class="loadmore"></div>
|
</section>
|
</div>
|
<div class="swiper-slide">
|
<div id="ordermain"></div>
|
<div id="orderPage" class="loadmore"></div>
|
</div>
|
|
<div class="swiper-slide">
|
<section class="taskmaillist taskdaylist clearfix">
|
<div id="planmain"></div>
|
<div id="planPage" class="loadmore"></div>
|
</section>
|
</div>
|
</div>
|
</div>
|
|
<script type="text/javascript">
|
var id = '${RequestParameters.id}';
|
function queryItem() {
|
var param = {"id":id};
|
$("#main").empty();
|
$("#page").pagination({
|
durl:"${base}/ewyw/ewconfig/linkRemindData.html",
|
curl:"${base}/ewyw/ewconfig/linkRemindCount.html",
|
pdiv:"page",
|
mdiv:"main",
|
perPage : 5,
|
param:param
|
});
|
}
|
|
function queryRemindOrder() {
|
var html = $.trim($("#ordermain").html());
|
if($.util.isEmpty(html)) {
|
var param = {"id":id};
|
$("#orderPage").pagination({
|
durl:"${base}/ewyw/ewconfig/linkRemindOrderData.html",
|
curl:"${base}/ewyw/ewconfig/linkRemindOrderCount.html",
|
pdiv:"orderPage",
|
mdiv:"ordermain",
|
perPage : 5,
|
param:param
|
});
|
}
|
}
|
|
function queryRemindPlan() {
|
var html = $.trim($("#planmain").html());
|
if($.util.isEmpty(html)) {
|
var param = {"id":id};
|
$("#planPage").pagination({
|
durl:"${base}/ewyw/ewconfig/linkRemindPlanData.html",
|
curl:"${base}/ewyw/ewconfig/linkRemindPlanCount.html",
|
pdiv:"planPage",
|
mdiv:"planmain",
|
perPage : 5,
|
param:param
|
});
|
}
|
}
|
|
function query(index) {
|
if(index==1) {
|
queryRemindOrder();
|
} else if(index==2) {
|
queryRemindPlan();
|
}
|
}
|
|
|
$(function() {
|
queryItem();
|
})
|
</script>
|
</body>
|
</html>
|