1234567891011121314151617181920212223242526272829 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "UserRole";
- }
- @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;">
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="RoleID"},
- new LinkButtonColumn { FieldName="RoleName", HeaderText="类型名称", Align=AlignStyle.Center , Handle="edit" },
- new BoundFieldColumn { FieldName="DefaultDataRangeDesc", HeaderText="数据范围", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="RecordStatusDesc", HeaderText="是否可用", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Description", HeaderText="备注", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/User/GetUserRoleList?userID=" + new Guid(Request["UserID"])),
- ID = "dgRoleList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|