<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>流转备注</title>
|
[#include "/business/pages/include/static.html" /]
|
<link rel="stylesheet" href="${common_static}/static/plugins/ztree/css/zTreeStyle/zTreeStyle.css" type="text/css">
|
<script type="text/javascript" src="${common_static}/static/plugins/ztree/js/jquery.ztree.all-3.5.min.js"></script>
|
</head>
|
|
<body>
|
|
<div>
|
<form id="myform" action="" method="post">
|
<input name="orderId" value="${RequestParameters.orderId}" type="hidden"/>
|
<input name="nodeId" value="${RequestParameters.nodeId}" type="hidden"/>
|
<input name="flowId" value="${RequestParameters.flowId}" type="hidden"/>
|
<table class="edit_layout" style="margin-top:30px;margin-left: 30px">
|
<tr>
|
<th class="postop" nowrap style="text-align:left"><label class="required">发布是否成功:</label></th>
|
<td>
|
<input name="sucessFlag" type="radio" value="1">是
|
<input name="sucessFlag" type="radio" value="2">否
|
</td>
|
</tr>
|
<tr>
|
<th class="postop" nowrap style="text-align:left"><label class="required">回顾结果:</label></th>
|
<td><textarea id="flowNote" name="flowNote" value="" class="general"></textarea></td>
|
</tr>
|
</table>
|
</form>
|
</div>
|
|
</body>
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
document.getElementById("myform").target = window.top.openDialog("1","操作",
|
{},
|
{"width":40,"height":40},
|
[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
});
|
|
|
//点击事件
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
var sucessFlag = $("input[name='sucessFlag'][type='radio']:checked").val();
|
var flowNote = $("#flowNote").val();
|
if($.trim(sucessFlag)==''){
|
window.top.popupTips('请选择发布状态', 1);
|
return;
|
}
|
if($.trim(flowNote)==''){
|
window.top.popupTips('请填写回顾结果', 1);
|
return;
|
}
|
$("#myform").submit();
|
window.top.hideDialog(dialogID);
|
}
|
}
|
|
</script>
|
</html>
|