1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/StudentWeb/Change/StudentChange.js"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- //开始环节状态
- var startStatusID = "@BaseExtensions.GetStartFlowStatus("CF_DifferentDynamic")";
- //已退回环节状态
- var sendBackStatusID = "@BaseExtensions.GetSendBackFlowStatus("CF_DifferentDynamic")";
- //结束环节状态
- var endStatusID = "@BaseExtensions.GetEndFlowStatus("CF_DifferentDynamic")";
- </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("~/StudentChange/Excel")">
- @Html.PositionCondition()
- @*<div class="search_keyword">
- <div class="search_input">
- </div>
- </div>*@
- </form>
- <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>
- @*Html.PositionBatchModify()*@
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="StudentChangeID" },
- new LinkButtonColumn { FieldName="SchoolyearCode", HeaderText="异动学期", Align=AlignStyle.Center, Handle="edit", Width=0.06 },
- new BoundFieldColumn { FieldName="StudentNo", HeaderText="学号", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center, OrderFieldName="SexID", Width=0.02 },
- new BoundFieldColumn { FieldName="ChangeTypeName", HeaderText="异动类型", Align=AlignStyle.Center, OrderFieldName="ChangeTypeID", Width=0.04, CustomFormatFun="SetRedColumn" },
- new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, OrderFieldName="InSchoolStatusID", Width=0.04, CustomFormatFun="SetRedColumn" },
- //new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center, OrderFieldName="StudentStatus", Width=0.04, CustomFormatFun="SetRedColumn" },
- //new BoundFieldColumn { FieldName="BeforeStandardName", HeaderText="异动前专业", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="BeforeClassmajorName", HeaderText="异动前班级", Align=AlignStyle.Center, Width=0.12 },
- new BoundFieldColumn { FieldName="BeforeInSchoolStatusName", HeaderText="在校状态(前)", Align=AlignStyle.Center, OrderFieldName="BeforeInSchoolStatusID", Width=0.05, CustomFormatFun="SetRedColumn" },
- //new BoundFieldColumn { FieldName="BeforeStudentStatusName", HeaderText="学籍状态(前)", Align=AlignStyle.Center, OrderFieldName="BeforeStudentStatus", Width=0.05, CustomFormatFun="SetRedColumn" },
- //new BoundFieldColumn { FieldName="AfterStandardName", HeaderText="异动后专业", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="AfterClassmajorName", HeaderText="异动后班级", Align=AlignStyle.Center, Width=0.12 },
- new BoundFieldColumn { FieldName="AfterInSchoolStatusName", HeaderText="在校状态(后)", Align=AlignStyle.Center, OrderFieldName="AfterInSchoolStatusID", Width=0.05, CustomFormatFun="SetRedColumn" },
- //new BoundFieldColumn { FieldName="AfterStudentStatusName", HeaderText="学籍状态(后)", Align=AlignStyle.Center, OrderFieldName="AfterStudentStatus", Width=0.05, CustomFormatFun="SetRedColumn" },
- new BoundFieldColumn { FieldName="ChangeReasonName", HeaderText="异动原因", Align=AlignStyle.Center, OrderFieldName="ChangeReasonID", Width=0.08, OverflowLength=10 },
- new BoundFieldColumn { FieldName="Description", HeaderText="申请说明", Align=AlignStyle.Center, Width=0.08, OverflowLength=10 },
- //new BoundFieldColumn { FieldName="ReturnSchoolyearCode", HeaderText="返校学期", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="ChangeDate", HeaderText="异动日期", Align=AlignStyle.Center, Width=0.06, Formatter = Formatter.OnlyYearMonthDay },
- //new BoundFieldColumn { FieldName="ReportStatusName", HeaderText="注册状态", Align=AlignStyle.Center, OrderFieldName="ReportStatus", Width=0.04, CustomFormatFun="SetRedColumn" },
- //new BoundFieldColumn { FieldName="CampusCode", HeaderText=@EMIS.Utility.RSL.Get("CampusCode"), Align=AlignStyle.Center, Width=0.05 },
- //new BoundFieldColumn { FieldName="CampusName", HeaderText=@EMIS.Utility.RSL.Get("Campus"), Align=AlignStyle.Center, Width=0.06, OverflowLength=6 },
- //new BoundFieldColumn { FieldName="CollegeNo", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center, Width=0.05 },
- //new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center, Width=0.06, OverflowLength=6 },
- //new BoundFieldColumn { FieldName="CreateUserName", HeaderText="申请人", Align=AlignStyle.Center, Width=0.04 },
- new ApproveStatusColumn { FieldName="ApprovalStatusName", TableName=typeof(EMIS.Entities.CF_DifferentDynamic).Name, IDFieldName="StudentChangeID", HeaderText="状态", Align=AlignStyle.Center, Width=0.03 }
- //new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.02, OverflowLength=3 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/StudentChange/List"),
- ID = "dgStudentChangeList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|