<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="rolelistedit.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.sysmanage.rolelistedit" %>

<!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>
     <link href="../../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="../images/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../scripts/jquery/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="../../scripts/jquery/jquery.form.js"></script>
    <script type="text/javascript" src="../../scripts/jquery/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../../scripts/jquery/messages_cn.js"></script>
    <script type="text/javascript" src="../../scripts/ui/js/ligerBuild.min.js"></script>
    <script type="text/javascript" src="../../scripts/function.js"></script>
    <script src="../scripts/calendar.js" type="text/javascript"></script>
    <script src="../scripts/ui/js/core/base.js" type="text/javascript"></script>
    <script src="../scripts/ui/js/plugins/ligerDialog.js" type="text/javascript"></script>
    <script src="../scripts/ui/js/plugins/ligerDrag.js" type="text/javascript"></script>
    <script type="text/javascript">
        function CloseThis() {
            var dialog = frameElement.dialog;
            parent.grid();
            dialog.close();
        }
        function validate() {
            var i = 0;
            if (!validatelogin_name()) {
                i++;
            }

            if (i > 0) {
                return false;
            }
            return true;
        }
        function validatelogin_name() {
            if ($("#F_RoleName").val() == "" || $("#F_RoleName").val() == undefined) {
                document.getElementById("lbF_Name").innerHTML = "* 角色值不为空！";
                document.getElementById("lbF_Name").style.color = "red";
                return false;
            }
            else {
                document.getElementById("lbF_Name").innerHTML = "*";
                document.getElementById("lbF_Name").style.color = "#414141";
                return true;
            }
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="contentTab">
        <asp:HiddenField ID="hfID" runat="server" />
        <ul class="tab_nav">
            <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">角色信息</a></li>
        </ul>
        <div class="tab_con" style="display: block; ">
            <table class="form_table">
                <col width="100px" />
                <col />
                <col width="100px" />
                <col />
                <tbody>
                    <%--<tr>
                        <th>
                           <span style="color:red"> 字典标志：</span>
                        </th>
                        <td>
                        <asp:TextBox ID="F_DictionaryFlag" runat="server" Width="120px" CssClass="txtInput normal" ReadOnly="true" ></asp:TextBox></td>
                    </tr>  --%>                 
                    <tr>
                        <th>
                        <span style="color:red"> 角色值：</span>
                        </th>
                        <td colspan="3">
                            <asp:TextBox ID="F_RoleName" runat="server" Width="120px" CssClass="txtInput normal" ></asp:TextBox><label
                                id="lbF_Name" for="F_RoleName"></label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                        <span> 备注：</span>
                        </th>
                        <td colspan="3">
                            <asp:TextBox ID="F_Remark" runat="server" CssClass="txtInput normal" TextMode="MultiLine"
                                Style="width: 455px; height: 60px;"></asp:TextBox>
                        </td>
                    </tr>              
                </tbody>
            </table>
        </div>
        <div class="foot_btn_box">
            <asp:Button ID="btnSubmit" runat="server" Text="保&nbsp;&nbsp;存" CssClass="btnSubmit"
                OnClientClick="return validate();"  OnClick="btnSubmit_Click" />
        </div>
    </div>
    </form>
</body>
</html>
