Ext.define('erp.view.oa.info.PagingGet',{ extend: 'Ext.Viewport', //layout: 'border', hideBorders: true, layour:'auto', _version:123, padding:'20px 20px 20px 15px', style:'background: red!important;', initComponent : function(){ var me = this; Ext.apply(me, { items:[{ xtype:'tabpanel', id:'msgTab', region:'center', items:[{ title:'消息内容', xtype:'form', region:'center', layout: 'column', hideBorders: true, frame:false, buttonsAlign:'right', defaults:{ columnWidth:1, margin:'2 5 2 5' }, items: [{ xtype: 'toolbar', columnWidth: 1, layout: { type: 'hbox', align: 'right' }, padding:'20 30 20 30', style: { background: 'transparent', border: 'none' }, items: [{ xtype: 'tbtext', id: 'PrMan', text:'发件人 : '+data.PR_RELEASER }, '-', { xtype: 'tbtext', id: 'PrDate', text:'日期 : '+Ext.util.Format.date(new Date(data.PR_DATE),'Y-m-d H:i:s') }, '->', { xtype: 'button', text:'存放到日程事务', iconCls:'x-btn-task', itemId:'saveTask' },{ xtype:'button', text:'转发', iconCls:'x-btn-turn', itemId:'turnOver' }] },{ xtype:'mfilefield', name:'pr_attach', hidden:true },{ xtype:'htmleditor', id:'readEl', name:'context', height:300, margin:'0 20 0 20', value:context, style:'border-top:solid 1px #b5b8c8;', readOnly:true }], buttons:[ {xtype:'label',text:'(Alt+S 回复,Alt+E 关闭)'}, { xtype: 'button', text: '回复',itemId:'reply',formBind: true,width:60 }, { xtype: 'button', text: '关闭',itemId:'close',width:60 }] },{ title:'发送消息', xtype:'form', id:'replyMsg', layout:'column', hidden:true, defaults:{ columnWidth:1, margin:'2 5 2 5' }, items:[{ fieldLabel:'接收人', xtype:'HrOrgSelectfield', fieldLabel:'接收人', name:'man', height:65, id:'man', logic:'manid', style:'border:none', readOnly:true, secondname:'manid', allowBlank:false },{ xtype:'hidden', id:'manid', name:'manid' },{ xtype:'htmleditor', id:'replyEl', name:'replycontext', value:'