fix: 添加browserfields空对象避免xls2ui报错
This commit is contained in:
parent
72f6840bbe
commit
812ce81413
@ -9,34 +9,72 @@
|
|||||||
"delete_data_url": "{{entire_url('../api/opportunities_delete.dspy')}}"
|
"delete_data_url": "{{entire_url('../api/opportunities_delete.dspy')}}"
|
||||||
},
|
},
|
||||||
"formfields": {
|
"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": {
|
"alters": {
|
||||||
"sales_stage": {
|
"sales_stage": {
|
||||||
"uitype": "code",
|
"uitype": "code",
|
||||||
"data": [
|
"data": [
|
||||||
{"value": "初步接洽", "text": "初步接洽"},
|
{
|
||||||
{"value": "需求确认", "text": "需求确认"},
|
"value": "初步接洽",
|
||||||
{"value": "方案报价", "text": "方案报价"},
|
"text": "初步接洽"
|
||||||
{"value": "合同谈判", "text": "合同谈判"},
|
},
|
||||||
{"value": "成交", "text": "成交"}
|
{
|
||||||
|
"value": "需求确认",
|
||||||
|
"text": "需求确认"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "方案报价",
|
||||||
|
"text": "方案报价"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "合同谈判",
|
||||||
|
"text": "合同谈判"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "成交",
|
||||||
|
"text": "成交"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"uitype": "code",
|
"uitype": "code",
|
||||||
"data": [
|
"data": [
|
||||||
{"value": "active", "text": "活跃"},
|
{
|
||||||
{"value": "won", "text": "已成交"},
|
"value": "active",
|
||||||
{"value": "lost", "text": "已丢失"}
|
"text": "活跃"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "won",
|
||||||
|
"text": "已成交"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "lost",
|
||||||
|
"text": "已丢失"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"source": {
|
"source": {
|
||||||
"uitype": "code",
|
"uitype": "code",
|
||||||
"data": [
|
"data": [
|
||||||
{"value": "manual", "text": "手动录入"},
|
{
|
||||||
{"value": "lead_conversion", "text": "线索转化"}
|
"value": "manual",
|
||||||
|
"text": "手动录入"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "lead_conversion",
|
||||||
|
"text": "线索转化"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"browserfields": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user