add docs
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"title": "@functionName@",
|
||||
"type": "page",
|
||||
"body": {
|
||||
"type": "crud",
|
||||
"tableClassName": "myGridHeader_a",
|
||||
"columnsTogglable": true,
|
||||
"loadDataOnce": true,
|
||||
"//title": "明細資料",
|
||||
"@zero_filter@filter": {
|
||||
"title": "",
|
||||
"submitText": "",
|
||||
"body": [
|
||||
{
|
||||
"type": "fieldSet",
|
||||
"collapsable": true,
|
||||
"title": "查詢條件",
|
||||
"body": [
|
||||
@query_filtrs@
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"api": {
|
||||
"method": "post",
|
||||
"url": "${ls:base_ip}/xapi/v2/${ls:base_db}/@sp_name@/@sp_type@/",
|
||||
"data": {
|
||||
@sp_para_filter@
|
||||
},
|
||||
"dataType": "form"
|
||||
},
|
||||
"headerToolbar": [
|
||||
{
|
||||
"type": "export-excel",
|
||||
"label": "匯出 Excel",
|
||||
"api": {
|
||||
"method": "post",
|
||||
"url": "${ls:base_ip}/xapi/v2/${ls:base_db}/@sp_name@/@sp_type@/",
|
||||
"data": {
|
||||
@sp_para_filter@
|
||||
},
|
||||
"dataType": "form"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "tpl",
|
||||
"tpl": "共有 ${count} 筆資料"
|
||||
},
|
||||
@ext_button_U@
|
||||
{
|
||||
"type": "pagination",
|
||||
"align": "right"
|
||||
}
|
||||
],
|
||||
"footerToolbar": [
|
||||
"statistics",
|
||||
"switch-per-page",
|
||||
"pagination"
|
||||
],
|
||||
"combineNum": @col_combine_Num@,
|
||||
"combineFromIndex": 0,
|
||||
"columns": [
|
||||
@query_fields@
|
||||
@ext_button_I@
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user