Ext.namespace('wh_main');
wh_main.Query = function(config) {
Ext.applyIf(this, config);
this.initUIComponents();
wh_main.Query.superclass.constructor.call(this);
};
Ext.extend(wh_main.Query, Ext.Window, {
initUIComponents : function() {
// BEGIN OF CODE GENERATION PARTS, DON'T DELETE CODE BELOW
Ext.apply(this, {
el:'fatjames',
width : 600,
height : 400,
items : [{
frame : "true",
layout : "column",
items : [{
columnWidth : "0.5",
layout : "form",
items : [{
fieldLabel : "开始日期",
xtype : "datefield"
}, {
fieldLabel : "结束日期",
xtype : "datefield"
}]
}, {
columnWidth : "0.5",
layout : "form",
items : [{
fieldLabel : "测试",
xtype : "combo"
}, {
fieldLabel : "测试",
xtype : "combo"
}]
}],
xtype : "form"
}],
xtype : "window"
});
// END OF CODE GENERATION PARTS, DON'T DELETE CODE ABOVE
}
});
Ext.onReady(function(){
var tt = new wh_main.Query({
el:'fatjames'
});
tt.show(this);
});