TabPanelBox.js 692 B

123456789101112131415161718192021222324252627
  1. Ext.define('make.view.sys.parameter.TabpanelBox', {
  2. extend: 'Ext.panel.Panel',
  3. xtype: 'make-parameter-tabpanelbox',
  4. cls: 'sys-parameter-tabpanelbox',
  5. requires: [
  6. 'Ext.layout.container.Card'
  7. ],
  8. layout: 'card',
  9. height: '100%',
  10. initComponent: function () {
  11. var me = this;
  12. Ext.apply(me, {
  13. items: [{
  14. itemId: 'supplychain-1',
  15. xtype: 'make-supplychain-panel',
  16. height: me.height
  17. }, {
  18. itemId: 'finance-2',
  19. xtype: 'make-finance-panel',
  20. height: me.height
  21. }],
  22. })
  23. me.callParent(arguments);
  24. }
  25. });