Commit dab5335e authored by Sixiang_Zzb's avatar Sixiang_Zzb

物业服务详情页回复人bug处理

parent 4f644cad
......@@ -89,19 +89,23 @@ export default {
content: string;
replyContent: string;
replyImgUrl: string[];
replyName: string;
replyPhone: string;
status: number;
pictrues: string[];
time: string;
} = {
community: tmp.communityName || tmp.communityName,
address: tmp.addressAndpostalCode || tmp.residentialAddress,
home: (tmp.buildingNumber || tmp.communityBuild) + ' #' + (tmp.floorNumber || tmp.communityFloor) + '-' + (tmp.roomNumber || tmp.communtiyRoom),
home: (tmp.buildingNumber || tmp.communityBuild) + ' #' + (tmp.floorNumber || tmp.communityFloor) + '-' + (tmp.roomNumber || tmp.communtiyRoom),
name: tmp.owerName || tmp.ownerFamilyName,
phone: tmp.owerPhone || tmp.ownerFamilyPhone,
email: tmp.owerEmail || tmp.ownerFamilyEmail,
content: tmp2.serviceContent,
replyContent: tmp2.replyContent,
replyImgUrl: Fromate(tmp2.replyImgUrl, [['url', null]]),
replyName: tmp2.handleName,
replyPhone: tmp2.handleContacts,
status: tmp2.handleStatus,
pictrues: picFromate(tmp2.imgUrl),
time: timestampToTime4(tmp2.createTime.time),
......
......@@ -161,9 +161,9 @@ const Detail = (props: any) => {
{!editorFlag ? (
<Row gutter={16}>
<Col>Replyer:</Col>
<Col span={6}>{getCookie('name')}</Col>
<Col span={6}>{CurDataDetail.replyName}</Col>
<Col>Contact:</Col>
<Col>{getCookie('phone')}</Col>
<Col>{CurDataDetail.replyPhone}</Col>
</Row>
) : null}
<Row gutter={16} style={{ marginTop: 20 }}>
......
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