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
<!doctype html>
<html>
<head>
[#include "/business/wechat/include/title.html" /]
[#include "/business/wechat/include/wheader.html" /]
 
 
<script type="text/javascript">
function query(flowstate,dataId,pageId) {
    var $main = $("#"+dataId);
    var $page = $("#"+pageId);
    if($.util.isEmpty($main.html())) {
         var param = {"flowstate":flowstate};
        $main.empty();
         $page.pagination({
            durl:"${base}/ewyw/ewQuestion/ewMyQuestionData.html",
            curl:"${base}/ewyw/ewQuestion/ewMyQuestionCount.html",
            pdiv:pageId,
            mdiv:dataId,
            perPage : 5,
            param:param,
            
        });
    }
}
 
$(function() {
    query("","mainAll","pageAll");
})
</script>
</head>
 
<body>
<header class="kltit">
<a href="${base}/ewyw/ewQuestion/ewAddQuestion.html?add=1"><label class="plus" ></label></a>
<a href="${base}/ewyw/ewfulltext/ewOrder.html"><label class="right15"></label></a>
<a href="${base}/ewyw/emanageDaily.html"><span></span></a>我的问题工单</header>
<nav class="kltwo clearfix fixed">
    <div class="kltwowrap">
        <a href="#" hidefocus="true" class="active" v="">全部</a>
        <a href="#" hidefocus="true" v="${Constants.WORKFLOW_NODE_FLOWSTATE_UNDISPOSE}">待响应</a>
        <a href="#" hidefocus="true" v="${Constants.WORKFLOW_NODE_FLOWSTATE_DOING}">进行中</a>
        <a href="#" hidefocus="true" v="${Constants.WORKFLOW_NODE_FLOWSTATE_FINISH}">已处理</a>
        <a href="#" hidefocus="true" v="end">已完成</a>
        <a href="#" hidefocus="true" v="close">已关闭</a>
    </div>        
</nav>
<div class="pt22">
<div class="swiper-container">
    <div class="swiper-wrapper">
        <div class="swiper-slide">
            <div id="mainAll"></div>
            <div id="pageAll" class="loadmore"></div>
        </div>
        <div class="swiper-slide">
            <div id="main${Constants.WORKFLOW_NODE_FLOWSTATE_UNDISPOSE}"></div>
            <div id="page${Constants.WORKFLOW_NODE_FLOWSTATE_UNDISPOSE}" class="loadmore"></div>
        </div>
        <div class="swiper-slide">
            <div id="main${Constants.WORKFLOW_NODE_FLOWSTATE_DOING}"></div>
            <div id="page${Constants.WORKFLOW_NODE_FLOWSTATE_DOING}" class="loadmore"></div>
        </div>
        <div class="swiper-slide">
            <div id="main${Constants.WORKFLOW_NODE_FLOWSTATE_FINISH}"></div>
            <div id="page${Constants.WORKFLOW_NODE_FLOWSTATE_FINISH}" class="loadmore"></div>
        </div>
        <div class="swiper-slide">
            <div id="mainend"></div>
            <div id="pageend" class="loadmore"></div>
        </div>
        <div class="swiper-slide">
            <div id="mainclose"></div>
            <div id="pageclose" class="loadmore"></div>
        </div>
    </div>
</div> 
</div>
<script type="text/javascript">
n=$('.kltwowrap a').size();                
var wh=100*n+"%";
$('.kltwowrap').width(wh);
var lt=(100/n/4);
var lt_li=lt+"%";
$('.kltwowrap a').width(lt_li);            
$(".kltwowrap a").on('touchstart mousedown',function(e){
    e.preventDefault()
    $(".kltwowrap .active").removeClass('active');
    $(this).addClass('active');
    var panelIndex = $(this).index();
    tabsSwiper.slideTo(panelIndex);
});
 
$(".kltwowrap a").click(function(e){
    e.preventDefault();
});
 
var tabsSwiper = new Swiper(".swiper-container",{
    setWrapperSize :true,
    onSlideChangeStart: function(sw){
        $(".kltwowrap .active").removeClass('active');
        var panelIndex = tabsSwiper.activeIndex;
        var $kltwowrapA = $(".kltwowrap a").eq(panelIndex);
        $kltwowrapA.addClass('active');
        $kltwowrapA.parent().css("left",-parseInt(sw.activeIndex/4)*sw.width);
        var v = $kltwowrapA.attr("v");
        query(v,"main"+v,"page"+v);
    }
});
 
 
</script>                       
</body>
</html>