<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>填写关闭原因</title>
|
[#include "/business/pages/include/static.html" /]
|
<script type="text/javascript">
|
$(document).ready(function() {
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
if(!(window.top.openConfirm("确定要提交吗?"))) {
|
return false;
|
}
|
document.getElementById("myform").target = window.top.openDialog("0","操作",
|
{},
|
{"width":40,"height":40},
|
[{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
|
|
return true;
|
}});
|
|
$("#solveWay").formValidator({empty: false, onShow:"请输入关闭原因!",onFocus: "请输入关闭原因"}).inputValidator({min: 1, onError: "关闭原因不能为空"});
|
|
});
|
|
|
</script>
|
|
</head>
|
|
<body class="end_task_body">
|
<div class="end_task">
|
<form id="myform" action="${base}/business/pages/incident/closeTask.html" method="post">
|
<input type="hidden" name="incidentId" value='${RequestParameters.incidentId}'>
|
<table>
|
<tr>
|
<th>关闭原因:</th><td id="solveWrap">
|
<div class="way">
|
<textarea class="general" name="solveWay" id="solveWay"></textarea>
|
<div id="solveWayTip" style="display:inline-block;"></div>
|
</div>
|
</tr>
|
</table>
|
</form>
|
</div>
|
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "tipBtnSure"){
|
$("#myform").submit();
|
}
|
}
|
</script>
|
|
</body>
|
</html>
|