<!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">
|
<label class="dropmenu"></label>
|
<a href="${base}/ewyw/ewQuestion/ewMyQuestion.html"><span></span></a>工单处理
|
<div class="wlsdrop2">
|
[#if curnodeId != Constants.WTHG]
|
<a [#if curnodeId == Constants.WTFASS] href="javascript:finishQuestion();"[#else]href="javascript:orderAssign();"[/#if][#if question.STATE == Constants.SC_WORKFLOW_QUESTION_STATE_GQ] style="display:none;"[/#if] ><p class="tijiao" > 工单提交</p></a>
|
[/#if]
|
[#if isback == 1 && ismain == 1]
|
<a href="javascript:orderback();"[#if question.STATE == Constants.SC_WORKFLOW_QUESTION_STATE_GQ] style="display:none;"[/#if] ><p class="huitui" > 工单回退</p></a>
|
[/#if]
|
[#if ismain == 1 && (curnodeId == Constants.WTSH||curnodeId == Constants.WTSL)]
|
<a href="javascript:ordergq();"[#if question.STATE == Constants.SC_WORKFLOW_QUESTION_STATE_GQ] style="display:none;"[/#if] ><p class="guaqi" > 工单挂起</p></a>
|
[/#if]
|
[#if curnodeId != Constants.WTHG]
|
[#if isclose == 1 && ismain == 1]
|
<a href="javascript:orderclose();"[#if question.STATE == Constants.SC_WORKFLOW_QUESTION_STATE_GQ] style="display:none;"[/#if] ><p class="guanbi" > 工单关闭</p></a>
|
[/#if]
|
[/#if]
|
[#if curnodeId == Constants.WTHG]
|
<a href="javascript:endQuestion();"[#if question.STATE == Constants.SC_WORKFLOW_QUESTION_STATE_GQ] style="display:none;"[/#if]><p class="jieshu" > 工单结束</p></a>
|
[/#if]
|
<!-- 挂起状态下,挂起人可以进行解挂操作 -->
|
[#if question.STATE == Constants.SC_WORKFLOW_QUESTION_STATE_GQ && isopen == 1]
|
<a href="javascript:questionopen();" ><p class="guaqi" >解挂</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>
|
<a href="#" hidefocus="true" v="6">流转记录</a>
|
</div>
|
</nav>
|
<form id="fpform" action="" method="post">
|
<input type="hidden" name="flowId" value="${flowId}" />
|
<input type="hidden" name="customerId" value="${baseMsg.CUSTOMER_ID}" />
|
<input type="hidden" name="curnodeId" value="${curnodeId}" />
|
</form>
|
<div class="swiper-container" id="swiper-pages">
|
<div class="swiper-wrapper">
|
<div class="swiper-slide">
|
<section class="wlresponse wldetailtwo">
|
<p>
|
<span>问题编号</span>
|
<label>${baseMsg.ORDER_CODE}</label>
|
</p>
|
<p>
|
<span>问题名称</span>
|
<label>${baseMsg.NAME}</label>
|
</p>
|
<a href="${base}/ewyw/ewIncident/ewIncidentDesc.html?orderId=${baseMsg.ID}&bustype=${Constants.WORKFLOW_BASE_BUSINESS_TYPE_QUESTION}"><p class="next2">
|
<span>问题描述</span>
|
<label><em>${StringUtil.str2Html(baseMsg.DESCRIP)}</em></label>
|
</p></a>
|
<p>
|
<span>工单状态</span>
|
<label>${Constants.getmapSC_WORKFLOW_QUESTION_STATE_Label(baseMsg.STATE+"")}</label>
|
</p>
|
<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.KESHI}</label>
|
</p>
|
<p>
|
<span>联 系 人</span>
|
<label>${baseMsg.CONTACT_NAME}</label>
|
</p>
|
<a class="phone" href="tel:${baseMsg.CONTACT_PHONE}">
|
<p>
|
<span>联系方式</span>
|
<label>${baseMsg.CONTACT_PHONE}</label>
|
</p></a>
|
<p>
|
<span class="detaillong" >期望解决时间</span>
|
<label class="detaillong">${DateUtil.format("yyyy-MM-dd",baseMsg.WANT_DEAL_TIME)}</label>
|
</p>
|
<p>
|
<span>问题来源</span>
|
<label>${baseMsg.SOURCE_NAME}</label>
|
</p>
|
<p>
|
<span>服务目录</span>
|
<label>${baseMsg.FIRST_CATEGORY_NAME}>${baseMsg.SECOND_CATEGORY_NAME}>${baseMsg.THIRD_CATEGORY_NAME}</label>
|
</p>
|
<p>
|
<span>创 建 人</span>
|
<label>${baseMsg.CREATE_USER_NAME}</label>
|
</p>
|
<p>
|
<span>创建时间</span>
|
<label>${DateUtil.format("yyyy-MM-dd HH:mm:ss",baseMsg.CREATE_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 class="swiper-slide">
|
<div id="main6"></div>
|
</div>
|
</div>
|
</div>
|
<script type="text/javascript">
|
var serivceListId = '${question.FIRST_CATEGORY_ID}-${question.SECOND_CATEGORY_ID}-${question.THIRD_CATEGORY_ID}';
|
var customerId = '${question.CUSTOMER_ID}';
|
var gq = '${question.STATE}';
|
var curnodeId = '${curnodeId}';
|
var nodeId = '${nodeId}';
|
var flowId = '${baseMsg.FLOW_ID}';
|
var orderId = '${orderId}';
|
var showType = '${Constants.WECHAT_DETAIL_DEAL_SCORE_WT}';//问题界面
|
var sub_customer_id = '${baseMsg.SUB_CUSTOMER_ID}';
|
|
if(gq == 8){
|
popupTips("工单已被挂起");
|
}
|
function query(index) {
|
var $main = $("#main"+index);
|
var html = $.trim($main.html());
|
if($.util.isEmpty(html)) {
|
var param = {"flowId":flowId,"orderId":orderId,"customer_id":customerId,"curnodeId":curnodeId,"showType":showType,"sub_customer_id":sub_customer_id};
|
loading($main);
|
if(index==1) {
|
$.post("${base}/ewyw/ewIncident/ewClRecordCl.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==2) {
|
$.post("${base}/ewyw/ewQuestion/ewQuestionZdCl.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==3) {
|
$.post("${base}/ewyw/ewIncident/ewLinkDeviceCl.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==4) {
|
$.post("${base}/ewyw/ewIncident/ewLinkOrderCl.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==5) {
|
$.post("${base}/ewyw/ewIncident/ewFileCl.html",param,function(data,textStatus) {
|
$main.html(data);
|
})
|
} else if(index==6) {
|
$.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();
|
});
|
|
})
|
|
|
|
//结束任务
|
function finishQuestion() {
|
|
$.post("${base}/ewyw/ewQuestion/ewissave.html",{"nodeId":nodeId},function(data,textStatus) {
|
if(data == 0) {
|
window.location.href = "${base}/ewyw/ewQuestion/ewadminEndQuestion.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}";
|
}else{
|
if(data == 1){
|
popupTips("其他人还在处理工单");
|
}else{
|
window.location.href = "${base}/ewyw/ewQuestion/ewlzbz.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}";
|
}
|
|
}
|
|
})
|
|
}
|
|
//结束任务
|
function endQuestion() {
|
$.post("${base}/ewyw/ewQuestion/ewissave.html",{"nodeId":nodeId},function(data,textStatus) {
|
if(data == 0) {
|
window.location.href = "${base}/ewyw/ewQuestion/ewEndQuestion.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}&customerId="+customerId;
|
|
}else{
|
if(data == 1){
|
popupTips("其他人还在处理工单");
|
}else{
|
window.location.href = "${base}/ewyw/ewQuestion/ewlzbz.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}";
|
}
|
|
}
|
|
})
|
|
}
|
|
function orderAssign() {
|
|
$.post("${base}/ewyw/ewQuestion/ewissave.html",{"nodeId":nodeId},function(data,textStatus) {
|
if(data == 0) {
|
window.location.href = "${base}/ewyw/ewQuestion/ewwtusers.html?customer_id="+customerId+"&flowId=${flowId}&curnodeId="+curnodeId+"&add=1";
|
}else{
|
if(data == 1){
|
popupTips("其他人还在处理工单");
|
}else{
|
window.location.href = "${base}/ewyw/ewQuestion/ewlzbz.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}";
|
}
|
|
}
|
|
})
|
|
|
}
|
|
function orderclose() {
|
|
window.location.href = "${base}/ewyw/ewQuestion/ewclosequestion.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}&customerId=${question.CUSTOMER_ID}";
|
}
|
|
function ordergq() {
|
|
window.location.href = "${base}/ewyw/ewQuestion/ewquestiongq.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}";
|
}
|
|
function orderback() {
|
window.location.href = "${base}/ewyw/ewQuestion/eworderBack.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}";
|
}
|
|
function questionopen() {
|
window.location.href = "${base}/ewyw/ewQuestion/ewQuestionopen.html?orderId="+orderId+"&flowId="+flowId;
|
}
|
</script>
|
</body>
|
</html>
|