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
7f010f33
Commit
7f010f33
authored
Nov 26, 2020
by
cellee
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'final' of
http://120.77.240.215:9701/Maple/tostumi.git
into final
parents
156aacbc
7b5bdafe
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
7 deletions
+20
-7
PictureOptionsRow.tsx
src/components/PictureOptions/PictureOptionsRow.tsx
+1
-1
TableShow.tsx
src/components/TableShow/TableShow.tsx
+1
-0
Card.tsx
src/pages/CommercialService/Card.tsx
+15
-3
PropertyServices.tsx
src/pages/CommercialService/PropertyServices.tsx
+2
-2
Renovation.tsx
src/pages/CommercialService/Renovation.tsx
+1
-1
No files found.
src/components/PictureOptions/PictureOptionsRow.tsx
View file @
7f010f33
...
...
@@ -113,7 +113,7 @@ const PictureOptionsRow = (props: any) => {
}
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
;
if
(
!
isLt2M
)
{
message
.
error
(
'Image must
smaller than
2MB!'
);
message
.
error
(
'Image must
be less than or equal to
2MB!'
);
}
return
isJpgOrPng
&&
isLt2M
;
}
...
...
src/components/TableShow/TableShow.tsx
View file @
7f010f33
...
...
@@ -35,6 +35,7 @@ const TableShow = (props: any) => {
const
user_type_status
=
[
'Normal'
,
'Normal'
,
'Cancellation'
];
const
user_code
=
[
'Activation Code Is Inactive'
,
'Activation Code Has Been Used'
];
const
key
=
objectColumns
([
[
'User Name'
,
'owner_family_name'
],
[
'Contact Details'
,
'owner_family_phone'
],
...
...
src/pages/CommercialService/Card.tsx
View file @
7f010f33
...
...
@@ -30,6 +30,13 @@ const Card = (props: any) => {
[
2
,
'Reject'
],
[
3
,
'Received'
],
];
const
apply_relation
=
[
[
0
,
'Oneself'
],
[
1
,
'Family Members'
],
[
2
,
'Tenant'
],
];
const
columns
=
objectColumns
([
[
'Community Name'
,
'community_name'
],
[
...
...
@@ -41,16 +48,21 @@ const Card = (props: any) => {
</
Space
>
),
],
[
'Community Owner'
,
'community_owner'
],
[
'User Name'
,
'apply_name'
],
[
'Account Type'
,
'apply_relation_owner'
,
(
text
:
string
,
record
:
any
)
=>
<
div
>
{
apply_relation
[
text
][
1
]
}
</
div
>,
],
[
'Appl
y
Time'
,
'Appl
ication
Time'
,
null
,
(
text
:
any
,
record
:
any
)
=>
(
<
Space
size=
"middle"
>
{
timestampToTime
(
record
.
create_time
.
time
)
}
</
Space
>
),
],
[
'
Apply
Status'
,
'Status'
,
'apply_status'
,
(
text
:
any
,
record
:
any
)
=>
<
Space
size=
"middle"
>
{
apply_status
[
parseInt
(
text
)][
1
]
}
</
Space
>,
],
...
...
src/pages/CommercialService/PropertyServices.tsx
View file @
7f010f33
...
...
@@ -68,10 +68,10 @@ const PropertyServices = (props: any) => {
),
},
{
title
:
'
Handle
Status'
,
title
:
'Status'
,
dataIndex
:
'id'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<
Space
size=
"middle"
>
{
handle_Status
[
record
.
handle_status
][
1
]
}
</
Space
>
<
Space
size=
"middle"
>
{
handle_Status
[
record
.
handle_status
][
1
]
}
</
Space
>
),
},
{
...
...
src/pages/CommercialService/Renovation.tsx
View file @
7f010f33
...
...
@@ -41,7 +41,7 @@ const Renovation = (props: any) => {
),
],
[
'Content'
,
'decorationContent'
,
(
text
:
any
)
=>
<
div
>
{
stringTab
(
text
)
}
</
div
>],
[
'
Request
Time'
,
'createTime'
,
(
text
:
any
)
=>
<
div
>
{
timestampToTime
(
text
.
time
)
}
</
div
>],
[
'
Application
Time'
,
'createTime'
,
(
text
:
any
)
=>
<
div
>
{
timestampToTime
(
text
.
time
)
}
</
div
>],
[
'status'
,
'decorationStatus'
,
...
...
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