pbl_kdb_ext/wwwroot/index.ui
2026-09-18 19:02:17 +08:00

172 lines
4.9 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"widgettype": "VBox",
"options": {
"width": "100%",
"height": "100%",
"padding": "20px",
"backgroundColor": "#F5F6FA"
},
"subwidgets": [
{
"widgettype": "Text",
"options": {
"label": "PBL 知识库只读桩(pbl_kdb_ext / M7)",
"fontSize": "24px",
"fontWeight": "bold",
"color": "#1F2A44"
}
},
{
"widgettype": "Text",
"options": {
"label": "零写入模块:pbl_kdb_item.is_write_locked 恒为 1;不提供 kdb.write / research.write / sim.* 任何写入路径;KDB 为不落地向量桩(Q-OPEN-5);research 仅只读匿名聚合,分组样本 < 5 自动抑制(Q-OPEN-6)。",
"fontSize": "13px",
"color": "#666666",
"marginTop": "6px"
}
},
{
"widgettype": "ResponsableBox",
"options": {
"gap": "16px",
"minWidth": "250px",
"marginTop": "16px"
},
"subwidgets": [
{
"widgettype": "VBox",
"options": {
"backgroundColor": "#FFFFFF",
"padding": "20px",
"cursor": "pointer",
"borderRadius": "6px"
},
"binds": [
{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.pbl_kdb_ext_content",
"options": {
"url": "{{entire_url('/pbl_kdb_ext/api/pbl_kdb_search.dspy')}}"
},
"mode": "replace"
}
],
"subwidgets": [
{
"widgettype": "Text",
"options": {
"label": "KDB 只读检索",
"fontSize": "16px",
"fontWeight": "bold"
}
},
{
"widgettype": "Text",
"options": {
"label": "pbl_kdb_search:结构化字段等值 + LIKE 关键词匹配(无向量库),返回 hit_count / latency_ms,写 pbl_kdb_query_log 留痕。",
"fontSize": "12px",
"color": "#666666",
"marginTop": "6px"
}
}
]
},
{
"widgettype": "VBox",
"options": {
"backgroundColor": "#FFFFFF",
"padding": "20px",
"cursor": "pointer",
"borderRadius": "6px"
},
"binds": [
{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.pbl_kdb_ext_content",
"options": {
"url": "{{entire_url('/pbl_kdb_ext/api/pbl_kdb_get.dspy')}}"
},
"mode": "replace"
}
],
"subwidgets": [
{
"widgettype": "Text",
"options": {
"label": "KDB 条目详情",
"fontSize": "16px",
"fontWeight": "bold"
}
},
{
"widgettype": "Text",
"options": {
"label": "pbl_kdb_get:按 id / code 取单条(tenant_id 强制打头),返回 is_write_locked=true,不存在抛 PBL_KDB_NOT_FOUND。",
"fontSize": "12px",
"color": "#666666",
"marginTop": "6px"
}
}
]
},
{
"widgettype": "VBox",
"options": {
"backgroundColor": "#FFFFFF",
"padding": "20px",
"cursor": "pointer",
"borderRadius": "6px"
},
"binds": [
{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.pbl_kdb_ext_content",
"options": {
"url": "{{entire_url('/pbl_kdb_ext/api/pbl_research_aggregate.dspy')}}"
},
"mode": "replace"
}
],
"subwidgets": [
{
"widgettype": "Text",
"options": {
"label": "Research 匿名聚合",
"fontSize": "16px",
"fontWeight": "bold"
}
},
{
"widgettype": "Text",
"options": {
"label": "pbl_research_aggregate:按 band / assessor_type / blueprint_id 分组统计评估分数,k_min=5 以下分组抑制,anonymous=true、written=false。",
"fontSize": "12px",
"color": "#666666",
"marginTop": "6px"
}
}
]
}
]
},
{
"widgettype": "VBox",
"id": "pbl_kdb_ext_content",
"options": {
"width": "100%",
"flex": "1",
"marginTop": "20px",
"padding": "16px",
"backgroundColor": "#FFFFFF",
"borderRadius": "6px"
}
}
]
}