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
00b9f6eb
Commit
00b9f6eb
authored
Dec 28, 2020
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: cellee <893264950@qq.com>
parent
1fdc4efe
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
10 deletions
+25
-10
Details.tsx
src/pages/CommunityManagement/CellList/Details.tsx
+1
-1
BookingDetail.tsx
...es/CommunityManagement/FacilityBookings/BookingDetail.tsx
+4
-3
Facility.tsx
src/pages/CommunityManagement/FacilityBookings/Facility.tsx
+2
-2
FacilityBookings.tsx
...CommunityManagement/FacilityBookings/FacilityBookings.tsx
+18
-4
No files found.
src/pages/CommunityManagement/CellList/Details.tsx
View file @
00b9f6eb
...
...
@@ -112,7 +112,7 @@ const Detail = (props: any) => {
<
EyeOutlined
/>
Community Details
<
div
className=
"back"
>
{
user
&&
user
.
currentUser
.
permission
.
filter
((
item
:
any
)
=>
(
item
=
47
)
)
?
(
{
user
&&
user
.
currentUser
.
permission
.
includes
(
'47'
)
?
(
<
Button
type=
"primary"
danger
...
...
src/pages/CommunityManagement/FacilityBookings/BookingDetail.tsx
View file @
00b9f6eb
...
...
@@ -81,7 +81,7 @@ const BookingDetail = (props: any) => {
backFeeStatus
:
curbackFee
==
DataSaveDetail
.
marginFee
?
'0'
:
'1'
,
marginFee
:
DataSaveDetail
.
marginFee
.
toString
(),
};
console
.
log
(
RAVAL
);
RA
(
3
,
RAVAL
);
}
};
...
...
@@ -166,11 +166,12 @@ const BookingDetail = (props: any) => {
<
hr
/>
{
/* 已交押金且未产生退费 */
}
{
/* 已交押金且未产生退费
且不是免费的
*/
}
{
DataSave
&&
DataSaveDetail
&&
DataSave
.
managerFeeStatus
==
1
&&
DataSaveDetail
.
backMarginFee
==
0
?
(
DataSaveDetail
.
backMarginFee
==
0
&&
DataSaveDetail
.
managerFee
>
0
?
(
<>
<
Form
ref=
{
formRef
}
...
...
src/pages/CommunityManagement/FacilityBookings/Facility.tsx
View file @
00b9f6eb
...
...
@@ -471,11 +471,11 @@ const Facility = (props: any) => {
<
Input
.
Group
>
<
Form
.
Item
label=
"Appointment Cycle"
rules=
{
NewFaci
[
8
]
}
>
<
Select
placeholder=
"
Period
"
placeholder=
"
Cycle
"
allowClear
style=
{
{
width
:
120
}
}
disabled=
{
facilityDetail
}
value=
{
Cycle
?
Cycle
:
''
}
value=
{
Cycle
}
onChange=
{
handleChange
}
>
<
Option
value=
"1"
>
Week
</
Option
>
...
...
src/pages/CommunityManagement/FacilityBookings/FacilityBookings.tsx
View file @
00b9f6eb
...
...
@@ -26,7 +26,18 @@ import moment from 'moment';
const
FacilityBookings
=
(
props
:
any
)
=>
{
const
{
formatMessage
}
=
useIntl
();
const
{
dispatch
,
location
,
Data
,
Data2
,
token
,
DataSave
,
curString
,
Result
,
loading
}
=
props
;
const
{
dispatch
,
location
,
Data
,
Data2
,
token
,
DataSave
,
curString
,
Result
,
loading
,
CommunityList
,
}
=
props
;
// console.log(Data2);
...
...
@@ -136,7 +147,7 @@ const FacilityBookings = (props: any) => {
setColumns2
(
objectColumns
(
key2
)
as
any
);
if
(
curString
.
tab
==
1
)
{
RA
(
9
,
{
communityNameList
:
JSON
.
parse
(
localStorage
.
getItem
(
'CommunityList'
)
as
any
)
,
communityNameList
:
CommunityList
,
userToken
:
token
,
pageNum
:
curString
.
curPage
,
subscribeDate
:
curString
.
subscribeDate
,
...
...
@@ -147,7 +158,7 @@ const FacilityBookings = (props: any) => {
RA
(
8
,
{
userToken
:
token
,
pageNum
:
curString
.
curPage2
,
communityNameList
:
JSON
.
parse
(
localStorage
.
getItem
(
'CommunityList'
)
as
any
)
,
communityNameList
:
CommunityList
,
});
}
},
[]);
...
...
@@ -263,7 +274,7 @@ const FacilityBookings = (props: any) => {
]
}
time=
{
[
'key'
,
'Booking time '
]
}
community=
{
'communityName'
}
checklist=
{
curString
.
communityNameList
!=
null
?
curString
.
communityNameList
:
null
}
checklist=
{
CommunityList
}
onSubmit=
{
CallBackTitleSearch
}
/>
</>
...
...
@@ -273,6 +284,7 @@ const FacilityBookings = (props: any) => {
listkey=
{
[
'facilityName'
]
}
list=
{
[
'Facility name'
]
}
community=
{
'communityName'
}
checklist=
{
CommunityList
}
onSubmit=
{
CallBackTitleSearch
}
/>
</>
...
...
@@ -400,6 +412,7 @@ function mapStateToProps(state: any) {
?
true
:
state
.
loading
.
models
.
FacilityBookings
;
const
{
CommunityList
}
=
state
.
Init
;
// 小区列表
return
{
Data
,
Data2
,
...
...
@@ -408,6 +421,7 @@ function mapStateToProps(state: any) {
Result
,
token
,
loading
,
CommunityList
,
};
}
export
default
connect
(
mapStateToProps
)(
FacilityBookings
);
...
...
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