LaunchProcess.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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.5',
  28. margin: '1 1 1 1',
  29. style: {border:'3px solid #8E8E8E' }
  30. }
  31. }]
  32. });
  33. me.callParent(arguments);
  34. }
  35. });