Commit d49f6c3d authored by GuanHua's avatar GuanHua

feat: 渠道能力-创建渠道添加邀请码显示

parent 67c6e7f4
...@@ -16,16 +16,18 @@ ...@@ -16,16 +16,18 @@
'shop.form.label.workshopPics':'Plant photos', 'shop.form.label.workshopPics':'Plant photos',
'shop.form.label.honorPics':'Qualification honor', 'shop.form.label.honorPics':'Qualification honor',
'shop.form.label.honorPics.tip':'Proof materials such as trademark registration certificate, brand authorization certificate, etc.', 'shop.form.label.honorPics.tip':'Proof materials such as trademark registration certificate, brand authorization certificate, etc.',
'shop.form.label.inviteCode.tip': 'The invitation code when you invite the agent to join. The agent can find you and apply for joining through this invitation code.',
'shop.form.label.albumName':'Promotional album', 'shop.form.label.albumName':'Promotional album',
'shop.form.label.shopLink':'Shop Link', 'shop.form.label.shopLink':'Shop Link',
'shop.form.label.mallLink':'Mall Link', 'shop.form.label.mallLink':'Mall Link',
'shop.form.label.inviteCode': 'Invitation Code',
'shop.form.label.phone':'Contact phone', 'shop.form.label.phone':'Contact phone',
'shop.form.label.phone.placeholder':'Please enter the phone number', 'shop.form.label.phone.placeholder':'Please enter the phone number',
'shop.form.label.address':'Detailed address', 'shop.form.label.address':'Detailed address',
'shop.form.label.address.placeholder':'Please enter the detailed address', 'shop.form.label.address.placeholder':'Please enter the detailed address',
'shop.form.label.currentLink':'Current Link', 'shop.form.label.currentLink':'Current Link',
'shop.form.label.upload':'Upload file', 'shop.form.label.upload':'Upload file',
'shop.form.label.upload.tip':'Upload one file at a time, and the size of each attachment cannot exceed 50M<', 'shop.form.label.upload.tip':'Upload one file at a time, and the size of each attachment cannot exceed 50M',
'shop.option.copy.success':'Copy success!', 'shop.option.copy.success':'Copy success!',
'shop.seo.table.name': "Page Name", 'shop.seo.table.name': "Page Name",
......
...@@ -16,16 +16,18 @@ export default { ...@@ -16,16 +16,18 @@ export default {
'shop.form.label.workshopPics': '공장 사진', 'shop.form.label.workshopPics': '공장 사진',
'shop.form.label.honorPics': '자질 영예', 'shop.form.label.honorPics': '자질 영예',
'shop.form.label.honorPics.tip': '예를 들어 상표 등록증서, 브랜드 권한 수여증서 등 증명서', 'shop.form.label.honorPics.tip': '예를 들어 상표 등록증서, 브랜드 권한 수여증서 등 증명서',
'shop.form.label.inviteCode.tip': '당신이 대리상에게 가맹을 요청할 때의 초청 코드는 대리상이 이 초청 코드를 통해 당신을 찾을 수 있고 가맹을 신청할 수 있습니다.',
'shop.form.label.albumName': '포스터', 'shop.form.label.albumName': '포스터',
'shop.form.label.shopLink': '가게 링크', 'shop.form.label.shopLink': '가게 링크',
'shop.form.label.mallLink': '상점 링크', 'shop.form.label.mallLink': '상점 링크',
'shop.form.label.inviteCode': '초대 코드',
'shop.form.label.phone': '연락처', 'shop.form.label.phone': '연락처',
'shop.form.label.phone.placeholder': '연락처를 입력하십시오.', 'shop.form.label.phone.placeholder': '연락처를 입력하십시오.',
'shop.form.label.address': '상세 주소', 'shop.form.label.address': '상세 주소',
'shop.form.label.address.placeholder': '상세 주소를 입력하십시오.', 'shop.form.label.address.placeholder': '상세 주소를 입력하십시오.',
'shop.form.label.currentLink': '현재 링크', 'shop.form.label.currentLink': '현재 링크',
'shop.form.label.upload': '파일 업로드', 'shop.form.label.upload': '파일 업로드',
'shop.form.label.upload.tip': '한 번에 한 개의 파일을 업로드하며, 각 첨부 파일의 크기는 50M을 초과할 수 없습니다<', 'shop.form.label.upload.tip': '한 번에 한 개의 파일을 업로드하며, 각 첨부 파일의 크기는 50M을 초과할 수 없습니다',
'shop.option.copy.success': '복사 성공!', 'shop.option.copy.success': '복사 성공!',
'shop.seo.table.name': '페이지 이름', 'shop.seo.table.name': '페이지 이름',
......
...@@ -16,16 +16,18 @@ export default { ...@@ -16,16 +16,18 @@ export default {
'shop.form.label.workshopPics': '厂房照片', 'shop.form.label.workshopPics': '厂房照片',
'shop.form.label.honorPics': '资质荣誉', 'shop.form.label.honorPics': '资质荣誉',
'shop.form.label.honorPics.tip': '如商标注册证书、品牌授权证书等证明材料', 'shop.form.label.honorPics.tip': '如商标注册证书、品牌授权证书等证明材料',
'shop.form.label.inviteCode.tip': '您邀请代理商加盟时的邀请码,代理商通过这个邀请码可以找到您并申请加盟。',
'shop.form.label.albumName': '宣传画册', 'shop.form.label.albumName': '宣传画册',
'shop.form.label.shopLink': '店铺链接', 'shop.form.label.shopLink': '店铺链接',
'shop.form.label.mallLink': '商城链接', 'shop.form.label.mallLink': '商城链接',
'shop.form.label.inviteCode': '邀请码',
'shop.form.label.phone': '联系电话', 'shop.form.label.phone': '联系电话',
'shop.form.label.phone.placeholder': '请输入联系电话', 'shop.form.label.phone.placeholder': '请输入联系电话',
'shop.form.label.address': '详细地址', 'shop.form.label.address': '详细地址',
'shop.form.label.address.placeholder': '请输入详细地址', 'shop.form.label.address.placeholder': '请输入详细地址',
'shop.form.label.currentLink': '当前链接', 'shop.form.label.currentLink': '当前链接',
'shop.form.label.upload': '上传文件', 'shop.form.label.upload': '上传文件',
'shop.form.label.upload.tip': '一次上传一个文件,每个附件大小不能超过 50M<', 'shop.form.label.upload.tip': '一次上传一个文件,每个附件大小不能超过 50M',
'shop.option.copy.success': '复制成功!', 'shop.option.copy.success': '复制成功!',
'shop.seo.table.name': "页面名称", 'shop.seo.table.name': "页面名称",
......
...@@ -481,11 +481,18 @@ const ChannelInfo: React.FC<ShopInfoPropsType> = (props) => { ...@@ -481,11 +481,18 @@ const ChannelInfo: React.FC<ShopInfoPropsType> = (props) => {
</Form.Item> </Form.Item>
<Form.Item <Form.Item
labelAlign="left" labelAlign="left"
name="shopId"
label={<RequireItem label={intl.formatMessage({ id: 'shop.form.label.inviteCode' })} brief={<Tooltip placement="top" title={intl.formatMessage({ id: 'shop.form.label.inviteCode.tip' })}><QuestionCircleOutlined /></Tooltip>} />}
>
<span>{shopInfo?.inviteCode}</span>
</Form.Item>
{/* <Form.Item
labelAlign="left"
name="address" name="address"
label={<RequireItem label={intl.formatMessage({ id: 'shop.form.label.address' })} />} label={<RequireItem label={intl.formatMessage({ id: 'shop.form.label.address' })} />}
> >
<Input allowClear autoComplete="off" className={styles.form_item} /> <Input allowClear autoComplete="off" className={styles.form_item} />
</Form.Item> </Form.Item> */}
<Form.Item <Form.Item
label={<RequireItem label="" />} label={<RequireItem label="" />}
> >
......
...@@ -12,6 +12,7 @@ export interface AuthInfo extends GetMemberLoginRegetResponse { ...@@ -12,6 +12,7 @@ export interface AuthInfo extends GetMemberLoginRegetResponse {
name: string, name: string,
token: string, token: string,
logo: string, logo: string,
level: number,
levelTag: string, levelTag: string,
creditPoint: number, creditPoint: number,
memberRoleType: number, memberRoleType: number,
...@@ -28,6 +29,7 @@ export const setAuth = (info: AuthInfo) => { ...@@ -28,6 +29,7 @@ export const setAuth = (info: AuthInfo) => {
token: info.token, token: info.token,
name: info.name, name: info.name,
logo: info.logo, logo: info.logo,
level: info.level,
levelTag: info.levelTag, levelTag: info.levelTag,
creditPoint: info.creditPoint, creditPoint: info.creditPoint,
memberRoleType: info.memberRoleType, memberRoleType: info.memberRoleType,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment