@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; ComboGridOptions cgopCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", OnSelect = "reload", Name = "cgbCollege", ID = "cgbCollege", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.2 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/ListOnlyCollege"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.ComboGrid(cgopCollege, new Dictionary { { "data-condition", "dgWorktimeRateList" } })
  • 授课方式:
  • @Html.DictionaryDropDownListForSearch(EMIS.ViewModel.DictionaryItem.CF_TeachingMode, "dgWorktimeRateList", new DropdownListOptions { ID = "ddlTeachingMode", Name = "ddlTeachingMode", OnSelect = "reload" })
  • 任课方式:
  • @Html.DictionaryDropDownListForSearch(EMIS.ViewModel.DictionaryItem.EM_TeachingMethod, "dgWorktimeRateList", new DropdownListOptions { ID = "ddlTeachingMethod", Name = "ddlTeachingMethod", OnSelect = "reload" })
  • 课酬级别:
  • @Html.DictionaryDropDownListForSearch(EMIS.ViewModel.DictionaryItem.TP_PaymentLevel, "dgWorktimeRateList", new DropdownListOptions { ID = "ddlPaymentLevel", Name = "ddlPaymentLevel", OnSelect = "reload" })
工作量系数列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="WorktimeRateID" }, new BoundFieldColumn { FieldName="PaymentLevelDesc", HeaderText="课酬级别", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CollegeName", HeaderText=EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TeachingModeDesc", HeaderText="授课方式", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TeachingMethodDesc", HeaderText="任课方式", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="StudentCountStart", HeaderText="人数(起)", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="StudentCountEnd", HeaderText="人数(止)", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="WorktimeRate", HeaderText="系数", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/WorktimeRate/List"), ID = "dgWorktimeRateList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })