yumoqing 3c9fdcf444 feat: UI pages, build.sh, deployment scripts, model uitype fixes
- Add SDLC dashboard, pipeline editor, ops center UI
- build.sh: clone business modules to pkgs/, xls2ui CRUD, fix created_by
- global_func.py: password_encode None-safe wrapper
- pipeline_app.py: permission cache warmup removed
- load_path.py: RBAC permission registration for all modules
- scripts/merge_i18n.py: i18n merge tool
- bin/init_perms.py, bin/init_data.py: init scripts
- set_role_perm.py: single permission registration
- Model uitype fields set for form editing
- pipeline_core/pipeline_ops load_path.py scripts
2026-07-18 22:44:34 +08:00

44 lines
1.9 KiB
XML

{
"widgettype": "Tabular",
"id": "llm_tbl",
"options": {
"width": "100%",
"title": "大模型管理",
"css": "card",
"data_url": "{{entire_url('./get_llms.dspy')}}",
"data_method": "GET",
"editable": {
"new_data_url": "{{entire_url('./create_llm.dspy')}}",
"update_data_url": "{{entire_url('./update_llm.dspy')}}",
"delete_data_url": "{{entire_url('./delete_llm.dspy')}}"
},
"browserfields": {
"exclouded": ["id", "api_key"],
"alters": {
"status": {
"uitype": "code",
"data": [
{"value": "active", "text": "启用"},
{"value": "inactive", "text": "停用"}
]
}
}
},
"editexclouded": ["id", "created_at", "updated_at"],
"confidential_fields": ["api_key"],
"fields": [
{"name": "id", "title": "ID", "type": "str", "cwidth": 0},
{"name": "name", "title": "模型名称", "type": "str", "cwidth": 18},
{"name": "provider", "title": "供应商", "type": "str", "cwidth": 12},
{"name": "model_id", "title": "模型标识", "type": "str", "cwidth": 18},
{"name": "api_base", "title": "API地址", "type": "str", "cwidth": 20},
{"name": "api_key", "title": "API密钥", "type": "str", "cwidth": 14},
{"name": "max_tokens", "title": "最大Token", "type": "str", "cwidth": 10},
{"name": "status", "title": "状态", "type": "str", "cwidth": 8},
{"name": "description", "title": "描述", "type": "str", "cwidth": 16},
{"name": "created_at", "title": "创建时间", "type": "str", "cwidth": 14},
{"name": "updated_at", "title": "更新时间", "type": "str", "cwidth": 14}
]
}
}