SpecialRecord.js 888 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Ext.define('erp.view.plm.record.SpecialRecord',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. autoScroll:true,
  5. hideBorders: true,
  6. initComponent : function(){
  7. var me = this;
  8. Ext.apply(me, {
  9. items: [{
  10. layout: 'border',
  11. items: [{region: 'center',
  12. id: 'workrecord',
  13. layout: 'column',
  14. autoScroll: true,
  15. bodyStyle: 'background: #f0f0f0;',
  16. defaults: {frame:true},
  17. items: [{
  18. id:'grid',
  19. xtype: 'erpGridPanel2',
  20. layout:'column',
  21. defaults:{
  22. columnWidth:1,
  23. },
  24. bbar: {},
  25. },{
  26. xtype:'erpFormPanel',
  27. title:'',
  28. hidden:true,
  29. params:{
  30. caller:'WorkRecord!Task',
  31. condition:''
  32. }
  33. }]
  34. },
  35. {
  36. region:'west',
  37. width:'25%',
  38. xtype:'erpSpecialTreePanel',
  39. layout:'anchor',
  40. }
  41. ]
  42. }]
  43. });
  44. me.callParent(arguments);
  45. }
  46. });