This commit is contained in:
2026-03-16 00:40:10 +08:00
parent eb371f9a12
commit 8517ca258a
17 changed files with 3712 additions and 0 deletions
+67
View File
@@ -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@
]
}
}