Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TOSTUMI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maple
TOSTUMI
Commits
de3496eb
Commit
de3496eb
authored
Dec 11, 2020
by
Sixiang_Zzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物业服务 小区保养详情页图片问题修复和翻译修改
parent
4b93dad2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
PictureOptionsRow.tsx
src/components/PictureOptions/PictureOptionsRow.tsx
+1
-1
Detail.tsx
src/pages/CommercialService/Detail.tsx
+7
-7
PropertyServices.tsx
src/pages/CommercialService/PropertyServices.tsx
+8
-8
No files found.
src/components/PictureOptions/PictureOptionsRow.tsx
View file @
de3496eb
...
@@ -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
...
...
src/pages/CommercialService/Detail.tsx
View file @
de3496eb
...
@@ -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
>
...
@@ -217,8 +217,8 @@ const Detail = (props: any) => {
...
@@ -217,8 +217,8 @@ const Detail = (props: any) => {
</
Spin
>
</
Spin
>
</>
</>
)
:
(
)
:
(
<></>
<></>
)
}
)
}
</
div
>
</
div
>
);
);
};
};
...
...
src/pages/CommercialService/PropertyServices.tsx
View file @
de3496eb
...
@@ -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,
...
@@ -93,13 +93,13 @@ const PropertyServices = (props: any) => {
...
@@ -93,13 +93,13 @@ const PropertyServices = (props: any) => {
//页面递进
//页面递进
history
.
push
(
history
.
push
(
location
.
pathname
+
location
.
pathname
+
(
value
==
0
?
'/Edit'
:
'/Detail'
)
+
(
value
==
0
?
'/Edit'
:
'/Detail'
)
+
urlEncode
({
urlEncode
({
serviceType
:
serviceTypeGobal
,
serviceType
:
serviceTypeGobal
,
id
:
record
.
id
,
id
:
record
.
id
,
user_id
:
record
.
user_id
,
user_id
:
record
.
user_id
,
community_id
:
record
.
community_id
,
community_id
:
record
.
community_id
,
}),
}),
);
);
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment