fix: 添加browserfields空对象避免xls2ui报错

This commit is contained in:
Hermes Agent 2026-06-17 17:29:35 +08:00
parent 72f6840bbe
commit 812ce81413

View File

@ -9,34 +9,72 @@
"delete_data_url": "{{entire_url('../api/opportunities_delete.dspy')}}"
},
"formfields": {
"exclouded": ["id", "customer_id", "owner_id", "org_id", "created_at", "updated_at"],
"exclouded": [
"id",
"customer_id",
"owner_id",
"org_id",
"created_at",
"updated_at"
],
"alters": {
"sales_stage": {
"uitype": "code",
"data": [
{"value": "初步接洽", "text": "初步接洽"},
{"value": "需求确认", "text": "需求确认"},
{"value": "方案报价", "text": "方案报价"},
{"value": "合同谈判", "text": "合同谈判"},
{"value": "成交", "text": "成交"}
{
"value": "初步接洽",
"text": "初步接洽"
},
{
"value": "需求确认",
"text": "需求确认"
},
{
"value": "方案报价",
"text": "方案报价"
},
{
"value": "合同谈判",
"text": "合同谈判"
},
{
"value": "成交",
"text": "成交"
}
]
},
"status": {
"uitype": "code",
"data": [
{"value": "active", "text": "活跃"},
{"value": "won", "text": "已成交"},
{"value": "lost", "text": "已丢失"}
{
"value": "active",
"text": "活跃"
},
{
"value": "won",
"text": "已成交"
},
{
"value": "lost",
"text": "已丢失"
}
]
},
"source": {
"uitype": "code",
"data": [
{"value": "manual", "text": "手动录入"},
{"value": "lead_conversion", "text": "线索转化"}
{
"value": "manual",
"text": "手动录入"
},
{
"value": "lead_conversion",
"text": "线索转化"
}
]
}
}
}
},
"browserfields": {}
}
}
}