<!doctype html>
|
<html>
|
<head>
|
<meta charset="utf-8">
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
|
</head>
|
<body>
|
<header class="kltit clearfix"><a href="javascript:history.go(-1);"><span></span></a>驻场事件工单响应</header>
|
<section class="wlresponse">
|
<p>
|
<span>事件编号</span>
|
<label>${incident.ORDER_CODE}</label>
|
</p>
|
<p>
|
<span>事件状态</span>
|
<label>${Constants.getmapSC_WORKFLOW_INCIDENT_STATE_Label(incident.STATE+"")}</label>
|
</p>
|
<p>
|
<span>${Constants.CUSTOMER_CONSTANTS}名称</span>
|
<label>${incident.CUSTOMER_NAME}</label>
|
</p>
|
<p>
|
<span>服务目录</span>
|
<label>${incident.FIRST_CATEGORY_NAME}>${incident.SECOND_CATEGORY_NAME}>${incident.THIRD_CATEGORY_NAME}</label>
|
</p>
|
<p>
|
<span>SLA等级</span>
|
<label>
|
<em class="org">${incident.SLA_NAME}</em><br />
|
<em class="responseicon"></em>响应时间:<em class="org">${incident.REQUEST_ANSWER_TIME}分钟</em><br />
|
<em class="responseicon"></em>解决时间:<em class="org">${incident.REQUEST_DEAL_TIME}小时</em>
|
</label>
|
</p>
|
<button class="bluebtn bluebtnsmall" onclick="incidentResp()">确定</button><button class="bluebtn bluebtnsmall redcolor" onclick="javascript:window.location.href='${base}/ewyw/eworder/ewOrderInfo.html?orderId=${incident.ID}&orderType=${Constants.WORKFLOW_BASE_BUSINESS_TYPE_INCIDENT_LOCAL}'">详情</button>
|
</section>
|
|
<script type="text/javascript">
|
var b = false;
|
function incidentResp() {
|
if(!b) {
|
b = true;
|
$.post("${base}/ewyw/ewzc/answerZc.html",{"incidentId":'${incident.ID}',"flowId":'${incident.FLOW_ID}'},function(data,textStatus) {
|
if(data=='2') {
|
popupTips('该工单已被响应过', 2000);
|
} else if(data=='1') {
|
popupTips("响应成功", 2000);
|
window.location.href="${base}/ewyw/ewzc/ewZcInfoCl.html?orderId=${incident.ID}&orderType=${Constants.WORKFLOW_BASE_BUSINESS_TYPE_INCIDENT_LOCAL}";
|
} else {
|
popupTips("响应失败", 2000);
|
}
|
b = false;
|
})
|
} else {
|
popupTips("正在响应...", 2000);
|
}
|
}
|
</script>
|
|
</body>
|
|
|
|
</html>
|