add docs
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user