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