customer_management/wwwroot/customer_pool.ui
yumoqing 469255afe7 sync: local modifications to customer_management
- 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
2026-04-28 18:51:23 +08:00

34 lines
1.2 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": "pool_grid",
"options": {
"url": "{{entire_url('api/customer_pool_list.dspy')}}",
"style": {"flex": 1},
"columns": [
{"field": "customer_code", "header": "客户编码", "width": 120},
{"field": "customer_name", "header": "客户名称", "width": 200},
{"field": "industry", "header": "行业", "width": 120},
{"field": "recycle_reason", "header": "回收原因", "width": 150},
{"field": "pool_status", "header": "状态", "width": 80},
{"field": "recycle_time", "header": "回收时间", "width": 150}
],
"toolbar": [
{"type": "button", "text": "领取", "icon": "get_app", "action": "claimCustomer('{% raw %}{{selectedRow.id}}{% endraw %}')"}
]
}
}
]
}
]
}