|
@@ -2,7 +2,9 @@
|
|
|
export const RESEARCHLIST = ['ficc_researcher', 'researcher', 'rai_researcher','ficc_admin', 'rai_admin',];
|
|
|
|
|
|
// 销售/组长
|
|
|
-const SELLERLIST = ['ficc_seller', 'rai_seller', 'ficc_group', 'rai_group','ficc_team'];
|
|
|
+const SELLERLIST = ['ficc_seller', 'ficc_group', 'ficc_team'];
|
|
|
+// 权益销售/组长
|
|
|
+const SELLERLIST_RAI = [ 'rai_seller', 'rai_group'];
|
|
|
|
|
|
// admin
|
|
|
const ADMINLIST = ['admin'];
|
|
@@ -22,7 +24,7 @@ export const getDefaultOption = (role,fromType) => {
|
|
|
return new Date(date.setDate(date.getDate() + 1)).getTime();
|
|
|
}
|
|
|
|
|
|
- let type = RESEARCHLIST.includes(role) ? 1 : SELLERLIST.includes(role) ? 2 : 3;
|
|
|
+ let type = SELLERLIST_RAI.includes(role) ? 5 : RESEARCHLIST.includes(role) ? 1 : SELLERLIST.includes(role) ? 2 : 3;
|
|
|
|
|
|
let res;
|
|
|
|
|
@@ -51,6 +53,14 @@ export const getDefaultOption = (role,fromType) => {
|
|
|
endTime: defaultEndTime()
|
|
|
}
|
|
|
break;
|
|
|
+ case 5:
|
|
|
+ res = {
|
|
|
+ defaultActivityType: '报告电话会',
|
|
|
+ activityTypeList:['路演','沙龙'],
|
|
|
+ startTime: defaultStartTime(),
|
|
|
+ endTime: defaultEndTime()
|
|
|
+ }
|
|
|
+ break;
|
|
|
}
|
|
|
|
|
|
return res;
|