<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>流转备注</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/DatePicker.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="width:90%;margin-top:30px;margin-left: 30px">
|
<tr>
|
<th class="postop" style="text-align:left">
|
<label class="required">执行情况:</label>
|
</th>
|
<td colspan="3">
|
<input name="execSituation" type="radio" value="1" checked/>成功
|
<input name="execSituation" type="radio" value="2"/>失败
|
</td>
|
</tr>
|
|
<!--<tr>
|
<th nowrap class="postop" style="text-align:left"><label class="required">实际工时:</label></th>
|
<td colspan="3"><input type="text" id="hours" name="hours" class="general"/></td>
|
</tr>
|
|
--><tr>
|
<th nowrap class="postop" style="text-align:left"><label class="required">流转说明:</label></th>
|
<td colspan="3"><textarea id="flowNote" name="flowNote" value="" class="general"></textarea></td>
|
</tr>
|
|
<tr>
|
<th nowrap class="postop" style="text-align:left"><label class="required">操作步骤:</label></th>
|
<td colspan="3"><textarea id="execStep" name="execStep" value="" class="general"></textarea></td>
|
</tr>
|
|
<tr id="backStepDiv" style="display:none;">
|
<th nowrap class="postop" style="text-align:left"><label class="required">回退步骤:</label></th>
|
<td colspan="3"><textarea id="backStep" name="backStep" 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,"noclose":true},
|
[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
|
});
|
|
$(function(){
|
$("div[name=execSituation]").click(function(){
|
var execSituation = $("input[name=execSituation]:radio:checked").val();
|
if(execSituation=='1'){
|
$("#backStepDiv").hide();
|
}else{
|
$("#backStepDiv").show();
|
}
|
|
});
|
});
|
|
//点击事件
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
var execSituation = $("input[name='execSituation'][type='radio']:checked").val();
|
var flowNote = $("#flowNote").val();
|
var execStep = $("#execStep").val();
|
var hours = $("#hours").val();
|
if($.trim(execSituation)==''){
|
window.top.popupTips('请选择执行情况', 1);
|
return;
|
}
|
|
if($.trim(flowNote)==''||flowNote.length>200){
|
window.top.popupTips('请填写流转说明,不超过200个汉字或字符', 1);
|
return;
|
}
|
if($.trim(execStep)==''||flowNote.length>200){
|
window.top.popupTips('请填写操作步骤,不超过200个汉字或字符', 1);
|
return;
|
}
|
|
$("#myform").submit();
|
window.top.hideDialog(dialogID);
|
}
|
}
|
|
--></script>
|
</html>
|