|
|
@@ -33,7 +33,7 @@ const recordingNotMerged = [ |
|
|
|
showTitle: '顾问', |
|
|
|
showParams: 'agentName', |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
showTitle: '设备号', |
|
|
|
showParams: 'imei', |
|
|
@@ -42,7 +42,7 @@ const recordingNotMerged = [ |
|
|
|
showTitle: '接待开启时间', |
|
|
|
showParams: 'startTime', |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
showTitle: '客户姓名', |
|
|
|
showParams: 'name', |
|
|
@@ -96,7 +96,7 @@ const InvalidPendingReview = [ |
|
|
|
showParams: 'value', |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
// 正在接待 |
|
|
|
const Receiving = [ |
|
|
|
{ |
|
|
@@ -249,7 +249,7 @@ const rankingTypeList = [ |
|
|
|
] |
|
|
|
|
|
|
|
const lsideDataList = [ |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
title: "接待量排名 (Top10)", |
|
|
|
params: "receptionRankingByHouseTop10", //接待排名(按项目) |
|
|
@@ -300,6 +300,26 @@ const rsideDataList = [ |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
// 项目预警弹窗表头以及字段 |
|
|
|
const earlyWarningTable = [ |
|
|
|
{ |
|
|
|
showTitle: '项目名称', |
|
|
|
showParams: 'propertyName' |
|
|
|
}, |
|
|
|
{ |
|
|
|
showTitle: '预警设置', |
|
|
|
showParams: 'warningStatusName' |
|
|
|
}, |
|
|
|
{ |
|
|
|
showTitle: '更新时间', |
|
|
|
showParams: 'updateTime' |
|
|
|
}, |
|
|
|
{ |
|
|
|
showTitle: '更新人', |
|
|
|
showParams: 'updateUser' |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
const jiedaiList = [ |
|
|
|
{ |
|
|
|
title: "正在接待", |
|
|
@@ -422,13 +442,13 @@ const headList = [ |
|
|
|
title: "接待分析", |
|
|
|
showInput: true, |
|
|
|
show: false, |
|
|
|
methods: "", |
|
|
|
methods: "initReceptionAnalysis", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "销讲执行分布", |
|
|
|
showInput: true, |
|
|
|
show: false, |
|
|
|
methods: "", |
|
|
|
methods: "initSalesExecutionDistribution", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "案场排名", |
|
|
@@ -446,7 +466,7 @@ const headList = [ |
|
|
|
title: "违禁预警", |
|
|
|
showInput: false, |
|
|
|
show: false, |
|
|
|
methods: "", |
|
|
|
methods: "initWarningReminder", |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
@@ -487,9 +507,162 @@ const rankingEchartsBarList = [ |
|
|
|
params: 'avgWordFinishFractionRanking', |
|
|
|
unit: '%', |
|
|
|
}, |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
const ReceptionTrendsIndex = [ |
|
|
|
{ |
|
|
|
title: '接待量', |
|
|
|
params: 'receptionCount' |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '有效接待', |
|
|
|
params: 'activeCustomer' |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '违禁接待', |
|
|
|
params: 'prohibitedCustomer' |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
const SalesExecutionTrendsIndex = [ |
|
|
|
{ |
|
|
|
title: '平均销讲执行率', |
|
|
|
params: 'fraction' |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '平均挖掘执行率', |
|
|
|
params: 'wordFraction' |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '平均挖掘成功率', |
|
|
|
params: 'wordFinishFraction' |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
const SalesExecutionDistributionIndex = [ |
|
|
|
{ |
|
|
|
title: '到访次数分布', |
|
|
|
params: 'visitReceptionDistribute' |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '无效接待原因分布', |
|
|
|
params: 'invalidReceptionDistribute', |
|
|
|
legend: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '销讲执行率分布', |
|
|
|
params: 'fractionDistribute', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '平均接待时长分布', |
|
|
|
params: 'durationDistribute', |
|
|
|
legend: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '接待挖掘执行率分布', |
|
|
|
params: 'wordFractionDistribute' |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '接待挖掘成功率分布', |
|
|
|
params: 'wordFinishFractionDistribute' |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '客户意向度分布', |
|
|
|
params: 'levelFractionDistribute' |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '客户等级分布', |
|
|
|
params: 'systemLevelDistribute', |
|
|
|
legend: true, |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
// 指标常量 |
|
|
|
const targetArray = [ |
|
|
|
{ |
|
|
|
label: '接待量', |
|
|
|
value: 0, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '无录音', |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '标记无效', |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '销讲执行率', |
|
|
|
value: 3, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '平均接待时长', |
|
|
|
value: 4, |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
// jobTime 指标日预警提醒定时时间 |
|
|
|
// upOrDown 上升或下降预警 0上 1下 |
|
|
|
const targetArrUp = [ |
|
|
|
{ |
|
|
|
label: '大于', |
|
|
|
value: 0, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '小于', |
|
|
|
value: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '等于', |
|
|
|
value: 2, |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
const contrastArr = [ |
|
|
|
{ |
|
|
|
label: '对比昨日', |
|
|
|
value: 0 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '对比上周', |
|
|
|
value: 1 |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
const upOrDownArr = [ |
|
|
|
|
|
|
|
{ |
|
|
|
label: '上升预警', |
|
|
|
value: 0 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '下降预警', |
|
|
|
value: 1 |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
const warningStatusArr = [ |
|
|
|
{ |
|
|
|
label: '定时提醒', |
|
|
|
value: 0 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到达即提醒', |
|
|
|
value: 2 |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export { |
|
|
|
recordingNotTurned, |
|
|
|
recordingNotMerged, |
|
|
@@ -511,4 +684,13 @@ export { |
|
|
|
dateSelect, |
|
|
|
headList, |
|
|
|
rankingEchartsBarList, |
|
|
|
ReceptionTrendsIndex, |
|
|
|
SalesExecutionTrendsIndex, |
|
|
|
SalesExecutionDistributionIndex, |
|
|
|
earlyWarningTable, |
|
|
|
targetArray, |
|
|
|
targetArrUp, |
|
|
|
contrastArr, |
|
|
|
upOrDownArr, |
|
|
|
warningStatusArr, |
|
|
|
} |