AttentionSub.js 797 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.oa.attention.AttentionSub',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'anchor',
  10. items: [{
  11. tag : 'iframe',
  12. frame : true,
  13. anchor : '100% 30%',
  14. xtype:'erpAttentionFormPanel',
  15. caller:caller,
  16. bbar:['->',{
  17. xtype:'erpSaveButton',
  18. },{
  19. xtype:'erpCloseButton',
  20. },'->']
  21. },{
  22. anchor:'100% 70%',
  23. layout:'fit',
  24. id: 'AttentionSubGrid',
  25. xtype: 'AttentionSubGridPanel',
  26. }],
  27. }]
  28. });
  29. me.callParent(arguments);
  30. }
  31. });