- Updated core.py - Updated base.ui - Added new API files: check_tables, customer_pool_list, customers CRUD, handover_list - Added new UI/DSPY files: customer_edit, customer_list, customer_pool, handover_list
31 lines
1.0 KiB
XML
31 lines
1.0 KiB
XML
{
|
|
"widgettype": "Page",
|
|
"options": {
|
|
"title": "客户交接",
|
|
"style": {"height": "100vh", "padding": "0"}
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {"style": {"padding": "16px", "flex": 1, "overflow": "hidden"}},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "DataGrid",
|
|
"id": "handover_grid",
|
|
"options": {
|
|
"url": "{{entire_url('api/handover_list.dspy')}}",
|
|
"style": {"flex": 1},
|
|
"columns": [
|
|
{"field": "customer_name", "header": "客户名称", "width": 200},
|
|
{"field": "from_owner_name", "header": "原负责人", "width": 120},
|
|
{"field": "to_owner_name", "header": "新负责人", "width": 120},
|
|
{"field": "handover_reason", "header": "交接原因", "width": 200},
|
|
{"field": "status", "header": "状态", "width": 80},
|
|
{"field": "created_at", "header": "创建时间", "width": 150}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |