function beforeInit(sender){ sender.layout='accordion'; Ext.apply (sender, {title:'供应链',style:'text-align:center',collapsible: true, collapseDirection: Ext.Component.DIRECTION_LEFT});}