MyJProCand.js 608 B

1234567891011121314151617181920
  1. Ext.define('erp.view.common.JProcess.MyJProCand',{
  2. extend: 'Ext.Viewport',
  3. /*layout: 'fit', */
  4. hideBorders: true,
  5. layout:'anchor',
  6. initComponent : function(){
  7. var me = this;
  8. Ext.apply(me, {
  9. items: [{
  10. title:'',
  11. /* style:'margin: 2px;',
  12. contentEl: 'mytask',
  13. tag : 'iframe',*/
  14. anchor: '100% 100%',
  15. html :'<iframe id="iframe_maindetail_" src="../../jsps/common/datalist.jsp?whoami=JProCand&urlcondition=jp_candidate=\''+em_code+'\' AND jp_flag = 1" height="100%" width="100%" frameborder="0"></iframe>',
  16. }]
  17. });
  18. me.callParent(arguments);
  19. }
  20. });