@model EMIS.ViewModel.SystemView.RegistView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @using Bowin.Common; @{ ViewBag.Title = "Regist"; //Layout = "~/Views/Shared/_FrameLayout.cshtml"; List lurl = new List(); lurl.Add("Content/"); lurl.Add("Doc/"); lurl.Add("Scripts/"); lurl.Add("Login/"); lurl.Add("UploadFile/"); lurl.Add("Account/ChangePassword"); FormsAuthenticationHelper fahelper = new FormsAuthenticationHelper(); var cookieName = EMIS.Utility.Const.LOCAL_SETTING_LOGIN_COOKIENAME; fahelper.AuthenticateRequest(HttpContext.Current, cookieName, lurl); } @section scripts{ }
@Html.Hidden("hdnSelectedRole")
当前用户:@(((EMIS.Utility.FormValidate.CustomPrincipal)Context.User).LoginID + "-" + ((EMIS.Utility.FormValidate.CustomPrincipal)Context.User).Name + (((EMIS.Utility.FormValidate.CustomPrincipal)Context.User).IsStudent ? "同学" : "老师"))  @Html.SystemClock(new SystemClockOptions { IsJump = true })
  
@using (Html.BeginForm("FinishInfomation", "Account", new { MNU = Request["MNU"], WindowID = Request["WindowID"] }, FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.HiddenFor(x => x.UserID)
为保证您的报名信息准确有效,进入系统前请先补全关键信息,谢谢合作!
@Html.LabelFor(x => x.CertificatesType): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_CertificatesType, (x => x.CertificatesType), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, IsEnabled = false }) @Html.LabelFor(x => x.LoginID): @Model.LoginID @Html.HiddenFor(x => x.LoginID)
@Html.LabelFor(x => x.UserName): @Model.UserName @Html.HiddenFor(x => x.UserName) @*@Html.TextBoxFor(x => x.UserName)*@ @Html.LabelFor(x => x.Mobile): @Html.TextBoxFor(x => x.Mobile)
@Html.LabelFor(x => x.SexName): @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.Email): @Html.TextBoxFor(x => x.Email) 邮箱地址将用于系统密码找回,请务必填写准确的邮箱地址
@Html.LabelFor(x => x.PhotoUrl):
@Html.SingleUploaderFor(x => x.PhotoUrl, new Dictionary { { "style", "width:150px;" }, { "accept", "image/png,image/jpeg,image/gif" } })
照片要求:照片为近期、正面、免冠、白底彩色证件照,JPG格式,照片大小为50-200K(此照片用于制作证书)
}