<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>配置审核</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/userSelector.html" /]
|
<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;
|
}});
|
$("#curId").formValidator({empty:false,onFocus:"请选择审核人",onShow:"请选择审核人"}).inputValidator({min:1,onError:"请选择审核人"});
|
|
$("#isNext").change(function(){
|
$("#sh_div").toggle();
|
});
|
|
/* $("input[name=flag]").change(function(){
|
$(".next_div").toggle();
|
if($("input[name=flag]:checked").val()=="2"){
|
$("#sh_div").hide();
|
}else{
|
if($("#isNext").val()=="2"){
|
$("#sh_div").hide();
|
}else{
|
$("#sh_div").show();
|
}
|
}
|
}); */
|
})
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
if($("#isNext").val()=='2'){
|
$("#curId").attr("disabled",true).unFormValidator(true);
|
}
|
$("#myform").submit();
|
}
|
}
|
</script>
|
</head>
|
<body class="end_task_body widthauto">
|
<div id="template">
|
[#if info.id??]
|
[#include "/business/pages/cfg/cfgTemplateRead.html" /]
|
[/#if]
|
</div>
|
<form id="myform" action="comitSh.html" method="post">
|
<input type="hidden" name="busId" value="${RequestParameters.busId}"/>
|
<input type="hidden" name="cfgId" value="${RequestParameters.cfgId}"/>
|
<div class="edit_title"><h3>审核信息</h3></div>
|
<table class="edit_layout2">
|
<!-- <tr>
|
<th ><label>审核结果:</label></th>
|
<td>
|
<input class="audit" type="radio" name="flag" value="1" checked/>通过
|
<input class="audit" type="radio" name="flag" value="2"/>不通过
|
</td>
|
</tr> -->
|
|
<tr class="next_div">
|
<th ><label>是否审核:</label></th>
|
<td>
|
<select name="isNext" id="isNext" class="mysel">
|
<option value="2">否</option>
|
<option value="1">是</option>
|
</select>
|
</td>
|
</tr>
|
|
<tr>
|
<th ><label>备注:</label></th>
|
<td>
|
<textarea rows="5" cols="100" name="note" id="note" class="general"></textarea>
|
</td>
|
</tr>
|
|
|
|
<tr id="sh_div" style="display:none;">
|
<th><label>审核人:</label></th>
|
<td>
|
[@user id="curId" name="curName" iframe="{'lv1_id':'dialogIframedo'}"/]
|
<div id="curIdTip" style="display:inline-block;width:180px;"></div>
|
</td>
|
</tr>
|
</table>
|
</form>
|
</body>
|
</html>
|