55 lines
1.5 KiB
XML
55 lines
1.5 KiB
XML
{
|
|
"widgettype": "TabPanel",
|
|
"options": {
|
|
"title": "商机管理"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "CRUD",
|
|
"options": {
|
|
"title": "商机列表",
|
|
"url": "{{entire_url(opportunities_list)}}"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "CRUD",
|
|
"options": {
|
|
"title": "销售阶段",
|
|
"url": "{{entire_url(sales_stages_list)}}"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Panel",
|
|
"options": {
|
|
"title": "销售漏斗分析"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Chart",
|
|
"options": {
|
|
"title": "漏斗可视化",
|
|
"chartType": "funnel",
|
|
"dataSource": "get_funnel_analysis",
|
|
"refreshInterval": 30000
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "Panel",
|
|
"options": {
|
|
"title": "销售预测"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Card",
|
|
"options": {
|
|
"title": "今日预测汇总",
|
|
"dataSource": "get_sales_prediction",
|
|
"fields": ["total_predicted", "avg_confidence", "opportunity_count"]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |