fix: wrap Tabular in VBox with cheight for proper scrolling
This commit is contained in:
parent
42f3a41b06
commit
283b7d498c
@ -100,7 +100,11 @@
|
|||||||
"event": "click",
|
"event": "click",
|
||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "PopupWindow",
|
"target": "PopupWindow",
|
||||||
"popup_options": {"archor": "cc", "width": "30%", "height": "20%"},
|
"popup_options": {
|
||||||
|
"archor": "cc",
|
||||||
|
"width": "30%",
|
||||||
|
"height": "20%"
|
||||||
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"url": "{{entire_url('./api/llm_api_map_create.dspy')}}",
|
"url": "{{entire_url('./api/llm_api_map_create.dspy')}}",
|
||||||
"params": {
|
"params": {
|
||||||
@ -124,7 +128,8 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"width": "calc(100% - 40px)",
|
"width": "calc(100% - 40px)",
|
||||||
"margin": "0 20px",
|
"margin": "0 20px",
|
||||||
"spacing": 12
|
"spacing": 12,
|
||||||
|
"cheight": 30
|
||||||
},
|
},
|
||||||
"subwidgets": [
|
"subwidgets": [
|
||||||
{
|
{
|
||||||
@ -146,19 +151,46 @@
|
|||||||
"page_rows": 20,
|
"page_rows": 20,
|
||||||
"row_options": {
|
"row_options": {
|
||||||
"fields": [
|
"fields": [
|
||||||
{"name": "llm_name", "title": "模型名称", "width": 180},
|
{
|
||||||
{"name": "catelog_name", "title": "分类", "width": 120},
|
"name": "llm_name",
|
||||||
{"name": "apiname", "title": "API接口", "width": 150},
|
"title": "模型名称",
|
||||||
{"name": "query_apiname", "title": "查询API", "width": 180},
|
"width": 180
|
||||||
{"name": "query_period", "title": "间隔(秒)", "width": 80},
|
},
|
||||||
{"name": "ppid_name", "title": "计费项目", "width": 150},
|
{
|
||||||
|
"name": "catelog_name",
|
||||||
|
"title": "分类",
|
||||||
|
"width": 120
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "apiname",
|
||||||
|
"title": "API接口",
|
||||||
|
"width": 150
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "query_apiname",
|
||||||
|
"title": "查询API",
|
||||||
|
"width": 180
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "query_period",
|
||||||
|
"title": "间隔(秒)",
|
||||||
|
"width": 80
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ppid_name",
|
||||||
|
"title": "计费项目",
|
||||||
|
"width": 150
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "actions",
|
"name": "actions",
|
||||||
"title": "操作",
|
"title": "操作",
|
||||||
"width": 100,
|
"width": 100,
|
||||||
"uitype": "button",
|
"uitype": "button",
|
||||||
"data": [
|
"data": [
|
||||||
{"text": "删除", "event": "delete_map"}
|
{
|
||||||
|
"text": "删除",
|
||||||
|
"event": "delete_map"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -170,7 +202,11 @@
|
|||||||
"event": "delete_map",
|
"event": "delete_map",
|
||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "PopupWindow",
|
"target": "PopupWindow",
|
||||||
"popup_options": {"archor": "cc", "width": "30%", "height": "20%"},
|
"popup_options": {
|
||||||
|
"archor": "cc",
|
||||||
|
"width": "30%",
|
||||||
|
"height": "20%"
|
||||||
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"url": "{{entire_url('./api/llm_api_map_delete.dspy')}}",
|
"url": "{{entire_url('./api/llm_api_map_delete.dspy')}}",
|
||||||
"params": {
|
"params": {
|
||||||
@ -183,4 +219,4 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user