Exam.js 960 B

123456789101112131415161718192021222324252627282930313233343536
  1. Ext.define('erp.view.hr.emplmana.Exam',{
  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:'erpFormPanel',
  10. layout: 'border',
  11. items: [{
  12. region:'center',
  13. xtype: 'StartExamForm',
  14. width: '80%',
  15. saveUrl: 'hr/emplmana/saveExamQuest.action',
  16. deleteUrl: 'hr/emplmana/deleteExamQuest.action',
  17. updateUrl: 'hr/emplmana/updateExamQuest.action',
  18. getIdUrl: 'common/getId.action?seq=ExamQuest_SEQ',
  19. auditUrl: 'hr/emplmana/auditExamQuest.action',
  20. resAuditUrl: 'hr/emplmana/resAuditExamQuest.action',
  21. submitUrl: 'hr/emplmana/submitExamQuest.action',
  22. resSubmitUrl: 'hr/emplmana/resSubmitExamQuest.action',
  23. keyField: 'eq_id',
  24. codeField: 'eq_code',
  25. _noc:1
  26. },{
  27. xtype:'AnswerForm',
  28. width: '20%',
  29. region:'west',
  30. _noc:1
  31. }]
  32. }]
  33. });
  34. me.callParent(arguments);
  35. }
  36. });