<!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>挂起原因</span>
|
<label>
|
<select id="solveWay" class="select" style="width:142px;height:26px;">
|
<option value="">请选择</option>
|
[#if ways?? && ways?size>0]
|
[#list ways as re]
|
<option value="${re.DATAKEY}" class="${re.DATAKEY}" [#if re_index==0]selected[/#if]>${re.DATAVALUE}</option>
|
[/#list]
|
[/#if]
|
</select>
|
</label>
|
</p>
|
<p>
|
<span>备注</span>
|
<i><textarea name="content" id="content" cols="" rows="3" class="event-text"></textarea></i>
|
</p>
|
<button class="bluebtn bluebtnsmal2" onclick="checkSubmit();">确定</button>
|
</section>
|
|
<script type="text/javascript">
|
|
|
function checkSubmit(){
|
var solveWay = $("#solveWay").val();
|
var content = $.trim($("#content").val());
|
if(solveWay == ""){
|
popupTips('请选择挂起原因!');
|
return;
|
}
|
if(content == ""){
|
popupTips('请填写备注信息!');
|
return;
|
}
|
var solveWayName = $("."+solveWay).text();
|
$.post("${base}/ewyw/ewQuestion/ewquestiongq.html",{'solveWay':solveWay,'solveWayName':solveWayName,'content':content,'flowId':'${flowId}','orderId':'${orderId}','nodeId':'${nodeId}'},function(data,textStatus) {
|
if(data == '1') {
|
popupTips("操作成功", 2000);
|
window.location.href = "${base}/ewyw/ewQuestion/ewMyQuestion.html";
|
} else {
|
popupTips("操作失败", 2000);
|
}
|
});
|
}
|
</script>
|
</body>
|
</html>
|