|
|
@@ -151,11 +151,11 @@ Page({
|
|
|
"content": this.data.content
|
|
|
}).then(res => {
|
|
|
console.log("漏斗数据", res)
|
|
|
- let full = Math.max(...res.data.map(v => v.sequence1));
|
|
|
+ let full = Math.max(...res.data.map(v => v.wide));
|
|
|
let statistics = res.data.map((v, i) => {
|
|
|
v.action = v.stagename
|
|
|
v.zhl = i == 0 ? '' : `转换率:${(v.zhl * 100).toFixed(2)}%`
|
|
|
- v.percent = v.sequence1 / full;
|
|
|
+ v.percent = v.wide / full;
|
|
|
v.totalinvestment = conversion(v.totalinvestment).value
|
|
|
v.budgetary = conversion(v.budgetary).value
|
|
|
v.signamount_due = conversion(v.signamount_due).value
|