<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>index</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/DatePicker.html" /]
|
[#include "/component/sel.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 class="personnel_allocation_body">
|
|
|
<div>
|
<form id="myform" action="" method="post">
|
<input name="orderId" value="${orderId}" type="hidden"/>
|
<input name="nodeId" value="${nodeId}" type="hidden"/>
|
<input name="nextUserId" id="nextUserId" type="hidden"/>
|
<input name="nextUserName" id="nextUserName" type="hidden"/>
|
|
<table class="pab_con" style="margin:0 auto;">
|
[#if roleList?? && roleList?size > 0]
|
[#list roleList as role]
|
<tr><td style="width:15%;">配置管理员</td><td>
|
[#if role.userList?? && role.userList?size > 0]
|
[#list role.userList as user]
|
<input class="pos" type="radio" name="userid" value="user_${user.USER_ID}"/><span>${user.USER_NAME}</span>
|
[/#list]
|
[/#if]
|
</td></tr>
|
[#--<tr><td style="width:15%;">分组</td><td>
|
<div class="pabitem"><input class="pos" type="radio" name="userid" value="group_${role.groupId}"/><span>${role.groupName}</span></div>
|
</td></tr>--]
|
[/#list]
|
[#else]
|
<td class="greybg">配置管理员</td>
|
<td colspan="5" style="padding:0;">
|
请配置
|
</td>
|
[/#if]
|
<tr>
|
<td class="greybg">流转备注</td>
|
<td colspan="5" style="padding:0;">
|
<textarea class="general" id="flowNote" name="flowNote" style="width:95%;height:100px;border:0;" ></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 onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
var userId;
|
var userName;
|
$('input:radio:checked').each(function(){
|
userId=$(this).val();
|
userName=$(this).next("span").text();
|
});
|
if($.util.isEmpty(userId)){
|
popupTips("请选择执行人");
|
return false;
|
}
|
|
window.top.confirmInfo('提示', '确定要提交吗?', function(){
|
$("#nextUserId").val(userId);
|
$("#nextUserName").val(userName);
|
$("#myform").submit();
|
})
|
}
|
}
|
|
</script>
|
</html>
|