<%@ page language="C#" autoeventwireup="true" inherits="admin_ExternalPerson_ExternalPerson_Add, ALL" enableEventValidation="false" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>会议室预约系统</title>
    <link href="/control/plugin/bootstrap3/css/bootstrap.min.css" rel="stylesheet" />
    <script src="/control/js/jquery.js"></script>
    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>

    <link href="/control/plugin/bootstrap-treeview/bootstrap-treeview.min.css" rel="stylesheet" />
    <script src="/control/plugin/bootstrap-treeview/bootstrap-treeview.min.js"></script>
    <style>
        .dt {
            float: left;
            font-size: 20px;
            margin-right: 10px;
            margin-top: 5px;
        }
    </style>
</head>
<body>
    <div class=" container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <form id="from1" runat="server">

                    <div class="form-group">
                        <label class="control-label">
                            所属单位 <span class='rd'>*</span>：
                            <asp:RequiredFieldValidator ID="rfvdep_did" ForeColor="Red" runat="server" ErrorMessage="请填写机构" ControlToValidate="ddldep_did"></asp:RequiredFieldValidator></label>
                        <asp:DropDownList ID="ddldep_did" runat="server" CssClass="form-control"></asp:DropDownList>
                    </div>

                    <div class="form-group">
                        <label class="control-label">姓名<span class='rd'>*</span>：<asp:RequiredFieldValidator ID="rfvdep_name" runat="server" Display="Dynamic" ForeColor="Red" ErrorMessage="请填写姓名" ControlToValidate="txtdep_name"></asp:RequiredFieldValidator></label>
                        <div>
                            <asp:TextBox ID="txtdep_name" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                        </div>

                    </div>
                    <div class="form-group">
                        <label class="control-label">手机号码<span class='rd'>*</span>：
                            <asp:RequiredFieldValidator ID="rfvdep_phone" runat="server" Display="Dynamic" ForeColor="Red" ErrorMessage="请填写手机号码" ControlToValidate="txtdep_phone"></asp:RequiredFieldValidator></label>
                        <div>
                            <asp:TextBox ID="txtdep_phone" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                        </div>

                    </div>
                    <div class="form-group">
                        <label class="control-label">邮箱<span class='rd'>*</span>：<asp:RequiredFieldValidator ID="rfvdep_email" runat="server" Display="Dynamic" ForeColor="Red" ErrorMessage="请填写邮箱" ControlToValidate="txtdep_email"></asp:RequiredFieldValidator></label>
                        <div>
                            <asp:TextBox ID="txtdep_email" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                        </div>

                    </div>
                    <div class="form-group">
                        <label class="control-label">单位名称<span class='rd'>*</span>：<asp:RequiredFieldValidator ID="rfvdep_company" runat="server" Display="Dynamic" ForeColor="Red" ErrorMessage="请填写单位名称" ControlToValidate="txtdep_company"></asp:RequiredFieldValidator></label>
                        <div>
                            <asp:TextBox ID="txtdep_company" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                        </div>

                    </div>
                    <div class="form-group">
                        <label class=" control-label">职位<span class='rd'>*</span>：<asp:RequiredFieldValidator ID="rfvdep_job" runat="server" Display="Dynamic" ForeColor="Red" ErrorMessage="请填写职位" ControlToValidate="txtdep_job"></asp:RequiredFieldValidator></label>
                        <div>
                            <asp:TextBox ID="txtdep_job" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                        </div>

                    </div>

                    <div class="form-group">
                        <asp:Button ID="btnSubmit" runat="server" Text="新增外部人员" CssClass="btn  btn-primary btn-block " OnClick="btnSubmit_Click" />
                    </div>
                </form>
            </div>

        </div>

        <script type="text/javascript">        $(function () { window.parent.ShowDialog(); });    </script>
    </div>
</body>
</html>
