123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/SupervisionManage/LessonRecordList.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
- 查询条件
- </div>
- </div>
- <form id="formQuery" method="post" action="@Url.Content("~/LessonRecord/Excel")">
- @Html.PositionCondition()
- @Html.Hidden("LessonRecordIDs")
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">学年学期:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), Name = "Schoolyear", ID = "Schoolyear", SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), OnSelect = "reload", OnLoadSuccess = "reload" }, new Dictionary<string, string> { { "data-condition", "dgLessonRecordList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">@(EMIS.Utility.RSL.Get("College")):</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/College/AllCollegeDropdownListBanid"), Name = "College", ID = "College", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgLessonRecordList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">督导院系:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SupervisionCollege/Dropdown"), Name = "SupervisionCollege", ID = "SupervisionCollege", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgLessonRecordList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">督导时间:</li>
- <li class="sv">
- @Html.TextBox(new TextBoxOptions { ID = "StartDate", Name = "StartDate", TextBoxType = TextBoxType.Date, OnChange = "startDateChanged" }, new Dictionary<string, string> { { "data-condition", "dgLessonRecordList" } })
- 至
- @Html.TextBox(new TextBoxOptions { ID = "EndDate", Name = "EndDate", TextBoxType = TextBoxType.Date, OnChange = "endDateChanged" }, new Dictionary<string, string> { { "data-condition", "dgLessonRecordList" } })
- </li>
- </ul>
- </div>
- </div>
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 学生评分
- </div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
- </div>
- </form>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn { HeaderText="", FieldName = "LessonRecordID" },
- new LinkButtonColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Handle="show" },
- new BoundFieldColumn { FieldName="SupervisionTypeDesc", HeaderText="督导类型", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="LessonDateDesc", HeaderText="督导时间", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="SupervisionCollegeName", HeaderText="督导院系", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Location", HeaderText="督导地点", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="UserName", HeaderText="督导对象", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="授课班级", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="TotalScore", HeaderText="评分", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
- new BoundFieldColumn { FieldName="CreateUserName", HeaderText="督导员", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/LessonRecord/List"),
- ID = "dgLessonRecordList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|