123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- function Report_Search() {
- //var schoolYearID = $("#SchoolyearDropdown").combobox("getValue");
- //if (schoolYearID == -1 || schoolYearID == "") {
- // schoolYearID = "";
- //}
- var collegeID = $("#CollegeComboGrid").combogridX("getValue");
- if (collegeID == -1 || collegeID == "") {
- collegeID = "";
- }
- var year = $("#DictionarySchoolyear").combobox("getValue");
- if (year == -1 || year == "") {
- year = "";
- }
- var standardID = $("#DictionaryStandard").combogridX("getValue");
- if (standardID == -1 || standardID == "") {
- standardID = "";
- }
- var examinationBatchID = $("#ddlExaminationBatch").combobox('getValue');
- var examinationProjectID = $("#ddlExaminationProject").combobox('getValue');
- if (examinationBatchID == -1 || examinationBatchID == "") {
- $.messager.alert("系统信息", "请选择批次");
- }else
- if (examinationProjectID == -1 || examinationProjectID == "")
- {
- $.messager.alert("系统信息", "请选择考试项目");
- }
- else {
- top.ReportParameter = {
- ExaminationBatchID: examinationBatchID,
- ExaminationProjectID: examinationProjectID,
- CollegeID: collegeID,
- Year: year,
- StandardID: standardID
- }
- $("#reportContent").attr("src", CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fEducationResult%2fLIOTLevelScoreRateView");
- }
- }
- function queryCollege(data) {
- queryClass();
- }
- function queryStandard(data) {
- queryClass();
- }
- function queryClass() {
- var jsonString = "";
- var parameterString = "";
- //var campusID = $("#CampusDropdown").combogridX("getValue");
- var collegeID = $("#CollegeComboGrid").combogridX("getValue");
- var schoolYearID = $("#DictionarySchoolyear").combobox("getValue");
- var standardID = $("#DictionaryStandard").combogridX("getValue");
- //if (campusID != nonSelect) parameterString += "CampusDropdown|*|" + campusID + "|@|";
- if (collegeID != nonSelect) parameterString += "CollegeDropdown|*|" + collegeID + "|@|";
- if (schoolYearID != nonSelect) parameterString += "DictionarySchoolyear|*|" + schoolYearID + "|@|";
- if (standardID != nonSelect) parameterString += "DictionaryStandard|*|" + standardID + "|@|";
- if (parameterString != "") {
- jsonString = "({'QueryParamsDatas':'" + parameterString + "'})";
- //$("#ClassmajorDropdown").combogridX("reload", eval(jsonString));
- $("#DictionaryStandard").combogridX("reload", eval(jsonString));
- } else {
- //$("#ClassmajorDropdown").combogridX("reload");
- $("#DictionaryStandard").combogridX("reload");
- }
- }
- function schoolyearChange() {
- try {
- var examinationBatchUrl = CMS_SystemConfig.VirtualDirectoryPath + '/ExaminationBatch/DropDownList?bindType=0';
- var schoolyearID = $("#ddlSchoolyear").combobox('getValue');
- if (schoolyearID != nonSelect) {
- examinationBatchUrl += "&schoolyearID=" + schoolyearID;
- }
- $("#ddlExaminationBatch").combobox('reload', examinationBatchUrl);
- } catch (e) {
- }
- }
- function examinationBatchChange() {
- try {
- var examinationTypeUrl = CMS_SystemConfig.VirtualDirectoryPath + '/ExamBatchProject/TypeDropDownList?bindType=0';
- var examinationBatchID = $("#ddlExaminationBatch").combobox('getValue');
- if (examinationBatchID != nonSelect) {
- examinationTypeUrl += "&examinationBatchID=" + examinationBatchID;
- }
- $("#ddlExaminationType").combobox('reload', examinationTypeUrl);
- } catch (e) {
- }
- }
- function examinationTypeChange() {
- try {
- var examinationProjectUrl = CMS_SystemConfig.VirtualDirectoryPath + '/ExamBatchProject/DropDownList?bindType=0';
- var examinationBatchID = $("#ddlExaminationBatch").combobox('getValue');
- var examinationTypeID = $("#ddlExaminationType").combobox('getValue');
- if (examinationBatchID != nonSelect) {
- examinationProjectUrl += "&examinationBatchID=" + examinationBatchID;
- }
- if (examinationTypeID != nonSelect) {
- examinationProjectUrl += "&examinationTypeID=" + examinationTypeID;
- }
- $("#ddlExaminationProject").combobox('reload', examinationProjectUrl);
- } catch (e) {
- }
- }
|