<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>升级原因</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/HtmlEditor.html" /]
|
<script type="text/javascript">
|
$(document).ready(function() {
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
if(!confirm("确定要提交吗?")) {
|
return false;
|
}
|
document.getElementById("myform").target = window.top.openDialog("0","操作",
|
{},
|
{"width":40,"height":40},
|
[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
|
|
return true;
|
}});
|
|
$("#resolve").formValidator({onshow:"原因说明不能为空",onFocus:"原因说明不能为空"}).functionValidator({
|
fun:function(val,elem){
|
var text = resolve.isEmpty();
|
if(text) {
|
return "请输入原因说明";
|
}
|
return true;
|
}
|
});
|
|
|
|
});
|
|
|
</script>
|
|
</head>
|
|
<body class="end_task_body">
|
<div class="end_task">
|
<form id="myform" action="" method="post">
|
<input type="hidden" name="incidentId" value='${RequestParameters.incidentId}'>
|
<table>
|
<tr><th><label class="required">原因说明:</label></th><td>
|
[@htmleditor id="resolve" simple="true" class="general" height="200px;" width="625px"/]
|
<div id="resolveTip" style="display:inline-block;"></div>
|
</td></tr>
|
|
<tr><th>流转备注:</th><td>
|
<textarea class="general" style="width:615px;" id="bz" name="bz"></textarea>
|
<div id="bzTip" style="display:inline-block;"></div>
|
</td></tr>
|
|
</table>
|
</form>
|
</div>
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure_"+dialogID){
|
$("#myform").submit();
|
}
|
}
|
</script>
|
|
</body>
|
</html>
|