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
黄庭坚
jinfa-platform
Commits
258a1de5
Commit
258a1de5
authored
Jul 13, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 完善组件
parent
082557b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
13 deletions
+32
-13
index.tsx
src/pages/member/components/MemberProfile/index.tsx
+12
-7
interface.ts
src/pages/member/components/MemberProfile/interface.ts
+20
-6
No files found.
src/pages/member/components/MemberProfile/index.tsx
View file @
258a1de5
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-07-09 11:09:36
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-07-1
2 15:56:22
* @LastEditTime: 2021-07-1
3 10:34:48
* @Description: 会员详情信息
*/
import
React
from
'react'
;
...
...
@@ -33,7 +33,6 @@ import MemberDocIncomingInfo from '../MemberDocIncomingInfo';
import
MemberInvestigateInfo
from
'../MemberInvestigateInfo'
;
import
MemberDocCategory
from
'../MemberDocCategory'
;
import
MemberDocQualification
from
'../MemberDocQualification'
;
import
PicWrap
from
'../PicWrap'
;
export
*
from
'./interface'
;
...
...
@@ -54,6 +53,10 @@ interface IProps {
* 是否展示渠道信息,默认 true
*/
showChannelInfo
?:
boolean
,
/**
* 是否入库信息的 new 标签,默认 false
*/
showNew
?:
boolean
,
}
const
MemberProfile
:
React
.
FC
<
IProps
>
=
(
props
)
=>
{
...
...
@@ -62,8 +65,11 @@ const MemberProfile: React.FC<IProps> = (props) => {
loading
,
extra
,
showChannelInfo
=
true
,
showNew
=
false
,
}
=
props
;
const
depositDetails
=
dataSource
?.
depositDetailTexts
||
dataSource
?.
depositDetails
||
[];
const
anchorsArr
=
[
{
key
:
'verifySteps'
,
...
...
@@ -94,8 +100,8 @@ const MemberProfile: React.FC<IProps> = (props) => {
:
[]
),
(
d
ataSource
&&
d
ataSource
.
depositDetails
d
epositDetails
&&
d
epositDetails
.
length
?
{
key
:
'incomingInfo'
,
name
:
'入库信息'
,
...
...
@@ -138,8 +144,6 @@ const MemberProfile: React.FC<IProps> = (props) => {
},
].
filter
(
Boolean
);
const
depositDetails
=
dataSource
?.
depositDetailTexts
||
dataSource
?.
depositDetails
||
[];
return
(
<
Spin
spinning=
{
loading
}
>
<
AnchorPage
...
...
@@ -232,10 +236,11 @@ const MemberProfile: React.FC<IProps> = (props) => {
}
{
/* 入库信息 */
}
{
depositDetails
?
(
{
depositDetails
.
length
>
0
?
(
<
Col
span=
{
24
}
>
<
MemberDocIncomingInfo
dataSource=
{
depositDetails
}
showNew=
{
showNew
}
id=
"incomingInfo"
/>
</
Col
>
...
...
src/pages/member/components/MemberProfile/interface.ts
View file @
258a1de5
...
...
@@ -100,11 +100,11 @@ export type DetailType = {
/**
* 内部流转
*/
innerVerifySteps
:
VerifyStepsItemType
[],
innerVerifySteps
?
:
VerifyStepsItemType
[],
/**
* 内部审核流程当前的步骤
*/
currentInnerStep
:
number
,
currentInnerStep
?
:
number
,
/**
* 外部流转
*/
...
...
@@ -202,7 +202,7 @@ export type DetailType = {
/**
* 注册信息
*/
registerDetails
:
{
registerDetails
?
:
{
/**
* 分组名称
*/
...
...
@@ -231,7 +231,7 @@ export type DetailType = {
/**
* 入库信息,表单用
*/
depositDetails
:
{
depositDetails
?
:
{
/**
* 分组名称
*/
...
...
@@ -257,7 +257,7 @@ export type DetailType = {
/**
* 资质证明
*/
qualities
:
QualitiesItemType
[],
qualities
?
:
QualitiesItemType
[],
/**
* 考察信息
*/
...
...
@@ -269,7 +269,7 @@ export type DetailType = {
/**
* 内部流转记录
*/
innerHistory
:
{
innerHistory
?
:
{
/**
* 记录Id
*/
...
...
@@ -340,4 +340,17 @@ export type DetailType = {
*/
remark
:
string
}[],
/**
* 入库分类信息-合作关系下拉框内容 ,DropdownItem
*/
partnerTypes
?:
{
/**
* 下拉选择框的id
*/
id
:
number
/**
* 下拉选择框的文本内容
*/
text
:
string
}[]
};
\ No newline at end of file
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