新增营销系统、分销系统、会员功能、门店、提现功能
This commit is contained in:
67
views/distribution/center/index.data.js
Normal file
67
views/distribution/center/index.data.js
Normal file
@ -0,0 +1,67 @@
|
||||
import {
|
||||
distributionGoods,
|
||||
distributionMoney,
|
||||
distributionOrder,
|
||||
distributionShare,
|
||||
distributionTeam,
|
||||
distributionUser
|
||||
} from "@/utils/images";
|
||||
import { useJump } from "@/hooks/useJump";
|
||||
|
||||
const {
|
||||
goDistribution,
|
||||
goDistributionApplyFor,
|
||||
goDistributionTeam,
|
||||
goDistributionCommission,
|
||||
goDistributionOrder,
|
||||
goDistributionGoods,
|
||||
goDistributionDatum
|
||||
} = useJump();
|
||||
|
||||
export const distributionCenterInfoList = [
|
||||
{
|
||||
label: '总收益(元)',
|
||||
field: 'addUpWages'
|
||||
},
|
||||
{
|
||||
label: '待入账佣金(元)',
|
||||
field: 'refuseAmount'
|
||||
},
|
||||
{
|
||||
label: '已入账佣金(元)',
|
||||
field: 'amount'
|
||||
}
|
||||
]
|
||||
|
||||
export const distributionCenterCardList = [
|
||||
{
|
||||
label: '我的团队',
|
||||
path: goDistributionTeam,
|
||||
icon: distributionTeam
|
||||
},
|
||||
{
|
||||
label: '佣金明细',
|
||||
path: goDistributionCommission,
|
||||
icon: distributionMoney
|
||||
},
|
||||
{
|
||||
label: '分销订单',
|
||||
path: goDistributionOrder,
|
||||
icon: distributionOrder
|
||||
},
|
||||
{
|
||||
label: '推广商品',
|
||||
path: (data) => goDistributionGoods({distributionId: data.id}),
|
||||
icon: distributionGoods
|
||||
},
|
||||
{
|
||||
label: '邀请海报',
|
||||
path: 'share',
|
||||
icon: distributionShare
|
||||
},
|
||||
{
|
||||
label: '我的资料',
|
||||
path: goDistributionDatum,
|
||||
icon: distributionUser
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user