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
c292964a
Commit
c292964a
authored
Nov 13, 2020
by
Sixiang_Zzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
装修申请和住户卡测试问题修复
parent
160cecc8
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
188 additions
and
194 deletions
+188
-194
CommunityService.ts
src/models/CommunityManagement/CommunityService.ts
+1
-0
CardDetail.tsx
src/pages/CommercialService/CardDetail.tsx
+153
-159
Renovation.tsx
src/pages/CommercialService/Renovation.tsx
+11
-10
RenovationDetail.tsx
src/pages/CommercialService/RenovationDetail.tsx
+22
-24
login2.tsx
src/pages/user/login/login2.tsx
+1
-1
No files found.
src/models/CommunityManagement/CommunityService.ts
View file @
c292964a
...
@@ -92,6 +92,7 @@ export default {
...
@@ -92,6 +92,7 @@ export default {
}
}
break
;
break
;
case
33
:
case
33
:
case
34
:
case
22
:
case
22
:
{
{
message
.
success
(
'Success Operation!'
,
3
);
message
.
success
(
'Success Operation!'
,
3
);
...
...
src/pages/CommercialService/CardDetail.tsx
View file @
c292964a
This diff is collapsed.
Click to expand it.
src/pages/CommercialService/Renovation.tsx
View file @
c292964a
...
@@ -22,32 +22,35 @@ const Renovation = (props: any) => {
...
@@ -22,32 +22,35 @@ const Renovation = (props: any) => {
[
2
,
'Rejected'
],
[
2
,
'Rejected'
],
];
];
const
{
dispatch
,
Data8
,
location
}
=
props
;
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
[
readyData
,
setReadyData
]
=
useState
(
null
);
const
[
readyData
,
setReadyData
]
=
useState
(
null
);
console
.
log
(
Data8
);
const
columns
=
objectColumns
([
const
columns
=
objectColumns
([
[
'Community'
,
'community
_n
ame'
],
[
'Community'
,
'community
N
ame'
],
[
'Applicant'
,
'applyfor
_n
ame'
],
[
'Applicant'
,
'applyfor
N
ame'
],
[
[
'Unit'
,
'Unit'
,
null
,
null
,
(
text
:
any
,
record
:
any
)
=>
(
(
text
:
any
,
record
:
any
)
=>
(
<
div
>
<
div
>
{
record
.
community
_build_decorate
}
#
{
record
.
community_floor_d
ecorate
}
-
{
record
.
community
BuildDecorate
}
#
{
record
.
communityFloorD
ecorate
}
-
{
record
.
community
_room_d
ecoate
}
{
record
.
community
RoomD
ecoate
}
</
div
>
</
div
>
),
),
],
],
[
'Content'
,
'decoration
_c
ontent'
,
(
text
:
any
)
=>
<
div
>
{
stringTab
(
text
)
}
</
div
>],
[
'Content'
,
'decoration
C
ontent'
,
(
text
:
any
)
=>
<
div
>
{
stringTab
(
text
)
}
</
div
>],
[
'Request Time'
,
'create
_t
ime'
,
(
text
:
any
)
=>
<
div
>
{
timestampToTime
(
text
.
time
)
}
</
div
>],
[
'Request Time'
,
'create
T
ime'
,
(
text
:
any
)
=>
<
div
>
{
timestampToTime
(
text
.
time
)
}
</
div
>],
[
[
'status'
,
'status'
,
'decoration
_s
tatus'
,
'decoration
S
tatus'
,
(
text
:
any
)
=>
<
div
>
{
decoration_status
[
parseInt
(
text
)][
1
]
}
</
div
>,
(
text
:
any
)
=>
<
div
>
{
decoration_status
[
parseInt
(
text
)][
1
]
}
</
div
>,
],
],
[
[
'Actions'
,
'Actions'
,
'decoration
_s
tatus'
,
'decoration
S
tatus'
,
(
text
:
any
,
record
:
any
)
=>
(
(
text
:
any
,
record
:
any
)
=>
(
<
Space
size=
"middle"
>
<
Space
size=
"middle"
>
{
' '
}
{
' '
}
...
@@ -56,8 +59,6 @@ const Renovation = (props: any) => {
...
@@ -56,8 +59,6 @@ const Renovation = (props: any) => {
),
),
],
],
]);
]);
const
{
dispatch
,
Data8
,
location
}
=
props
;
useEffect
(()
=>
{
useEffect
(()
=>
{
pageNum
=
1
;
pageNum
=
1
;
//分页设置
//分页设置
...
...
src/pages/CommercialService/RenovationDetail.tsx
View file @
c292964a
...
@@ -51,9 +51,7 @@ const RenovationDetail = (props: any) => {
...
@@ -51,9 +51,7 @@ const RenovationDetail = (props: any) => {
};
};
RA
(
33
,
tmp
,
module
,
dispatch
);
RA
(
33
,
tmp
,
module
,
dispatch
);
// message.success('Success Operation!');
setLoading
(
true
);
// history.push('/CommercialService/RenovationApplication');
// history.go(-1);
};
};
return
(
return
(
...
@@ -63,45 +61,45 @@ const RenovationDetail = (props: any) => {
...
@@ -63,45 +61,45 @@ const RenovationDetail = (props: any) => {
<>
<>
<
TitleBack
<
TitleBack
sublist=
{
[
sublist=
{
[
'Status : '
+
decoration_status
[
DataSave
.
decoration
_s
tatus
][
1
],
'Status : '
+
decoration_status
[
DataSave
.
decoration
S
tatus
][
1
],
'Time : '
+
timestampToTime
(
DataSave
.
create
_t
ime
.
time
),
'Time : '
+
timestampToTime
(
DataSave
.
create
T
ime
.
time
),
]
}
]
}
title=
{
DataSave
.
decoration
_s
tatus
===
0
?
'Renovation Reply'
:
'Renovation Detail'
}
title=
{
DataSave
.
decoration
S
tatus
===
0
?
'Renovation Reply'
:
'Renovation Detail'
}
></
TitleBack
>
></
TitleBack
>
<
Row
gutter=
{
8
}
>
<
Row
gutter=
{
8
}
>
<
Col
>
Community:
</
Col
>
<
Col
>
Community:
</
Col
>
<
Col
span=
{
3
}
>
{
DataSave
.
community
_n
ame
}
</
Col
>
<
Col
span=
{
3
}
>
{
DataSave
.
community
N
ame
}
</
Col
>
<
Col
>
Unit:
</
Col
>
<
Col
>
Unit:
</
Col
>
<
Col
>
<
Col
>
{
DataSave
.
community
_build_decorate
}
#
{
DataSave
.
community_floor_d
ecorate
}
-
{
DataSave
.
community
BuildDecorate
}
#
{
DataSave
.
communityFloorD
ecorate
}
-
{
DataSave
.
community
_room_d
ecoate
}
{
DataSave
.
community
RoomD
ecoate
}
</
Col
>
</
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Col
>
Address:
</
Col
>
<
Col
>
Address:
</
Col
>
<
Col
>
{
DataSave
.
owner
Address
}
</
Col
>
<
Col
>
{
DataSave
.
tosCommunityModel
.
residential
Address
}
</
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Col
>
Owner Name:
</
Col
>
<
Col
>
Owner Name:
</
Col
>
<
Col
span=
{
3
}
>
{
DataSave
.
applyfor
_n
ame
}
</
Col
>
<
Col
span=
{
3
}
>
{
DataSave
.
applyfor
N
ame
}
</
Col
>
<
Col
>
Phone:
</
Col
>
<
Col
>
Phone:
</
Col
>
<
Col
>
{
DataSave
.
contact
_p
hone
}
</
Col
>
<
Col
>
{
DataSave
.
contact
P
hone
}
</
Col
>
</
Row
>
</
Row
>
<
Line
></
Line
>
<
Line
></
Line
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Col
span=
{
3
}
>
Contract Name:
</
Col
>
<
Col
span=
{
3
}
>
Contract Name:
</
Col
>
<
Col
span=
{
3
}
>
{
DataSave
.
contact
_n
ame
}
</
Col
>
<
Col
span=
{
3
}
>
{
DataSave
.
contact
N
ame
}
</
Col
>
<
Col
span=
{
3
}
>
Phone:
</
Col
>
<
Col
span=
{
3
}
>
Phone:
</
Col
>
<
Col
>
{
DataSave
.
contact
_p
hone
}
</
Col
>
<
Col
>
{
DataSave
.
contact
P
hone
}
</
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Col
span=
{
3
}
>
Time:
</
Col
>
<
Col
span=
{
3
}
>
Time:
</
Col
>
<
Col
span=
{
3
}
>
{
timestampToTime
(
DataSave
.
decorationBegin
_time
.
t
ime
)
}
</
Col
>
<
Col
span=
{
3
}
>
{
timestampToTime
(
DataSave
.
decorationBegin
T
ime
)
}
</
Col
>
<
Col
>
{
timestampToTime
(
DataSave
.
decorationEnd
_time
.
t
ime
)
}
</
Col
>
<
Col
>
{
timestampToTime
(
DataSave
.
decorationEnd
T
ime
)
}
</
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Col
span=
{
3
}
>
Reason:
</
Col
>
<
Col
span=
{
3
}
>
Reason:
</
Col
>
...
@@ -109,14 +107,14 @@ const RenovationDetail = (props: any) => {
...
@@ -109,14 +107,14 @@ const RenovationDetail = (props: any) => {
<
TextArea
<
TextArea
autoSize
autoSize
disabled
disabled
value=
{
DataSave
.
decoration
_c
ontent
}
value=
{
DataSave
.
decoration
C
ontent
}
style=
{
{
width
:
300
,
minHeight
:
100
,
padding
:
8
,
resize
:
'none'
}
}
style=
{
{
width
:
300
,
minHeight
:
100
,
padding
:
8
,
resize
:
'none'
}
}
></
TextArea
>
></
TextArea
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
<
Line
></
Line
>
<
Line
></
Line
>
{
DataSave
.
decoration
_status
===
0
?
(
{
DataSave
.
decoration
Status
===
'0'
?
(
<>
<>
<
Form
ref=
{
formRef
}
name=
"basic"
onFinish=
{
onFinish
}
>
<
Form
ref=
{
formRef
}
name=
"basic"
onFinish=
{
onFinish
}
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
...
@@ -155,17 +153,17 @@ const RenovationDetail = (props: any) => {
...
@@ -155,17 +153,17 @@ const RenovationDetail = (props: any) => {
<>
<>
<
Row
>
<
Row
>
<
Col
span=
{
3
}
>
replier:
</
Col
>
<
Col
span=
{
3
}
>
replier:
</
Col
>
<
Col
span=
{
3
}
>
{
DataSave
.
reply
_n
ame
}
</
Col
>
<
Col
span=
{
3
}
>
{
DataSave
.
reply
N
ame
}
</
Col
>
<
Col
span=
{
3
}
>
Phone:
</
Col
>
<
Col
span=
{
3
}
>
Phone:
</
Col
>
<
Col
>
{
DataSave
.
reply
_p
hone
}
</
Col
>
<
Col
>
{
DataSave
.
reply
P
hone
}
</
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Col
span=
{
3
}
>
Approval For Application:
</
Col
>
<
Col
span=
{
3
}
>
Approval For Application:
</
Col
>
<
Col
>
<
Col
>
<
Radio
.
Group
value=
{
DataSave
.
decoration
_s
tatus
}
>
<
Radio
.
Group
value=
{
DataSave
.
decoration
S
tatus
}
>
<
Radio
.
Button
value=
{
1
}
>
Agree
</
Radio
.
Button
>
{
' '
}
<
Radio
.
Button
value=
{
'1'
}
>
Agree
</
Radio
.
Button
>
{
' '
}
<
Radio
.
Button
style=
{
{
marginLeft
:
10
}
}
value=
{
2
}
>
<
Radio
.
Button
style=
{
{
marginLeft
:
10
}
}
value=
{
'2'
}
>
Reject
Reject
</
Radio
.
Button
>
</
Radio
.
Button
>
</
Radio
.
Group
>
</
Radio
.
Group
>
...
@@ -178,7 +176,7 @@ const RenovationDetail = (props: any) => {
...
@@ -178,7 +176,7 @@ const RenovationDetail = (props: any) => {
<
TextArea
<
TextArea
style=
{
{
width
:
300
,
minHeight
:
100
,
padding
:
8
,
resize
:
'none'
}
}
style=
{
{
width
:
300
,
minHeight
:
100
,
padding
:
8
,
resize
:
'none'
}
}
disabled
disabled
value=
{
DataSave
.
reply
_v
iew
}
value=
{
DataSave
.
reply
V
iew
}
></
TextArea
>
></
TextArea
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
...
src/pages/user/login/login2.tsx
View file @
c292964a
...
@@ -3,7 +3,7 @@ import { message, Form, Input, Button } from 'antd';
...
@@ -3,7 +3,7 @@ import { message, Form, Input, Button } from 'antd';
import
styles
from
'./style.less'
;
import
styles
from
'./style.less'
;
interface
Password
{
interface
Password
{
password
:
st
ir
ng
;
password
:
st
ri
ng
;
}
}
const
Login2
=
(
props
:
any
)
=>
{
const
Login2
=
(
props
:
any
)
=>
{
...
...
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