@model EMIS.ViewModel.RetakeManage.RetakeParameterView @using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; //收费项目 ComboGridOptions cgopChargeProject = new ComboGridOptions { ID = "ChargeProjectComboGrid", Name = "ChargeProjectComboGrid", TextField = "ChrageProjectName", ValueField = "ChargeProjectID", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="ChrageProjectName", HeaderText="收费项目", Align=AlignStyle.Center, Width=0.2 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ChargeProject/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ @* *@ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) { @Html.Position()
参数设定信息
@Html.ContextMenuBar("Index")
@Html.LabelFor(x => x.SchoolyearID): @Html.DropdownListFor(x => x.SchoolyearID, new DropdownListOptions() { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid") })
@Html.LabelFor(x => x.ExamsCategoryID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_ExamsCategory, x => x.ExamsCategoryID, new DropdownListOptions() { BindType = DropdownListBindType.PleaseSelect })
@Html.LabelFor(x => x.RetakeChargeProjectID): @Html.ComboGridFor(x => x.RetakeChargeProjectID, cgopChargeProject)
@Html.LabelFor(x => x.IsRetakeChargeControl): @Html.CheckBoxFor(x => x.IsRetakeChargeControl) (选中表示控制)
预查考试性质: @Html.DataGrid(new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="ExamsCategoryDesc", HeaderText="考试性质", Align=AlignStyle.Center, Width=0.1 }, new CheckButtonColumn{ HeaderText="是否选中", FieldName="IsSelected", Align=AlignStyle.Center, Width=0.1 } }, IsCheckOnSelect = true, IsPostBack = true, DataSourceUrl = Url.Content("~/RetakeParameter/RetakeExamsCategoryList"), ID = "dgRetakeExamsCategoryList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })
}