123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- @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,
- }
- };
- ComboGridOptions optTargetCollege = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- Name = "cgbTargetCollege",
- ID = "cgbTargetCollege",
- 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,
- }
- };
- ComboGridOptions optRole = new ComboGridOptions
- {
- TextField = "RoleName",
- ValueField = "RoleID",
- Name = "cbgRole",
- ID = "cbgRole",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="RoleName", HeaderText="角色名称", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Role/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/DQPSystem/SOCDocAdminList.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.DQP_SOCDocType, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "ddlSOCDocType", ID = "ddlSOCDocType", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgSOCDocumentList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">发布部门:</li>
- <li class="sv">
- @Html.ComboGrid(optCreateCollege, new Dictionary<string, string> { { "data-condition", "dgSOCDocumentList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">面向对象:</li>
- <li class="sv">
- @Html.ComboGrid(optRole, new Dictionary<string, string> { { "data-condition", "dgSOCDocumentList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">面向部门:</li>
- <li class="sv">
- @Html.ComboGrid(optTargetCollege, new Dictionary<string, string> { { "data-condition", "dgSOCDocumentList" } })
- </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{ HeaderText="", FieldName="DocumentID" },
- new BoundFieldColumn { FieldName="SOCDocTypeDesc", HeaderText="文献类型", Align=AlignStyle.Center, Width=60 },
- new BoundFieldColumn { FieldName="Title", HeaderText="标题", Align=AlignStyle.Center, Width=250 },
- 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 BoundFieldColumn { FieldName="RecordStatusDesc", HeaderText="是否显示", Align=AlignStyle.Center, Width=40 },
- new BoundFieldColumn { FieldName="RoleName", HeaderText="面向对象", Align=AlignStyle.Center, Width=100 },
- new BoundFieldColumn { FieldName="DepartmentName", HeaderText="面向部门", Align=AlignStyle.Center, Width=100 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/SOCDoc/AdminList"),
- ID = "dgSOCDocumentList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|