123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- @model EMIS.ViewModel.SystemView.RegistView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Regist";
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Html.BeginForm("Regist", "Account", new { MNU = Request["MNU"], WindowID = Request["WindowID"] }, FormMethod.Post, new { enctype = "multipart/form-data" }))
- {
- @Html.AntiForgeryToken()
- @Html.Hidden("VKey", (object)ViewBag.VKey)
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- </div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
- <div class="current_navbar toolbar">
- <div class="func_info">
- <a class="easyui-linkbutton" href="javascript:Save()" data-options="iconCls:'icon-ok',plain:'true'"
- onfocus="this.blur()">注册</a>
- </div>
- </div>
- </div>
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td>
- @Html.LabelFor(x => x.CertificatesType):
- </td>
- <td>
- @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_CertificatesType, (x => x.CertificatesType), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect })
- </td>
- <td>
- @Html.LabelFor(x => x.LoginID):
- </td>
- <td>
- @Html.TextBoxFor(x => x.LoginID)
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.PCode):
- </td>
- <td>
- @Html.TextBoxFor(x => x.PCode, new TextBoxOptions { TextBoxType = TextBoxType.Password })
- </td>
- <td>
- @Html.LabelFor(x => x.CPCode):
- </td>
- <td>
- @Html.TextBoxFor(x => x.CPCode, new TextBoxOptions { TextBoxType = TextBoxType.Password })
- </td>
- </tr>
- <tr>
- <td colspan="2" style="background-color: white">
- <font color="red">密码必须包含英文、数字,且长度大于等于6位</font>
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.Sex):
- </td>
- <td>
- @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Sex, x => x.Sex, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect })
- </td>
- <td>
- @Html.LabelFor(x => x.BirthDate):
- </td>
- <td>
- @Html.TextBoxFor(x => x.BirthDate, new TextBoxOptions { TextBoxType = TextBoxType.Date })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.UserName):
- </td>
- <td>
- @Html.TextBoxFor(x => x.UserName)
- </td>
- <td>
- @Html.LabelFor(x => x.Mobile):
- </td>
- <td>
- @Html.TextBoxFor(x => x.Mobile)
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.Email):
- </td>
- <td>
- @Html.TextBoxFor(x => x.Email)
- </td>
- <td colspan="2" style="background-color: white">
- <font color="red">邮箱地址将用于系统密码找回,请务必填写准确的邮箱地址</font>
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.SchoolAreaID):
- </td>
- <td>
- @Html.DropdownListFor((x => x.SchoolAreaID), new DropdownListOptions
- {
- BindType = DropdownListBindType.PleaseSelect,
- ItemSourceUrl = Url.Content("~/Account/GetSchoolAreaWithoutSocial"),
- TextField = "Text",
- ValueField = "Value"
- })
- </td>
- <td>
- @Html.LabelFor(x => x.WorkUnit):
- </td>
- <td>
- @Html.TextBoxFor(x => x.WorkUnit)
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.PhotoUrl):
- </td>
- <td colspan="3">
- @Html.SingleUploaderFor(x => x.PhotoUrl, new Dictionary<string, object> { { "style", "width:150px;" }, { "accept", "image/png,image/jpeg,image/gif" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript" src="~/Scripts/Business/Common/Regist.js">
- </script>
- }
|