feat(admin): 新增后台分销站点管理
This commit is contained in:
@@ -336,3 +336,21 @@ export function systemConfigCategoryLabel(key: string) {
|
||||
const category = systemConfigCategory(key)
|
||||
return systemConfigCategoryMap[category] ?? category
|
||||
}
|
||||
|
||||
export const distributionSiteStatusMap: Record<string, StatusMeta> = {
|
||||
active: { label: '运营中', tone: 'success' },
|
||||
disabled: { label: '已停用', tone: 'default' },
|
||||
}
|
||||
|
||||
export const distributionSiteStatusOptions = toOptions(distributionSiteStatusMap)
|
||||
|
||||
export const distributionMemberTypeMap: Record<string, string> = {
|
||||
operator: '运营',
|
||||
finance: '财务',
|
||||
customer_service: '客服',
|
||||
}
|
||||
|
||||
export const announcementModeMap: Record<string, string> = {
|
||||
inherit: '继承主站公告',
|
||||
own_only: '仅本站公告',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user