123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/UniversityManage/AdministrativeOrgan/University.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("~/University/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="UniversityID"},
- new LinkButtonColumn { FieldName="Code", HeaderText="学校代码", Align=AlignStyle.Center , Handle="edit", Width=0.06 },
- new BoundFieldColumn { FieldName="Name", HeaderText="学校名称", Align=AlignStyle.Center, Width=0.15 },
- //new BoundFieldColumn { FieldName="EnglishName", HeaderText="英文名称", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="SimpleName", HeaderText="学校简称", Align=AlignStyle.Center, Width=0.1, OverflowLength=8 },
- new BoundFieldColumn { FieldName="ZIPCode", HeaderText="邮政编码", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="Telephone", HeaderText="联系电话", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="FAX", HeaderText="传真", Align=AlignStyle.Center, Width=0.08 },
- //new BoundFieldColumn { FieldName="Email", HeaderText="电子邮箱", Align=AlignStyle.Center, Width=0.12 },
- new BoundFieldColumn { FieldName="HomePage", HeaderText="主页地址", Align=AlignStyle.Center, Width=0.15, OverflowLength=60 },
- //new BoundFieldColumn { FieldName="PublicNum", HeaderText="微信公众号", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="Address", HeaderText="学校地址", Align=AlignStyle.Center, Width=0.12, OverflowLength=15 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/University/List"),
- ID = "dgUniversityList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|