12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- @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='HighBaseAgeCountView']").attr("customName");
- ReportName = ReportName == "" || ReportName == null ? "HighBaseAgeCountView" : ReportName;
- function Update() {
- $.messager.confirm("系统提示", "您确定要更新在校生分年龄情况表?", function (r) {
- if (r) {
- $.post(CMS_SystemConfig.VirtualDirectoryPath + '/HighbaseInschoolAgeStatus/Update', { SchoolYear: $("#SchoolYearDropdown").combobox("getValue") }, 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" })
- @*@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, SelectedValue = BaseExtensions.GetCurrentYearID(), ItemSourceUrl = Url.Content("~/HighbaseInschoolAgeStatus/SchoolYearDropDown"), 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>
|