{
 "hidden": false,
 "children": [{
  "configs": {
   "itemId": "module",
   "serverScript": "var sql, data = app.get();\
  sql= ' ';\
if(!Wb.isEmpty(data.query)){\
  sql += \" where menu_name like '%'||{?query?}||'%' \";\
}else{\
  sql += \" where parent_menu = '-1' and menu_type= 2 \";\
}\
request.setAttribute('sql', sql);"
  },
  "expanded": true,
  "children": [{
   "configs": {
    "itemId": "dataprovider1",
    "sql": "select MENU_ID COD,  MENU_NAME NAME from wb_menu {#sql#} "
   },
   "expanded": false,
   "children": [],
   "type": "dataprovider"
  }],
  "type": "module"
 }],
 "roles": {"default": 1},
 "title": "下拉选择用户",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}