{
<#list layout.c1 as group>
    "form":
    [
        {
            "page": {
                "id": "p${newId()}",
                "type": "fx-page",
                "props": {
                    "title": "${title}",
                    "key": "${newId()}"
                }
            },
            "graph": {
                "shape": "panel",
                "id": "root_panel",
                "type": "fx-split-panel",
                "props": {
                    "horizontal": false,
                    "shadow": ""
                },
                "children": [
                    <#if (group.cfilters?size>0)>
                        <#include "incModel/inc_list_query.ftl"/>
                    </#if>
                    {
                        "id": "${newId()}",
                        "type": "fx-form-panel",
                        "shape": "panel",
                        "props": {
                            "size": "50",
                            "label": "查询条件",
                            "colNum": 2,
                            "alignY": "center",
                            "paddingLeft": 20,
                            "paddingRight": 20,
                            "shadow": ""
                        },
                        "children": [
                            {
                                "id": "id${newId()}",
                                "type": "fx-title",
                                "props": {
                                    "label": "${title}",
                                    "fontSize": 15,
                                    "color": "#313131",
                                    "fontWeight": "bold",
                                    "showPrefix": true,
                                    "prefixWidth": 5,
                                    "prefixHeight": 15,
                                    "prefixColor": "#1E90FF"
                                }
                            },
                            {
                                "id": "id${newId()}",
                                "type": "fx-button-group",
                                "props": {
                                    "menus": [],
                                    "textAlign": "right"
                                },
                                "slots": {
                                    "default": [
                                        {
                                            "id": "id${newId()}",
                                            "type": "fx-button",
                                            "props": {
                                                "label": "新增",
                                                "leftIcon": "plus",
                                                "type": "primary",
                                                "action": "button:add",
                                                "link": false,
                                                "linkType": "",
                                                "fxLink": "",
                                                "dataset": "${param.queryDs}"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    <#include "incModel/inc_list_table.ftl"/>
                    {
                        "id": "${newId()}",
                        "type": "fx-form-panel",
                        "shape": "panel",
                        "props": {
                            "size": "15",
                            "backgroundColor": "transparent"
                        },
                        "children": []
                    }
                ]
            }
        }
    <#if (group.sfilters?size>0)>
        <#include "incModel/inc_query_sfilters.ftl"/>
    </#if>
    ],
</#list>
"model": [
<#list datasets as dataset>
    <#include "incModel/inc_model.ftl"/><#if dataset_has_next>,</#if>
</#list>
],
"option": {
"widgetRef": [${widgetRef}],
"vars": []
}
}
