You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Authority/UserModuleAuthority.aspx

118 lines
5.8 KiB
Plaintext

2 years ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserModuleAuthority.aspx.cs" Inherits="DSWeb.Authority.UserModuleAuthority" %>
<!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 id="Head1" runat="server">
<title>无标题页</title>
<style type="text/css">
html,body{font-size:12px;margin:0px;height:100%;}
.select{
border:1px solid #C1BBAB;
}
.btn
{
width:100px;
BORDER-RIGHT: #2C59AA 1px solid;
PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid;
PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
BORDER-BOTTOM: #2C59AA 1px solid
}
.line
{
border-top:1px dashed #cccccc;
height: 1px;
overflow:hidden;
padding-top:5px;
padding-bottom:5px;
}
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
</style>
<link rel="stylesheet" type="text/css" href="../theme/dhtmlxtree.css" />
<link rel="stylesheet" type="text/css" href="../theme/progressbar.css" />
<script type="text/javascript" src="../js/dhtmlxcommon.js"></script>
<script type="text/javascript" src="../js/dhtmlxtree.js"></script>
<script type="text/javascript" src="../js/dhtmlxtree_start.js"></script>
<script type="text/javascript" src="../js/dhtmlxtree_json.js"></script>
<script type="text/javascript" src="../js/UserModuleAuthority.js"></script>
</head>
<body onload="createTree();" style="background-color:#ecf2ff;">
<div style="width:100%;height:90%; padding-left:20px; padding-top:10px;">
<div style="width:240px;height:450px;float:left;">
<div style="width:100%;height:16px;">
<div style="font-size:12px;">用户信息</div>
</div>
<div class="line" style="width:100%;text-align:center;"></div>
<div style="width:100%;height:16px;">
<div style="width:60px;float:left;">
<select id="sel_type" style="width:100%;" class="txtTab">
<option value="1">用户</option>
<option value="2">部门</option>
</select>
</div>
<div style="width:100px;float:left;">
<input type="text" id="txt_search" style="width:100%;" class="txtTab"/>
</div>
<div style="width:70px;float:left;padding-left:7px;">
<input type="button" id="btn_search" style="width:100%;" value="查询" class="btn" onclick="searchUser('txt_search')"/>
</div>
</div>
<div style="width:100%; height:100%; overflow:auto;border:1px solid #C1BBAB; margin-top:10px;">
<div id="dvUserTree" style="width:240px;height:100%;"></div>
</div>
</div>
<div style="width:20px;height:450px;float:left; text-align:center;">
</div>
<div style="width:240px;height:600px;float:left;">
<div style="width:100%;height:16px;">
<div style="font-size:12px;">模块信息</div>
</div>
<div class="line" style="width:100%;text-align:center;"></div>
<div style="width:100%;height:16px;">
<div style="width:100px;float:left;">
<input type="text" id="txt_mod" style="width:100%;" class="txtTab"/>
</div>
<div style="width:70px;float:left;padding-left:7px;">
<input type="button" id="btn_modsearch" style="width:100%;" value="查询" class="btn" onclick="searchModule('txt_mod')"/>
</div>
</div>
<div style="width:100%; height:450px; overflow:auto;border:1px solid #C1BBAB;margin-top:10px;">
<div id="dvModuleTree" style="width:240px;height:100%;"></div>
</div>
</div>
<div style="width:50px;float:left; text-align:center;">
<div style="width:100%;float:left; margin-top:90px;">
<img src="../images/icons/edit_left.gif" onmouseover="mouseMoveImg(this,1)" onmouseout="mouseMoveImg(this,1)" title="移除" onclick="removeUser()"/>
</div>
<div style="width:100%;float:left;margin-top:30px;">
<img src="../images/icons/edit_right.gif" onmouseover="mouseMoveImg(this,2)" onmouseout="mouseMoveImg(this,2)" title="添加" onclick="addUser()"/>
</div>
</div>
<div style="width:240px;height:450px;float:left;">
<div style="width:100%;height:16px;">
<div style="font-size:12px;">已指定模块权限</div>
</div>
<div class="line" style="width:100%;text-align:center;"></div>
<div style="width:100%;height:16px;">
<div style="width:100px;float:left;">
<input type="text" id="txt_usermod" style="width:100%;" class="txtTab"/>
</div>
<div style="width:70px;float:left;padding-left:7px;">
<input type="button" id="btn_usermodsearch" style="width:100%;" value="查询" class="btn"/>
</div>
</div>
<div style="width:100%; height:450px; overflow:auto;border:1px solid #C1BBAB;margin-top:10px;">
<div id="dvUserModuleTree" style="width:240px;height:100%;"></div>
</div>
</div>
</div>
<form id="form1" runat="server">
<div>
<input type="hidden" id="h_step" runat="server" />
<input type="hidden" id="h_workflow" runat="server" />
</div>
</form>
<div id="progressBar" class="progressBar">数据正在加载中……</div>
</body>
</html>