1234567891011121314151617181920212223242526272829303132333435363738 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "StudentList";
- }
- @section scripts{
- <script src="~/Scripts/Business/System/StudentRole.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <form id="formQuery" method="post" action="@Url.Content("~/Role/StudentExcel")">
- <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="RoleID"},
- new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center, Width=0.06 },
- new LinkButtonColumn { FieldName="RoleName", HeaderText="角色名称", Align=AlignStyle.Center , Handle="edit", Width=0.1 },
- new BoundFieldColumn { FieldName="StudentTypeDesc", HeaderText="学生类别", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="Description", HeaderText="备注", Align=AlignStyle.Center, Width=0.1 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Role/StudentList"),
- ID = "dgRoleList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|