| 12345678910111213141516171819202122232425262728 |
- Ext.define('saas.view.document.other.Employee', {
- extend: 'saas.view.document.kind.Kind',
- xtype: 'other-employee',
- autoScroll: true,
- layout:'fit',
- caller:'Employee',
- _openUrl:'/api/document/employee/open',
- _closeUrl:'/api/document/employee/close',
- defaultType:'employee',
- tbar: ['->',{
- xtype:'button',
- text:'新增',
- listeners: {
- click: 'onAdd'
- }
- },{
- xtype:'button',
- text:'刷新',
- listeners: {
- click: 'onRefresh'
- }
- }],
- listeners:{
- afterrender:function(p){
- p.getViewModel().setData({title:'人员资料'});
- }
- }
- })
|