@using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "CollegeList"; Guid? campusID = new Guid(Request["campusID"]); } @section scripts{ }
@Html.PositionCondition("CampusCollege")
  • 单位类别:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_UnitCategory, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryUnitCategory", Name = "DictionaryUnitCategory", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgCollegeList" } })
@Html.ContextMenuBar("ColDetail")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="CollegeID" }, new BoundFieldColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.12 }, //new BoundFieldColumn { FieldName="SimpleName", HeaderText="简称", Align=AlignStyle.Center, Width=0.08, OverflowLength=6 }, //new BoundFieldColumn { FieldName="PoliticalManagerName", HeaderText="党务负责人", Align=AlignStyle.Center, Width=0.05 }, //new BoundFieldColumn { FieldName="AdministrativeManagerName", HeaderText="行政负责人", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="UnitCategoryName", HeaderText="单位类别", Align=AlignStyle.Center, OrderFieldName="UnitCategoryID", Width=0.05 }, //new BoundFieldColumn { FieldName="FoundDate", HeaderText="建立年月", Align=AlignStyle.Center, Width=0.08, Formatter = Formatter.OnlyYearMonthDay }, new BoundFieldColumn { FieldName="Officephone", HeaderText="办公电话", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="DepartmentCount", HeaderText="教研室数", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="StaffCount", HeaderText="教师人数", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="FacultymajorCount", HeaderText="院系专业数", Align=AlignStyle.Center, Width=0.05, CustomFormatFun="SetRedColumn" }, //new BoundFieldColumn { FieldName="CampusNo", HeaderText=@EMIS.Utility.RSL.Get("CampusCode"), Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="CampusName", HeaderText=@EMIS.Utility.RSL.Get("CampusName"), Align=AlignStyle.Center, Width=0.06, OverflowLength=6 } //new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.03, OverflowLength=6 } }, IsPostBack = true, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Campus/CollegeList?campusID=" + campusID), ID = "dgCollegeList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })