{
 "hidden": false,
 "children": [{
  "configs": {
   "itemId": "module",
   "serverScript": "var sql,data = app.get();\
sql= ' ';\
if(!Wb.isEmpty(data.menuNameRes)){ \
 sql += \"  and (menu_res_ename like '%'||{?menuNameRes?}||'%' or menu_res_cname like '%'||{?menuNameRes?}||'%')\";\
}\
request.setAttribute('sql', sql);"
  },
  "expanded": true,
  "children": [{
   "configs": {
    "itemId": "dataprovider1",
    "sql": "select menu_res_id,menu_res_ename,menu_res_cname,menu_res_type,role_id menu_res_flag \
from WB_MENU_RES wmr left join WB_ROLE_RESOURCE wrr on (WMR.MENU_RES_ID = WRR.MENU_ID  and wrr.role_id={?roleId?}) \
where   parent_menu_id={?parentMenuId?} "
   },
   "expanded": false,
   "children": [],
   "type": "dataprovider"
  }],
  "type": "module"
 }],
 "roles": {"default": 1},
 "title": "查询按钮",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}