fix: sect_*.ui去entire_url改用绝对路径(子页面entire_url不可用)

This commit is contained in:
yumoqing 2026-07-23 10:45:47 +08:00
parent 41db2df9c9
commit 94147b24cc
6 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
"widgettype": "ChartPie",
"options": {
"height": "200px",
"data_url": "{{entire_url('api/currency_stats.dspy')}}",
"data_url": "/sage_datamart/api/currency_stats.dspy",
"nameField": "currency",
"valueFields": ["call_count"]
}

View File

@ -2,7 +2,7 @@
"widgettype": "ChartBar",
"options": {
"height": "180px",
"data_url": "{{entire_url('api/model_perf.dspy')}}",
"data_url": "/sage_datamart/api/model_perf.dspy",
"nameField": "model",
"valueFields": ["avg_latency_ms"]
}

View File

@ -2,7 +2,7 @@
"widgettype": "ChartScatter",
"options": {
"height": "240px",
"data_url": "{{entire_url('api/provider_roi.dspy')}}",
"data_url": "/sage_datamart/api/provider_roi.dspy",
"nameField": "model",
"valueFields": ["unit_price", "avg_ttft_ms", "total_calls"]
}

View File

@ -2,7 +2,7 @@
"widgettype": "ChartBar",
"options": {
"height": "180px",
"data_url": "{{entire_url('api/top_models.dspy')}}",
"data_url": "/sage_datamart/api/top_models.dspy",
"nameField": "model_name",
"valueFields": ["cnt"]
}

View File

@ -2,7 +2,7 @@
"widgettype": "ChartBar",
"options": {
"height": "180px",
"data_url": "{{entire_url('api/top_providers.dspy')}}",
"data_url": "/sage_datamart/api/top_providers.dspy",
"nameField": "provider_name",
"valueFields": ["total_amount"]
}

View File

@ -2,7 +2,7 @@
"widgettype": "ChartBar",
"options": {
"height": "180px",
"data_url": "{{entire_url('api/top_users.dspy')}}",
"data_url": "/sage_datamart/api/top_users.dspy",
"nameField": "user_name",
"valueFields": ["total_amount"]
}