{"hidden":false,"children":[{"configs":{"serverScript":"var tag, rs;\ntry {\n  rs = app.run('select * from ' + app.get('fullTableName') + ' where 1=0', {\n    jndi: app.get('jndi')\n  });\n  tag = DbUtil.getFields(rs.getMetaData(), null, null, null).toString();\n} catch (e) {\n  //如果表已经被删除则FIELD_NAME下拉项返回空\n  tag = '[]';\n}\napp.set({\n  dictTag: tag\n});","itemId":"module"},"expanded":true,"children":[{"configs":{"itemId":"searchCombo","string":"%{#searchCombo#}%"},"expanded":false,"children":[],"type":"string"},{"configs":{"itemId":"dataprovider1","dictTableNames":"WB_DICT","limitRecords":"-1","tag":"{tableFields:{#dictTag#}}","sql":"select * from WB_DICT where TABLE_NAME={?TABLE_NAME?} and FIELD_NAME like {?searchCombo?} {#sql.orderBy#}"},"expanded":false,"children":[],"type":"dataprovider"}],"type":"module"}],"roles":{"demo":1},"title":"查询","iconCls":"","inframe":false,"pageLink":""}