Commit dab5335e authored by Sixiang_Zzb's avatar Sixiang_Zzb

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

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