<!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">
|
<a href="javascript:history.go(-1);"><span></span></a>添加处理记录
|
|
</header>
|
<section class="wlresponse">
|
<input type="hidden" name="id" id="id" [#if info?? && info?size>0] value="${info.ID}" [/#if] />
|
<p>
|
<span>处理描述</span>
|
<i><textarea name="deal_content" id="deal_content" cols="" rows="3" class="event-text">[#if info??]${info.DEAL_CONTENT}[/#if]</textarea></i>
|
</p>
|
<!-- <p>
|
<span>添加附件</span>
|
<button class="selects">上传附件</button> <button class="photographs2"><em></em>拍照</button>
|
</p> -->
|
<button class="bluebtn bluebtnsmal2" onclick="javascript:checkSubmit();">确定</button>
|
</section>
|
</body>
|
<script type="text/javascript">
|
var sftj=true;
|
function checkSubmit(){
|
var id = $("#id").val();
|
var deal_content = $.trim($("#deal_content").val());
|
if(deal_content == ""){
|
popupTips('请填写处理描述!');
|
return;
|
}
|
if(sftj){
|
$.post("${base}/ewyw/ewIncident/addEwCl.html",{'id':id,'flowId':'${flowId}','deal_content':deal_content},function(data,textStatus) {
|
if(data == '1') {
|
sftj=false;
|
popupTips("操作成功", 2000);
|
if('${showType}' == '${Constants.WECHAT_DETAIL_DEAL_SCORE_SJ}'){
|
window.location.href = "${base}/ewyw/ewIncident/ewIncidentInfoCl.html?orderId=${orderId}";
|
}else if('${showType}' == '${Constants.WECHAT_DETAIL_DEAL_SCORE_WT}'){
|
window.location.href = "${base}/ewyw/ewQuestion/ewQuestionDeal.html?orderId=${orderId}&flowId=${flowId}";
|
}else if('${showType}' == '${Constants.WECHAT_DETAIL_DEAL_SCORE_LXWH}'){
|
window.location.href = "${base}/ewyw/ewRemind/ewRemindInfoCl.html?orderId=${orderId}";
|
}else if('${showType}' == '${Constants.WECHAT_DETAIL_DEAL_SCORE_JKJC}'){
|
window.location.href="${base}/ewyw/ewHealth/ewHealthInfoCl.html?orderId=${orderId}";
|
}
|
} else {
|
popupTips("操作失败", 2000);
|
}
|
},"json");
|
}
|
}
|
</script>
|
</html>
|