fix: wrap Tabular in VBox with cheight for proper scrolling
This commit is contained in:
parent
48294e95fb
commit
54e945b545
125
wwwroot/base.ui
125
wwwroot/base.ui
@ -38,6 +38,10 @@
|
||||
"name": "pending",
|
||||
"label": "待审批",
|
||||
"content": {
|
||||
"widgettype": "VBox",
|
||||
"options": { "cheight": 35, "width": "100%" },
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Tabular",
|
||||
"id": "pending_grid",
|
||||
"options": {
|
||||
@ -45,45 +49,26 @@
|
||||
"data_method": "GET",
|
||||
"row_options": {
|
||||
"fields": [
|
||||
{
|
||||
"name": "approval_code",
|
||||
"title": "审批编号",
|
||||
"uitype": "str",
|
||||
"cwidth": 12
|
||||
},
|
||||
{
|
||||
"name": "title",
|
||||
"title": "标题",
|
||||
"uitype": "str",
|
||||
"cwidth": 20
|
||||
},
|
||||
{
|
||||
"name": "applicant",
|
||||
"title": "申请人",
|
||||
"uitype": "str",
|
||||
"cwidth": 10
|
||||
},
|
||||
{
|
||||
"name": "apply_date",
|
||||
"title": "申请日期",
|
||||
"uitype": "str",
|
||||
"cwidth": 12
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"title": "状态",
|
||||
"uitype": "str",
|
||||
"cwidth": 8
|
||||
}
|
||||
{ "name": "approval_code", "title": "审批编号", "uitype": "str", "cwidth": 12 },
|
||||
{ "name": "title", "title": "标题", "uitype": "str", "cwidth": 20 },
|
||||
{ "name": "applicant", "title": "申请人", "uitype": "str", "cwidth": 10 },
|
||||
{ "name": "apply_date", "title": "申请日期", "uitype": "str", "cwidth": 12 },
|
||||
{ "name": "status", "title": "状态", "uitype": "str", "cwidth": 8 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "approved",
|
||||
"label": "已审批",
|
||||
"content": {
|
||||
"widgettype": "VBox",
|
||||
"options": { "cheight": 35, "width": "100%" },
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Tabular",
|
||||
"id": "approved_grid",
|
||||
"options": {
|
||||
@ -91,45 +76,26 @@
|
||||
"data_method": "GET",
|
||||
"row_options": {
|
||||
"fields": [
|
||||
{
|
||||
"name": "approval_code",
|
||||
"title": "审批编号",
|
||||
"uitype": "str",
|
||||
"cwidth": 12
|
||||
},
|
||||
{
|
||||
"name": "title",
|
||||
"title": "标题",
|
||||
"uitype": "str",
|
||||
"cwidth": 20
|
||||
},
|
||||
{
|
||||
"name": "applicant",
|
||||
"title": "申请人",
|
||||
"uitype": "str",
|
||||
"cwidth": 10
|
||||
},
|
||||
{
|
||||
"name": "apply_date",
|
||||
"title": "申请日期",
|
||||
"uitype": "str",
|
||||
"cwidth": 12
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"title": "状态",
|
||||
"uitype": "str",
|
||||
"cwidth": 8
|
||||
}
|
||||
{ "name": "approval_code", "title": "审批编号", "uitype": "str", "cwidth": 12 },
|
||||
{ "name": "title", "title": "标题", "uitype": "str", "cwidth": 20 },
|
||||
{ "name": "applicant", "title": "申请人", "uitype": "str", "cwidth": 10 },
|
||||
{ "name": "apply_date", "title": "申请日期", "uitype": "str", "cwidth": 12 },
|
||||
{ "name": "status", "title": "状态", "uitype": "str", "cwidth": 8 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "rejected",
|
||||
"label": "已拒绝",
|
||||
"content": {
|
||||
"widgettype": "VBox",
|
||||
"options": { "cheight": 35, "width": "100%" },
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Tabular",
|
||||
"id": "rejected_grid",
|
||||
"options": {
|
||||
@ -137,41 +103,18 @@
|
||||
"data_method": "GET",
|
||||
"row_options": {
|
||||
"fields": [
|
||||
{
|
||||
"name": "approval_code",
|
||||
"title": "审批编号",
|
||||
"uitype": "str",
|
||||
"cwidth": 12
|
||||
},
|
||||
{
|
||||
"name": "title",
|
||||
"title": "标题",
|
||||
"uitype": "str",
|
||||
"cwidth": 20
|
||||
},
|
||||
{
|
||||
"name": "applicant",
|
||||
"title": "申请人",
|
||||
"uitype": "str",
|
||||
"cwidth": 10
|
||||
},
|
||||
{
|
||||
"name": "apply_date",
|
||||
"title": "申请日期",
|
||||
"uitype": "str",
|
||||
"cwidth": 12
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"title": "状态",
|
||||
"uitype": "str",
|
||||
"cwidth": 8
|
||||
}
|
||||
{ "name": "approval_code", "title": "审批编号", "uitype": "str", "cwidth": 12 },
|
||||
{ "name": "title", "title": "标题", "uitype": "str", "cwidth": 20 },
|
||||
{ "name": "applicant", "title": "申请人", "uitype": "str", "cwidth": 10 },
|
||||
{ "name": "apply_date", "title": "申请日期", "uitype": "str", "cwidth": 12 },
|
||||
{ "name": "status", "title": "状态", "uitype": "str", "cwidth": 8 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user