Diary.js 602 B

1234567891011121314151617181920212223
  1. Ext.define('erp.view.oa.persontask.Diary.Diary',{
  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. xtype: 'erpFormPanel',
  12. anchor: '100% 100%',
  13. saveUrl: 'common/saveCommon.action?caller=' +caller,
  14. deleteUrl: 'common/deleteCommon.action?caller=' +caller,
  15. updateUrl: 'common/updateCommon.action?caller=' +caller,
  16. getIdUrl: 'common/getId.action?seq=DIARY_SEQ',
  17. keyField: 'di_id'
  18. }]
  19. }]
  20. });
  21. me.callParent(arguments);
  22. }
  23. });