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
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 => {
...
@@ -53,8 +53,10 @@ const MemberMaintainDetailed: React.FC<QueryProps> = props => {
};
};
useEffect
(()
=>
{
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
();
getBasicInfo
();
},
[]);
},
[]);
...
...
src/pages/member/memberMaintain/detailed/levelInfo.tsx
View file @
ddf3100f
...
@@ -4,7 +4,6 @@ import { usePageStatus } from '@/hooks/usePageStatus';
...
@@ -4,7 +4,6 @@ import { usePageStatus } from '@/hooks/usePageStatus';
import
{
PublicApi
}
from
'@/services/api'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
{
GetMemberAbilityMaintenanceDetailLevelBasicResponse
}
from
'@/services/MemberApi'
;
import
{
GetMemberAbilityMaintenanceDetailLevelBasicResponse
}
from
'@/services/MemberApi'
;
import
Info
,
{
DataProps
}
from
'../../components/LevelInfo'
;
import
Info
,
{
DataProps
}
from
'../../components/LevelInfo'
;
import
{
reject
}
from
'lodash'
;
const
LevelInfo
:
React
.
FC
<
{}
>
=
()
=>
{
const
LevelInfo
:
React
.
FC
<
{}
>
=
()
=>
{
const
{
id
,
validateId
}
=
usePageStatus
();
const
{
id
,
validateId
}
=
usePageStatus
();
...
...
src/pages/member/memberMaintain/detailed/sincerityInfo.tsx
View file @
ddf3100f
...
@@ -99,7 +99,7 @@ const SincerityInfo: React.FC<{}> = () => {
...
@@ -99,7 +99,7 @@ const SincerityInfo: React.FC<{}> = () => {
// 投诉汇总
// 投诉汇总
const
getComplaintSum
=
()
=>
{
const
getComplaintSum
=
()
=>
{
set
SalesEstimate
SumLoading
(
true
);
set
Complain
SumLoading
(
true
);
PublicApi
.
getMemberAbilityMaintenanceDetailCreditComplainSummary
({
PublicApi
.
getMemberAbilityMaintenanceDetailCreditComplainSummary
({
memberId
:
id
,
memberId
:
id
,
validateId
,
validateId
,
...
@@ -111,7 +111,7 @@ const SincerityInfo: React.FC<{}> = () => {
...
@@ -111,7 +111,7 @@ const SincerityInfo: React.FC<{}> = () => {
dataSource
:
res
.
data
,
dataSource
:
res
.
data
,
});
});
}).
finally
(()
=>
{
}).
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 => {
...
@@ -45,15 +45,11 @@ const MemberPrConfirm: React.FC<{}> = props => {
dataIndex
:
'name'
,
dataIndex
:
'name'
,
align
:
'center'
,
align
:
'center'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
render
:
(
text
:
any
,
record
:
any
)
=>
(
<>
<
EyePreview
{
record
.
innerStatus
!==
MEMBER_INNER_STATUS_SUCCESS
?
(
url=
{
`/memberCenter/memberAbility/manage/auditPrComfirm?id=${record.memberId}&validateId=${record.validateId}&preview=1`
}
<
EyePreview
>
url=
{
`/memberCenter/memberAbility/manage/auditPrComfirm?id=${record.memberId}&validateId=${record.validateId}&preview=1`
}
{
text
}
>
</
EyePreview
>
{
text
}
</
EyePreview
>
)
:
text
}
</>
),
),
},
},
{
{
...
...
src/pages/member/memberQuery/detailed/sincerityInfo.tsx
View file @
ddf3100f
...
@@ -99,7 +99,7 @@ const SincerityInfo: React.FC<{}> = () => {
...
@@ -99,7 +99,7 @@ const SincerityInfo: React.FC<{}> = () => {
// 投诉汇总
// 投诉汇总
const
getComplaintSum
=
()
=>
{
const
getComplaintSum
=
()
=>
{
set
SalesEstimate
SumLoading
(
true
);
set
Complain
SumLoading
(
true
);
PublicApi
.
getMemberAbilityInfoDetailCreditComplainSummary
({
PublicApi
.
getMemberAbilityInfoDetailCreditComplainSummary
({
memberId
:
id
,
memberId
:
id
,
validateId
,
validateId
,
...
@@ -111,7 +111,7 @@ const SincerityInfo: React.FC<{}> = () => {
...
@@ -111,7 +111,7 @@ const SincerityInfo: React.FC<{}> = () => {
dataSource
:
res
.
data
,
dataSource
:
res
.
data
,
});
});
}).
finally
(()
=>
{
}).
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