123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- var ReportName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='HighBaseSpecialistStudentCountView']").attr("customName");
- ReportName = ReportName == "" || ReportName == null ? "HighBaseSpecialistStudentCountView" : ReportName;
- function Update() {
- $.messager.confirm("系统提示", "您确定要更新专科分专业学生数表?", function (r) {
- if (r) {
- $.post(CMS_SystemConfig.VirtualDirectoryPath + '/HighbaseAdultJuniorSpecialtyStudentCount/Update', {}, function (data) {
- if (data.IsSuccess = true) {
- reload();
- }
- $.messager.alert("系统提示", data.Message);
- });
- }
- });
- }
- $(function () {
- reload();
- });
- function reload() {
- var year = $("#SchoolYearDropdown").combobox("getValue");
- $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fStudentManage%2f" + ReportName + "&Year_RAP=" + year);
- }
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <div class="p_title">
- <div style="float: left">
- 年度:@Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Year, new DropdownListOptions { BindType = DropdownListBindType.None, SelectedValue = DateTime.Now.Year, ID = "SchoolYearDropdown", Name = "SchoolYearDropdown", OnSelect = "reload" })
- </div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px; float: right">@Html.ContextMenuBar("List")</div>
- </div>
- <div class="search_list">
- <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 85%; position: absolute;
- left: 5px;"></iframe>
- </div>
- </div>
|