我在附件中打包了页面。
我也把框架代码贴出来,希望各位大侠们,帮帮小弟,都找个好几个人了,都没有办法!Ext.onReady(function(){
var win;
var button = Ext.get('show-btn'); button.on('click', function(){
// create the window on the first click and reuse on subsequent clicks
if(!win){
win = new Ext.Window({
applyTo : 'hello-win',
layout : 'fit',
width : 600,
height : 500,
closeAction :'hide',
plain : true,
items : new Ext.form.FormPanel({
Frame:true,
bodyStyle:'padding:5px 5px 0',
width: 600,
defaultType: 'textfield',
items:[{
fieldLabel: '方案名称*',
name: 'voornaam',
allowBlank:false
},{
fieldLabel: '所属培训单元*',
name: 'achternaam'
},{
fieldLabel: '培训方式',
//width: 50,
name: 'tussenvoegsel'
},{
fieldLabel: '培训对象*',
name: 'bedrijf'
},{
fieldLabel: '培训班主任姓名*',
name: 'bedrijf'
}, new Ext.form.DateField({
fieldLabel: '方案开始时间*',
name: 'geb_datum'
}), new Ext.form.DateField({
fieldLabel: '方案结束时间*',
name: 'lala'
}),{
xtype:'tabpanel',
plain:true,
activeTab: 0,
height:235,
defaults:{bodyStyle:'padding:10px'
},items:[{
title:'培训目标',
layout:'fit',
// defaults: {width: 230},
defaultType: 'textfield', items: {
xtype:'htmleditor',
id:'bio2',
fieldLabel:'Biography'
}
},{
title:'培训实施方案背景信息',
layout:'fit',
// defaults: {width: 230},
defaultType: 'textfield', items: {xtype:'htmleditor',
id:'bio2',
fieldLabel:'Biography'}
},{
// cls:'x-plain',
title:'描述',
layout:'fit',
items: {
xtype:'htmleditor',
id:'bio2',
fieldLabel:'Biography'}
}]
}]
}),
buttons: [{
text : 'Submit',
// disabled : true
},{
text : 'Close',
handler : function(){
win.hide();
}
}]
});
}
win.show(button);
});
});
小弟是新人没有什么分,希望各位好心大侠帮帮小弟,对于找个关键性问题,都好几天没有睡好觉了!
谢谢了,谢谢各位
我也把框架代码贴出来,希望各位大侠们,帮帮小弟,都找个好几个人了,都没有办法!Ext.onReady(function(){
var win;
var button = Ext.get('show-btn'); button.on('click', function(){
// create the window on the first click and reuse on subsequent clicks
if(!win){
win = new Ext.Window({
applyTo : 'hello-win',
layout : 'fit',
width : 600,
height : 500,
closeAction :'hide',
plain : true,
items : new Ext.form.FormPanel({
Frame:true,
bodyStyle:'padding:5px 5px 0',
width: 600,
defaultType: 'textfield',
items:[{
fieldLabel: '方案名称*',
name: 'voornaam',
allowBlank:false
},{
fieldLabel: '所属培训单元*',
name: 'achternaam'
},{
fieldLabel: '培训方式',
//width: 50,
name: 'tussenvoegsel'
},{
fieldLabel: '培训对象*',
name: 'bedrijf'
},{
fieldLabel: '培训班主任姓名*',
name: 'bedrijf'
}, new Ext.form.DateField({
fieldLabel: '方案开始时间*',
name: 'geb_datum'
}), new Ext.form.DateField({
fieldLabel: '方案结束时间*',
name: 'lala'
}),{
xtype:'tabpanel',
plain:true,
activeTab: 0,
height:235,
defaults:{bodyStyle:'padding:10px'
},items:[{
title:'培训目标',
layout:'fit',
// defaults: {width: 230},
defaultType: 'textfield', items: {
xtype:'htmleditor',
id:'bio2',
fieldLabel:'Biography'
}
},{
title:'培训实施方案背景信息',
layout:'fit',
// defaults: {width: 230},
defaultType: 'textfield', items: {xtype:'htmleditor',
id:'bio2',
fieldLabel:'Biography'}
},{
// cls:'x-plain',
title:'描述',
layout:'fit',
items: {
xtype:'htmleditor',
id:'bio2',
fieldLabel:'Biography'}
}]
}]
}),
buttons: [{
text : 'Submit',
// disabled : true
},{
text : 'Close',
handler : function(){
win.hide();
}
}]
});
}
win.show(button);
});
});
小弟是新人没有什么分,希望各位好心大侠帮帮小弟,对于找个关键性问题,都好几天没有睡好觉了!
谢谢了,谢谢各位
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货