39 lines
902 B
Plaintext
39 lines
902 B
Plaintext
{
|
|
"title": "@functionName@",
|
|
"type": "page",
|
|
"body": [{
|
|
"type": "form",
|
|
"actions": [],
|
|
"title": "",
|
|
"mode": "inline",
|
|
"target": "displayChart",
|
|
"autoFocus": false,
|
|
"body": [
|
|
{
|
|
"type": "fieldSet",
|
|
"collapsable": true,
|
|
"title": "查詢條件",
|
|
"body": [
|
|
@query_filtrs@
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "chart",
|
|
"name": "displayChart",
|
|
"className": "m-t",
|
|
"height": 500,
|
|
"initFetch": false,
|
|
"replaceChartOption": true,
|
|
"api": {
|
|
"method": "post",
|
|
"url": "${ls:base_ip}/xapi/v2/${ls:base_db}/@sp_name@/0/",
|
|
"data": {
|
|
@sp_para_filter@
|
|
},
|
|
"dataType": "form"
|
|
}
|
|
}
|
|
]
|
|
} |