123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="../../Scripts/Business/TeachingMaterial/Library.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("~/Library/Excel")">
- @Html.PositionCondition()
- </form>
- <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>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="LibraryID" },
- new LinkButtonColumn { FieldName="LibraryCode", HeaderText="书库编号", Align=AlignStyle.Center , Handle="edit", Width=0.04 },
- new BoundFieldColumn { FieldName="LibraryName", HeaderText="书库名称", Align=AlignStyle.Center, Width=0.05 },
- new BoundFieldColumn { FieldName="HeadPeople", HeaderText="负责人", Align=AlignStyle.Center, Width=0.05 },
- new BoundFieldColumn { FieldName="ContectTelNumber", HeaderText="联系电话", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="CampusName", HeaderText=@EMIS.Utility.RSL.Get("CampusName"), Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="CreateUserName", HeaderText="创建人", Align=AlignStyle.Center, Width=0.05 },
- new BoundFieldColumn { FieldName="CreateTime", HeaderText="创建时间", Align=AlignStyle.Center,Formatter= Formatter.OnlyYearMonthDay, Width=0.06 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Library/List"),
- ID = "dgLibraryList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|