Buganalyse.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Ext.define('erp.view.plm.test.Buganalyse',{
  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:'30%',
  16. layout:'anchor',
  17. items:[{
  18. anchor:'100% 100%',
  19. height:'100%',
  20. xtype:'erpProjectTreePanel',
  21. },/*{
  22. xtype: 'datepicker',
  23. anchor:'100% 35%',
  24. height:'35%',
  25. id:'picker',
  26. //minDate: new Date(),
  27. handler: function(picker, date) {
  28. }
  29. }*/]
  30. },
  31. {
  32. layout:'anchor',
  33. region:'center',
  34. items:[{
  35. style:'background:#CDCDB4',
  36. bodyStyle: 'background:#CDCDB4;',
  37. anchor:'100% 6%',
  38. xtype:'AnalyseForm',
  39. },
  40. {
  41. title:'处理统计',
  42. anchor:'100% 47%',
  43. xtype:'erpAnalyseHandGridPanel',
  44. id:'hand',
  45. url:'plm/test/handgrid.action',
  46. region:'south',
  47. },{
  48. title:'提出统计',
  49. anchor:'100% 47%',
  50. xtype:'erpAnalyseTestGridPanel',
  51. id:'test',
  52. url:'plm/test/testgrid.action',
  53. region:'center',
  54. },]
  55. }
  56. ]
  57. }]
  58. });
  59. me.callParent(arguments);
  60. }
  61. });