|
|
@@ -111,7 +111,7 @@ Ext.define('saas.view.core.base.GridPanel', {
|
|
|
text: '禁用',
|
|
|
handler: function(){
|
|
|
var form = this.ownerCt.ownerCt.ownerCt;
|
|
|
- me.onVastDeal(form._batchCloseUrl,'CLOSE');
|
|
|
+ me.onVastDeal(form._batchCloseUrl,'BANNED');
|
|
|
},
|
|
|
menu: {
|
|
|
cls:'x-query-menu',
|
|
|
@@ -253,10 +253,8 @@ Ext.define('saas.view.core.base.GridPanel', {
|
|
|
boxready: function(grid, width, height, eOpts) {
|
|
|
var store = grid.getStore(),
|
|
|
gridBodyBox = grid.body.dom.getBoundingClientRect(),
|
|
|
- gridBodyBoxHeight = gridBodyBox.height;
|
|
|
-
|
|
|
- var pageSize = Math.floor(gridBodyBoxHeight / 32);
|
|
|
-
|
|
|
+ gridBodyBoxHeight = gridBodyBox.height;//可能有滚动条
|
|
|
+ var pageSize = Math.floor(gridBodyBoxHeight / 33);
|
|
|
store.setPageSize(pageSize);
|
|
|
},
|
|
|
itemClick: function(view,record,a,index,c) {
|