<!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="${base}/ewyw/ewHealth/ewMyHealth.html"><span></span></a>工单详情
|
[#if baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_FINISH || baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_EVALUATE]
|
<div class="wlsdrop2"><a href="${base}/ewyw/ewHealth/ewHealthReport.html?orderId=${orderId}&flowId=${baseMsg.FLOW_ID}" ><p class="baogao" >健康检查报告</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 class="detaillong">计划巡检日期</span>
|
<label class="detaillong">${DateUtil.format("yyyy-MM-dd",baseMsg.PLAN_EXE_DATE)}</label>
|
</p>
|
<p>
|
<span class="detaillong">巡检执行日期</span>
|
<label class="detaillong">${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}';
|
var orderId = '${orderId}';
|
|
function query(index) {
|
var $main = $("#main"+index);
|
var html = $.trim($main.html());
|
if($.util.isEmpty(html)) {
|
var param = {"flowId":flowId,"orderId":orderId};
|
loading($main);
|
if(index==1) {
|
//巡检配置详情
|
$.post("${base}/ewyw/ewHealth/ewHealthCiList.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==2) {
|
$.post("${base}/ewyw/ewIncident/ewClRecord.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==3) {
|
$.post("${base}/ewyw/ewIncident/ewLinkOrder.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==4) {
|
$.post("${base}/ewyw/ewIncident/ewFile.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==5){
|
$.post("${base}/ewyw/ewIncident/ewLzRecord.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>
|