feat: 邀请运营
This commit is contained in:
@ -9,7 +9,7 @@ import SafeBottomPadding from '@/components/safe-bottom-padding';
|
||||
import { PageUrl } from '@/constants/app';
|
||||
import { CacheKey } from '@/constants/cache-key';
|
||||
import { GET_CONTACT_TYPE } from '@/constants/job';
|
||||
import { switchTab, navigateTo } from '@/utils/route';
|
||||
import { navigateTo, switchTab } from '@/utils/route';
|
||||
import './index.less';
|
||||
|
||||
interface IProps {
|
||||
@ -42,6 +42,13 @@ const GET_CONTACT_TYPE_OPTIONS = [
|
||||
// desc: '群内定期发放会员,免费报单',
|
||||
// btnText: '进群',
|
||||
// },
|
||||
{
|
||||
type: GET_CONTACT_TYPE.INVITE,
|
||||
icon: '',
|
||||
title: '邀请运营进群(进会员)',
|
||||
desc: '每邀请进一个主播群送一个日会员',
|
||||
btnText: '邀请',
|
||||
},
|
||||
];
|
||||
|
||||
export function PrejobPopup({ onCancel, isCreateResume, onConfirm }: IProps) {
|
||||
@ -53,6 +60,10 @@ export function PrejobPopup({ onCancel, isCreateResume, onConfirm }: IProps) {
|
||||
navigateTo(PageUrl.MaterialUploadVideo);
|
||||
onConfirm(type);
|
||||
}
|
||||
if (type === GET_CONTACT_TYPE.INVITE) {
|
||||
navigateTo(PageUrl.InviteOperations);
|
||||
onConfirm(type);
|
||||
}
|
||||
if (type === GET_CONTACT_TYPE.VIP) {
|
||||
setOpenPopup(false);
|
||||
setOpenDialog(true);
|
||||
|
||||
Reference in New Issue
Block a user