|
|
@@ -66,6 +66,18 @@ Ext.define('saas.view.core.dbfind.MultiDbfindGridPanel', {
|
|
|
type: 'json',
|
|
|
rootProperty: 'data.list',
|
|
|
totalProperty: 'data.total',
|
|
|
+ },
|
|
|
+ listeners: {
|
|
|
+ exception: function(proxy, response, operation, eOpts) {
|
|
|
+ if(operation.success) {
|
|
|
+ if(response.timedout) {
|
|
|
+ saas.util.BaseUtil.showErrorToast('请求超时');
|
|
|
+ }
|
|
|
+ }else {
|
|
|
+ console.error('exception: ', response.responseJson);
|
|
|
+ saas.util.BaseUtil.showErrorToast('查询失败:' + response.responseJson.message);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
listeners: {
|