index.js
3.05 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
/*
* @Description:
* @Author: huyue
* @Date: 2024-04-01 15:03:31
* @LastEditors: huyue
* @LastEditTime: 2024-09-02 16:06:04
*/
// 内容类型
export const CONTENT_TYPE_OPTIONS = [
{
id: 0,
label: "图片"
},
{
id: 1,
label: "视频"
},
{
id: 2,
label: "PDF"
},
{
id: 3,
label: "富文本"
},
{
id: 4,
label: "Excel"
},
{
id: 5,
label: "Word"
}
]
// 场景
export const SCENE_OPTIONS = [
{
id: 1,
label: "精品升级"
},
{
id: 2,
label: "次新车转化"
},
{
id: 3,
label: "售后众筹"
},
{
id: 0,
label: "会员权益/升级"
},
{
id: 4,
label: "积分商城"
}
]
// 渠道
export const CHANNEL_OPTIONS = [
{
id: 0,
label: "培训资料"
},
{
id: 1,
label: "营销素材"
},
{
id: 2,
label: "展业助手"
},
{
id: 3,
label: "场景集市"
}
]
// 状态
export const STATUS_OPTIONS = [
{
id: 0,
label: "草稿"
},
{
id: 1,
label: "启用"
},
{
id: 2,
label: "停用"
}
]
export const STATUS_ENUM = {
0: {
name: "草稿",
color: "#CCCCCC"
},
1: {
name: "启用",
color: "#2CCA74"
},
2: {
name: "停用",
color: "#EB4E4E"
}
}
// 学习进度 (1未学习 2未完成 3待考核 4未通过 5已完成)
export const LEARN_PROGRESS_OPTIONS = [
{
id: 1,
label: "未学习",
backgroundColor: "#EB4E4E"
},
{
id: 2,
label: "未完成",
backgroundColor: "#E5E5E5"
},
{
id: 3,
label: "待考核",
backgroundColor: "#FDB757"
},
{
id: 4,
label: "未通过",
backgroundColor: "#EB4E4E"
},
{
id: 5,
label: "已完成",
backgroundColor: "#2CCA74"
}
]
// 任务状态( 0:未开始 1:进行中 2:已结束)
export const TASK_STATUS_OPTIONS = [
{
id: 0,
label: "未开始",
backgroundColor: "#EB4E4E"
},
{
id: 1,
label: "进行中",
backgroundColor: "#FDB757"
},
{
id: 2,
label: "已结束",
backgroundColor: "#8C8C8C"
}
]
// 处罚
export const PUNISH_OPTIONS = [
{
label: "不处罚",
id: "0",
backgroundColor: "#8C8C8C"
},
{
label: "未触发",
id: "1",
backgroundColor: "#FDB757"
},
{
label: "处罚中",
id: "2",
backgroundColor: "#EB4E4E"
},
{
label: "已结束",
id: "3",
backgroundColor: "#8C8C8C"
}
]
// 学习进度 (1未学习 2未完成 3待考核 4未通过 5已完成)
// 完成标准(0无 1学习+考核)
// 活动状态
export const ACTIVITY_STATUS_OPTIONS = [
{
label: "进行中",
id: "0",
backgroundColor: "#FDB757"
},
{
label: "已结束",
id: "1",
backgroundColor: "#8C8C8C"
},
{
label: "即将开始",
id: "2",
backgroundColor: "#EB4E4E"
}
]
// 活动状态
export const SCENETYPE_OPTIONS = [
{
label: "轻改",
id: 0,
backgroundColor: "#FDB757"
},
{
label: "权益",
id: 1,
backgroundColor: "#8C8C8C"
},
{
label: "延保",
id: 2,
backgroundColor: "#EB4E4E"
}
]