12345678910111213141516171819202122232425262728293031323334353637 |
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "DataRange";
- }
- @section scripts{
- <script src="~/Scripts/Business/System/RoleDataRange.js" type="text/javascript"></script>
- }
- <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 style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("DataRange")</div>
- </div>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new TreeColumn{ IDFieldName="MenuNo", TextFieldName="MenuName", ParentIDFieldName="ParentMenuNo", OrderByFieldName="OrderNo", HeaderText="菜单名称", Align=AlignStyle.Center, Width=0.1 },
- new DictionaryDropdownListColumn { DictionaryType=EMIS.ViewModel.DictionaryItem.SYS_DataRange, FieldName="DataRangeID", VisibleFieldName="IsLeaf", HeaderText="数据范围", Align=AlignStyle.Center, Width=0.1 },
- },
- PageSize = 20,
- MaxHeight = 400,
- IsPostBack = true,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Role/DataRangeAll?RoleID=" + Request["RoleID"]),
- ID = "dgDataRangeList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- }
- </div>
|