87,910
社区成员
发帖
与我相关
我的任务
分享
var tabs = new Ext.TabPanel({
id : 'tabs',
region : 'center',
activeTab : 0,
collapsed : true,
items : [{
id : 'Campaigins',
title : '选项卡1',
items: myForm
// html: '<input type="text" disabled="disabled" />'
// html : '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="xttyqyManageCon.do"></iframe>'
}, {
id : 'Groups',
title : '选项卡2',
items: myForm
// html : ' <iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="rqglManageCon.do"></iframe>'
}, {
id : 'Ads',
title : '选项卡3',
items: myForm
// html : ' <iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="pljxManageCon.do"></iframe>'
}]
});
var tab = tabs.getItem('Campaigins') // 默认选项卡
{
id : "${uuid}flowTab",
xtype : "tabpanel",
items : [{
id : "${uuid}ext-gen2452",
xtype : "panel",
layout : "column",
title : "申请人",
items : [{
id : "${uuid}ext-gen3724",
width : "49%",
layout : "form",
border : false,
items : [{
id : "${uuid}ext-gen4494",
xtype : "textfield",
anchor : "98%",
fieldLabel : "申请人",
name : "submiter",
readOnly : true
},{
id : "${uuid}ext-gen5459",
xtype : "textfield",
anchor : "98%",
fieldLabel : "职位",
name : "jobTitle",
readOnly : true
},{
id : "${uuid}ext-gen6448",
xtype : "textfield",
anchor : "98%",
fieldLabel : "手机",
name : "mobile",
readOnly : true
}]
},{
id : "${uuid}ext-gen7745",
width : "49%",
layout : "form",
border : false,
items : [{
id : "${uuid}ext-gen8020",
xtype : "textfield",
anchor : "98%",
fieldLabel : "部门",
name : "department",
readOnly : true
},{
id : "${uuid}ext-gen9060",
xtype : "textfield",
anchor : "98%",
fieldLabel : "电话",
name : "phone",
readOnly : true
},{
id : "${uuid}ext-gen10128",
xtype : "textfield",
anchor : "98%",
fieldLabel : "E-mail",
name : "email",
readOnly : true
}]
}],
frame : false,
autoWidth : true,
bodyStyle : "padding:10px 10px 0"
},{
id : "${uuid}ext-gen13785",
xtype : "panel",
layout : "fit",
title : "附件",
items : [{
xtype : "attachmentgrid",
id : "${uuid}ext-gen14843",
autoHeight : false,
autoScroll : true,
hiddenName : "attachmentFkId",
fkId : "${id}",
border : false,
frame : false
}]
},{
id : "${uuid}flowLogPanel",
xtype : "panel",
title : "处理日志",
items : [{
xtype : "loggrid",
id : "${uuid}flowLog",
bpiId : "${id}"
}],
layout : "fit"
}],
height : 200,
activeTab : 0
}