constants.js
1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*
* @Descripttion:
* @version:
* @Author: limin
* @Date: 2021-06-15 14:41:02
* @LastEditors: limin
* @LastEditTime: 2021-06-15 14:45:39
*/
export const STORE_USER_KEY = 'STORE_USER_KEY'
export const BULLETINLIST = [
{
todayText: '今日跟进 (人)',
todayValue: obj => {
return obj.workBriefingFollowUpTodayCount
},
currentMonth: '本月跟进 ',
currentValue: obj => {
return obj.workBriefingFollowUpMonthCount
},
icon: 'icon-follow'
},
{
todayText: '今日添加 (人)',
todayValue: obj => {
return obj.workBriefingAddedTodayCount
},
currentMonth: '本月添加 ',
currentValue: obj => {
return obj.workBriefingAddedMonthCount
},
icon: 'icon-append'
},
{
todayText: '今日预约 (人)',
todayValue: obj => {
return obj.workBriefingAppointmentTodayCount
},
currentMonth: '本月预约 ',
currentValue: obj => {
return obj.workBriefingAppointmentMonthCount
},
icon: 'icon-appoint'
},
{
todayText: '今日到店 (人)',
todayValue: obj => {
return obj.workBriefingReturnFactoryTodayCount
},
currentMonth: '本月到店 ',
currentValue: obj => {
return obj.workBriefingReturnFactoryMonthCount
},
icon: 'icon-factory'
}
]
export const STATICLIST = [
{
text: '总招揽数',
value: obj => {
return obj.solicitationTotal
}
},
{
text: '企微客户',
value: obj => {
return obj.solicitationWeComCustomerCount
}
},
{
text: '未加企微',
value: obj => {
return obj.solicitationNotWeComCustomerCount
}
}
]
export const FOLLOWLIST = [
{
text: '平均跟进',
value: obj => {
return obj.addWayName+'次/人'
}
},
{
text: '最多跟进',
value: obj => {
return obj.addWayName+'次'
}
},
{
text: '最少跟进',
value: obj => {
return obj.addWayName+'次'
}
}
]