1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- Ext.define('erp.view.oa.doc.DOCManage',{
- extend: 'Ext.Viewport',
- layout: 'fit',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- id:'desk',
- layout: 'border',
- bodyBorder:false,
- items: [{
- region: 'north',
- xtype : 'pageHeader'
- },{
- region:'center',
- layout:'border',
- items: [{
- width: 250,
- bodyPadding: 5,
- region:'west',
- xtype:'erpDocumentTreePanel',
- bodyStyle:'background-color:#FAFAFA;',
- tbar:[{
- xtype:'buttongroup',
- columns:4,
- cls:'button-group',
- width: 250,
- border:0,
- items:[{
- xtype:'button',
- cls:"button primary",
- id:'treeadd',
- text:' 创建 '
- },{
- xtype:'button',
- cls:"button",
- text:' 编辑 ',
- id:'treeupdate'
- },{
- xtype:'button',
- cls:"button",
- id:'treedelete',
- text:' 删除 '
- }]
-
- }]
- }, {
- xtyle:'border:none;',
- flex: 1,
- region:'center',
- layout:'border',
- items:[{
- region: 'center',
- xtype:'erpDocPanel',
- },{
- xtype:'erpDocTabPanel',
- region:'south'
- }]
- }
- ]},
- {
- xtype: 'pageBottom',
- region: 'south',
- height: 13
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|