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
3728985e
Commit
3728985e
authored
Nov 26, 2020
by
Sixiang_Zzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
翻译单词修改
parent
f27c7520
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
6 deletions
+19
-6
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/TableShow/TableShow.tsx
View file @
3728985e
...
@@ -35,6 +35,7 @@ const TableShow = (props: any) => {
...
@@ -35,6 +35,7 @@ const TableShow = (props: any) => {
const
user_type_status
=
[
'Normal'
,
'Normal'
,
'Cancellation'
];
const
user_type_status
=
[
'Normal'
,
'Normal'
,
'Cancellation'
];
const
user_code
=
[
'Activation Code Is Inactive'
,
'Activation Code Has Been Used'
];
const
user_code
=
[
'Activation Code Is Inactive'
,
'Activation Code Has Been Used'
];
const
key
=
objectColumns
([
const
key
=
objectColumns
([
[
'User Name'
,
'owner_family_name'
],
[
'User Name'
,
'owner_family_name'
],
[
'Contact Details'
,
'owner_family_phone'
],
[
'Contact Details'
,
'owner_family_phone'
],
...
...
src/pages/CommercialService/Card.tsx
View file @
3728985e
...
@@ -30,6 +30,13 @@ const Card = (props: any) => {
...
@@ -30,6 +30,13 @@ const Card = (props: any) => {
[
2
,
'Reject'
],
[
2
,
'Reject'
],
[
3
,
'Received'
],
[
3
,
'Received'
],
];
];
const
apply_relation
=
[
[
0
,
'Oneself'
],
[
1
,
'Family Members'
],
[
2
,
'Tenant'
],
];
const
columns
=
objectColumns
([
const
columns
=
objectColumns
([
[
'Community Name'
,
'community_name'
],
[
'Community Name'
,
'community_name'
],
[
[
...
@@ -41,16 +48,21 @@ const Card = (props: any) => {
...
@@ -41,16 +48,21 @@ const Card = (props: any) => {
</
Space
>
</
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
,
null
,
(
text
:
any
,
record
:
any
)
=>
(
(
text
:
any
,
record
:
any
)
=>
(
<
Space
size=
"middle"
>
{
timestampToTime
(
record
.
create_time
.
time
)
}
</
Space
>
<
Space
size=
"middle"
>
{
timestampToTime
(
record
.
create_time
.
time
)
}
</
Space
>
),
),
],
],
[
[
'
Apply
Status'
,
'Status'
,
'apply_status'
,
'apply_status'
,
(
text
:
any
,
record
:
any
)
=>
<
Space
size=
"middle"
>
{
apply_status
[
parseInt
(
text
)][
1
]
}
</
Space
>,
(
text
:
any
,
record
:
any
)
=>
<
Space
size=
"middle"
>
{
apply_status
[
parseInt
(
text
)][
1
]
}
</
Space
>,
],
],
...
...
src/pages/CommercialService/PropertyServices.tsx
View file @
3728985e
...
@@ -68,10 +68,10 @@ const PropertyServices = (props: any) => {
...
@@ -68,10 +68,10 @@ const PropertyServices = (props: any) => {
),
),
},
},
{
{
title
:
'
Handle
Status'
,
title
:
'Status'
,
dataIndex
:
'id'
,
dataIndex
:
'id'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
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 @
3728985e
...
@@ -41,7 +41,7 @@ const Renovation = (props: any) => {
...
@@ -41,7 +41,7 @@ const Renovation = (props: any) => {
),
),
],
],
[
'Content'
,
'decorationContent'
,
(
text
:
any
)
=>
<
div
>
{
stringTab
(
text
)
}
</
div
>],
[
'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'
,
'status'
,
'decorationStatus'
,
'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