1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/System/Role.js" type="text/javascript"></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("~/Role/Excel")">
- @Html.PositionCondition()
- <div class="p_title">
- <div style="padding-left: 5px;">
- 数据范围:@Html.DictionaryDropDownListForSearch(EMIS.ViewModel.DictionaryItem.SYS_DataRange, "dgRoleList", new DropdownListOptions { ID = "DataRange", Name = "DataRange", OnSelect = "reload" })</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>
- @Html.PositionBatchModify()
- <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="DefaultDataRangeDesc", HeaderText="数据范围", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="RecordStatusDesc", HeaderText="是否可用", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="Description", HeaderText="备注", Align=AlignStyle.Center, Width=0.1 }
- },
- PageSize = 30,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Role/List"),
- ID = "dgRoleList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|