12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "MinorGraduationConditionList";
-
- string RecordStatus = Request.QueryString["RecordStatus"];
- }
- @section scripts{
- <script type="text/javascript">
- //获取选中的数据(All)
- function validChooseAll() {
- var d = [];
- $.each($("#dgMinorGraduationConditionListList").cmsXDataTable("getSelections"), function (index) {
- d.push(this);
- });
- return d;
- }
- //选中
- function MinorGraduationCondition_Confirm() {
- var listData = validChooseAll();
- if (listData.length < 1) {
- $.messager.alert("系统提示", "请选择辅修毕业条件。");
- return;
- }
- top.$("#@(Request["WindowID"])").data("resultData", validChooseAll());
- top.$("#@(Request["WindowID"])").dialog("close");
- }
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- <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;">
- <div class="current_navbar toolbar">
- <div class="func_info">
- <a class="easyui-linkbutton" href="javascript:MinorGraduationCondition_Confirm()" data-options="iconCls:'icon-ok',plain:'true'"
- onfocus="this.blur()">选中</a>
- </div>
- </div>
- </div>
- </div>
- <form id="formQuery" method="post">
- @*@Html.PositionCondition("GraduationConditionSelect", null)*@
- </form>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorGraduationConditionID" },
- new BoundFieldColumn { FieldName="Title", HeaderText="条件名称", Align=AlignStyle.Center, Width=0.2 },
- new BoundFieldColumn { FieldName="IsEnableName", HeaderText="启用状态", Align=AlignStyle.Center, Width=0.04, }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/MinorGraduationConditionPackage/MinorGraduationConditionList"),
- ID = "dgMinorGraduationConditionListList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|