1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- ComboGridOptions optCreateCollege = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- Name = "cgbCreateCollege",
- ID = "cgbCreateCollege",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.2 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/College/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/SupervisionManage/SupDocumentList.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </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">
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">文件类型:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.SUP_DocumentType, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "DocumentType", ID = "DocumentType", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgSupDocumentList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">发布部门:</li>
- <li class="sv">
- @Html.ComboGrid(optCreateCollege, new Dictionary<string, string> { { "data-condition", "dgSupDocumentList" } })
- </li>
- </ul>
- </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>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn { FieldName="DocumentID", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Title", HeaderText="标题", Align=AlignStyle.Center, Width=250, },
- new BoundFieldColumn { FieldName="DocumentTypeDesc", HeaderText="文件类型", Align=AlignStyle.Center, Width=60 },
- new BoundFieldColumn { FieldName="CreateCollegeName", HeaderText="发布人部门", Align=AlignStyle.Center, Width=100 },
- new BoundFieldColumn { FieldName="CreateUserName", HeaderText="发布人", Align=AlignStyle.Center, Width=50 },
- new BoundFieldColumn { FieldName="CreateTime", HeaderText="发布时间", Align=AlignStyle.Center, Width=60, Formatter=Formatter.OnlyYearMonthDay },
- new LinkButtonColumn { FieldName="Download", HeaderText="操作", Align=AlignStyle.Center, Width=40, Handle="Download" },
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/SupDocument/List"),
- ID = "dgSupDocumentList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|