@model EMIS.ViewModel.SystemView.RegistView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Regist"; }
@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)
@Html.LabelFor(x => x.CertificatesType): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_CertificatesType, (x => x.CertificatesType), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect }) @Html.LabelFor(x => x.LoginID): @Html.TextBoxFor(x => x.LoginID)
@Html.LabelFor(x => x.PCode): @Html.TextBoxFor(x => x.PCode, new TextBoxOptions { TextBoxType = TextBoxType.Password }) @Html.LabelFor(x => x.CPCode): @Html.TextBoxFor(x => x.CPCode, new TextBoxOptions { TextBoxType = TextBoxType.Password })
密码必须包含英文、数字,且长度大于等于6位
@Html.LabelFor(x => x.Sex): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Sex, x => x.Sex, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect }) @Html.LabelFor(x => x.BirthDate): @Html.TextBoxFor(x => x.BirthDate, new TextBoxOptions { TextBoxType = TextBoxType.Date })
@Html.LabelFor(x => x.UserName): @Html.TextBoxFor(x => x.UserName) @Html.LabelFor(x => x.Mobile): @Html.TextBoxFor(x => x.Mobile)
@Html.LabelFor(x => x.Email): @Html.TextBoxFor(x => x.Email) 邮箱地址将用于系统密码找回,请务必填写准确的邮箱地址
@Html.LabelFor(x => x.SchoolAreaID): @Html.DropdownListFor((x => x.SchoolAreaID), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/Account/GetSchoolAreaWithoutSocial"), TextField = "Text", ValueField = "Value" }) @Html.LabelFor(x => x.WorkUnit): @Html.TextBoxFor(x => x.WorkUnit)
@Html.LabelFor(x => x.PhotoUrl): @Html.SingleUploaderFor(x => x.PhotoUrl, new Dictionary { { "style", "width:150px;" }, { "accept", "image/png,image/jpeg,image/gif" } })
}
@section scripts{ }