<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AttributeCompanyList.aspx.cs" Inherits="DSWeb.Attributes.AttributeCompanyList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<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" />
    <link rel="stylesheet" type="text/css" href="../theme/dhtmlxgrid.css"/>
    <link rel="stylesheet" type="text/css" href="../theme/button/default/Fee.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 src="../js/dhtmlxcommon.js" type="text/javascript"></script>
    <script src="../js/dhtmlxgrid.js" type="text/javascript"></script>
    <script src="../js/dhtmlxgridcell.js" type="text/javascript"></script>
	<script src="../js/dhtmlxcombo.js" type="text/javascript"></script>
	<script src="../js/dhtmlxgrid_keymap_excel.js" type="text/javascript"></script>
	<script src="../js/dhtmlxgrid_drag.js" type="text/javascript"></script>
	<script src="../js/dhtmlxgrid_group.js" type="text/javascript"></script>
	<script src="../js/dhtmlxgrid_mcol.js" type="text/javascript"></script>
	<script src="../js/TGridCommon.js" type="text/javascript"></script>
	<script src="../js/json2.js" type="text/javascript"></script>
	<script type="text/javascript" src="../js/dhtmlxcombo.js"></script>
    <script type="text/javascript" src="../js/dhtmlxcombo_whp.js"></script>
    <script type="text/javascript" src="../js/dhtmlxgrid_hextra.js"></script>
    <script type="text/javascript" src="../js/m97date/wdatepicker.js"></script>
	<script type="text/javascript">
       window.dhx_globalImgPath="../images/";
    </script>
    <script type="text/javascript" src="../js/AttributeCompanyList.js"></script>
</head>
<body onload="createUserTree();createCompAttrGrid();" 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>
                </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:70%;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:160px;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%; margin-top:8px;height:16px;">
                <div class="btn-content">
                    <div class="btn-blank"></div>
                    <div class="xbtn-img" onclick="addAttribute()">
                      <div class="btnimg"><img src="../../images/icons/btn_add.gif" width="16px" height="16px" title="添加新参数"/></div>
                    </div>
                    <div  class="xbtn-img" onclick="deleteCompanyAttr()">
                      <div class="btnimg"><img src="../../images/icons/remove.gif" width="16px" title="删除参数"/></div>
                    </div>
                    <div  class="xbtn-img" onclick="refreshList()">
                      <div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新列表"/></div>
                    </div>
                    <div  class="xbtn-img" onclick="editAttribute()">
                      <div class="btnimg"><img src="../images/icons/example.gif" width="16px" title="编辑参数信息"/></div>
                    </div>
                </div>
            </div>
            <div style="width:100%; height:450px;border:0;margin-top:2px;">
                <div id="mygrid_container_attrlist" style="width:100%; height:420px;" runat="server"></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" />
    <input type="hidden" id="h_deptid" runat="server" />
    <input type="hidden" id="h_compid" runat="server" />
    <input type="hidden" id="h_checkvalue" runat="server" />
    </div>
    </form>
    <div id="progressBar" class="progressBar">数据正在加载中……</div>
</body>