|
@@ -33,7 +33,7 @@ const recordingNotMerged = [ |
|
|
showTitle: '顾问', |
|
|
showTitle: '顾问', |
|
|
showParams: 'agentName', |
|
|
showParams: 'agentName', |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
showTitle: '设备号', |
|
|
showTitle: '设备号', |
|
|
showParams: 'imei', |
|
|
showParams: 'imei', |
|
@@ -42,7 +42,7 @@ const recordingNotMerged = [ |
|
|
showTitle: '接待开启时间', |
|
|
showTitle: '接待开启时间', |
|
|
showParams: 'startTime', |
|
|
showParams: 'startTime', |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
showTitle: '客户姓名', |
|
|
showTitle: '客户姓名', |
|
|
showParams: 'name', |
|
|
showParams: 'name', |
|
@@ -96,7 +96,7 @@ const InvalidPendingReview = [ |
|
|
showParams: 'value', |
|
|
showParams: 'value', |
|
|
}, |
|
|
}, |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 正在接待 |
|
|
// 正在接待 |
|
|
const Receiving = [ |
|
|
const Receiving = [ |
|
|
{ |
|
|
{ |
|
@@ -249,7 +249,7 @@ const rankingTypeList = [ |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
const lsideDataList = [ |
|
|
const lsideDataList = [ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
title: "接待量排名 (Top10)", |
|
|
title: "接待量排名 (Top10)", |
|
|
params: "receptionRankingByHouseTop10", //接待排名(按项目) |
|
|
params: "receptionRankingByHouseTop10", //接待排名(按项目) |
|
@@ -300,6 +300,26 @@ const rsideDataList = [ |
|
|
}, |
|
|
}, |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
// 项目预警弹窗表头以及字段 |
|
|
|
|
|
const earlyWarningTable = [ |
|
|
|
|
|
{ |
|
|
|
|
|
showTitle: '项目名称', |
|
|
|
|
|
showParams: 'propertyName' |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
showTitle: '预警设置', |
|
|
|
|
|
showParams: 'warningStatusName' |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
showTitle: '更新时间', |
|
|
|
|
|
showParams: 'updateTime' |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
showTitle: '更新人', |
|
|
|
|
|
showParams: 'updateUser' |
|
|
|
|
|
}, |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
const jiedaiList = [ |
|
|
const jiedaiList = [ |
|
|
{ |
|
|
{ |
|
|
title: "正在接待", |
|
|
title: "正在接待", |
|
@@ -422,13 +442,13 @@ const headList = [ |
|
|
title: "接待分析", |
|
|
title: "接待分析", |
|
|
showInput: true, |
|
|
showInput: true, |
|
|
show: false, |
|
|
show: false, |
|
|
methods: "", |
|
|
|
|
|
|
|
|
methods: "initReceptionAnalysis", |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: "销讲执行分布", |
|
|
title: "销讲执行分布", |
|
|
showInput: true, |
|
|
showInput: true, |
|
|
show: false, |
|
|
show: false, |
|
|
methods: "", |
|
|
|
|
|
|
|
|
methods: "initSalesExecutionDistribution", |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: "案场排名", |
|
|
title: "案场排名", |
|
@@ -446,7 +466,7 @@ const headList = [ |
|
|
title: "违禁预警", |
|
|
title: "违禁预警", |
|
|
showInput: false, |
|
|
showInput: false, |
|
|
show: false, |
|
|
show: false, |
|
|
methods: "", |
|
|
|
|
|
|
|
|
methods: "initWarningReminder", |
|
|
}, |
|
|
}, |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
@@ -487,9 +507,162 @@ const rankingEchartsBarList = [ |
|
|
params: 'avgWordFinishFractionRanking', |
|
|
params: 'avgWordFinishFractionRanking', |
|
|
unit: '%', |
|
|
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 { |
|
|
export { |
|
|
recordingNotTurned, |
|
|
recordingNotTurned, |
|
|
recordingNotMerged, |
|
|
recordingNotMerged, |
|
@@ -511,4 +684,13 @@ export { |
|
|
dateSelect, |
|
|
dateSelect, |
|
|
headList, |
|
|
headList, |
|
|
rankingEchartsBarList, |
|
|
rankingEchartsBarList, |
|
|
|
|
|
ReceptionTrendsIndex, |
|
|
|
|
|
SalesExecutionTrendsIndex, |
|
|
|
|
|
SalesExecutionDistributionIndex, |
|
|
|
|
|
earlyWarningTable, |
|
|
|
|
|
targetArray, |
|
|
|
|
|
targetArrUp, |
|
|
|
|
|
contrastArr, |
|
|
|
|
|
upOrDownArr, |
|
|
|
|
|
warningStatusArr, |
|
|
} |
|
|
} |