var myMask = new Ext.LoadMask(Ext.getBody(), {
msg: '正在查询,请稍后...',
removeMask: true //完成后移除
});
myMask.show();
Ext.Ajax.request({
url : __ctxPath + '/outb/queryWashCusObWashHis.do',
method : 'post',
timeout:99999,
params: {
projId : projId,
comId : comId,
calllistId : calllistId,
callbatchId : gcallbatchId,
clearnTyp : clearnTyp,
washIFGrid : washIFGrid,
clearSoundTyp : clearSoundTyp
},
success : function(response) {
var result = Ext.util.JSON.decode(response.responseText);//解析数据
Ext.getCmp("ObCallListClearnWindowFilterGrid").getStore().removeAll();
Ext.getCmp("ObCallListClearnWindowFilterGrid").getStore().loadData(result);
Ext.getCmp('OB_CalllistClear_Btn_Search').setDisabled(false);
myMask.hide();
},
failure : function() {
myMask.close();
Ext.ux.Toast.msg('操作提示', '查询超时,请联系管理员!');
statusBar.hide();
}
});