Commit 1d661826 by Lin

refactor(reception): 恢复硬编码的性能数据以支持展示功能

- 将硬编码的模拟数据恢复为 performanceData.value 的赋值
- 注释掉 getPerformanceData 函数调用以保留模拟数据展示
1 parent a774950d
......@@ -1179,25 +1179,25 @@ onMounted(() => {
void getCustomerList(false)
void getReceptionRecordList(false)
// 硬编码模拟数据展示
// performanceData.value = {
// cumulativeDeliveryCount: 128,
// actualContactCount: 96,
// contactRate: 75,
// achievementRatio: 85.5,
// excellentStoreAvgDealRate: 42,
// thisStoreDealRate: 38,
// personalDealRate: 35,
// actualProduction: 12.8,
// personalProduction: 4.2,
// excellentStoreAvgDeal: 12500,
// thisStoreKdj: 10800,
// personalKdj: 9500,
// targetProduction: 199,
// productionContribution: 100,
// } as UTSJSONObject
performanceData.value = {
cumulativeDeliveryCount: 128,
actualContactCount: 96,
contactRate: 75,
achievementRatio: 85.5,
excellentStoreAvgDealRate: 42,
thisStoreDealRate: 38,
personalDealRate: 35,
actualProduction: 12.8,
personalProduction: 4.2,
excellentStoreAvgDeal: 12500,
thisStoreKdj: 10800,
personalKdj: 9500,
targetProduction: 199,
productionContribution: 100,
} as UTSJSONObject
// 接口请求:成功后覆盖模拟数据;失败则保留模拟兜底
getPerformanceData()
// getPerformanceData()
// syncReceptionDashboardLayout()
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!