EditMeetingRoomForm=new Ext.form.FormPanel({
labelAlign:'right',
padding:'5px',
height:360,
labelWidth:80,
layout:'fit',
border:false,
items:[{
layout:'column',
items:[{
layout:'form',
width:220,
items:[{
width:120,
xtype:'textfield',
id:'meetingRoomName',
allowBlank:true,
name:'Res_name',
fieldLabel:'会议室名称'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'textfield',
id:'officeName',
allowBlank:true,
name:'data01',
fieldLabel:'所属办公楼宇'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'combo',
id:'address',
name:'data02',
fieldLabel:'会议室类别'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'numberfield',
id:'capacity',
name:'data03',
fieldLabel:'会议室容量'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'numberfield',
id:'roomNum',
name:'data04',
fieldLabel:'房间号'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
id:'floor',
name:'data05',
xtype:'numberfield',
fieldLabel:'楼层'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'combo',
id:'chargeDepart',
name:'data06',
fieldLabel:'主管单位'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'combo',
id:'maintainDepart',
name:'data07',
fieldLabel:'维护单位'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'textfield',
id:'meetingRoomStatus',
name:'data08',
fieldLabel:'维护单位'
}]
},{
layout:'form',
width:220,
items:[{
width:50,
xtype:'radio',
id:'isCharge',
name:'data09',
boxLabel:'是'
},{
width:50,
xtype:'radio',
id:'notCharge',
name:'data09',
boxLabel:'否'
}]
},{
layout:'form',
width:220,
items:[{
width:50,
xtype:'radio',
id:'isApproval',
name:'data10',
boxLabel:'有审批'
},{
width:50,
xtype:'radio',
id:'notApproval',
name:'data10',
boxLabel:'无审批'
}]
},{
layout:'form',
width:440,
items:[{
width:350,
xtype:'textarea',
id:'description',
name:'data11',
fieldLabel:'备注'
}]
}]
}] });
labelAlign:'right',
padding:'5px',
height:360,
labelWidth:80,
layout:'fit',
border:false,
items:[{
layout:'column',
items:[{
layout:'form',
width:220,
items:[{
width:120,
xtype:'textfield',
id:'meetingRoomName',
allowBlank:true,
name:'Res_name',
fieldLabel:'会议室名称'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'textfield',
id:'officeName',
allowBlank:true,
name:'data01',
fieldLabel:'所属办公楼宇'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'combo',
id:'address',
name:'data02',
fieldLabel:'会议室类别'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'numberfield',
id:'capacity',
name:'data03',
fieldLabel:'会议室容量'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'numberfield',
id:'roomNum',
name:'data04',
fieldLabel:'房间号'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
id:'floor',
name:'data05',
xtype:'numberfield',
fieldLabel:'楼层'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'combo',
id:'chargeDepart',
name:'data06',
fieldLabel:'主管单位'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'combo',
id:'maintainDepart',
name:'data07',
fieldLabel:'维护单位'
}]
},{
layout:'form',
width:220,
items:[{
width:120,
xtype:'textfield',
id:'meetingRoomStatus',
name:'data08',
fieldLabel:'维护单位'
}]
},{
layout:'form',
width:220,
items:[{
width:50,
xtype:'radio',
id:'isCharge',
name:'data09',
boxLabel:'是'
},{
width:50,
xtype:'radio',
id:'notCharge',
name:'data09',
boxLabel:'否'
}]
},{
layout:'form',
width:220,
items:[{
width:50,
xtype:'radio',
id:'isApproval',
name:'data10',
boxLabel:'有审批'
},{
width:50,
xtype:'radio',
id:'notApproval',
name:'data10',
boxLabel:'无审批'
}]
},{
layout:'form',
width:440,
items:[{
width:350,
xtype:'textarea',
id:'description',
name:'data11',
fieldLabel:'备注'
}]
}]
}] });
items:{
layout:"column",items:[
{layout:"form",items:{xtype:"radio"},columnWidth:.5},
layout:"column",items:[
{layout:"form",items:{xtype:"radio"},columnWidth:.5}
]
}
items:[{
x:10,
y:7,
xtype:'label',
text:'查询条件'
},{
x:72,
y:7,
id:'thirtyday',
xtype:'radio',
checked:true,
listeners:{check:function(obj, check ){
}}
},{
x:92,
y:7,
xtype:'label',
text:'30日'
}]