Loganalyse.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Ext.define('erp.view.plm.project.Loganalyse',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. id:'desk',
  10. layout: 'border',
  11. items: [
  12. {
  13. region:'west',
  14. split: true,
  15. width:'20%',
  16. layout:'anchor',
  17. items:[{
  18. anchor:'100% 65%',
  19. xtype:'erpProjectTreePanel',
  20. },{
  21. xtype: 'datepicker',
  22. anchor:'100% 35%',
  23. height:'35%',
  24. id:'picker',
  25. //minDate: new Date(),
  26. handler: function(picker, date) {
  27. }
  28. }]
  29. },
  30. {
  31. layout:'anchor',
  32. region:'center',
  33. items:[
  34. {
  35. style:'background:#CDCDB4',
  36. bodyStyle: 'background:#CDCDB4;',
  37. anchor:'100% 7%',
  38. xtype:'AnalyseForm',
  39. },
  40. {
  41. anchor:'100% 93%',
  42. xtype:'erpLogGridPanel',
  43. },]
  44. }
  45. ]
  46. }]
  47. });
  48. me.callParent(arguments);
  49. }
  50. });