{
 "hidden": false,
 "children": [{
  "configs": {"itemId": "module"},
  "expanded": true,
  "children": [{
   "configs": {
    "layout": "border",
    "itemId": "viewport1"
   },
   "expanded": true,
   "children": [
    {
     "configs": {
      "itemId": "panel1",
      "region": "north"
     },
     "expanded": true,
     "children": [
      {
       "configs": {"itemId": "toolbar2"},
       "expanded": true,
       "children": [
        {
         "configs": {
          "itemId": "addBtn",
          "text": "新增"
         },
         "expanded": false,
         "children": [],
         "type": "item",
         "events": {"click": "Wb.add(app.gridLog,{},'last',1,false);"}
        },
        {
         "configs": {
          "itemId": "delBtn",
          "text": "删除"
         },
         "expanded": false,
         "children": [],
         "type": "item",
         "events": {"click": "Wb.remove(app.gridLog);"}
        },
        {
         "configs": {
          "itemId": "saveBtn",
          "text": "保存"
         },
         "expanded": false,
         "children": [],
         "type": "item",
         "events": {"click": "if (!Wb.verifyGrid(app.gridLog)) //验证数据是否合法\
  return;\
\
Wb.requestAg({\
  params: {\
    datatable: [Wb.getModified(app.gridLog)],\
    bean: \"DefineLogConfigService\",\
    method: \"saveGrid\"\
  },\
  success: function(resp) {\
    app.queryItem.fireEvent('click');\
  }\
});"}
        },
        {
         "configs": {
          "itemId": "queryItem",
          "text": "查询",
          "iconCls": "search_icon",
          "height": "22"
         },
         "expanded": false,
         "children": [],
         "type": "item",
         "events": {"click": "app.gridLog.store.load({\
  out: app.toolbar1\
});"}
        }
       ],
       "type": "toolbar"
      },
      {
       "configs": {"itemId": "toolbar1"},
       "expanded": true,
       "children": [
        {
         "configs": {
          "itemId": "BIZ_TYPE",
          "labelAlign": "right",
          "fieldLabel": "业务类型",
          "width": "200",
          "labelWidth": "60"
         },
         "expanded": false,
         "children": [],
         "type": "text"
        },
        {
         "configs": {
          "itemId": "BEAN",
          "labelAlign": "right",
          "fieldLabel": "类名",
          "width": "200",
          "labelWidth": "60"
         },
         "expanded": false,
         "children": [],
         "type": "text"
        },
        {
         "configs": {
          "itemId": "METHOD",
          "labelAlign": "right",
          "fieldLabel": "方法名",
          "width": "200",
          "labelWidth": "60"
         },
         "expanded": false,
         "children": [],
         "type": "text"
        }
       ],
       "type": "toolbar"
      }
     ],
     "type": "panel"
    },
    {
     "configs": {
      "itemId": "gridLog",
      "editable": "true",
      "region": "center"
     },
     "expanded": true,
     "children": [
      {
       "configs": {
        "itemId": "store",
        "autoLoad": "true",
        "url": "m?xwl=log/defineLogConfig/select"
       },
       "expanded": true,
       "children": [],
       "type": "store"
      },
      {
       "configs": {"itemId": "columns"},
       "expanded": true,
       "children": [
        {
         "configs": {
          "itemId": "numCol",
          "xtype": "rownumberer",
          "width": "50"
         },
         "expanded": false,
         "children": [],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "id",
          "hidden": "true",
          "dataIndex": "ID"
         },
         "expanded": true,
         "children": [],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_BIZ_TYPE",
          "dataIndex": "BIZ_TYPE",
          "width": "150",
          "text": "业务类型",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [{
          "configs": {"itemId": "editor"},
          "expanded": false,
          "children": [],
          "type": "text"
         }],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_BIZ_COL",
          "dataIndex": "BIZ_COL",
          "width": "150",
          "text": "业务字段",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [{
          "configs": {"itemId": "editor"},
          "expanded": false,
          "children": [],
          "type": "text"
         }],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_MENU_NAME",
          "dataIndex": "MENU_NAME",
          "width": "150",
          "text": "显示名称",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [{
          "configs": {"itemId": "editor"},
          "expanded": false,
          "children": [],
          "type": "text"
         }],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_KEYWORD_COL",
          "dataIndex": "KEYWORD_COL",
          "width": "150",
          "text": "keyName转换",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [{
          "configs": {"itemId": "editor"},
          "expanded": false,
          "children": [],
          "type": "text"
         }],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_BEAN",
          "dataIndex": "BEAN",
          "width": "120",
          "text": "类名",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [{
          "configs": {"itemId": "editor"},
          "expanded": false,
          "children": [],
          "type": "text"
         }],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_METHOD",
          "dataIndex": "METHOD",
          "width": "120",
          "text": "方法名",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [{
          "configs": {"itemId": "editor"},
          "expanded": false,
          "children": [],
          "type": "text"
         }],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_CONTROL_NAME",
          "dataIndex": "CONTROL_NAME",
          "width": "180",
          "text": "组件名称",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [{
          "configs": {"itemId": "editor"},
          "expanded": false,
          "children": [],
          "type": "text"
         }],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_CREATED_BY",
          "dataIndex": "CREATED_BY",
          "width": "100",
          "text": "创建人",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_CREATED_ON",
          "dataIndex": "CREATED_ON",
          "width": "150",
          "text": "创建时间",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_UPDATED_BY",
          "dataIndex": "UPDATED_BY",
          "width": "100",
          "text": "修改人",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [],
         "type": "column"
        },
        {
         "configs": {
          "itemId": "col_UPDATED_ON",
          "dataIndex": "UPDATED_ON",
          "width": "150",
          "text": "修改时间",
          "align": "left",
          "titleAlign": "center"
         },
         "expanded": true,
         "children": [],
         "type": "column"
        }
       ],
       "type": "array"
      }
     ],
     "type": "grid"
    }
   ],
   "type": "viewport",
   "events": {"afterrender": "viewport.el.addKeyListener(Ext.EventObject.F8, function() {\
  app.queryItem.fireEvent(\"click\");\
});\
viewport.el.addKeyListener(Ext.EventObject.F9, function() {\
  app.propertyItem.fireEvent(\"click\");\
});"}
  }],
  "type": "module"
 }],
 "roles": {
  "xlcwb": 1,
  "JCB": 1
 },
 "title": "日志自定义配置表",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}