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
802a503f
Commit
802a503f
authored
Nov 04, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口名称
parent
5192b198
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
index.tsx
src/pages/transaction/supplierEvaluation/analysis/index.tsx
+3
-3
index.tsx
.../transaction/supplierEvaluation/received/detail/index.tsx
+1
-1
No files found.
src/pages/transaction/supplierEvaluation/analysis/index.tsx
View file @
802a503f
...
...
@@ -156,7 +156,7 @@ const Analysis: React.FC<AnalysisProps> = ({
// 获取评价汇总
const
getTradeSummary
=
()
=>
{
PublicApi
.
getMemberCommentSupplyCount
Supply
TradeSummary
().
then
(
res
=>
{
PublicApi
.
getMemberCommentSupplyCountTradeSummary
().
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
const
evaluate
=
summaryEvaluate
(
res
.
data
.
rows
);
const
evaluatePieData
=
getSummaryEvaluatePie
(
evaluate
);
...
...
@@ -170,7 +170,7 @@ const Analysis: React.FC<AnalysisProps> = ({
const
getTradeHistory
=
(
params
:
ListParams
):
Promise
<
RecordRes
>
=>
{
const
{
star
,
...
rest
}
=
params
;
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getMemberCommentSupplyCount
Supply
TradeHistoryPage
({
PublicApi
.
getMemberCommentSupplyCountTradeHistoryPage
({
...
rest
,
starLevel
:
params
.
star
,
}).
then
(
res
=>
{
...
...
@@ -204,7 +204,7 @@ const Analysis: React.FC<AnalysisProps> = ({
// 获取收到的评价列表
const
getReceivedList
=
(
params
:
ListParams
):
Promise
<
RecordRes
>
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getMemberCommentSupply
Supply
TradeHistoryPage
({
PublicApi
.
getMemberCommentSupply
Receive
TradeHistoryPage
({
...
params
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
...
...
src/pages/transaction/supplierEvaluation/received/detail/index.tsx
View file @
802a503f
...
...
@@ -67,7 +67,7 @@ const ReceivedDetail: React.FC = () => {
return
;
}
setEvaluationInfoLoading
(
true
);
PublicApi
.
getMemberCommentSupply
Supply
TradeHistoryGet
({
PublicApi
.
getMemberCommentSupply
Receive
TradeHistoryGet
({
id
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
...
...
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