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
ddf3100f
Commit
ddf3100f
authored
Sep 10, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbug
parent
808435e9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
15 deletions
+12
-15
index.tsx
src/pages/member/memberMaintain/detailed/index.tsx
+3
-1
levelInfo.tsx
src/pages/member/memberMaintain/detailed/levelInfo.tsx
+0
-1
sincerityInfo.tsx
src/pages/member/memberMaintain/detailed/sincerityInfo.tsx
+2
-2
index.tsx
src/pages/member/memberPrConfirm/index.tsx
+5
-9
sincerityInfo.tsx
src/pages/member/memberQuery/detailed/sincerityInfo.tsx
+2
-2
No files found.
src/pages/member/memberMaintain/detailed/index.tsx
View file @
ddf3100f
...
...
@@ -53,8 +53,10 @@ const MemberMaintainDetailed: React.FC<QueryProps> = props => {
};
useEffect
(()
=>
{
const
{
match
}
=
props
;
const
url
=
match
.
url
===
'/'
?
''
:
match
.
url
;
// 手动重定向到基础信息页,防止查询字符串被弄掉
history
.
replace
(
`
/memberCenter/memberAbility/manage/maintainDetail
/basicInfo?id=
${
id
}
&validateId=
${
validateId
}
`
);
history
.
replace
(
`
${
url
}
/basicInfo?id=
${
id
}
&validateId=
${
validateId
}
`
);
getBasicInfo
();
},
[]);
...
...
src/pages/member/memberMaintain/detailed/levelInfo.tsx
View file @
ddf3100f
...
...
@@ -4,7 +4,6 @@ import { usePageStatus } from '@/hooks/usePageStatus';
import
{
PublicApi
}
from
'@/services/api'
;
import
{
GetMemberAbilityMaintenanceDetailLevelBasicResponse
}
from
'@/services/MemberApi'
;
import
Info
,
{
DataProps
}
from
'../../components/LevelInfo'
;
import
{
reject
}
from
'lodash'
;
const
LevelInfo
:
React
.
FC
<
{}
>
=
()
=>
{
const
{
id
,
validateId
}
=
usePageStatus
();
...
...
src/pages/member/memberMaintain/detailed/sincerityInfo.tsx
View file @
ddf3100f
...
...
@@ -99,7 +99,7 @@ const SincerityInfo: React.FC<{}> = () => {
// 投诉汇总
const
getComplaintSum
=
()
=>
{
set
SalesEstimate
SumLoading
(
true
);
set
Complain
SumLoading
(
true
);
PublicApi
.
getMemberAbilityMaintenanceDetailCreditComplainSummary
({
memberId
:
id
,
validateId
,
...
...
@@ -111,7 +111,7 @@ const SincerityInfo: React.FC<{}> = () => {
dataSource
:
res
.
data
,
});
}).
finally
(()
=>
{
set
SalesEstimate
SumLoading
(
false
);
set
Complain
SumLoading
(
false
);
});
};
...
...
src/pages/member/memberPrConfirm/index.tsx
View file @
ddf3100f
...
...
@@ -45,15 +45,11 @@ const MemberPrConfirm: React.FC<{}> = props => {
dataIndex
:
'name'
,
align
:
'center'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<>
{
record
.
innerStatus
!==
MEMBER_INNER_STATUS_SUCCESS
?
(
<
EyePreview
url=
{
`/memberCenter/memberAbility/manage/auditPrComfirm?id=${record.memberId}&validateId=${record.validateId}&preview=1`
}
>
{
text
}
</
EyePreview
>
)
:
text
}
</>
<
EyePreview
url=
{
`/memberCenter/memberAbility/manage/auditPrComfirm?id=${record.memberId}&validateId=${record.validateId}&preview=1`
}
>
{
text
}
</
EyePreview
>
),
},
{
...
...
src/pages/member/memberQuery/detailed/sincerityInfo.tsx
View file @
ddf3100f
...
...
@@ -99,7 +99,7 @@ const SincerityInfo: React.FC<{}> = () => {
// 投诉汇总
const
getComplaintSum
=
()
=>
{
set
SalesEstimate
SumLoading
(
true
);
set
Complain
SumLoading
(
true
);
PublicApi
.
getMemberAbilityInfoDetailCreditComplainSummary
({
memberId
:
id
,
validateId
,
...
...
@@ -111,7 +111,7 @@ const SincerityInfo: React.FC<{}> = () => {
dataSource
:
res
.
data
,
});
}).
finally
(()
=>
{
set
SalesEstimate
SumLoading
(
false
);
set
Complain
SumLoading
(
false
);
});
};
...
...
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