数据结构
{"data": {"layout": {"api":{"pageApi":{//api详情}},"config":{"title":"页面标题",},"listLayout": {"fields": [{"componentCode": "grid","columns": []}]},// 选择器"filterLayout": [],// 搜索框"searchLayout": {"ifShow": true,"conditionFields": [{ "key": "name","condition": "LIKE","value": ""} ],"placeholder": "店铺名称"},// tab栏"tabLayout": {"ifShow": true,"conditionFields": [{ "label": "缴费通知", "key": "tab1", "condition": "EQ", "badge": 0, "value": 1 },{ "label": "月度对账", "key": "tab2", "condition": "EQ", "badge": 1, "value": 2 }]},// 按钮"buttonLayout": {// 全局按钮"outsideButton": [{"billCode": "1528673694668988419","bindBillCode": "1528673694668988419","bindBillName": "","bindEventCode": "add","bindEventName": "添加","buttonCode": "add","buttonDesc": "","buttonName": "添加","key": "buttonItem","label": "添加","sort": 0,"type": "buttonItem","version": "6.4.3"}],// 卡片按钮"insideButton": []}}}
}
搜索框配置
- 是否显示
- 搜索字段
- 搜索条件( like in ...)
下拉搜索需筛选数据来源
- 字段关系
- 若绑定了API需从API中获取
- 自定义( 后端API 提供字段查询)