Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linweijiong
jinfa-platform
Commits
1c9f8289
Commit
1c9f8289
authored
Jul 19, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 平台录入的会员不展示渠道信息
parent
082d1ef7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
basicInfo.tsx
src/pages/member/memberQuery/detailed/basicInfo.tsx
+4
-3
index.tsx
src/pages/member/memberQuery/detailed/index.tsx
+10
-9
No files found.
src/pages/member/memberQuery/detailed/basicInfo.tsx
View file @
1c9f8289
...
@@ -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
}
}
*/
}
{
/* 其他注册信息 */
}
{
/* 其他注册信息 */
}
{
{
...
...
src/pages/member/memberQuery/detailed/index.tsx
View file @
1c9f8289
...
@@ -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
)
=>
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment