Commit 1c9f8289 authored by XieZhiXiong's avatar XieZhiXiong

chore: 平台录入的会员不展示渠道信息

parent 082d1ef7
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2021-01-06 11:36:35 * @Date: 2021-01-06 11:36:35
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2021-07-07 17:06:17 * @LastEditTime: 2021-07-19 10:06:58
* @Description: 会员基础信息详情 * @Description: 会员基础信息详情
*/ */
import React from 'react'; import React from 'react';
...@@ -69,7 +69,8 @@ const MemberBasicInfo: React.FC<MemberBasicInfoProps> = ({ ...@@ -69,7 +69,8 @@ const MemberBasicInfo: React.FC<MemberBasicInfoProps> = ({
</Col> </Col>
{/* 渠道信息 */} {/* 渠道信息 */}
{ {/* 平台录入的会员不需要填渠道信息的 */}
{/* {
memberInfo?.memberTypeEnum === MEMBER_TYPE_CHANNEL_CORPORATE memberInfo?.memberTypeEnum === MEMBER_TYPE_CHANNEL_CORPORATE
|| memberInfo?.memberTypeEnum === MEMBER_TYPE_CHANNEL_INDIVIDUAL || memberInfo?.memberTypeEnum === MEMBER_TYPE_CHANNEL_INDIVIDUAL
? ( ? (
...@@ -86,7 +87,7 @@ const MemberBasicInfo: React.FC<MemberBasicInfoProps> = ({ ...@@ -86,7 +87,7 @@ const MemberBasicInfo: React.FC<MemberBasicInfoProps> = ({
</Col> </Col>
) )
: null : null
} } */}
{/* 其他注册信息 */} {/* 其他注册信息 */}
{ {
......
...@@ -112,15 +112,16 @@ const MemberQueryDetailed: React.FC<QueryProps> = props => { ...@@ -112,15 +112,16 @@ const MemberQueryDetailed: React.FC<QueryProps> = props => {
key: 'basicInfo', key: 'basicInfo',
name: '基本信息', name: '基本信息',
}, },
( // // 平台录入的会员不需要填渠道信息的
memberInfo?.memberTypeEnum === MEMBER_TYPE_CHANNEL_CORPORATE // (
|| memberInfo?.memberTypeEnum === MEMBER_TYPE_CHANNEL_INDIVIDUAL // memberInfo?.memberTypeEnum === MEMBER_TYPE_CHANNEL_CORPORATE
? { // || memberInfo?.memberTypeEnum === MEMBER_TYPE_CHANNEL_INDIVIDUAL
key: 'channelInfo', // ? {
name: '渠道信息', // key: 'channelInfo',
} // name: '渠道信息',
: null // }
), // : null
// ),
...( ...(
memberInfo && memberInfo.groups memberInfo && memberInfo.groups
? memberInfo.groups.map((item, index) => ({ ? memberInfo.groups.map((item, index) => ({
......
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