12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- function WorktimeAddition_Save() {
- $(document.forms[0]).submit();
- }
- function queryUser() {
- try {
- var collegeID = $("#CollegeID").combogridX("getValue");
- var jsonString = "({'QueryParamsDatas':'";
- if (collegeID != nonSelect) {
- jsonString += "CollegeDropdown|*|" + collegeID + "|@|";
- }
- jsonString += "'})";
- $("#UserID").combogridX("reload", eval(jsonString));
- } catch (e) {
- }
- }
- function queryStandard() {
- try {
- var jsonString = "({'QueryParamsDatas':'";
- var collegeID = $("#StudentCollegeID").combogridX("getValue");
- var yearID = $("#GradeYearID").combobox("getValue");
- if (collegeID != nonSelect) {
- jsonString += "CollegeDropdown|*|" + collegeID + "|@|";
- }
- if (yearID != nonSelect) {
- jsonString += "DictionaryGrade|*|" + yearID + "|@|";
- }
- jsonString += "'})";
- $("#StandardID").combogridX("reload", eval(jsonString));
- reload();
- } catch (e) {
- }
- }
- function queryGrademajor() {
- try {
- var jsonString = "({'QueryParamsDatas':'";
- var collegeID = $("#StudentCollegeID").combogridX("getValue");
- var yearID = $("#GradeYearID").combobox("getValue");
- var standardID = $("#StandardID").combogridX("getValue");
- if (collegeID != nonSelect) {
- jsonString += "CollegeDropdown|*|" + collegeID + "|@|";
- }
- if (yearID != nonSelect) {
- jsonString += "DictionaryGrade|*|" + yearID + "|@|";
- }
- if (standardID != nonSelect) {
- jsonString += "DictionaryStandard|*|" + standardID + "|@|";
- }
- jsonString += "'})";
- $("#GrademajorID").combogridX("reload", eval(jsonString));
- reload();
- } catch (e) {
- }
- }
|