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
eb1dda02
Commit
eb1dda02
authored
Apr 29, 2021
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: cellee <893264950@qq.com>
parent
2e1f9cf7
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
32 additions
and
25 deletions
+32
-25
CommunityService.ts
src/models/CommunityManagement/CommunityService.ts
+2
-1
Card.tsx
src/pages/CommercialService/Card.tsx
+7
-7
CardDetail.tsx
src/pages/CommercialService/CardDetail.tsx
+3
-3
MoveOutDetail.tsx
src/pages/CommercialService/MoveOutDetail.tsx
+1
-1
PropertyServices.tsx
src/pages/CommercialService/PropertyServices.tsx
+3
-1
Renovation.tsx
src/pages/CommercialService/Renovation.tsx
+10
-7
RenovationDetail.tsx
src/pages/CommercialService/RenovationDetail.tsx
+1
-1
BookingDetail.tsx
...es/CommunityManagement/FacilityBookings/BookingDetail.tsx
+2
-2
Users.tsx
src/pages/UserManagement/LIFEUserManagement/Users.tsx
+2
-2
UsersDetail.tsx
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
+1
-0
No files found.
src/models/CommunityManagement/CommunityService.ts
View file @
eb1dda02
...
@@ -110,7 +110,8 @@ export default {
...
@@ -110,7 +110,8 @@ export default {
(
tmp
.
floorNumber
||
tmp
.
communityFloor
)
+
(
tmp
.
floorNumber
||
tmp
.
communityFloor
)
+
'-'
+
'-'
+
(
tmp
.
roomNumber
||
tmp
.
communtiyRoom
)
(
tmp
.
roomNumber
||
tmp
.
communtiyRoom
)
:
(
tmp
.
floorNumber
||
tmp
.
communityFloor
)
+
:
' #'
+
(
tmp
.
floorNumber
||
tmp
.
communityFloor
)
+
'-'
+
'-'
+
(
tmp
.
roomNumber
||
tmp
.
communtiyRoom
),
(
tmp
.
roomNumber
||
tmp
.
communtiyRoom
),
...
...
src/pages/CommercialService/Card.tsx
View file @
eb1dda02
...
@@ -48,17 +48,17 @@ const Card = (props: any) => {
...
@@ -48,17 +48,17 @@ const Card = (props: any) => {
null
,
null
,
(
text
:
any
,
record
:
any
)
=>
(
(
text
:
any
,
record
:
any
)
=>
(
<>
<>
{
record
.
build_number
?
<
span
>
{
record
.
build_number
}
#
</
span
>
:
''
}
{
record
.
build_number
?
<
span
>
{
record
.
build_number
}
</
span
>
:
''
}
<
span
>
{
record
.
floor_number
}
-
</
span
>
<
span
>
#
{
record
.
floor_number
}
-
</
span
>
<
span
>
{
record
.
room_number
}
</
span
>
<
span
>
{
record
.
room_number
}
</
span
>
</>
</>
),
),
],
],
[
//
[
'Account Type'
,
//
'Account Type',
'apply_relation_owner'
,
//
'apply_relation_owner',
(
text
:
string
)
=>
<
div
>
{
apply_relation
[
text
][
1
]
}
</
div
>,
//
(text: string) => <div>{apply_relation[text][1]}</div>,
],
//
],
[
[
'Application Time'
,
'Application Time'
,
null
,
null
,
...
...
src/pages/CommercialService/CardDetail.tsx
View file @
eb1dda02
...
@@ -141,7 +141,7 @@ const CardDetail = (props: any) => {
...
@@ -141,7 +141,7 @@ const CardDetail = (props: any) => {
<
Col
span=
{
3
}
>
{
listData
.
community_name
}
</
Col
>
<
Col
span=
{
3
}
>
{
listData
.
community_name
}
</
Col
>
<
Col
>
Unit:
</
Col
>
<
Col
>
Unit:
</
Col
>
<
Col
>
<
Col
>
{
listData
.
build_number
?
listData
.
build_number
+
' #'
:
''
}
{
listData
.
build_number
?
listData
.
build_number
:
''
}
#
{
listData
.
floor_number
+
'-'
+
listData
.
room_number
}
{
listData
.
floor_number
+
'-'
+
listData
.
room_number
}
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
@@ -170,10 +170,10 @@ const CardDetail = (props: any) => {
...
@@ -170,10 +170,10 @@ const CardDetail = (props: any) => {
<
Col
span=
{
3
}
>
{
listData
.
apply_name_phone
}
</
Col
>
<
Col
span=
{
3
}
>
{
listData
.
apply_name_phone
}
</
Col
>
<
Col
>
{
listData
.
apply_name_email
}
</
Col
>
<
Col
>
{
listData
.
apply_name_email
}
</
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
{
/*
<Row gutter={8} style={{ marginTop: 16 }}>
<Col span={3}>Relationship:</Col>
<Col span={3}>Relationship:</Col>
<Col>{apply_relation_owner[parseInt(listData.apply_relation_owner)]}</Col>
<Col>{apply_relation_owner[parseInt(listData.apply_relation_owner)]}</Col>
</
Row
>
</Row>
*/
}
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Col
span=
{
4
}
>
Decription of Work:
</
Col
>
<
Col
span=
{
4
}
>
Decription of Work:
</
Col
>
<
Col
>
<
Col
>
...
...
src/pages/CommercialService/MoveOutDetail.tsx
View file @
eb1dda02
...
@@ -119,7 +119,7 @@ const RenovationDetail = (props: any) => {
...
@@ -119,7 +119,7 @@ const RenovationDetail = (props: any) => {
<
Col
span=
{
3
}
>
{
onwerDetail
.
communityName
}
</
Col
>
<
Col
span=
{
3
}
>
{
onwerDetail
.
communityName
}
</
Col
>
<
Col
>
Unit:
</
Col
>
<
Col
>
Unit:
</
Col
>
<
Col
>
<
Col
>
{
onwerDetail
.
buildingNumber
?
onwerDetail
.
buildingNumber
+
' #'
:
''
}
{
onwerDetail
.
buildingNumber
?
onwerDetail
.
buildingNumber
:
''
}
#
{
onwerDetail
.
floorNumber
}
-
{
onwerDetail
.
roomNumber
}
{
onwerDetail
.
floorNumber
}
-
{
onwerDetail
.
roomNumber
}
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
...
src/pages/CommercialService/PropertyServices.tsx
View file @
eb1dda02
...
@@ -72,7 +72,9 @@ const PropertyServices = (props: any) => {
...
@@ -72,7 +72,9 @@ const PropertyServices = (props: any) => {
{
{
title
:
'Submission Time'
,
title
:
'Submission Time'
,
dataIndex
:
'create_time'
,
dataIndex
:
'create_time'
,
render
:
(
text
:
any
)
=>
<
Space
size=
"middle"
>
{
moment
(
text
.
time
).
format
(
'MM.DD HH:mm'
)
}
</
Space
>,
render
:
(
text
:
any
)
=>
(
<
Space
size=
"middle"
>
{
text
.
time
?
moment
(
text
.
time
).
format
(
'MM.DD HH:mm'
)
:
''
}
</
Space
>
),
},
},
{
{
title
:
'Status'
,
title
:
'Status'
,
...
...
src/pages/CommercialService/Renovation.tsx
View file @
eb1dda02
...
@@ -51,14 +51,18 @@ const Renovation = (props: any) => {
...
@@ -51,14 +51,18 @@ const Renovation = (props: any) => {
null
,
null
,
(
text
:
any
,
record
:
any
)
=>
(
(
text
:
any
,
record
:
any
)
=>
(
<
div
>
<
div
>
{
record
.
communityBuildDecorate
?
<
span
>
{
record
.
communityBuildDecorate
}
#
</
span
>
:
''
}
{
record
.
communityBuildDecorate
?
<
span
>
{
record
.
communityBuildDecorate
}
</
span
>
:
''
}
<
span
>
{
record
.
communityFloorDecorate
}
-
</
span
>
<
span
>
#
{
record
.
communityFloorDecorate
}
-
</
span
>
<
span
>
{
record
.
communityRoomDecoate
}
</
span
>
<
span
>
{
record
.
communityRoomDecoate
}
</
span
>
</
div
>
</
div
>
),
),
],
],
[
'Content'
,
'decorationContent'
,
(
text
:
any
)
=>
<
div
>
{
stringTab
(
text
)
}
</
div
>],
[
'Content'
,
'decorationContent'
,
(
text
:
any
)
=>
<
div
>
{
stringTab
(
text
)
}
</
div
>],
[
'Application Time'
,
'createTime'
,
(
text
:
any
)
=>
moment
(
text
.
time
).
format
(
'MM.DD HH:mm'
)],
[
'Application Time'
,
'createTime'
,
(
text
:
any
)
=>
(
text
.
time
?
moment
(
text
.
time
).
format
(
'MM.DD HH:mm'
)
:
''
),
],
[
'status'
,
'decorationStatus'
,
(
text
:
any
)
=>
<
div
>
{
decorationStatus
[
parseInt
(
text
)][
1
]
}
</
div
>],
[
'status'
,
'decorationStatus'
,
(
text
:
any
)
=>
<
div
>
{
decorationStatus
[
parseInt
(
text
)][
1
]
}
</
div
>],
[
[
'Actions'
,
'Actions'
,
...
@@ -85,8 +89,8 @@ const Renovation = (props: any) => {
...
@@ -85,8 +89,8 @@ const Renovation = (props: any) => {
key
:
'id'
,
key
:
'id'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
render
:
(
text
:
any
,
record
:
any
)
=>
(
<>
<>
{
record
.
communityBuild
?
<
span
>
{
record
.
communityBuild
}
#
</
span
>
:
''
}
{
record
.
communityBuild
?
<
span
>
{
record
.
communityBuild
}
</
span
>
:
''
}
<
span
>
{
record
.
communityFloor
}
-
</
span
>
<
span
>
#
{
record
.
communityFloor
}
-
</
span
>
<
span
>
{
record
.
communityRoom
}
</
span
>
<
span
>
{
record
.
communityRoom
}
</
span
>
</>
</>
),
),
...
@@ -112,8 +116,7 @@ const Renovation = (props: any) => {
...
@@ -112,8 +116,7 @@ const Renovation = (props: any) => {
title
:
'Submission Time'
,
title
:
'Submission Time'
,
dataIndex
:
'createTime'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
key
:
'createTime'
,
// render: (text: any) => moment(text.time).format('MMMM Do YYYY, h:mm'),
render
:
(
text
:
any
)
=>
(
text
.
time
?
moment
(
text
.
time
).
format
(
'MM.DD HH:mm'
)
:
''
),
render
:
(
text
:
any
)
=>
moment
(
text
.
time
).
format
(
'MM.DD HH:mm'
),
},
},
{
{
title
:
'Status'
,
title
:
'Status'
,
...
...
src/pages/CommercialService/RenovationDetail.tsx
View file @
eb1dda02
...
@@ -105,7 +105,7 @@ const RenovationDetail = (props: any) => {
...
@@ -105,7 +105,7 @@ const RenovationDetail = (props: any) => {
<
Col
span=
{
3
}
>
{
onwerDetail
.
communityName
}
</
Col
>
<
Col
span=
{
3
}
>
{
onwerDetail
.
communityName
}
</
Col
>
<
Col
>
Unit:
</
Col
>
<
Col
>
Unit:
</
Col
>
<
Col
>
<
Col
>
{
onwerDetail
.
buildingNumber
?
onwerDetail
.
buildingNumber
+
' #'
:
''
}
{
onwerDetail
.
buildingNumber
?
onwerDetail
.
buildingNumber
:
''
}
#
{
onwerDetail
.
floorNumber
}
-
{
onwerDetail
.
roomNumber
}
{
onwerDetail
.
floorNumber
}
-
{
onwerDetail
.
roomNumber
}
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
...
src/pages/CommunityManagement/FacilityBookings/BookingDetail.tsx
View file @
eb1dda02
...
@@ -168,8 +168,8 @@ const BookingDetail = (props: any) => {
...
@@ -168,8 +168,8 @@ const BookingDetail = (props: any) => {
</
Descriptions
.
Item
>
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"User Name"
>
{
DataSave
.
accountName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"User Name"
>
{
DataSave
.
accountName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Unit No."
>
<
Descriptions
.
Item
label=
"Unit No."
>
{
DataSave
.
buildNumber
?
DataSave
.
buildNumber
+
'
#'
:
''
}
{
DataSave
.
buildNumber
?
DataSave
.
buildNumber
+
'
'
:
''
}
#
{
DataSave
.
floorNumber
}
-
{
DataSave
.
floorNumber
}
-
{
DataSave
.
roomNumber
}
{
DataSave
.
roomNumber
}
</
Descriptions
.
Item
>
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Contact Number"
>
{
DataSave
.
accountPhone
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Contact Number"
>
{
DataSave
.
accountPhone
}
</
Descriptions
.
Item
>
</
Descriptions
>
</
Descriptions
>
...
...
src/pages/UserManagement/LIFEUserManagement/Users.tsx
View file @
eb1dda02
...
@@ -62,8 +62,8 @@ const Users = (props: any) => {
...
@@ -62,8 +62,8 @@ const Users = (props: any) => {
render
:
(
text
:
any
,
record
:
any
)
=>
(
render
:
(
text
:
any
,
record
:
any
)
=>
(
// <div>{record.buildingNumber + ' #' + record.floorNumber + '-' + record.roomNumber}</div>
// <div>{record.buildingNumber + ' #' + record.floorNumber + '-' + record.roomNumber}</div>
<
div
>
<
div
>
{
record
.
buildingNumber
?
<
span
>
{
record
.
buildingNumber
}
#
</
span
>
:
''
}
{
record
.
buildingNumber
?
<
span
>
{
record
.
buildingNumber
}
</
span
>
:
''
}
<
span
>
{
record
.
floorNumber
}
-
</
span
>
<
span
>
#
{
record
.
floorNumber
}
-
</
span
>
<
span
>
{
record
.
roomNumber
}
</
span
>
<
span
>
{
record
.
roomNumber
}
</
span
>
</
div
>
</
div
>
),
),
...
...
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
View file @
eb1dda02
...
@@ -120,6 +120,7 @@ const UsersDetail = (props: any) => {
...
@@ -120,6 +120,7 @@ const UsersDetail = (props: any) => {
// 监听数据返回
// 监听数据返回
useEffect
(()
=>
{
useEffect
(()
=>
{
if
(
DataSaveDetail
!==
null
)
{
if
(
DataSaveDetail
!==
null
)
{
// console.log(DataSaveDetail);
setDataSaveLoading
(
false
);
setDataSaveLoading
(
false
);
}
}
},
[
DataSaveDetail
]);
},
[
DataSaveDetail
]);
...
...
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