123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- ComboGridOptions cgop = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CampusID",
- OnSelect = "reload",
- Name = "CampusDropdown",
- ID = "CampusDropdown",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- // new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CampusCode"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CampusName"), Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Campus/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
- ComboGridOptions cgopCollege = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- OnSelect = "reload",
- Name = "CollegeDropdown",
- ID = "CollegeDropdown",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- // new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/College/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
- }
- <script src="~/Scripts/Business/SchedulingManage/SchedulingApproval/CollegeSchedulingApproval.js"
- type="text/javascript"></script>
- <script type="text/javascript">
- var startStatus = @ViewBag.StartStatus;
- var EMIS_CollegeLabel = '@EMIS.Utility.RSL.Get("College")';
- </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("~/Classmajor/Excel")">
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">学年学期:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, SelectedValue = @ViewBag.SchoolYearID, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), OnSelect = "reload", Name = "SchoolyearDropdownList", ID = "SchoolyearDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgCollegePriorityList" } })
- </li>
- @*<li class="sn" style="padding-left: 5px;">校区:</li>
- <li class="sv">
- @Html.ComboGrid(cgop, new Dictionary<string, string> { { "data-condition", "dgCollegePriorityList" } })
- </li>*@
- <li class="sn" style="padding-left: 5px;">@Html.RSLabel("College"):</li>
- <li class="sv">
- @Html.ComboGrid(cgopCollege, new Dictionary<string, string> { { "data-condition", "dgCollegePriorityList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">状态:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { Name = "DictionaryApprovalStatus", ItemSourceUrl = Url.Content("~/CollegeScheduleApproval/GetStatusList"), TextField = "Text", ValueField = "Value", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgCollegePriorityList" } })
- </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="CollegeScheduleStatusID" },
- //new BoundFieldColumn { FieldName="SchoolYearCode", HeaderText="学年学期", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
- //new BoundFieldColumn { FieldName="Priority", HeaderText="优先级", Align=AlignStyle.Center },
- //new BoundFieldColumn { FieldName="StartDate", HeaderText="开始日期", Formatter=Formatter.LongDate, Align=AlignStyle.Center },
- //new BoundFieldColumn { FieldName="EndDate", HeaderText="结束日期", Formatter=Formatter.LongDate, Align=AlignStyle.Center },
- new ApproveStatusColumn { FieldName="StatusName", TableName=typeof(EMIS.Entities.ES_CollegeScheduleStatus).Name, IDFieldName="CollegeScheduleStatusID",
- HeaderText="状态", Align=AlignStyle.Center },
- //new BoundFieldColumn { FieldName="RecordStatus", HeaderText="状态", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ModifyUserName", HeaderText="操作人", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ModifyTime", HeaderText="操作时间", Formatter=Formatter.LongDate, Align=AlignStyle.Center },
- },
- PageSize = 30,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/CollegeScheduleApproval/List"),
- ID = "dgCollegePriorityList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|