Commit 96d58f59 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改取值字段

parent 54cc524c
......@@ -187,7 +187,6 @@ const Analysis: React.FC<AnalysisProps> = ({
productName: item.product || '',
price: item.price,
quantity: item.purchaseCount,
created: item.createTime,
target: item.byMemberName,
orderId: item.orderId,
dealTime: item.dealTime,
......@@ -214,15 +213,15 @@ const Analysis: React.FC<AnalysisProps> = ({
resolve({
data: data.map(item => {
return {
id: item.id,
star: item.star,
comment: item.comment,
productName: item.product || '',
price: item.price,
quantity: item.purchaseCount,
created: item.dealTime as string,
target: item.memberName,
orderId: item.orderId,
id: item.id,
star: item.star,
comment: item.comment,
productName: item.product || '',
price: item.price,
quantity: item.purchaseCount,
target: item.memberName,
orderId: item.orderId,
dealTime: item.dealTime as string,
};
}),
totalCount,
......@@ -248,15 +247,15 @@ const Analysis: React.FC<AnalysisProps> = ({
resolve({
data: data.map(item => {
return {
id: item.id,
star: item.star,
comment: item.comment,
productName: item.product || '',
price: item.price,
quantity: item.purchaseCount,
created: item.dealTime as string,
target: item.subMemberName,
orderId: item.orderId,
id: item.id,
star: item.star,
comment: item.comment,
productName: item.product || '',
price: item.price,
quantity: item.purchaseCount,
target: item.subMemberName,
orderId: item.orderId,
dealTime: item.dealTime as string,
};
}),
totalCount,
......
......@@ -70,10 +70,6 @@ export interface RecordItem {
*/
quantity: number
/**
* 交易时间
*/
created: string
/**
* 评价方/被评价方
*/
target: string
......
......@@ -193,10 +193,9 @@ const Analysis: React.FC<AnalysisProps> = ({
productName: item.product || '',
price: item.price,
quantity: item.purchaseCount,
created: item.createTime,
target: item.byMemberName,
orderId: item.orderId,
dealTime: item.dealTime,
dealTime: item.dealTime as string,
};
}),
totalCount,
......@@ -226,10 +225,10 @@ const Analysis: React.FC<AnalysisProps> = ({
productName: item.product || '',
price: item.price,
quantity: item.purchaseCount,
created: item.dealTime as string,
target: item.memberName,
orderId: item.orderId,
replyStatus: item.replyStatus,
dealTime: item.dealTime as string,
};
}),
totalCount,
......@@ -255,15 +254,15 @@ const Analysis: React.FC<AnalysisProps> = ({
resolve({
data: data.map(item => {
return {
id: item.id,
star: item.star,
comment: item.comment,
productName: item.product || '',
price: item.price,
quantity: item.purchaseCount,
created: item.dealTime as string,
target: item.subMemberName,
orderId: item.orderId,
id: item.id,
star: item.star,
comment: item.comment,
productName: item.product || '',
price: item.price,
quantity: item.purchaseCount,
target: item.subMemberName,
orderId: item.orderId,
dealTime: item.dealTime as string,
};
}),
totalCount,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment