123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="../../Scripts/Business/TeachingMaterial/Published.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("~/Publisher/Excel")">
- @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.CF_GeneralPurpose, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "PrivideDropdown", ID = "PrivideDropdown", OnSelect = "QueryPrividetmentDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgPublishList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">是否出版社:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "PublishDropdown", ID = "PublishDropdown", OnSelect = "QueryPublishDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgPublishList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">是否印刷厂:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "PrintDropdown", ID = "PrintDropdown", OnSelect = "QueryPrintDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgPublishList" } })
- </li>
- </ul>
- </div>
- </div>
- </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>
- @Html.PositionBatchModify()
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="PublishID" },
- new LinkButtonColumn { FieldName="UnitCode", HeaderText="单位编号", Align=AlignStyle.Center , Handle="edit", Width=0.04 },
- new BoundFieldColumn { FieldName="UnitName", HeaderText="单位名称", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="IsPulishName", HeaderText="是否出版社", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="IsSupplierName", HeaderText="是否供应商", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="IsPrintName", HeaderText="是否印刷厂", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="ContectUser", HeaderText="联系人", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="Mobile", HeaderText="移动电话", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="Phone", HeaderText="固定电话", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="Address", HeaderText="单位地址", Align=AlignStyle.Center, Width=0.06, OverflowLength=10 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Publisher/List"),
- ID = "dgPublishList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|