12345678910111213141516171819202122232425262728 |
- Ext.define('erp.view.hr.kpi.KpiAccount',{
- extend: 'Ext.Viewport',
- layout: 'anchor',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- var w = Ext.isIE ? screen.width*0.6*0.45 : '45%',
- h = Ext.isIE ? screen.height*0.7*0.45 : '45%';
- Ext.apply(me, {
- items: [{
- id:'KpiAccountView',
- xtype: "window",
- autoShow: true,
- closable: false,
- maximizable : true,
- width: w,
- height: h,
- layout: 'border',
- items: [{
- region: 'center',
- xtype: 'erpFormPanel',
- enableTools:false
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|