<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>审核申请</title>
|
|
[#include "/business/pages/include/static.html" /]
|
</head>
|
<script type="text/javascript">
|
$(function() {
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
document.getElementById("myform").target = window.top.openDialog("3","操作",
|
{},
|
{"width":40,"height":40},[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
})
|
</script>
|
<body class="end_task_body widthauto" >
|
<form action="${base}/business/pages/knowledge/knowledgeDeal/knowSp.html" method="post" id="myform">
|
<input type="hidden" name="id" value="${id}" />
|
<input type="hidden" name="pId" value="${RequestParameters.pId}" />
|
<table id="selExecutors" class="pab_con">
|
[#if groupList??&&groupList?size>0]
|
[#list groupList as group]
|
<tr><th>${group.name}</th><td>
|
[#assign userList=group.dataList]
|
[#if userList??&&userList?size>0]
|
[#list userList as user]
|
<div class="pabitem">
|
<input name="checkbox" value="${group.id}-${user.USER_ID}" type="radio" class="pos" [#if spMap??][#if spMap.AUDITOR_ID == user.USER_ID&& spMap.ROLE_ID == group.id]checked="checked"[/#if][/#if]/><span>${user.USER_NAME}</span>
|
</div>
|
[/#list]
|
[/#if]
|
</td></tr>
|
[/#list]
|
[/#if]
|
</table>
|
<input type="hidden" name="checkboxName" id="checkboxName" [#if spMap??]value="${spMap.AUDITOR_NAME}"[/#if] />
|
</form>
|
</body>
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
if($.util.isEmpty($(":radio:checked").val())){
|
popupTips("请选择审核人!");
|
return;
|
}
|
$("#myform").submit();
|
/*
|
var shId = $(":radio:checked").val();
|
var shName = $(":radio:checked").next().text();
|
window.top.document.getElementById('myiframe').contentWindow.setValues(shId,shName);
|
window.top.hideDialog('choose');*/
|
}
|
}
|
|
$("input[name='checkbox']").live('click',function(){
|
$("#checkboxName").val($(this).next().text());
|
});
|
</script>
|
</html>
|