Commit 3728985e authored by Sixiang_Zzb's avatar Sixiang_Zzb

翻译单词修改

parent f27c7520
...@@ -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'],
......
...@@ -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>,
],
[ [
'Apply Time', 'Application 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>,
], ],
......
...@@ -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>
), ),
}, },
{ {
......
...@@ -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',
......
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