Viewport.js 563 B

12345678910111213141516171819202122
  1. Ext.define('erp.view.oa.officialDocument.instruction.query.Viewport',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. region: 'north',
  10. xtype:'erpInstructionQueryFormPanel',
  11. anchor: '100% 30%'
  12. },{
  13. region: 'south',
  14. xtype:'erpDatalistGridPanel',
  15. anchor: '100% 70%',
  16. // selModel: Ext.create('Ext.selection.CheckboxModel',{
  17. // })
  18. }]
  19. });
  20. me.callParent(arguments);
  21. }
  22. });