function diaglogs(){ Ext.onReady(function(){ var _window=new Ext.Window({ title:"选择批语", renderTo:Ext.getBody(), frame:true, plain:true, resizable:false, buttonAlign:"right", closeAction:"hide", maximizable:true, closable:true, bodyStyle:"padding:4px", width:310, height:230, layout:"form", html:‘<input type="text" value="zzzzz">‘, lableWidth:45, defaults:{xtype:"textfield",width:180}, buttons:[{text:"确定"},{text:"取消",handler:function(){_window.close();}}], listeners:{ "show":function(){ }, "hide":function(){ }, "close":function(){ } } }) _window.show(); }) ; }
时间: 2024-10-25 01:38:50