<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dictionarygroupmanager.aspx.cs" Inherits="Us.Web.admin.basic.dictionarygroupmanager" %>


<!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">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <title>数据字典分类</title>
    <asp:Literal ID="litregscript" runat="server" Text=""></asp:Literal>
    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
     <%=ImportScriptStr %>
    <script language="javascript" src="/admin/js/System.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function opJsTree1(txt, txtValue) {
            var para = "/admin/basic/dictionarygrouptreeselect.aspx?para=1&list=" + $("#" + txtValue).val();
            UsOpenDialogTree(para, txt, txtValue);
        }

        function opJsTree(txt, txtValue) {
            var para = "/admin/basic/dictionarygrouptreeselect.aspx?para=1&list=" + $("#" + txtValue).val();
            //UsOpenDialogTreeBack(para, txt, txtValue, function () { 
            //    //alert();
            //    document.getElementById("btnSearch").click();
            //});

            CareffArtOpen4(para, '字典选择', 300, 500, function (path) {
                //alert(path);
                if (path == null) { return false; }
                var strs = path.split("#")
                var m = $id(txt)
                m.value = strs[1];
                var m1 = $id(txtValue)
                m1.value = strs[0];
                //document.getElementById("btnSearch").click();

            });
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
        
        <div id="tbMain">
            <div class="divTbg">
                <div class="divTbgL">
                </div>
                <div class="divTbgInfo">
                    <div class="divTbgTitle">
                        数据字典分类管理
                    </div>
                </div>
            </div>
            <div class="divTbgF">
            </div>
            <div class="divTNavBG" id="topURL">
                <ul id="topURLul">
                    <li class="divURLed" id="div1">
                        <div>
                            <img src="../style/default/images/mini_icons_046.gif" width="10" height="10" />
                            基本信息
                        </div>
                    </li>
                </ul>
            </div>
            <div id="mypanel">
                <div class="divInfoContext">
                    <div class="divInfo">
                        <div class="divInfoblack">
                            <div class="divInfoTopList">
                                <div class="listLeft">
                                    <div class="navtitle">
                                        数据字典分类
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="divInfo">


                        <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist" id="mainlist" onmouseover="changeto()"
                            onmouseout="changeback()">
                            <tr class="tablisttr">
                                <td class="tablisttitle">分类编号<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtCodeID" runat="server" ToolTip="分类编号" Text=""></asp:TextBox></td>
                                <td class="tablisttitle">分类名称<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtCodeName" runat="server" ToolTip="分类名称" Text=""></asp:TextBox></td>

                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">显示顺序<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtShowID" runat="server" ToolTip="显示顺序" Text="1"></asp:TextBox></td>
                                <td class="tablisttitle">父级分类<span class="fStar">*</span></td>
                                <td class="tabmanagertr">


                                    <div class="nodisplay">
                                        <asp:TextBox ID="txtParentID" runat="server" ToolTip="父级菜单" Text="" CssClass="1"></asp:TextBox>
                                    </div>
                                    <asp:TextBox ID="txtParentName" runat="server" ToolTip="父级菜单" Text="" CssClass="1"></asp:TextBox>
                                    <a href="javascript:opJsTree('txtParentName','txtParentID');">[选择]</a>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">系统字典</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpIsSystem" ToolTip="系统字典">
                                        <asp:ListItem Value="CodeYesNo" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList></td>
                                <td class="tablisttitle">&nbsp;</td>
                                <td class="tabmanagertr">&nbsp;</td>
                            </tr>
                        </table>
                        <div class="divSave">
                            <asp:Button ID="btnSubmit" runat="server" Text="保存(S)"
                                CssClass="SkyButtonFocus" OnClick="btnSubmit_Click" />
                            <asp:Button ID="btnDelete" runat="server" Text="删除(D)" CssClass="SkyButtonFocus"
                                OnClick="btnDelete_Click" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </div>
    </form>
</body>
</html>
