2025-09-01 14:03:30 +08:00
|
|
|
const all = (t)=>{
|
|
|
|
|
return[{
|
2025-04-16 10:43:54 +08:00
|
|
|
name:'All User',
|
|
|
|
|
route:'/administrator/allUser',
|
|
|
|
|
icon:'yonghu',
|
|
|
|
|
expandIcon:'icon-xiala',
|
|
|
|
|
key:'sub1',
|
|
|
|
|
isShow:true,
|
|
|
|
|
// children: [
|
|
|
|
|
// {
|
|
|
|
|
// name:'User Management',
|
|
|
|
|
// route:'/home/excil1',
|
|
|
|
|
// icon:'',
|
|
|
|
|
// key:'/home/excil22',
|
|
|
|
|
// isShow:true,
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// code:'ROLE_MANAGER',
|
|
|
|
|
// name:'Access Permission',
|
|
|
|
|
// route:'/home/excil2',
|
|
|
|
|
// icon:'',
|
|
|
|
|
// key:'/home/excil33',
|
|
|
|
|
// isShow:true,
|
|
|
|
|
// },
|
|
|
|
|
// ],
|
|
|
|
|
},{
|
2025-09-08 14:50:59 +08:00
|
|
|
name:'Design Frequency',
|
2025-04-16 10:43:54 +08:00
|
|
|
route:'/administrator/testClickData',
|
|
|
|
|
icon:'shenpi',
|
|
|
|
|
expandIcon:'icon-xiala',
|
|
|
|
|
key:'sub2',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},{
|
|
|
|
|
name:'Trial User',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
expandIcon:'icon-xiala',
|
|
|
|
|
key:'sub3',
|
|
|
|
|
isShow:true,
|
|
|
|
|
children:[
|
|
|
|
|
{
|
|
|
|
|
name:'All Trial User',
|
|
|
|
|
route:'/administrator/trialAllUser',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
key:'sub3-1',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},{
|
|
|
|
|
name:'Trial User Approval',
|
|
|
|
|
route:'/administrator/trialApproval',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
key:'sub3-2',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},{
|
|
|
|
|
name:'Trial User CHART',
|
|
|
|
|
route:'/administrator/trialUserCountry',
|
|
|
|
|
icon:'',
|
|
|
|
|
key:'sub3-3',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},{
|
|
|
|
|
name:'Conversion Rate',
|
|
|
|
|
route:'/administrator/trialUserConversionRateChart',
|
|
|
|
|
icon:'',
|
|
|
|
|
key:'sub3-4',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
},{
|
|
|
|
|
name:'Function Use CHART',
|
|
|
|
|
route:'/administrator/recentActiveChart',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
key:'sub4',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},{
|
|
|
|
|
name:'Active User',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
route:'/administrator/recentActiveUser',
|
|
|
|
|
key:'sub5',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},{
|
|
|
|
|
name:'New User',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
expandIcon:'icon-xiala',
|
|
|
|
|
key:'sub6',
|
|
|
|
|
isShow:true,
|
|
|
|
|
children:[
|
|
|
|
|
{
|
|
|
|
|
name:'New User List',
|
|
|
|
|
route:'/administrator/recentNewUser',
|
|
|
|
|
icon:'',
|
|
|
|
|
key:'sub6-1',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},{
|
|
|
|
|
name:'New User CHART',
|
|
|
|
|
route:'/administrator/recentNewUserChart',
|
|
|
|
|
icon:'',
|
|
|
|
|
key:'sub6-2',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
},{
|
|
|
|
|
name:'Events',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
key:'sub9',
|
|
|
|
|
expandIcon:'icon-xiala',
|
|
|
|
|
isShow:true,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
name:'Questionnaire Survey',
|
|
|
|
|
route:'/administrator/questionnaire',
|
|
|
|
|
icon:'',
|
|
|
|
|
key:'sub9-1',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// code:'ROLE_MANAGER',
|
|
|
|
|
// name:'Access Permission',
|
|
|
|
|
// route:'/home/excil2',
|
|
|
|
|
// icon:'',
|
|
|
|
|
// key:'/home/excil33',
|
|
|
|
|
// isShow:true,
|
|
|
|
|
// },
|
|
|
|
|
],
|
|
|
|
|
},{
|
2025-08-26 10:14:34 +08:00
|
|
|
name:'Affiliate',
|
2025-04-16 10:43:54 +08:00
|
|
|
icon:'usetime',
|
2025-08-26 10:14:34 +08:00
|
|
|
expandIcon:'icon-xiala',
|
2025-04-16 10:43:54 +08:00
|
|
|
key:'sub10',
|
|
|
|
|
isShow:true,
|
2025-08-26 10:14:34 +08:00
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
name:'Approval Affiliate',
|
|
|
|
|
route:'/administrator/affiliateAudit',
|
|
|
|
|
icon:'',
|
|
|
|
|
key:'sub10-1',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name:'Affiliate Referral',
|
|
|
|
|
route:'/administrator/affiliateReferral',
|
|
|
|
|
icon:'',
|
|
|
|
|
key:'sub10-2',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},
|
|
|
|
|
],
|
2025-04-16 10:43:54 +08:00
|
|
|
},{
|
|
|
|
|
name:'Transaction',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
expandIcon:'icon-xiala',
|
|
|
|
|
key:'sub11',
|
|
|
|
|
isShow:true,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
name:'Transaction Record',
|
|
|
|
|
route:'/administrator/TransactionTable',
|
|
|
|
|
icon:'',
|
|
|
|
|
key:'sub11-1',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// code:'ROLE_MANAGER',
|
|
|
|
|
// name:'Access Permission',
|
|
|
|
|
// route:'/home/excil2',
|
|
|
|
|
// icon:'',
|
|
|
|
|
// key:'/home/excil33',
|
|
|
|
|
// isShow:true,
|
|
|
|
|
// },
|
|
|
|
|
],
|
|
|
|
|
},{
|
|
|
|
|
name:'Promotion Code',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
route:'/administrator/coupons',
|
|
|
|
|
key:'sub12',
|
|
|
|
|
isShow:true,
|
2025-05-20 16:47:27 +08:00
|
|
|
},{
|
|
|
|
|
|
|
|
|
|
name:'Organization',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
route:'/administrator/organization',
|
|
|
|
|
key:'sub13',
|
|
|
|
|
isShow:true,
|
2025-12-12 17:34:11 +08:00
|
|
|
},{
|
|
|
|
|
name:'Subscription Plan',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
route:'/administrator/subscriptionPlan',
|
|
|
|
|
key:'sub14',
|
|
|
|
|
isShow:true,
|
2025-09-08 14:50:59 +08:00
|
|
|
}]
|
2025-09-01 14:03:30 +08:00
|
|
|
}
|
|
|
|
|
const schoolOrEnterprise = (t) =>{
|
|
|
|
|
return[
|
2025-04-16 10:43:54 +08:00
|
|
|
{
|
2025-09-01 14:03:30 +08:00
|
|
|
name:t('admin.allUser'),
|
2025-04-16 10:43:54 +08:00
|
|
|
route:'/administrator/allUserSE',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
key:'sub1',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-09-01 14:03:30 +08:00
|
|
|
name:t('admin.UserData'),
|
2025-04-16 10:43:54 +08:00
|
|
|
route:'/administrator/testClickDataSE',
|
|
|
|
|
icon:'usetime',
|
|
|
|
|
key:'sub2',
|
|
|
|
|
isShow:true,
|
2025-09-04 09:27:57 +08:00
|
|
|
},{
|
2025-09-04 13:10:18 +08:00
|
|
|
name:t('admin.FunctionUseCHART'),
|
2025-09-08 14:50:59 +08:00
|
|
|
route:'/administrator/recentActiveChartSE',
|
2025-09-04 09:27:57 +08:00
|
|
|
icon:'usetime',
|
|
|
|
|
key:'sub3',
|
|
|
|
|
isShow:true,
|
|
|
|
|
},
|
2025-09-04 13:10:18 +08:00
|
|
|
// {
|
|
|
|
|
// name:'Design Frequency',
|
|
|
|
|
// icon:'usetime',
|
|
|
|
|
// route:'/administrator/testClickDataSE',
|
|
|
|
|
// key:'sub4',
|
|
|
|
|
// isShow:true,
|
|
|
|
|
// },
|
2025-08-22 10:27:48 +08:00
|
|
|
// {
|
|
|
|
|
// name:'Credits Detail',
|
|
|
|
|
// route:'/administrator/generateFrequencySE',
|
|
|
|
|
// icon:'usetime',
|
|
|
|
|
// key:'sub3',
|
|
|
|
|
// isShow:true,
|
|
|
|
|
// }
|
2025-04-16 10:43:54 +08:00
|
|
|
// ,{
|
|
|
|
|
// name:'Coupons',
|
|
|
|
|
// icon:'usetime',
|
|
|
|
|
// route:'/administrator/coupons',
|
|
|
|
|
// key:'sub12',
|
|
|
|
|
// isShow:true,
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// name:'Design Frequency',
|
|
|
|
|
// icon:'usetime',
|
|
|
|
|
// route:'/administrator/designFrequency',
|
|
|
|
|
// key:'sub5',
|
|
|
|
|
// isShow:true,
|
2025-09-04 09:27:57 +08:00
|
|
|
// },
|
|
|
|
|
// {
|
2025-04-16 10:43:54 +08:00
|
|
|
// name:'Generate Frequency',
|
|
|
|
|
// icon:'usetime',
|
|
|
|
|
// route:'/administrator/generateFrequency',
|
|
|
|
|
// key:'sub5',
|
|
|
|
|
// isShow:true,
|
|
|
|
|
// }
|
|
|
|
|
]
|
|
|
|
|
}
|
2025-09-01 14:03:30 +08:00
|
|
|
export default {all , schoolOrEnterprise}
|