123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- var url = CMS_SystemConfig.VirtualDirectoryPath + "/EducationMissionClassScheduleAdult/Edit";
- var mnu = "";
- //加载
- $(function () {
- mnu = $.SystemGeneral.getUrlParam("MNU");
- })
- function reload() {
- $("#dgEducationMissionClassSchedule").cmsXDataTable("load", $.getDataGridParams("dgEducationMissionClassSchedule"));
- }
- //获取选中的数据
- function validChoose() {
- var d = [];
- $.each($("#dgEducationMissionClassSchedule").cmsXDataTable("getSelections"), function (index) {
- d.push(this.EducationMissionClassID);
- });
- return d;
- }
- //学生总数
- function SchedulingClassStudentEdit(rowindex, rowdata) {
- var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/EducationMissionClass/EducationSchedulingClassCountStudentList?educationMissionClassID=" + rowdata.EducationMissionClassID + "&MNU=" + mnu;
- $.popupTopWindow('学生信息', redirectTo, 800, 350, null, null);
- }
- //获取选中的数据
- function OrderNovalidChoose() {
- var d = [];
- $.each($("#dgEducationMissionClassSchedule").cmsXDataTable("getSelections"), function (index) {
- d.push(this.OrderNo);
- });
- return d;
- }
- //获取选中的状态
- function ApprovalStatusvalidChoose() {
- var d = [];
- $.each($("#dgEducationMissionClassSchedule").cmsXDataTable("getSelections"), function (index) {
- d.push(this.ApprovalStatus);
- });
- return d;
- }
- //获取选中的教室类型
- function ClassroomTypeNamevalidChoose() {
- var d = [];
- $.each($("#dgEducationMissionClassSchedule").cmsXDataTable("getSelections"), function (index) {
- d.push(this.ClassroomTypeName);
- });
- return d;
- }
- //导出Excel
- function realtime_Export() {
- // var d = validChoose().join(',')
- // if (d != "") {
- // document.getElementById("EducationMissionClassID").value = d;
- // }
- // else {
- // document.getElementById("EducationMissionClassID").value = "";
- // }
- $("#formQuery").submit();
- }
- function realtimeGT_Export() {
- $("#formQuery").attr("action", "ExcelGT");
- $("#formQuery").submit();
- }
- function queryCollege(data) {
- reload();
- }
- function QuerySchoolyearDropdownList(data) {
- if (data != null || data.Value != "") {
- var jsonString = "({'QueryParamsDatas':'schoolYearID|*|" + data.Value + "|@|'})";
- $("#ddlWeekNum").combobox("reload", eval(jsonString));
- }
- reload();
- }
|