tbars.push({
text : "审核全部",
handler : function() {
Ext.MessageBox.confirm('Confirm', '确认审核全部?', function(btn) {
if (btn == 'yes') {
Ext.Ajax.request({
url : './dsworkinfo!auditAll.html',
params : {
sdate : Ext.getDom("sdate").value,
edate : Ext.getDom("edate").value,
status : Ext.getCmp("type").getValue(),
station : Ext.getCmp("station").selectItem.viewCode
},
method : "POST",
success : function(response, opt) {
store.reload();
},
failure : function(response, otp) {
Ext.Msg.alert("error", response);
}
});
}
});
}
});
tbars.push('-');
详细解决方案
动态增添工具栏
热度:147 发布时间:2012-10-16 09:57:37.0
相关解决方案