<!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("1","操作",
|
{},
|
{"width":40,"height":40},[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
$("#shId").formValidator({empty:false,onShow:"请选择审核人",onFocus:"审核人不能为空!"}).inputValidator({min: 1, onError: "审核人不能为空!"});
|
})
|
</script>
|
<body class="end_task_body widthauto" >
|
<table class="edit_layout2">
|
<tr>
|
<th><label class="required">审核人:</label></th>
|
<td>
|
<span id="show"></span><a href="javascript:selectShr()" class="mainbtn" style="margin-left:10px;"><span>选择处理人</span></a>
|
<input type="hidden" id="shId" name="shId" value=""/>
|
<input type="hidden" id="shName" name="shName" value=""/>
|
<div id="shIdTip" style="display:inline-block;"></div>
|
</td>
|
</tr>
|
<tr>
|
<th>申请备注:</th>
|
<td>
|
<textarea rows="5" style="width:300px;" name="applyNote" id="applyNote" class="general"></textarea>
|
</td>
|
</tr>
|
</table>
|
</body>
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
if($.util.isEmpty($("#shId").val())){
|
popupTips("请选择审核人!");
|
return;
|
}
|
var shId = $("#shId").val();
|
var shName = $("#shName").val();
|
var applyNote = $("#applyNote").val();
|
window.top.showUser(shId,shName,applyNote);
|
}
|
}
|
|
function selectShr(){
|
var url = "${base}/business/pages/knowledge/knowledgeDeal/chooseShr.html";
|
window.top.openDialog("choose","选择审核人",
|
{},
|
{"width":60,"height":70},
|
[{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],url);
|
}
|
|
function getValues(id,name){
|
$("#shId").val(id);
|
$("#shName").val(name);
|
$("#show").html(name);
|
}
|
</script>
|
</html>
|