<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>index</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" method="post" action="${base}/business/pages/health/healthSendback.html">
|
<input name="orderId" value="${orderId}" type="hidden"/>
|
<input name="lastNodeTemplateId" value="${lastNodeTemplateId}" type="hidden"/>
|
<input name="nodeId" value="${nodeId}" type="hidden"/>
|
<input name="flowId" value="${flowId}" type="hidden"/>
|
<table class="edit_layout" style="margin-top:30px">
|
<tr>
|
<th class="postop"><label class="required">回退原因说明:</label></th>
|
<td colspan="3"><textarea id="backNote" name="backNote" value="" class="general"></textarea>
|
<div id="backNoteTip" style="display:inline-block;"></div>
|
</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;
|
}});
|
$("#backNote").formValidator({
|
empty: false,
|
onShow: "回退原因说明不能为空!",
|
onFocus: "回退原因说明不能为空"
|
}).inputValidator({min: 1,max: 400, onError: "回退原因说明不超过400个字符"});
|
});
|
|
//点击事件
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
var value = $("#backNote").val();
|
if($.util.isEmpty(value)) {
|
window.top.popupTips("回退原因不能为空");
|
return;
|
}
|
$("#myform").submit();
|
//window.top.hideDialog(dialogID);
|
}
|
}
|
|
</script>
|
</html>
|