导出字段添加

main
kangwenjing 2026-06-11 10:37:48 +08:00
parent ea61c75d58
commit 4b308e8381
2 changed files with 7 additions and 1 deletions

View File

@ -108,8 +108,10 @@ type OpportunityExportFieldKey =
| "stage"
| "confidence"
| "amount"
| "actualSignedAmount"
| "date"
| "competitorName"
| "isPoc"
| "latestProgress"
| "nextPlan"
| "followUps"
@ -279,8 +281,10 @@ const opportunityExportColumns: OpportunityExportColumn[] = [
{ key: "stage", label: "项目阶段", value: (item) => normalizeOpportunityExportText(item.stage) },
{ key: "confidence", label: "项目把握度", value: (item) => normalizeOpportunityExportText(item.confidence) },
{ key: "amount", label: "预计金额(元)", numFmt: "#,##0.00", value: (item) => normalizeOpportunityExportNumber(item.amount) ?? "" },
{ key: "actualSignedAmount", label: "实际签约金额(元)", numFmt: "#,##0.00", value: (item) => normalizeOpportunityExportNumber(item.actualSignedAmount) ?? "" },
{ key: "date", label: "预计下单时间", value: (item) => normalizeOpportunityExportText(item.date) },
{ key: "competitorName", label: "竞争对手", value: (item) => normalizeOpportunityExportText(item.competitorName) },
{ key: "isPoc", label: "是否POC测试项目", value: (item) => formatOpportunityBoolean(item.isPoc, "是", "否") },
{ key: "latestProgress", label: "项目最新进展", kind: "longText", value: (item) => normalizeOpportunityExportText(item.latestProgress) },
{ key: "nextPlan", label: OPPORTUNITY_NEXT_PLAN_LABEL, kind: "longText", value: (item) => normalizeOpportunityExportText(item.nextPlan) },
{ key: "followUps", label: "跟进记录", kind: "followup", value: (item, relatedSales, relatedChannel) => buildOpportunityFollowUpExportText(item, relatedSales, relatedChannel) },
@ -314,8 +318,10 @@ const defaultOpportunityExportFields: OpportunityExportFieldKey[] = [
"stage",
"confidence",
"amount",
"actualSignedAmount",
"date",
"competitorName",
"isPoc",
"latestProgress",
"nextPlan",
"followUps",

View File

@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>UnisBase - 智能会议系统</title>
<script type="module" crossorigin src="/assets/index-1u24ZP2i.js"></script>
<script type="module" crossorigin src="/assets/index-CfFV13db.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CaWPk49l.css">
</head>
<body>