<!doctype html>
|
<html>
|
<head>
|
<meta charset="utf-8">
|
[#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">
|
[#if baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_FINISH || baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_EVALUATE || baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_CLOSE]
|
<label class="dropmenu"></label>
|
[/#if]
|
<a href="javascript:history.go(-1);"><span></span></a>工单详情
|
[#if baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_FINISH || baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_EVALUATE]
|
<div class="wlsdrop2"><a href="${base}/uwyw/uHealth/uHealthReport.html?orderId=${orderId}&flowId=${baseMsg.FLOW_ID}" ><p>健康检查报告</p></a>
|
[/#if]
|
</header>
|
<nav class="kltwo clearfix">
|
<div class="kltwowrap">
|
<a href="#" hidefocus="true" class="active" v="0">基本信息</a>
|
<a href="#" hidefocus="true" v="1">处理记录</a>
|
<a href="#" hidefocus="true" v="2">关联设备</a>
|
<a href="#" hidefocus="true" v="3">关联工单</a>
|
<a href="#" hidefocus="true" v="4">文档附件</a>
|
<a href="#" hidefocus="true" v="5">流转记录</a>
|
</div>
|
</nav>
|
<div class="swiper-container" id="swiper-pages">
|
<div class="swiper-wrapper">
|
<div class="swiper-slide">
|
<section class="wlresponse wldetailtwo">
|
<p>
|
<span>${Constants.CUSTOMER_CONSTANTS}名称</span>
|
<label>${baseMsg.CUSTOMER_NAME}</label>
|
</p>
|
<p>
|
<span>${Constants.UNIT_CONSTANTS}</span>
|
<label>${baseMsg.SUB_CUSTOMER_NAME}</label>
|
</p>
|
<p>
|
<span>联系人</span>
|
<label>${baseMsg.CONTACTS_NAME}</label>
|
</p>
|
<p>
|
<span>联系方式</span>
|
<label><a class="phone" href="tel:${baseMsg.CONTACTS_TEL}">${baseMsg.CONTACTS_TEL}</a></label>
|
</p>
|
<p>
|
<span>计划巡检日期</span>
|
<label>${DateUtil.format("yyyy-MM-dd",baseMsg.plan_execution_date)}</label>
|
</p>
|
<p>
|
<span>巡检执行日期</span>
|
<label>${DateUtil.format("yyyy-MM-dd",baseMsg.plan_time)}</label>
|
</p>
|
</section>
|
</div>
|
<div class="swiper-slide">
|
<div id="main1"></div>
|
</div>
|
<div class="swiper-slide">
|
<div id="main2"></div>
|
</div>
|
<div class="swiper-slide">
|
<div id="main3"></div>
|
</div>
|
<div class="swiper-slide">
|
<div id="main4"></div>
|
</div>
|
<div class="swiper-slide">
|
<div id="main5"></div>
|
</div>
|
</div>
|
</div>
|
<script type="text/javascript">
|
var flowId = '${baseMsg.FLOW_ID}';
|
|
function query(index) {
|
var $main = $("#main"+index);
|
var html = $.trim($main.html());
|
if($.util.isEmpty(html)) {
|
var param = {"flowId":flowId};
|
loading($main);
|
if(index==1) {
|
$.post("${base}/uwyw/uIncident/uClRecord.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==2) {
|
$.post("${base}/uwyw/uIncident/uLinkDevice.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==3) {
|
$.post("${base}/uwyw/uIncident/uLinkOrder.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==4) {
|
$.post("${base}/uwyw/uIncident/uFile.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==5) {
|
$.post("${base}/uwyw/uIncident/uLzRecord.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
}
|
}
|
}
|
|
/*工单详情下拉*/
|
$(function(){
|
var searchBtn = $('.kltit label'),
|
searchCon = $('div.wlsdrop2');
|
searchBtn.click(function(){
|
searchCon.animate({height:'toggle'});
|
$(this).children('em').toggleClass("open");
|
});
|
searchCon.children('a').click(function(){
|
searchCon.slideUp();
|
});
|
$("div").click(function(){
|
searchCon.slideUp();
|
});
|
$("section").click(function(){
|
searchCon.slideUp();
|
});
|
})
|
|
</script>
|
</body>
|
</html>
|