...
|
...
|
@@ -229,20 +229,16 @@ |
|
|
$.init();
|
|
|
$.ready(function() {
|
|
|
schoolpicker.setData(myschool);
|
|
|
classpicker.setData(/*[{
|
|
|
value: 'class1',
|
|
|
text: '1'
|
|
|
}, {
|
|
|
value: 'class2',
|
|
|
text: '2'
|
|
|
}, {
|
|
|
value: 'class3',
|
|
|
text: '3'
|
|
|
}, {
|
|
|
value: 'class4',
|
|
|
text: '4'
|
|
|
}]*/
|
|
|
mygrade);
|
|
|
});
|
|
|
})(mui, document);
|
|
|
}
|
|
|
|
|
|
function grade_s(){
|
|
|
(function($, doc) {
|
|
|
console.log(myschool);
|
|
|
$.init();
|
|
|
$.ready(function() {
|
|
|
classpicker.setData(mygrade);
|
|
|
});
|
|
|
})(mui, document);
|
|
|
}
|
...
|
...
|
@@ -256,6 +252,15 @@ |
|
|
school_name = e[0].value
|
|
|
$(".xuexiao_name").text(e[0].text);
|
|
|
$('.xuexiao_name').css('color', '#333333');
|
|
|
|
|
|
$.post("{:url('Personalcenter/get_grade_class')}", {id: school_name}, function (data) {
|
|
|
if (data) {
|
|
|
data = JSON.parse(data);
|
|
|
zujian(data);
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
});
|
|
|
})
|
|
|
console.log(school_name)
|
...
|
...
|
|