|
|
@@ -21,7 +21,7 @@ Ext.define('school.view.interaction.score.List', {
|
|
|
fieldLabel: '年级',
|
|
|
listeners: {
|
|
|
select: function (combo, record, eOpts) {
|
|
|
- combo.up('form').getForm().findField('class').setValue(null);
|
|
|
+ combo.up('form').getForm().findField('si_class').setValue(null);
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
@@ -32,7 +32,7 @@ Ext.define('school.view.interaction.score.List', {
|
|
|
expand: function (combo, eOpts) {
|
|
|
combo.store.clearFilter();
|
|
|
|
|
|
- var gradeCombo = combo.up('form').getForm().findField('grade');
|
|
|
+ var gradeCombo = combo.up('form').getForm().findField('si_grade');
|
|
|
var gradeName = gradeCombo.getValue();
|
|
|
|
|
|
var filter = new Ext.util.Filter({
|
|
|
@@ -45,7 +45,7 @@ Ext.define('school.view.interaction.score.List', {
|
|
|
}
|
|
|
},
|
|
|
select: function (combo, record, eOpts) {
|
|
|
- combo.up('form').getForm().findField('grade').setValue(record.get('clazz_grade'));
|
|
|
+ combo.up('form').getForm().findField('si_grade').setValue(record.get('clazz_grade'));
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
@@ -202,5 +202,11 @@ Ext.define('school.view.interaction.score.List', {
|
|
|
}
|
|
|
}
|
|
|
return obj;
|
|
|
+ },
|
|
|
+
|
|
|
+ refresh: function() {
|
|
|
+ Ext.StoreMgr.get('store_grade').load();
|
|
|
+ Ext.StoreMgr.get('store_class').load();
|
|
|
+ this.items.items[0].store.load();
|
|
|
}
|
|
|
});
|