initial commit
This commit is contained in:
@@ -0,0 +1,164 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@include file="/common/taglib.jsp"%>
|
||||
<%@ page import="nis.nms.core.*" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>i18n_agi.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/onmouse.js'/>" ></script>
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/WebCalendar.js'/>"></script>
|
||||
<!-- <link rel="StyleSheet" href="<c:url value='/dtree/css/dtree.css" type="text/css'/>" /> -->
|
||||
<link href="<c:url value='/js//dtree/css/dtree.css'/>" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript" src="<c:url value='/dtree/js/dtree_checkbox.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
function ajaxCheck(){
|
||||
var type;
|
||||
$.ajax({
|
||||
url:"<c:url value='/'/>sysManage/userGroupPerssion.do?action=AjaxCheck",
|
||||
type : "POST",
|
||||
async:false,
|
||||
data:$('#jsForm').serialize(),
|
||||
success : function(data) {
|
||||
if(data == "error"){
|
||||
alert("i18n_agi.message.jsFormError_n81i");
|
||||
type = false;
|
||||
}else if(data == "exception"){
|
||||
alert("i18n_agi.message.jsFormException_n81i");
|
||||
type = false;
|
||||
}else if(data =="success"){
|
||||
type = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
return type;
|
||||
}
|
||||
|
||||
function add(){
|
||||
if($id("jsmc","","i18n_agi.text.jsmc_n81i")){
|
||||
if(checkSpecial($.trim($("#jsmc").val()))){
|
||||
$("#jsmc").next().html("i18n_agi.message.jsmc_n81i");
|
||||
return;
|
||||
}
|
||||
var values=document.getElementsByName("mkid");
|
||||
var checkedValues='';
|
||||
for(i = 0; i < values.length; i++ ){
|
||||
if (values[i].checked==true ){
|
||||
checkedValues +=values[i].value+",";
|
||||
}
|
||||
}
|
||||
if(checkedValues==''){
|
||||
$("#sys").html('i18n_agi.message.sys_n81i');
|
||||
return ;
|
||||
}
|
||||
if(ajaxCheck()){
|
||||
document.jsForm.action="<c:url value='/'/>sysManage/userGroupPerssion.do?action=addgroupInfo";
|
||||
document.jsForm.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
function goBack(){
|
||||
document.jsForm.action="<c:url value='/'/>sysManage/userGroupPerssion.do?action=query";
|
||||
document.jsForm.submit();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list">
|
||||
<div class="box_2">
|
||||
<input type="button" value="i18n_agi.button.back_n81i"
|
||||
class=btn3_mouseout onclick="javaScript:goBack();"
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"/>
|
||||
</div>
|
||||
<div style="height: 25px"></div>
|
||||
<form action="" name="jsForm" id="jsForm" method="post">
|
||||
<input type="hidden" name="pageNo" value="${pageNo }" />
|
||||
<input type="hidden" name="pageSize" value="${pageSize }" />
|
||||
<input type="hidden" name="fromWhere" value="${fromWhere }"/>
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table" >
|
||||
<tr>
|
||||
<td class="color_top" colspan="2">
|
||||
<strong>i18n_agi.text.title_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">i18n_agi.text.jsmc_n81i:</td>
|
||||
<td class="color_3" align="left">
|
||||
<input type="text" name="role.jsmc" id="jsmc"/>
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">i18n_agi.text.jsms_n81i:</td>
|
||||
<td class="color_3" align="left">
|
||||
<textarea name="role.jsms" id="jsms" rows="4" cols="40" ></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_agi.text.state_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left">
|
||||
i18n_agi.text.using_n81i
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_agi.text.selectSys_n81i<font color="red">*</font>
|
||||
</td>
|
||||
<td class="color_3" colspan="3" align="left">
|
||||
<font color="red" id="sys"></font>
|
||||
<div id="tree" name="tree"
|
||||
style="OVERFLOW-Y: auto; width: 100%;">
|
||||
<script type="text/javascript">
|
||||
d = new dTree('d');
|
||||
d.add('0','-1','i18n_agi.text.systemList_n81i');
|
||||
<%
|
||||
List treeList = (List)request.getAttribute("treeList");
|
||||
List list = MakeTree.getAllResourceList(treeList);
|
||||
if(list != null && list.size() > 0){
|
||||
Resource resource = new Resource();
|
||||
for( int i = 0 ; i < list.size() ; i++ ){
|
||||
resource = (Resource) list.get(i);
|
||||
%>
|
||||
d.add('<%=resource.getRsCode()%>','<%=resource.getParRsCode()%>','<%=resource.getRsname()%>','');
|
||||
<%
|
||||
|
||||
}
|
||||
}
|
||||
%>
|
||||
document.write(d);
|
||||
</script>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right" class="color_1">
|
||||
<input type="button" onclick="add()" value="i18n_agi.button.submit_n81i"
|
||||
class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"/>
|
||||
|
||||
<input type="button" value="i18n_agi.button.reset_n81i"
|
||||
class=btn3_mouseout onclick="javascript:jQuery('#jsForm')[0].reset();"
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,188 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@include file="/common/taglib.jsp"%>
|
||||
<%@ page import="nis.nms.core.*" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>i18n_ggrp.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/onmouse.js'/>" ></script>
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/WebCalendar.js'/>"></script>
|
||||
<!-- <link rel="StyleSheet" href="<c:url value='/dtree/css/dtree.css" type="text/css'/>" /> -->
|
||||
<link href="<c:url value='/js//dtree/css/dtree.css'/>" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript" src="<c:url value='/dtree/js/dtree_checkbox.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
function checkUpdate(){
|
||||
var type;
|
||||
$.ajax({
|
||||
url:"<c:url value='/'/>sysManage/userGroupPerssion.do?action=checkUpdate",
|
||||
type : "POST",
|
||||
async:false,
|
||||
data:$('#jsForm').serialize(),
|
||||
success : function(data) {
|
||||
if(data == "error"){
|
||||
alert("i18n_ggrp.message.jsFormError_n81i");
|
||||
type = false;
|
||||
}else if(data == "exception"){
|
||||
alert("i18n_ggrp.message.jsFormException_n81i");
|
||||
type = false;
|
||||
}else if(data =="success"){
|
||||
type = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
return type;
|
||||
}
|
||||
|
||||
function update(){
|
||||
if($id("jsmc","","i18n_ggrp.text.jsmc_n81i")){
|
||||
if(checkSpecial($.trim($("#jsmc").val()))){
|
||||
$("#jsmc").next().html("i18n_ggrp.message.jsmc_n81i");
|
||||
return;
|
||||
}
|
||||
var values=document.getElementsByName("mkid");
|
||||
var checkedValues='';
|
||||
for( var i = 0; i < values.length; i++ ){
|
||||
if (values[i].checked==true ){
|
||||
checkedValues +=values[i].value+",";
|
||||
}
|
||||
}
|
||||
if(checkedValues==''){
|
||||
$("#sys").html('i18n_ggrp.message.jsmc_n81i');
|
||||
return ;
|
||||
}
|
||||
if(checkUpdate()){
|
||||
document.jsForm.action="<c:url value='/'/>sysManage/userGroupPerssion.do?action=update";
|
||||
document.jsForm.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
function goBack(){
|
||||
document.jsForm.action="<c:url value='/'/>/sysManage/userGroupPerssion.do?action=query";
|
||||
document.jsForm.submit();
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list">
|
||||
<div class="box_2">
|
||||
<input type="button" value="i18n_ggrp.button.back_n81i" class=btn3_mouseout
|
||||
onclick="javaScript:goBack();"
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'" />
|
||||
</div>
|
||||
<div style="height: 25px"></div>
|
||||
<form action="" name="jsForm" id="jsForm" method="post">
|
||||
<input type="hidden" name="position" value="${position }" />
|
||||
<input type="hidden" name="userGroup.jsbh"
|
||||
value="${listJsInfo[0].jsbh }" />
|
||||
<input type="hidden" id="na" value="${listJsInfo[0].jsmc }" />
|
||||
<input type="hidden" name="pageNo" value="${pageNo }" />
|
||||
<input type="hidden" name="pageSize" value="${pageSize }" />
|
||||
<jsp:include page="/common/transferHiddenParameter.jsp" />
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table">
|
||||
<tr>
|
||||
<td class="color_top" colspan="2">
|
||||
<strong>i18n_ggrp.text.title_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right" width="30%">
|
||||
i18n_ggrp.text.userGroup_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left">
|
||||
<input name="role.jsbh" value="${listJsInfo[0].jsbh }"
|
||||
type="hidden" />
|
||||
<input type="text" name="role.jsmc" id="jsmc"
|
||||
value="${listJsInfo[0].jsmc }" />
|
||||
<font color="red">*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_ggrp.message.userGroupDesc_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left">
|
||||
<textarea name="role.jsms" rows="4" cols="40" >${listJsInfo[0].jsms}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_ggrp.text.state_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left">
|
||||
<input name="role.type" value="1" type="hidden" />
|
||||
<input type="radio" name="role.zxbz" value="0"
|
||||
<c:if test="${listJsInfo[0].zxbz==0}"> checked </c:if> />
|
||||
<font size=2>i18n_ggrp.message.state0_n81i</font>
|
||||
<input type="radio" name="role.zxbz" value="1"
|
||||
<c:if test="${listJsInfo[0].zxbz==1}"> checked </c:if> />
|
||||
<font size=2>i18n_ggrp.message.state1_n81i</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_ggrp.text.systemId_n81i<font color="red">*</font>
|
||||
</td>
|
||||
<td class="color_3" valign="top" align="left">
|
||||
<font color="red" id="sys"></font>
|
||||
<div id="tree" name="tree" align="left"
|
||||
style="OVERFLOW-Y: auto; width: 100%;">
|
||||
<script type="text/javascript">
|
||||
d = new dTree('d');
|
||||
d.add('0','-1','i18n_ggrp.text.systemList_n81i');
|
||||
<%
|
||||
List treeList = (List)request.getAttribute("listresources");
|
||||
List list = MakeTree.getAllResourceList(treeList);
|
||||
if(list != null && list.size() > 0){
|
||||
Resource resource = new Resource();
|
||||
for( int i = 0 ; i < list.size() ; i++ ){
|
||||
resource = (Resource) list.get(i);
|
||||
if(resource.getChecked()!=null && !"".equals(resource.getChecked())){
|
||||
%>
|
||||
d.add('<%=resource.getRsCode()%>','<%=resource.getParRsCode()%>','<%=resource.getRsname()%>','checked');
|
||||
<%
|
||||
}else{
|
||||
%>
|
||||
d.add('<%=resource.getRsCode()%>','<%=resource.getParRsCode()%>','<%=resource.getRsname()%>','');
|
||||
<%
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
%>
|
||||
document.write(d);
|
||||
</script>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right" class="color_1">
|
||||
<input type="button" onclick="update()" value="i18n_ggrp.button.submit_n81i"
|
||||
class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'" />
|
||||
|
||||
<input type="button" value="i18n_ggrp.button.reset_n81i" class=btn3_mouseout
|
||||
onclick="javascript:jQuery('#jsForm')[0].reset();"
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,398 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@include file="/common/taglib.jsp"%>
|
||||
<%@ page import="nis.nms.core.*" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>i18n_gil.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet" type="text/css" />
|
||||
<link href="<c:url value='/js/jBox/Skins/Gray/jbox.css'/>" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/onmouse.js'/>" ></script>
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/WebCalendar.js'/>"></script>
|
||||
<link href="<c:url value='/css/suggest.css'/>" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript" src="<c:url value='/js/jquery.suggest.js' />"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value="/js/fileInput.js"/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value="/js/jBox/jquery.jBox-2.3.min.js"/>"></script>
|
||||
<style type="text/css">
|
||||
.mydiv {
|
||||
background-color:#fff;
|
||||
border: 1px solid #000;
|
||||
text-align: center;
|
||||
line-height: 40px;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
z-index:99;
|
||||
width: 220px;
|
||||
height: 80px;
|
||||
left:50%;/*FF IE7*/
|
||||
top: 50%;/*FF IE7*/
|
||||
|
||||
margin-left:-150px!important;/*FF IE7 该值为本身宽的一半 */
|
||||
margin-top:-60px!important;/*FF IE7 该值为本身高的一半*/
|
||||
|
||||
margin-top:0px;
|
||||
|
||||
position:fixed!important;/*FF IE7*/
|
||||
position:absolute;/*IE6*/
|
||||
|
||||
_top: expression(eval(document.compatMode &&
|
||||
document.compatMode=='CSS1Compat') ?
|
||||
documentElement.scrollTop + (document.documentElement.clientHeight-this.offsetHeight)/2 :/*IE6*/
|
||||
document.body.scrollTop + (document.body.clientHeight - this.clientHeight)/2);/*IE5 IE5.5*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
.bg {
|
||||
background-color: #ccc;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left:0;
|
||||
top:0;/*FF IE7*/
|
||||
filter:alpha(opacity=50);/*IE*/
|
||||
opacity:0.5;/*FF*/
|
||||
z-index:1;
|
||||
|
||||
position:fixed!important;/*FF IE7*/
|
||||
position:absolute;/*IE6*/
|
||||
|
||||
_top: expression(eval(document.compatMode &&
|
||||
document.compatMode=='CSS1Compat') ?
|
||||
documentElement.scrollTop + (document.documentElement.clientHeight-this.offsetHeight)/2 :/*IE6*/
|
||||
document.body.scrollTop + (document.body.clientHeight - this.clientHeight)/2);/*IE5 IE5.5*/
|
||||
|
||||
}
|
||||
/*The END*/
|
||||
|
||||
</style>
|
||||
<script language="javascript" type="text/javascript">
|
||||
var msg = '${MSG}';
|
||||
if(msg=='1'){
|
||||
alert("i18n_gil.message.success_n81i");
|
||||
}else if(msg=='2'){
|
||||
alert("i18n_gil.message.faild_n81i");
|
||||
}
|
||||
|
||||
//添加记录
|
||||
function addRecord(){
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=openAddgroupPage&pageNo="+'${pageNo }'+"&pageSize="+'${pageSize }';
|
||||
document.form2.submit();
|
||||
}
|
||||
|
||||
//修改记录
|
||||
function openUpdateRecord(jsbh){
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=toupdate&jsbh="+jsbh+"&pageNo="+'${pageNo }'+"&pageSize="+'${pageSize }';
|
||||
document.form2.submit();
|
||||
}
|
||||
|
||||
//查看
|
||||
function viewUpdateRecord(jsbh){
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=viewdateForGuide&jsbh="+jsbh+"&pageNo="+'${pageNo }'+"&pageSize="+'${pageSize }';
|
||||
document.form2.submit();
|
||||
}
|
||||
//配置权限
|
||||
function configJsMkGnRecord(jsbh){
|
||||
var url = "<c:url value='/'/>/sysManage/sSysPopedomManage.do?action=openConfigJsPage&jsbh="+jsbh;
|
||||
//窗体名称\路径、宽度、高度、是否全屏0;1
|
||||
winObj.init("",url,800,590,0);
|
||||
winObj.show();
|
||||
//window.open("<c:url value='/'/>/SysPopedomManage!execute.do?action=openConfigJsPage&jsbh="+jsbh,"","fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,width=800,height=600,left=300,top=200");
|
||||
}
|
||||
function qry(){
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=query";
|
||||
document.form2.submit();
|
||||
}
|
||||
//parent.document.all("listFrame").style.height = document.body.scrollHeight + 16;
|
||||
var set_Id;
|
||||
var ajaxProperties = "";
|
||||
var ajaxTableName = "";
|
||||
var ajaxType = "";
|
||||
var id = "";
|
||||
var returnDiv = "";
|
||||
var ajaxValue = "";
|
||||
|
||||
function lianxiangkeydown() {
|
||||
clearTimeout(set_Id);
|
||||
}
|
||||
|
||||
function lianxiangkeyup(ajaxProperties1,ajaxTableName1,ajaxType1,id1,returnDiv1,ajaxValue1) {
|
||||
//var lianxiangStatusTmp = parent.document.getElementById("lianxiangStatus");
|
||||
//if(lianxiangStatusTmp!=null && lianxiangStatusTmp.value=="2")
|
||||
//{
|
||||
if(jQuery.trim(ajaxValue1)=="") return false;
|
||||
|
||||
ajaxProperties = ajaxProperties1;
|
||||
ajaxTableName = ajaxTableName1;
|
||||
ajaxType = ajaxType1;
|
||||
id = id1;
|
||||
returnDiv = returnDiv1;
|
||||
|
||||
if(!containSpecial(ajaxValue1)){
|
||||
ajaxValue = ajaxValue1;
|
||||
}else{
|
||||
clearTimeout(set_Id);
|
||||
alert('i18n_gil.message.inputInfo_n81i');
|
||||
$("#"+id).val('');
|
||||
return;
|
||||
}
|
||||
clearTimeout(set_Id);
|
||||
set_Id = setTimeout(ajaxForLianxiang,500);
|
||||
//}
|
||||
}
|
||||
|
||||
function ajaxForLianxiang()
|
||||
{
|
||||
jQuery.post("<c:url value='/'/>/sysManage/sysPopedomManage!queryInfoForAjax.do",
|
||||
{"ajaxProperties":ajaxProperties,"ajaxTableName":ajaxTableName,"ajaxType":ajaxType,"ajaxValue":ajaxValue},function(data)
|
||||
{
|
||||
var lianxiangList = data.split(",");
|
||||
jQuery("#"+id).suggest(lianxiangList,{hot_list:lianxiangList,attachObject:"#"+returnDiv});
|
||||
});
|
||||
}
|
||||
function ieBrowser(){
|
||||
if($.browser.msie){
|
||||
if($.browser.version.split('.')[0]<=7){
|
||||
return false;
|
||||
}else{
|
||||
return true;//ie8+
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 程辉 2013-5-8 新增 模板下载
|
||||
function downloadExample() {
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=downloadExample";
|
||||
document.form2.submit();
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=query";
|
||||
}
|
||||
|
||||
//程辉 2013-5-8 新增 导入
|
||||
function importXls() {
|
||||
var myfileVal = document.getElementById("myFile").value;
|
||||
if(myfileVal=="") {
|
||||
alert("i18n_gil.message.importFile_n81i");
|
||||
}else if((myfileVal.lastIndexOf(".xlsx")+5)!=myfileVal.length && (myfileVal.lastIndexOf(".xls")+4)!=myfileVal.length){
|
||||
alert("i18n_gil.message.importCorrectFile_n81i");
|
||||
}else if(confirm('i18n_gil.message.sureToImport_n81i')){
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=importXls";
|
||||
document.form2.submit();
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=query";
|
||||
}
|
||||
}
|
||||
//程辉 2013-5-8 新增 导出当前页
|
||||
function emportCurrentXls() {
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=emportCurrentXls&pageNo="+'${pageNo }'+"&pageSize="+'${pageSize }'+"&jsmc="+$("#jsmc").val();
|
||||
document.form2.submit();
|
||||
closeDiv();
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=query";
|
||||
}
|
||||
//程辉 2013-5-8 新增 导出全部
|
||||
function emportAllXls() {
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=emportAllXls&jsmc="+$("#jsmc").val();
|
||||
document.form2.submit();
|
||||
closeDiv();
|
||||
document.form2.action = "<c:url value='/'/>/sysManage/userGroupPerssion.do?action=query";
|
||||
}
|
||||
function showDiv(){
|
||||
document.getElementById('popDiv').style.display='block';
|
||||
document.getElementById('bg').style.display='block';
|
||||
}
|
||||
|
||||
function closeDiv(){
|
||||
document.getElementById('popDiv').style.display='none';
|
||||
document.getElementById('bg').style.display='none';
|
||||
}
|
||||
|
||||
function goGuide(datas) {
|
||||
if(datas!=null && datas!=""){
|
||||
if(datas.resu=='over') {
|
||||
window.location ="<c:url value='/'/>/sysManage/guideManage!execute.do?action=index";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$(function(){
|
||||
var dh = document.body.clientHeight;
|
||||
var dhh = dh-60+"px;";
|
||||
var tableHeight = $("#info").height();
|
||||
if(tableHeight > dh-60){
|
||||
$("#maindiv").attr("style","clear:both;margin-left:6px;overflow-y:auto;overflow-x:auto;width:99%;font-size:12px;height: "+dhh);
|
||||
if(ieBrowser()){
|
||||
$("#info").attr("style","width:100%;");
|
||||
}else{
|
||||
$("#info").attr("style","width:98.5%;");
|
||||
}
|
||||
}else{
|
||||
$("#maindiv").attr("style","clear:both;margin-left:6px;overflow-y:auto;overflow-x:auto;width:98%;font-size:12px;height: "+dhh);
|
||||
$("#info").attr("style","width:100%;");
|
||||
}
|
||||
$("#maindiv").attr("style","clear:left");
|
||||
|
||||
if($("#isComplete").val()=='0'){
|
||||
//var content = {
|
||||
// content: '业务系统操作已完成,是否进行下一步操作?',
|
||||
// buttons: { '下一步': 1, '返回':0,'取消': -1 },
|
||||
// buttonsFocus: 0,
|
||||
// submit: function (v, h, f) {
|
||||
// if(v == 1) {//执行下一步--用户组
|
||||
// window.location ="<c:url value='/'/>/sysManage/userGroupPerssion.do?action=query";
|
||||
// }
|
||||
// if(v == 0){//返回到设置向导页
|
||||
// window.location ="<c:url value='/'/>/sysManage/guideManage!execute.do?action=index";
|
||||
// }
|
||||
// if(v == -1){//返回到设置向导页
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
//};
|
||||
|
||||
//$.jBox(content);
|
||||
var submit = function (v, h, f) {
|
||||
if (v == 'yes') {
|
||||
$("input[type=hidden][name=fromWhere]").val('formGuide');
|
||||
return;
|
||||
}
|
||||
if (v == 'no') {
|
||||
$.post("<c:url value='/sysManage/guideManage!setComplete.do'/>",
|
||||
{
|
||||
packNum:2,
|
||||
packName:'yhz'
|
||||
},
|
||||
function(datas){
|
||||
goGuide(datas);
|
||||
},"json");
|
||||
|
||||
}
|
||||
};
|
||||
$.jBox.warning("i18n_gil.message.warning_n81i", "i18n_gil.message.hint_n81i", submit,{icon: false});
|
||||
}
|
||||
$("#info").floatHeaderDiv();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--中间部分右边开始-->
|
||||
<div class="middle_list" style="overflow: hidden;">
|
||||
<form name=form2 id="frmArticleType" action="<c:url value='/sysManage/userGroupPerssion.do?action=query'/>" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name = "isComplete" id="isComplete" value="${isComplete}"/>
|
||||
<input type="hidden" name="fromWhere" value="${fromWhere }"/>
|
||||
<div id="divTop">
|
||||
<div class="box_1"><label class="divTopText"><font class="selectText">i18n_gil.text.userGroup_n81i</font>
|
||||
<input type="text" id="jsmc" onkeyup="lianxiangkeyup('jsmc','XtJsJbxx','String','jsmc','suggest1',this.value);"name="jsmc" title="请输入角色名称" value="${jsmc}" size="30" />
|
||||
<div id='suggest1' class="ac_results"></div></label>
|
||||
<img src="<c:url value='/images/button_chaxun.png'/>" class="img_middle2" onclick="javascript:qry();"/>
|
||||
</div>
|
||||
<div class="box_2">
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="javascript:downloadExample();" value="i18n_gil.button.downloadExample_n81i"/>
|
||||
|
||||
|
||||
<input type="button" value="i18n_gil.text.importXls_n81i" title="i18n_gil.text.importXls_n81i" class="btn3_mouseout" onclick="javascript:uploadFile(this)"/>
|
||||
<input type="file" name="myFile" id="myFile" value="" class="filebtn" onchange="javascript:setValue(this.value)"/>
|
||||
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="javascript:importXls();" value="i18n_gil.button.importXls_n81i"/>
|
||||
|
||||
<input type="button" class=btn3_mouseout
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="javascript:showDiv();" value="i18n_gil.button.showDiv_n81i"/>
|
||||
|
||||
|
||||
<jsp:include page="/include/include.jsp"/>
|
||||
</div>
|
||||
</div>
|
||||
<div id="maindiv" >
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table" id="info">
|
||||
<tr>
|
||||
<td class="color_top"> i18n_gil.text.index_n81i </td>
|
||||
<td class="color_top">i18n_gil.text.userGroupDesc_n81i</td>
|
||||
<td class="color_top" >i18n_gil.text.userGroupDesc_n81i</td>
|
||||
<td class="color_top">i18n_gil.text.state_n81i</td>
|
||||
<td class="color_8" >i18n_gil.text.operation_n81i</td>
|
||||
</tr>
|
||||
<c:set var="index" value="${(pageNo-1)*page.pageSize+ 1}" />
|
||||
<c:choose>
|
||||
<c:when test="${fn:length(allJsInfo) > 0}">
|
||||
<c:forEach items="${allJsInfo}" var="aji">
|
||||
<c:if test="${index%2 eq 1}">
|
||||
<c:set var="tdClass" value="color_1" />
|
||||
<c:set var="tdClassR" value="color_7" />
|
||||
</c:if>
|
||||
<c:if test="${index%2 eq 0}">
|
||||
<c:set var="tdClass" value="color_3" />
|
||||
<c:set var="tdClassR" value="color_6" />
|
||||
</c:if>
|
||||
<tr>
|
||||
<td class="${tdClass }">${index}</td>
|
||||
<td class="${tdClass }"><a href="javascript:viewUpdateRecord('${aji.jsbh}')">${aji.jsmc}</a></td>
|
||||
<td class="${tdClass }">${aji.jsms}</td>
|
||||
<td class="${tdClass }">
|
||||
<c:if test="${aji.zxbz==0}">
|
||||
<font size="2">i18n_gil.message.state0_n81i</font>
|
||||
</c:if>
|
||||
<c:if test="${aji.zxbz==1}">
|
||||
<font color="red" size=2>i18n_gil.message.state1_n81i</font>
|
||||
</c:if>
|
||||
</td>
|
||||
<td class="${tdClassR }">
|
||||
<img src="<c:url value='/images/logo_1.png'/>" class="img_middle" />
|
||||
<a href="javascript:openUpdateRecord('${aji.jsbh}')">i18n_gil.text.updateInfo_n81i</a>
|
||||
</td >
|
||||
</tr>
|
||||
<c:set var="index" value="${index + 1}" />
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<td colspan="5" align="center" class="color_6">
|
||||
i18n_gil.text.noRecord_n81i
|
||||
</td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</table>
|
||||
</div>
|
||||
<c:if test="${!empty allJsInfo}">
|
||||
<div id="divBoot">
|
||||
<jsp:include page="/common/page.jsp" />
|
||||
</div>
|
||||
</c:if>
|
||||
</form>
|
||||
</div>
|
||||
<br/>
|
||||
<div id="popDiv" class="mydiv" style="display:none;">
|
||||
<input type="hidden" />
|
||||
<input type="button" class=btn3_mouseout style="width:100px;"
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="javascript:emportCurrentXls();" value="i18n_gil.button.exportCurrentPage_n81i"/>
|
||||
|
||||
<input type="button" class=btn3_mouseout style="width:80px"
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'"
|
||||
onclick="javascript:emportAllXls();" value="i18n_gil.button.exportAllData_n81i"/>
|
||||
<br/>
|
||||
<a href="javascript:closeDiv()">i18n_gil.button.closeWindow_n81i</a></div>
|
||||
|
||||
<div id="bg" class="bg" style="display:none;"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,133 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@include file="/common/taglib.jsp"%>
|
||||
<%@ page import="nis.nms.core.*" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>i18n_vgp.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/onmouse.js'/>" ></script>
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/WebCalendar.js'/>"></script>
|
||||
<link rel="StyleSheet" href="<c:url value='/dtree/css/dtree.css" type="text/css'/>" />
|
||||
<script type="text/javascript" src="<c:url value='/js/dtree/js/dtree.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
function goBack(pageNo,pageSize){
|
||||
|
||||
document.parentWindow.location="<c:url value='/'/>sysManage/userGroupPerssion.do?action=query&pageNo="+pageNo+"&pageSize="+pageSize;
|
||||
}
|
||||
|
||||
function SetWinHeight(obj){
|
||||
var win=obj;
|
||||
win.height =0;
|
||||
if (document.getElementById)
|
||||
{
|
||||
if (win && !window.opera)
|
||||
{
|
||||
if(win.Document && win.Document.body.scrollHeight)
|
||||
win.height = win.Document.body.scrollHeight;
|
||||
else if (win.contentDocument && win.contentDocument.body.offsetHeight)
|
||||
win.height = win.contentDocument.body.offsetHeight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$(function() {
|
||||
document.jsForm.action="<c:url value='/'/>sysManage/systemManage!getGroupUser.do?userGroupId=${listJsInfo[0].jsbh}";
|
||||
document.jsForm.submit();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list">
|
||||
<div class="box_2">
|
||||
<input type="button" value="i18n_vgp.button.back_n81i" class=btn3_mouseout
|
||||
onclick="javaScript:goBack('${pageNo }','${pageSize }');"
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'" />
|
||||
</div>
|
||||
<form action="<c:url value='/sysManage/systemManage!getGroupUser.do?userGroupId=${listJsInfo[0].jsbh}'/>" name="jsForm" id="jsForm" method="post" target="I11">
|
||||
<input type="hidden" name="pageNo" value="${pageNo }" />
|
||||
<input type="hidden" name="pageSize" value="${pageSize }" />
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table" >
|
||||
<tr>
|
||||
<td class="color_top" colspan="4">
|
||||
<strong>i18n_vgp.text.title_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right" width="20%">
|
||||
i18n_vgp.text.userGroup_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" width="28%">
|
||||
<input name="role.jsbh" value="${listJsInfo[0].jsbh }"
|
||||
type="hidden">
|
||||
${listJsInfo[0].jsmc }
|
||||
</td>
|
||||
<td class="color_1" align="right" width="15%">
|
||||
i18n_vgp.text.state_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
<input name="role.type" value="1" type="hidden" />
|
||||
<c:if test="${listJsInfo[0].zxbz==0}"> <font size=2>i18n_vgp.message.state0_n81i</font> </c:if>
|
||||
<c:if test="${listJsInfo[0].zxbz==1}"> <font size=2>i18n_vgp.message.state1_n81i</font> </c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_vgp.text.userGroupDesc_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
<div style="word-break:break-all;word-wrap:break-word;"> ${listJsInfo[0].jsms}</div>
|
||||
</td>
|
||||
<td class="color_1" align="right">
|
||||
i18n_vgp.text.systemId_n81i:
|
||||
</td>
|
||||
<td class="color_3" valign="top" align="left">
|
||||
<div id="tree" name="tree"
|
||||
style="OVERFLOW-Y: auto; width: 100%; text-align: left;">
|
||||
<script type="text/javascript">
|
||||
d = new dTree('d');
|
||||
d.add('0','-1','i18n_vgp.message.systemId_n81i');
|
||||
<%
|
||||
List treeList = (List)request.getAttribute("listresources");
|
||||
List list = MakeTree.getAllResourceList(treeList);
|
||||
if(list != null && list.size() > 0){
|
||||
Resource resource = new Resource();
|
||||
for( int i = 0 ; i < list.size() ; i++ ){
|
||||
resource = (Resource) list.get(i);
|
||||
if(resource.getChecked()!=null && !"".equals(resource.getChecked())){
|
||||
%>
|
||||
d.add('<%=resource.getRsCode()%>','<%=resource.getParRsCode()%>','<%=resource.getRsname()%>');
|
||||
<%
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
%>
|
||||
document.write(d);
|
||||
</script>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_top" colspan="4">
|
||||
<strong>i18n_vgp.text.userGroupInfo_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td colspan="4" >
|
||||
<iframe name="I11" height="0" width="100%" frameborder="0"
|
||||
src="" scrolling="no" onload="SetWinHeight(this)">
|
||||
i18n_bgp.message.brower_n81i
|
||||
</iframe>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,136 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@include file="/common/taglib.jsp"%>
|
||||
<%@ page import="nis.nms.core.*" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>i18n_vgpmfg.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/onmouse.js'/>" ></script>
|
||||
<script language="javascript" type="text/javascript" src="<c:url value='/js/WebCalendar.js'/>"></script>
|
||||
<link rel="StyleSheet" href="<c:url value='/dtree/css/dtree.css" type="text/css'/>" />
|
||||
<script type="text/javascript" src="<c:url value='/js/dtree/js/dtree.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
function goBack(pageNo,pageSize){
|
||||
|
||||
// document.parentWindow.location="<c:url value='/'/>sysManage/userGroupPerssion.do?action=query&pageNo="+pageNo+"&pageSize="+pageSize;
|
||||
window.location="<c:url value='/'/>sysManage/userGroupPerssion.do?action=query&pageNo="+pageNo+"&pageSize="+pageSize;
|
||||
}
|
||||
|
||||
function SetWinHeight(obj){
|
||||
var win=obj;
|
||||
win.height =0;
|
||||
if (document.getElementById)
|
||||
{
|
||||
if (win && !window.opera)
|
||||
{
|
||||
if(win.Document && win.Document.body.scrollHeight)
|
||||
win.height = win.Document.body.scrollHeight;
|
||||
else if (win.contentDocument && win.contentDocument.body.offsetHeight)
|
||||
win.height = win.contentDocument.body.offsetHeight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$(function() {
|
||||
document.jsForm.action="<c:url value='/'/>sysManage/systemManage!getGroupUserForGuide.do?userGroupId=${listJsInfo[0].jsbh}";
|
||||
document.jsForm.submit();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list">
|
||||
<div class="box_2">
|
||||
<input type="button" value="i18n_vgpmfg.button.back_n81i" class=btn3_mouseout
|
||||
onclick="javaScript:goBack('${pageNo }','${pageSize }');"
|
||||
onmouseover="this.className='btn3_mouseover'"
|
||||
onmouseout="this.className='btn3_mouseout'"
|
||||
onmousedown="this.className='btn3_mousedown'"
|
||||
onmouseup="this.className='btn3_mouseup'" />
|
||||
</div>
|
||||
<div style="height: 25px"></div>
|
||||
<form action="<c:url value='/sysManage/systemManage!getGroupUserForGuide.do?userGroupId=${listJsInfo[0].jsbh}'/>" name="jsForm" id="jsForm" method="post" target="I11">
|
||||
<input type="hidden" name="pageNo" value="${pageNo }" />
|
||||
<input type="hidden" name="pageSize" value="${pageSize }" />
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="table" >
|
||||
<tr>
|
||||
<td class="color_top" colspan="4">
|
||||
<strong>i18n_vgpmfg.text.title_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right" width="20%">
|
||||
i18n_vgpmfg.text.usergroup_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" width="28%">
|
||||
<input name="role.jsbh" value="${listJsInfo[0].jsbh }"
|
||||
type="hidden">
|
||||
${listJsInfo[0].jsmc }
|
||||
</td>
|
||||
<td class="color_1" align="right" width="15%">
|
||||
i18n_vgpmfg.text.state_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
<input name="role.type" value="1" type="hidden" />
|
||||
<c:if test="${listJsInfo[0].zxbz==0}"> <font size=2>i18n_vgpmfg.message.state0_n81i</font> </c:if>
|
||||
<c:if test="${listJsInfo[0].zxbz==1}"> <font size=2>i18n_vgpmfg.message.state1_n81i</font> </c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_1" align="right">
|
||||
i18n_vgpmfg.text.userGroupDesc_n81i:
|
||||
</td>
|
||||
<td class="color_3" align="left" >
|
||||
<div style="word-break:break-all;word-wrap:break-word;"> ${listJsInfo[0].jsms}</div>
|
||||
</td>
|
||||
<td class="color_1" align="right">
|
||||
i18n_vgpmfg.text.systemId_n81i:
|
||||
</td>
|
||||
<td class="color_3" valign="top" align="left">
|
||||
<div id="tree" name="tree"
|
||||
style="OVERFLOW-Y: auto; width: 100%; text-align: left;">
|
||||
<script type="text/javascript">
|
||||
d = new dTree('d');
|
||||
d.add('0','-1','i18n_vgpmfg.message.systemId_n81i');
|
||||
<%
|
||||
List treeList = (List)request.getAttribute("listresources");
|
||||
List list = MakeTree.getAllResourceList(treeList);
|
||||
if(list != null && list.size() > 0){
|
||||
Resource resource = new Resource();
|
||||
for( int i = 0 ; i < list.size() ; i++ ){
|
||||
resource = (Resource) list.get(i);
|
||||
if(resource.getChecked()!=null && !"".equals(resource.getChecked())){
|
||||
%>
|
||||
d.add('<%=resource.getRsCode()%>','<%=resource.getParRsCode()%>','<%=resource.getRsname()%>');
|
||||
<%
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
%>
|
||||
document.write(d);
|
||||
</script>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="color_top" colspan="4">
|
||||
<strong>i18n_vgpmfg.text.userGroupInfo_n81i</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td colspan="4" >
|
||||
<iframe name="I11" height="0" width="100%" frameborder="0"
|
||||
src="" scrolling="no" onload="SetWinHeight(this)">
|
||||
i18n_vgpmfg.message.brower_n81i
|
||||
</iframe>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user