<!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/project.js"></script>
|
|
<script type="text/javascript">
|
function query(flowstate,dataId,pageId) {
|
var $main = $("#"+dataId);
|
var $page = $("#"+pageId);
|
if($.util.isEmpty($main.html())) {
|
var param = {"flowstate":flowstate};
|
if(flowstate == 'end'){
|
param = {"status":'${Constants.WORKFLOW_BASE_WFSTATE_FINISH}'};
|
}
|
if(flowstate == 'close'){
|
param = {"status":'${Constants.WORKFLOW_BASE_WFSTATE_CLOSE}'};
|
}
|
$main.empty();
|
$page.pagination({
|
durl:"${base}/ewyw/eworder/eMyorderData.html",
|
curl:"${base}/ewyw/eworder/eMyorderCount.html",
|
pdiv:pageId,
|
mdiv:dataId,
|
perPage : 5,
|
param:param
|
});
|
}
|
}
|
|
$(function() {
|
query("","mainAll","pageAll");
|
})
|
|
</script>
|
</head>
|
|
<body>
|
<header class="kltit"><label class="dropmenu"></label><a href="${base}/ewyw/ewfulltext/ewOrder.html"><label class="right15"></label></a>
|
<a href="${base}${Session['homePage']}"><span></span></a>我的工单
|
<div class="wlsdrop2">
|
<a href="${base}/ewyw/ewIncident/ewAddIncident.html" ><p class="tongyong">创建事件</p></a>
|
<a href="${base}/ewyw/ewQuestion/ewAddQuestion.html" ><p class="tongyong">创建问题</p></a>
|
<a href="${base}/ewyw/ewzc/ewzcAdd.html?add=1" ><p class="tongyong">创建驻场事件</p></a>
|
</div>
|
</header>
|
<nav class="kltwo clearfix">
|
<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 [#if RequestParameters.t?? && RequestParameters.t==1]class="swiper-container pb22"[#else]class="swiper-container"[/#if] id="swiper-pages">
|
<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>
|
<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>
|
[#if RequestParameters.t?? && RequestParameters.t==1]
|
[#assign label = 'order']
|
[#include "/business/wechat/include/wfooter.html" /]
|
[/#if]
|
</body>
|
</html>
|