123456789101112131415161718192021222324252627282930313233343536373839404142 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @using Bowin.Common.Utility;
- @{
- ViewBag.Title = "List";
- Guid? educationMissionClassID = Request.QueryString["educationMissionClassID"].ParseStrTo<Guid>();
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Html.BeginForm())
- {
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 排课班列表</div>
- </div>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="EducationSchedulingClassID" },
- new BoundFieldColumn { FieldName="TaskGroupName", HeaderText="分班名称", Align=AlignStyle.Center },
- new LinkButtonColumn { FieldName="StudentNum", HeaderText="学生总数", Align=AlignStyle.Center, Handle="StudentEdit" }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/EducationMissionClass/EducationSchedulingClassList?educationMissionClassID=" + educationMissionClassID),
- ID = "dgEducationSchedulingClassList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- function StudentEdit(rowindex, rowdata) {
- var mnu = $.SystemGeneral.getUrlParam("MNU");
- $.popupTopWindow('排课班学生信息', '/EducationMissionClass/EducationSchedulingClassStudentList?educationSchedulingClassID=' + rowdata.EducationSchedulingClassID + '&MNU=' + mnu + '', 770, 420);
- }
- </script>
- }
|