<!doctype html>
|
<html>
|
<head>
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
</head>
|
|
<body>
|
<header class="kltit">
|
<a href="javascript:history.go(-1);"><span></span></a>工单回退
|
|
</header>
|
<section class="wlresponse">
|
<p>
|
<span class="long">回退原因说明</span>
|
<i class="long"><textarea name="backNote" id="backNote" cols="" rows="3" class="event-text"></textarea></i>
|
</p>
|
<button class="bluebtn bluebtnsmal2" onclick="checkSubmit();">确定</button>
|
</section>
|
</body>
|
<script type="text/javascript">
|
function checkSubmit(){
|
var backNote = $.trim($("#backNote").val());
|
if(backNote == ""){
|
popupTips('请填写回退原因说明!');
|
return;
|
}
|
$.post("${base}/ewyw/ewRemind/ewRemindSendback.html",{'orderId':'${orderId}','nodeId':'${nodeId}','backNote':backNote,'lastNodeTemplateId':'${lastNodeTemplateId}','flowId':'${flowId}'},function(data,textStatus) {
|
if(data == '1') {
|
popupTips("操作成功", 2000);
|
window.location.href = "${base}/ewyw/ewIncident/ewoption.html?wt=2";
|
} else {
|
popupTips("操作失败", 2000);
|
}
|
});
|
}
|
</script>
|
</html>
|