Commit de3496eb authored by Sixiang_Zzb's avatar Sixiang_Zzb

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

parent 4b93dad2
......@@ -115,7 +115,7 @@ const PictureOptionsRow = (props: any) => {
}
return isJpgOrPng && isLt2M;
}
console.log(props);
return (
<div>
<Upload
......
......@@ -112,8 +112,10 @@ const Detail = (props: any) => {
<Descriptions.Item label="Address" span={3}>
{CurDataDetail.address}{' '}
</Descriptions.Item>
<Descriptions.Item label="User Name" span={3}>{CurDataDetail.name}</Descriptions.Item>
<Descriptions.Item label="Contact Details" >{CurDataDetail.phone}</Descriptions.Item>
<Descriptions.Item label="User Name" span={3}>
{CurDataDetail.name}
</Descriptions.Item>
<Descriptions.Item label="Contact Details">{CurDataDetail.phone}</Descriptions.Item>
<Descriptions.Item>{CurDataDetail.email}</Descriptions.Item>
</Descriptions>
<Row gutter={16}>
......@@ -131,19 +133,17 @@ const Detail = (props: any) => {
<Col span={3}>Picture:</Col>
<Col>
{CurDataDetail != null ? (
<PictureOptionsRow
action="/tos/communtiy/service/reply/img"
disabled={true}
// defaultValue={v.url}
value={CurDataDetail.pictrues}
data={{
userToken: 'token',
imageType: 'tosCommunityImageReply',
extends: '',
}}
over={true}
/>
) : null}
</Col>
</Row>
......@@ -217,8 +217,8 @@ const Detail = (props: any) => {
</Spin>
</>
) : (
<></>
)}
<></>
)}
</div>
);
};
......
......@@ -53,7 +53,7 @@ const PropertyServices = (props: any) => {
{ 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',
ellipsis: true,
// width: 400,
......@@ -93,13 +93,13 @@ const PropertyServices = (props: any) => {
//页面递进
history.push(
location.pathname +
(value == 0 ? '/Edit' : '/Detail') +
urlEncode({
serviceType: serviceTypeGobal,
id: record.id,
user_id: record.user_id,
community_id: record.community_id,
}),
(value == 0 ? '/Edit' : '/Detail') +
urlEncode({
serviceType: serviceTypeGobal,
id: record.id,
user_id: record.user_id,
community_id: record.community_id,
}),
);
};
......
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