Browse Source

查询界面超时处理

zhuth 7 years ago
parent
commit
5e4da066de
1 changed files with 4 additions and 0 deletions
  1. 4 0
      frontend/saas-web/app/view/core/query/QueryGridPanel.js

+ 4 - 0
frontend/saas-web/app/view/core/query/QueryGridPanel.js

@@ -39,6 +39,7 @@ Ext.define('saas.view.core.query.QueryGridPanel', {
                 proxy: {
                 proxy: {
                     type: 'ajax',
                     type: 'ajax',
                     url: me.baseVastUrl+'list',
                     url: me.baseVastUrl+'list',
+                    timeout: 8000,
                     actionMethods: {
                     actionMethods: {
                         read: 'GET'
                         read: 'GET'
                     },
                     },
@@ -68,6 +69,9 @@ Ext.define('saas.view.core.query.QueryGridPanel', {
                             condition: JSON.stringify(condition)
                             condition: JSON.stringify(condition)
                         });
                         });
     
     
+                    },
+                    requestexception: function() {
+                        debugger;
                     }
                     }
                 }
                 }
             }),
             }),