Commit 4cc3d73b authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改字段名

parent 53dd8b9f
......@@ -86,11 +86,11 @@ const createSchema = (showExplain = true): ISchema => ({
],
},
...(showExplain ? {
replayTime: {
replyTime: {
type: 'string',
title: '商家时间',
},
replayContent: {
replyContent: {
type: 'string',
title: '商家解释',
},
......
......@@ -84,7 +84,7 @@ export interface RecordItem {
/**
* 是否已解释,被评价方回复 0-否 1-是
*/
replayStatus?: number,
replyStatus?: number,
};
export interface RecordRes {
......@@ -372,7 +372,7 @@ export default class RecordList extends React.Component<RecordListProps, RecordL
{editable && (
<Button type="link" onClick={() => this.handleEdit(item)}>编辑</Button>
)}
{explicable && item.replayStatus === 0 && (
{explicable && item.replyStatus === 0 && (
<Button type="link" onClick={() => this.handleExplain(item)}>解释</Button>
)}
<Button type="link" onClick={() => this.handleCheck(item)}>查看</Button>
......
......@@ -228,7 +228,7 @@ const Analysis: React.FC<AnalysisProps> = ({
created: item.dealTime as string,
target: item.memberName,
orderId: item.orderId,
replayStatus: item.replayStatus,
replyStatus: item.replyStatus,
};
}),
totalCount,
......
......@@ -32,8 +32,8 @@ interface Unevaluated {
comment: string;
picture: FileData[];
smile: number;
replayContent: string,
replayTime: string,
replyContent: string,
replyTime: string,
};
interface OrderInfo {
......@@ -71,8 +71,8 @@ const ReceivedDetail: React.FC = () => {
comment: res.data.comment,
picture: res.data.pics ? res.data.pics.map(item => normalizeFiledata(item)) : [],
smile: res.data.star,
replayContent: res.data.replayContent,
replayTime: res.data.replayTime,
replyContent: res.data.replyContent,
replyTime: res.data.replyTime,
});
setOrderInfo({
orderNo: res.data.orderNo,
......
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