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
c4eada00
Commit
c4eada00
authored
Oct 14, 2020
by
MrShi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 功能完善
parent
4b7d3110
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
113 additions
and
112 deletions
+113
-112
Detail.tsx
src/pages/CommercialService/Detail.tsx
+31
-31
PropertyServices.tsx
src/pages/CommercialService/PropertyServices.tsx
+19
-19
Renovation.tsx
src/pages/CommercialService/Renovation.tsx
+14
-14
RenovationDetail.tsx
src/pages/CommercialService/RenovationDetail.tsx
+38
-38
Contract.tsx
src/pages/ContractManagement/Contract.tsx
+11
-10
No files found.
src/pages/CommercialService/Detail.tsx
View file @
c4eada00
...
@@ -14,7 +14,7 @@ import { getCookie } from '@/utils/method';
...
@@ -14,7 +14,7 @@ import { getCookie } from '@/utils/method';
import
{
timestampToTime
}
from
'@/utils/time'
;
import
{
timestampToTime
}
from
'@/utils/time'
;
import
{
validateMessages
}
from
'@/utils/params'
;
import
{
validateMessages
}
from
'@/utils/params'
;
const
treatStatus
=
[
"
Untreated
"
,
"Processed"
]
const
treatStatus
=
[
"
Pending
"
,
"Processed"
]
const
Detail
=
(
props
:
any
)
=>
{
const
Detail
=
(
props
:
any
)
=>
{
...
@@ -85,7 +85,7 @@ const Detail = (props:any) => {
...
@@ -85,7 +85,7 @@ const Detail = (props:any) => {
};
};
const
titleProps
=
{
const
titleProps
=
{
sublist
:
CurDataDetail
!=
null
?[
'
Handle
Status : '
+
treatStatus
[
CurDataDetail
.
status
],
'Create Time : '
+
CurDataDetail
.
time
]:
null
,
sublist
:
CurDataDetail
!=
null
?[
'Status : '
+
treatStatus
[
CurDataDetail
.
status
],
'Create Time : '
+
CurDataDetail
.
time
]:
null
,
title
:
headTitle
title
:
headTitle
}
}
...
@@ -107,7 +107,7 @@ const Detail = (props:any) => {
...
@@ -107,7 +107,7 @@ const Detail = (props:any) => {
<
Descriptions
.
Item
>
{
CurDataDetail
.
email
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
>
{
CurDataDetail
.
email
}
</
Descriptions
.
Item
>
</
Descriptions
>
</
Descriptions
>
<
Row
gutter=
{
16
}
>
<
Row
gutter=
{
16
}
>
<
Col
span=
{
3
}
>
De
tails
:
</
Col
>
<
Col
span=
{
3
}
>
De
scription
:
</
Col
>
<
Col
><
TextArea
style=
{
{
width
:
394
,
height
:
80
,
padding
:
8
}
}
autoSize=
{
false
}
disabled
value=
{
CurDataDetail
.
content
}
/></
Col
>
<
Col
><
TextArea
style=
{
{
width
:
394
,
height
:
80
,
padding
:
8
}
}
autoSize=
{
false
}
disabled
value=
{
CurDataDetail
.
content
}
/></
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
16
}
style=
{
{
marginTop
:
20
}
}
>
<
Row
gutter=
{
16
}
style=
{
{
marginTop
:
20
}
}
>
...
@@ -140,7 +140,7 @@ const Detail = (props:any) => {
...
@@ -140,7 +140,7 @@ const Detail = (props:any) => {
</
Row
>
</
Row
>
:
null
}
:
null
}
<
Row
gutter=
{
16
}
style=
{
{
marginTop
:
20
}
}
>
<
Row
gutter=
{
16
}
style=
{
{
marginTop
:
20
}
}
>
<
Col
span=
{
3
}
>
Resolved Complaint
:
</
Col
>
<
Col
span=
{
3
}
>
Solution
&
Conclusion
:
</
Col
>
<
Col
><
Form
.
Item
name=
"replyContent"
rules=
{
[{
required
:
true
,
max
:
300
}]
}
><
TextArea
style=
{
{
padding
:
8
,
width
:
394
,
height
:
80
}
}
autoSize=
{
false
}
disabled=
{
!
editorFlag
}
/></
Form
.
Item
></
Col
>
<
Col
><
Form
.
Item
name=
"replyContent"
rules=
{
[{
required
:
true
,
max
:
300
}]
}
><
TextArea
style=
{
{
padding
:
8
,
width
:
394
,
height
:
80
}
}
autoSize=
{
false
}
disabled=
{
!
editorFlag
}
/></
Form
.
Item
></
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
16
}
>
<
Row
gutter=
{
16
}
>
...
@@ -170,7 +170,7 @@ const Detail = (props:any) => {
...
@@ -170,7 +170,7 @@ const Detail = (props:any) => {
</
Row
>
</
Row
>
{
{
editorFlag
?
editorFlag
?
<><
Line
/><
Row
><
Col
span=
{
3
}
></
Col
><
Col
><
Form
.
Item
><
Button
type=
"primary"
htmlType=
"submit"
>
sum
mit
</
Button
></
Form
.
Item
></
Col
></
Row
></>:
null
<><
Line
/><
Row
><
Col
span=
{
3
}
></
Col
><
Col
><
Form
.
Item
><
Button
type=
"primary"
htmlType=
"submit"
>
Sub
mit
</
Button
></
Form
.
Item
></
Col
></
Row
></>:
null
}
}
</
Form
>
</
Form
>
</
div
>
</
div
>
...
...
src/pages/CommercialService/PropertyServices.tsx
View file @
c4eada00
...
@@ -11,7 +11,7 @@ import { RA, urlEncode, filterObj, filterObjbyTg } from '@/utils/method';
...
@@ -11,7 +11,7 @@ import { RA, urlEncode, filterObj, filterObjbyTg } from '@/utils/method';
const
pathname
=
[
"CommunityMaintenance"
,
"ShelfLifeService"
,
"OwnerComplaints"
,
"ReportOnline"
,
"ProblemFeedback"
]
const
pathname
=
[
"CommunityMaintenance"
,
"ShelfLifeService"
,
"OwnerComplaints"
,
"ReportOnline"
,
"ProblemFeedback"
]
const
handle_Status
=
[[
0
,
"
Untreated
"
],
[
1
,
"Processed"
]]
//["未处理","处理","拒绝"] , [2,"Rejected"]
const
handle_Status
=
[[
0
,
"
Pending
"
],
[
1
,
"Processed"
]]
//["未处理","处理","拒绝"] , [2,"Rejected"]
const
goToName
=
[
"Reply"
,
"Detail"
];
const
goToName
=
[
"Reply"
,
"Detail"
];
const
module
=
"CommunityService"
const
module
=
"CommunityService"
...
...
src/pages/CommercialService/Renovation.tsx
View file @
c4eada00
...
@@ -17,7 +17,7 @@ const Renovation = (props:any) => {
...
@@ -17,7 +17,7 @@ const Renovation = (props:any) => {
const
columns
=
objectColumns
([
const
columns
=
objectColumns
([
[
"Community"
,
"community_name"
],
[
"Community"
,
"community_name"
],
[
"Appl
y Name"
,
"applyfor_name"
],
[
"Appl
icant"
,
"applyfor_name"
],
[
"Unit"
,
null
,
(
text
:
any
,
record
:
any
)
=>
(<
div
>
{
record
.
community_build_decorate
}
#
{
record
.
community_floor_decorate
}
-
{
record
.
community_room_decoate
}
</
div
>)],
[
"Unit"
,
null
,
(
text
:
any
,
record
:
any
)
=>
(<
div
>
{
record
.
community_build_decorate
}
#
{
record
.
community_floor_decorate
}
-
{
record
.
community_room_decoate
}
</
div
>)],
[
"Content"
,
"decoration_content"
,
(
text
:
any
)
=>
(<
div
>
{
stringTab
(
text
)
}
</
div
>)],
[
"Content"
,
"decoration_content"
,
(
text
:
any
)
=>
(<
div
>
{
stringTab
(
text
)
}
</
div
>)],
[
"Request Time"
,
"create_time"
,(
text
:
any
)
=>
(<
div
>
{
timestampToTime
(
text
.
time
)
}
</
div
>)],
[
"Request Time"
,
"create_time"
,(
text
:
any
)
=>
(<
div
>
{
timestampToTime
(
text
.
time
)
}
</
div
>)],
...
...
src/pages/CommercialService/RenovationDetail.tsx
View file @
c4eada00
...
@@ -110,8 +110,8 @@ const RenovationDetail = (props:any) => {
...
@@ -110,8 +110,8 @@ const RenovationDetail = (props:any) => {
<
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
}
}
>
<
Col
span=
{
3
}
>
Examine:
</
Col
>
<
Col
span=
{
3
}
>
Approval For Application:
</
Col
>
<
Col
><
Form
.
Item
name=
"decorationStatus"
><
Radio
.
Group
><
Radio
.
Button
value=
{
"1"
}
>
Agree
</
Radio
.
Button
>
<
Radio
.
Button
style=
{
{
marginLeft
:
10
}
}
value=
{
"2"
}
>
Re
fuse
</
Radio
.
Button
></
Radio
.
Group
></
Form
.
Item
></
Col
>
<
Col
><
Form
.
Item
name=
"decorationStatus"
><
Radio
.
Group
><
Radio
.
Button
value=
{
"1"
}
>
Agree
</
Radio
.
Button
>
<
Radio
.
Button
style=
{
{
marginLeft
:
10
}
}
value=
{
"2"
}
>
Re
ject
</
Radio
.
Button
></
Radio
.
Group
></
Form
.
Item
></
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
<
Row
gutter=
{
8
}
style=
{
{
marginTop
:
16
}
}
>
...
...
src/pages/ContractManagement/Contract.tsx
View file @
c4eada00
...
@@ -63,8 +63,9 @@ const Contract = (props:any) => {
...
@@ -63,8 +63,9 @@ const Contract = (props:any) => {
<
div
className=
{
styles
.
base
}
>
<
div
className=
{
styles
.
base
}
>
{
/* 头部组件 */
}
{
/* 头部组件 */
}
<
div
className=
{
styles
.
box
}
>
<
div
className=
{
styles
.
box
}
>
<
input
className=
{
styles
.
item1
}
placeholder=
{
"nameofowner"
}
/>
<
input
className=
{
styles
.
item1
}
placeholder=
{
"Project Name"
}
/>
<
input
className=
{
styles
.
item2
}
placeholder=
{
"inputProject"
}
/>
<
input
className=
{
styles
.
item2
}
placeholder=
{
"Service Type"
}
/>
<
input
className=
{
styles
.
item2
}
placeholder=
{
"Order Status"
}
/>
<
button
className=
{
styles
.
item3
}
>
Search
</
button
>
<
button
className=
{
styles
.
item3
}
>
Search
</
button
>
</
div
>
</
div
>
...
...
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