123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- function queryCollege(data) {
- //var campusID = $("#CampusDropdown").combogridX("getValue");
- var collegeID = $("#cgCollege").combogridX("getValue");
- var jsonString = "({'QueryParamsDatas':";
- jsonString += "'CollegeDropdown|*|" + collegeID + "|@|'})";
- $("#cgCollege").combogridX("reload", eval(jsonString));
- $("#ddlStandard").combogridX("reload", eval(jsonString));
- // if (campusID != nonSelect) {
- // var jsonString = "({'QueryParamsDatas':'CampusDropdown|*|" + campusID + "|@|'})";
- // $("#CollegeDropdown").combogridX("reload", eval(jsonString));
- // }
- queryClass();
- reload();
- }
- function queryGrademajor() {
- queryClass();
- }
- function queryClass() {
- var jsonString = "";
- var parameterString = "";
- //var campusID = $("#CampusDropdown").combogridX("getValue");
- var collegeID = $("#cgCollege").combogridX("getValue");
- //var educationID = $("#Education").combobox("getValue");
- var schoolYearID = $("#ddlYear").combobox("getValue");
- var standardID = $("#ddlStandard").combogridX("getValue");
- //var learningFormID = $("#LearningformDictionaryDropDown").combobox("getValue");
- //if (campusID != nonSelect) parameterString += "CampusDropdown|*|" + campusID + "|@|";
- if (collegeID != nonSelect && collegeID != "") parameterString += "CollegeDropdown|*|" + collegeID + "|@|";
- //if (educationID != nonSelect) parameterString += "DictionaryEducation|*|" + educationID + "|@|";
- if (schoolYearID != nonSelect && schoolYearID != "") parameterString += "DictionaryGrade|*|" + schoolYearID + "|@|";
- if (standardID != nonSelect && standardID != "") parameterString += "DictionaryStandard|*|" + standardID + "|@|";
- //if (learningFormID != nonSelect) parameterString += "DictionaryLearningform|*|" + learningFormID + "|@|";
- if (parameterString != "") {
- jsonString = "({'QueryParamsDatas':'" + parameterString + "'})";
- $("#ddlStandard").combogridX("reload", eval(jsonString));
- $("#cgClassmajor").combogridX("reload", eval(jsonString));
- } else {
- $("#ddlStandard").combogridX("reload");
- $("#cgClassmajor").combogridX("reload");
- }
- reload();
- }
- function reload() {
- $("#dgStudentList").cmsXDataTable("load", $.getDataGridParams("dgStudentList"));
- }
- function ExaminationApplayStudent_ExportData() {
- $("#formQuery").attr("action", "ExportStudentData");
- $("#formQuery").submit();
- }
- function ExaminationApplayStudent_ExportPicture() {
- $("#formQuery").attr("action", "ExportStudentPic");
- $("#formQuery").submit();
- }
- /*科目类型-联动科目名称*/
- function SelectExaminationSubjectDropdown(data) {
- var jsonString = "({'QueryParamsDatas':'ExaminationTypeDropdown|*|" + data.ExaminationTypeID + "|@|'})";
- $("#ddlExaminationSubject").combogridX("reload", eval(jsonString));
- reload();
- }
|