@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; ComboGridOptions ddCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", OnSelect = "reload", Name = "DDCollegeDropdown", ID = "DDCollegeDropdown", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center } }, OnLoadSuccessFun = "reload", IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "SchoolyearDropdown", Name = "SchoolyearDropdown", OnSelect = "reload", SelectedValue = BaseExtensions.GetCurrentSchoolYearID() }, new Dictionary { { "data-condition", "dgSupEvaluationList" } })
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.ComboGrid(ddCollege, new Dictionary { { "data-condition", "dgSupEvaluationList" } })
  • 督导类型:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.SUP_EvaluationType, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "SupervisionType", Name = "SupervisionType", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgSupEvaluationList" } })
  • 评价日期:
  • @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date,ID="txtStartDate" ,Name = "txtStartDate" }, new Dictionary { { "data-condition", "dgSupEvaluationList" } })
  • 至:
  • @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, ID = "txtEndDate", Name = "txtEndDate" }, new Dictionary { { "data-condition", "dgSupEvaluationList" } })
  • @*导出数据*@
督导评价列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="TeachersOrderID"}, new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center,Width=0.06 }, new BoundFieldColumn { FieldName="SupervisionCollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center,Width=0.08 }, new BoundFieldColumn { FieldName="UserName", HeaderText="督导对象", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="SupervisionTypeName", HeaderText="督导类型", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center}, new BoundFieldColumn { FieldName="LessonDateStr", HeaderText="评价日期", Align=AlignStyle.Center,Width=0.08 }, new BoundFieldColumn { FieldName="Advise", HeaderText="评价建议", Align=AlignStyle.Center,Width=0.25}, new BoundFieldColumn { FieldName="TotalScore", HeaderText="评分", Align=AlignStyle.Center,Width=0.06 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/SupEvaluation/List"), ID = "dgSupEvaluationList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })