LaunchProcess.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. Ext.define('erp.view.common.JProcess.LaunchProcess',{
  2. extend: 'Ext.Viewport',
  3. hideBorders: true,
  4. layout:'anchor',
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(this, {
  8. id: 'app-viewport',
  9. layout: {
  10. type: 'border',
  11. padding: '0 5 5 5' // pad the layout from the window edges
  12. },
  13. items: [{
  14. id: 'app-header',
  15. xtype: 'box',
  16. region: 'north',
  17. height: 40,
  18. style:'color: #596F8F;font-size: 22px;font-weight: 200;padding: 8px 15px;text-shadow: 0 1px 0 #fff;',
  19. html: '发起流程'
  20. },{
  21. xtype: 'erpLaunchContainer',
  22. autoScroll:true,
  23. region: 'center',
  24. layout:'column',
  25. frame:true,
  26. defaults:{
  27. columnWidth:'0.3333',
  28. padding: '5 5 5 5'
  29. }
  30. }]
  31. });
  32. me.callParent(arguments);
  33. }
  34. });