fix: DataViewer pages + remove _list from gitignore
This commit is contained in:
parent
03d4d70edd
commit
73b0a78b98
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,7 +9,6 @@ __pycache__/
|
||||
|
||||
# Build artifacts
|
||||
wwwroot/bricks/
|
||||
wwwroot/*_list/
|
||||
mysql.ddl.sql
|
||||
models/mysql.ddl.sql
|
||||
|
||||
|
||||
22
wwwroot/documents_list/index.ui
Normal file
22
wwwroot/documents_list/index.ui
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"cheight": 40,
|
||||
"width": "100%"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "DataViewer",
|
||||
"options": {
|
||||
"data_url": "{{entire_url('/api/kb/list')}}",
|
||||
"columns": [
|
||||
{"field": "file_name", "title": "文件名", "width": "30%"},
|
||||
{"field": "file_type", "title": "类型", "width": "15%"},
|
||||
{"field": "file_size", "title": "大小", "width": "15%"},
|
||||
{"field": "status", "title": "状态", "width": "15%"},
|
||||
{"field": "created_at", "title": "上传时间", "width": "25%"}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
22
wwwroot/engine_configs_list/index.ui
Normal file
22
wwwroot/engine_configs_list/index.ui
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"cheight": 40,
|
||||
"width": "100%"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "DataViewer",
|
||||
"options": {
|
||||
"data_url": "{{entire_url('/api/engines')}}",
|
||||
"columns": [
|
||||
{"field": "engine_type", "title": "引擎类型", "width": "20%"},
|
||||
{"field": "engine_name", "title": "名称", "width": "20%"},
|
||||
{"field": "endpoint_url", "title": "服务地址", "width": "30%"},
|
||||
{"field": "model_name", "title": "模型", "width": "15%"},
|
||||
{"field": "status", "title": "状态", "width": "15%"}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
22
wwwroot/knowledge_bases_list/index.ui
Normal file
22
wwwroot/knowledge_bases_list/index.ui
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"cheight": 40,
|
||||
"width": "100%"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "DataViewer",
|
||||
"options": {
|
||||
"data_url": "{{entire_url('/api/kb/list')}}",
|
||||
"columns": [
|
||||
{"field": "name", "title": "名称", "width": "25%"},
|
||||
{"field": "description", "title": "描述", "width": "35%"},
|
||||
{"field": "doc_count", "title": "文档数", "width": "10%"},
|
||||
{"field": "embedding_engine", "title": "向量引擎", "width": "15%"},
|
||||
{"field": "created_at", "title": "创建时间", "width": "15%"}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
22
wwwroot/subscriptions_list/index.ui
Normal file
22
wwwroot/subscriptions_list/index.ui
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"cheight": 40,
|
||||
"width": "100%"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "DataViewer",
|
||||
"options": {
|
||||
"data_url": "{{entire_url('/api/kb/list')}}",
|
||||
"columns": [
|
||||
{"field": "plan_name", "title": "套餐", "width": "20%"},
|
||||
{"field": "disk_quota_bytes", "title": "磁盘配额", "width": "20%"},
|
||||
{"field": "disk_used_bytes", "title": "已用磁盘", "width": "20%"},
|
||||
{"field": "doc_used", "title": "文档数", "width": "20%"},
|
||||
{"field": "status", "title": "状态", "width": "20%"}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user