123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
-
- }
- @section scripts{
- <script src="~/Scripts/Business/GraduationManage/GraduationSetting/GraduationConditionPackage.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" action="@Url.Content("~/GraduationConditionPackage/Excel")">
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px; color: red;">是否默认:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions
- {
- BindType = DropdownListBindType.SelectAll,
- ID = "IsDefaultDropDown",
- Name = "IsDefaultDropDown",
- OnSelect = "reload"
- },
- new Dictionary<string, string> { { "data-condition", "dgGraduationConditionPackageList" } })
- </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>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="GraduationConditionPackageID" },
- new LinkButtonColumn { FieldName="Title", HeaderText="毕业公式名称", Align=AlignStyle.Center, Handle="detail", Width=0.12 },
- new BoundFieldColumn { FieldName="StudentTypeName", HeaderText="学生类别", Align=AlignStyle.Center, Width=0.04 },
- new CheckButtonColumn { FieldName="IsDefault", HeaderText="是否默认", Align=AlignStyle.Center, Width=0.04, EnableFieldName="false" }
- },
- CustomerRowStyleFun = "SetRedGrid",
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/GraduationConditionPackage/List"),
- ID = "dgGraduationConditionPackageList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|