Commit de3496eb authored by Sixiang_Zzb's avatar Sixiang_Zzb

物业服务 小区保养详情页图片问题修复和翻译修改

parent 4b93dad2
...@@ -115,7 +115,7 @@ const PictureOptionsRow = (props: any) => { ...@@ -115,7 +115,7 @@ const PictureOptionsRow = (props: any) => {
} }
return isJpgOrPng && isLt2M; return isJpgOrPng && isLt2M;
} }
console.log(props);
return ( return (
<div> <div>
<Upload <Upload
......
...@@ -112,8 +112,10 @@ const Detail = (props: any) => { ...@@ -112,8 +112,10 @@ const Detail = (props: any) => {
<Descriptions.Item label="Address" span={3}> <Descriptions.Item label="Address" span={3}>
{CurDataDetail.address}{' '} {CurDataDetail.address}{' '}
</Descriptions.Item> </Descriptions.Item>
<Descriptions.Item label="User Name" span={3}>{CurDataDetail.name}</Descriptions.Item> <Descriptions.Item label="User Name" span={3}>
<Descriptions.Item label="Contact Details" >{CurDataDetail.phone}</Descriptions.Item> {CurDataDetail.name}
</Descriptions.Item>
<Descriptions.Item label="Contact Details">{CurDataDetail.phone}</Descriptions.Item>
<Descriptions.Item>{CurDataDetail.email}</Descriptions.Item> <Descriptions.Item>{CurDataDetail.email}</Descriptions.Item>
</Descriptions> </Descriptions>
<Row gutter={16}> <Row gutter={16}>
...@@ -131,19 +133,17 @@ const Detail = (props: any) => { ...@@ -131,19 +133,17 @@ const Detail = (props: any) => {
<Col span={3}>Picture:</Col> <Col span={3}>Picture:</Col>
<Col> <Col>
{CurDataDetail != null ? ( {CurDataDetail != null ? (
<PictureOptionsRow <PictureOptionsRow
action="/tos/communtiy/service/reply/img" action="/tos/communtiy/service/reply/img"
disabled={true} disabled={true}
// defaultValue={v.url}
value={CurDataDetail.pictrues} value={CurDataDetail.pictrues}
data={{ data={{
userToken: 'token', userToken: 'token',
imageType: 'tosCommunityImageReply', imageType: 'tosCommunityImageReply',
extends: '', extends: '',
}} }}
over={true}
/> />
) : null} ) : null}
</Col> </Col>
</Row> </Row>
......
...@@ -53,7 +53,7 @@ const PropertyServices = (props: any) => { ...@@ -53,7 +53,7 @@ const PropertyServices = (props: any) => {
{ title: 'Requestor', dataIndex: 'owner_name' }, { title: 'Requestor', dataIndex: 'owner_name' },
{ {
title: parseInt(serviceTypeGobal) - 1 === 0 ? 'Attended By' : 'Content', title: parseInt(serviceTypeGobal) - 1 === 0 ? 'Attended By' : 'Description',
dataIndex: parseInt(serviceTypeGobal) - 1 === 0 ? 'handle_name' : 'service_content', dataIndex: parseInt(serviceTypeGobal) - 1 === 0 ? 'handle_name' : 'service_content',
ellipsis: true, ellipsis: true,
// width: 400, // width: 400,
......
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