123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- function reloadClassmajor() {
- if ($("#cgClassmajor").length > 0 && $.data($("#cgClassmajor")[0], "combogridX")) {
- var collegeID = null;
- var yearID = null;
- var standardID = null;
- if ($("#cgCollege").length > 0 && $.data($("#cgCollege")[0], "combogridX")) {
- collegeID = $("#cgCollege").combogridX("getValue");
- }
- if ($("#ddlYear").length > 0 && $.data($("#ddlYear")[0], "combobox")) {
- yearID = $("#ddlYear").combobox("getValue");
- }
- if ($("#ddlStandard").length > 0 && $.data($("#ddlStandard")[0], "combogridX")) {
- standardID = $("#ddlStandard").combogridX("getValue");
- }
- if (collegeID == nonSelect) {
- collegeID = null;
- }
- if (yearID == nonSelect) {
- yearID = null;
- }
- if (standardID == nonSelect) {
- standardID = null;
- }
- var jsonString = "({'QueryParamsDatas':'CollegeDropdown|*|" + collegeID
- + "|@|DictionaryGrade|*|" + yearID + "|@|DictionaryStandard|*|" + standardID + "|@|'})";
- $("#cgClassmajor").combogridX("reload", eval(jsonString));
- }
- }
- function reloadStandard() {
- var url = "/Facultymajor/BindStandardDropDownList?bindType=0";
- var collegeID = $("#cgCollege").combogridX("getValue");
- if (collegeID != nonSelect) {
- var jsonString = "({'QueryParamsDatas':'CollegeDropdown|*|" + collegeID + "|@|'})";
- $("#DepartmentDropdown").combogridX("reload", eval(jsonString));
- }
- //if (collegeID != nonSelect) url += "&collegeID=" + collegeID;
- $("#ddlStandard").combobox("reload", url);
- reload();
- }
- function QueryDepartmentComboGridList() {
- reload();
- }
- function QueryEvaluationTypeDropdownList() {
- reload();
- }
- function reload() {
- $("#dgTeacherEvaluationCountList").cmsXDataTable("load", $.getDataGridParams("dgTeacherEvaluationCountList"));
- }
- function TeacherEvaluationCount_Export() {
- $("#formQuery").submit();
- }
- function validChoose() {
- var d = [];
- $.each($("#dgTeacherEvaluationCountList").cmsXDataTable("getSelections"), function (index) {
- d.push(this);
- });
- return d;
- }
- function SelectExaminationSubjectDropdown(data) {
- var jsonString = "({'QueryParamsDatas':'ExaminationTypeDropdown|*|" + data.ExaminationTypeID + "|@|'})";
- $("#ddlExaminationSubject").combogridX("reload", eval(jsonString));
- reload();
- }
|