{"title":"系统日志","inframe":false,"hidden":false,"roles":{"dev":1},"pageLink":"","children":[{"configs":{"itemId":"module"},"events":{"initialize":"Wb.apply(app, {\n  load: function() {\n    app.logStore.load();\n  },\n  monEnter: function() {\n    app.tbar.el.on('keydown', function(e) {\n      if (e.getKey() == e.ENTER)\n        app.load();\n    });\n  },\n  finalize: function() {\n    var d = new Date();\n    app.monEnter();\n    app.fromDate.setValue(Ext.Date.add(d, Ext.Date.MONTH, -1));\n    app.toDate.setValue(Ext.Date.add(d, Ext.Date.DAY, 1));\n    app.load();\n  }\n});"},"children":[{"configs":{"layout":"fit","itemId":"viewport1"},"events":{"afterrender":"app.finalize();"},"children":[{"configs":{"itemId":"grid1"},"children":[{"configs":{"sorters":"{property:'LOG_DATE',direction:'DESC'}","remoteSort":"true","itemId":"store","normalName":"logStore","timeout":"300000","url":"m?xwl=admin/log/select"},"events":{"beforeload":"operation.params = Wb.getValue(app.tbar);"},"children":[],"type":"store","expanded":true},{"configs":{"itemId":"tbar"},"children":[{"configs":{"width":"100","itemId":"fromDate"},"events":{"select":"app.load();"},"children":[],"type":"date","expanded":false},{"configs":{"text":"至","xtype":"tbtext","itemId":"toLabel"},"children":[],"type":"item","expanded":false},{"configs":{"width":"100","itemId":"toDate"},"events":{"select":"app.load();"},"children":[],"type":"date","expanded":false},{"configs":{"width":"130","emptyText":"用户名称","itemId":"userName"},"children":[],"type":"text","expanded":false},{"configs":{"emptyText":"IP地址","itemId":"ip"},"children":[],"type":"text","expanded":false},{"configs":{"keyName":"logType","width":"70","emptyText":"类型","itemId":"logType"},"events":{"select":"app.load();"},"children":[],"type":"combo","expanded":false},{"configs":{"emptyText":"信息","itemId":"msg","flex":"1"},"children":[],"type":"text","expanded":false},{"configs":{"itemId":"findBtn","iconCls":"seek_icon","tooltip":"查询指定条件的日志信息"},"events":{"click":"app.load();"},"children":[],"type":"item","expanded":false},{"configs":{"itemId":"resetBtn","iconCls":"undo_icon","tooltip":"重置查询条件"},"events":{"click":"Wb.reset([app.userName, app.ip, app.logType, app.msg]);\napp.load();"},"children":[],"type":"item","expanded":false}],"type":"toolbar","expanded":true}],"type":"grid","expanded":true}],"type":"viewport","expanded":true}],"type":"module","expanded":true}],"iconCls":"db_form_icon"}