//年级表绑定
year_table : function() {
var nou = "";
$.each(grade_data, function(index, value) {
nou += `<option value="${value.yearIn}">${value.yearIn}级</option>`;
});
$("#year_value").html(nou);
//班级表预定义
var boot = $("#year_value :selected").val();
student.change_year_value(boot);
},
//用选中年级表的值改变班级方法
change_year_value : function(boot) {
var cou = "";
$.each(schclazz_data, function(index, value) {
if (boot == value.yearIn)
cou += `<option value="${value.clzCode}">${value.clzAlias}</option>`;
});
$("#class_value").html(cou);
},