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
60587c01
Commit
60587c01
authored
Jan 18, 2021
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设施修复
Signed-off-by:
cellee
<
893264950@qq.com
>
parent
bf34a6fb
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
19 deletions
+26
-19
TitleSearch.tsx
src/components/TitleSearch/TitleSearch.tsx
+1
-0
BugDetail.tsx
src/pages/AccountManagement/SystemFeedback/BugDetail.tsx
+7
-7
Facility.tsx
src/pages/CommunityManagement/FacilityBookings/Facility.tsx
+6
-8
FacilityBookings.tsx
...CommunityManagement/FacilityBookings/FacilityBookings.tsx
+8
-2
FacilityTow.tsx
...ages/CommunityManagement/FacilityBookings/FacilityTow.tsx
+4
-2
No files found.
src/components/TitleSearch/TitleSearch.tsx
View file @
60587c01
...
...
@@ -66,6 +66,7 @@ const TitleSearch = (props: any) => {
},
[
CommunityList
]);
const
onFinish
=
(
values
:
any
)
=>
{
// console.log(values);
if
(
datePicker
)
{
values
[
time
[
0
]]
=
datePicker
;
}
...
...
src/pages/AccountManagement/SystemFeedback/BugDetail.tsx
View file @
60587c01
...
...
@@ -34,29 +34,29 @@ const BugDetail = (props: any) => {
<
hr
></
hr
>
<
Descriptions
column=
{
{
xxl
:
1
,
xl
:
1
,
lg
:
1
,
md
:
1
,
sm
:
1
,
xs
:
1
}
}
>
<
Descriptions
.
Item
label=
"Mobile phone brands"
>
<
Descriptions
.
Item
label=
"Mobile phone brands"
style=
{
{
paddingBottom
:
16
}
}
>
{
DataSave
?
DataSave
.
phoneBrand
:
'-'
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Phone model"
>
<
Descriptions
.
Item
label=
"Phone model"
style=
{
{
paddingBottom
:
16
}
}
>
{
DataSave
?
DataSave
.
deviceModel
:
'-'
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"System version"
>
<
Descriptions
.
Item
label=
"System version"
style=
{
{
paddingBottom
:
16
}
}
>
{
DataSave
?
DataSave
.
osVersion
:
'-'
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Software version"
>
<
Descriptions
.
Item
label=
"Software version"
style=
{
{
paddingBottom
:
16
}
}
>
{
DataSave
?
DataSave
.
appVersion
:
'-'
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Feedback content"
>
<
Descriptions
.
Item
label=
"Feedback content"
style=
{
{
paddingBottom
:
16
}
}
>
{
DataSave
?
DataSave
.
description
:
'-'
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
className=
"diys"
label=
" "
>
<
Descriptions
.
Item
className=
"diys"
label=
" "
style=
{
{
paddingBottom
:
16
}
}
>
{
DataSave
?
DataSave
.
imageUrls
.
map
((
item
:
any
)
=>
{
return
<
Image
width=
{
120
}
src=
{
item
}
/>;
})
:
'-'
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"
Actions"
>
<
Descriptions
.
Item
label=
"
Submission time"
style=
{
{
paddingBottom
:
16
}
}
>
{
DataSave
?
moment
(
DataSave
.
updateTime
.
time
).
format
(
'YYYY-MM-DD hh'
)
+
':00'
+
...
...
src/pages/CommunityManagement/FacilityBookings/Facility.tsx
View file @
60587c01
...
...
@@ -45,7 +45,6 @@ const Facility = (props: any) => {
// 监听是否选择了小区
const
[
imgOpen
,
setImgOpen
]
=
useState
(
true
);
const
[
ctyName
,
setCtyName
]
=
useState
(
null
);
const
[
soltTime
,
setSoltTime
]
=
useState
([
''
,
''
]);
// 已选时间
const
[
Cycle
,
setCycle
]
=
useState
(
null
as
any
);
// Appointment Cycle下拉
...
...
@@ -74,7 +73,6 @@ const Facility = (props: any) => {
setCommunity
(
true
);
setCtyName
(
DataSave
.
communityName
);
setSoltTime
(
sourceData
.
reservationQuantumTime
);
// 设置时间
// 中断
// setPictrueExtend({tab:null,pic:null,pics:null})
// 设施图片默认值
...
...
@@ -98,9 +96,6 @@ const Facility = (props: any) => {
return
sam
;
});
console
.
log
(
sourceData
);
console
.
log
(
list
);
dispatch
({
type
:
module
+
'/genxin'
,
list
});
// 当是查看的时候禁止点击
...
...
@@ -198,7 +193,9 @@ const Facility = (props: any) => {
moment
(
values
.
Time
[
0
]).
format
(
'HH:mm'
),
moment
(
values
.
Time
[
1
]).
format
(
'HH:mm'
),
];
// 开放时间段
// values.categoriesOpenTime = `${soltTime[0]}-${soltTime[1]}`; // 预约时间段 二开需要
values
.
categoriesOpenTime
=
`
${
moment
(
values
.
Time
[
0
]).
format
(
'HH:mm'
)}
-
${
moment
(
values
.
Time
[
1
],
).
format
(
'HH:mm'
)}
`
;
// 预约时间段 二开需要
values
.
communityManagerFee
=
values
.
communityManagerFee
?
values
.
communityManagerFee
:
'0.00'
;
// 价格押金没有为0
values
.
communityMargin
=
values
.
communityMargin
?
values
.
communityMargin
:
'0.00'
;
// 价格押金没有为0
...
...
@@ -206,7 +203,7 @@ const Facility = (props: any) => {
delete
values
.
picList
;
delete
values
.
Time
;
//
RA(6, values);
RA
(
6
,
values
);
}
return
false
;
};
...
...
@@ -252,7 +249,7 @@ const Facility = (props: any) => {
}
else
if
(
value
!=
ctyName
)
{
// eliminate();
// 清空设施列表图
console
.
log
(
'不等于'
);
//
console.log('不等于');
setCtyName
(
value
);
// 给小区赋值
let
list
:
any
=
[];
dispatch
({
type
:
module
+
'/genxin'
,
list
});
...
...
@@ -260,6 +257,7 @@ const Facility = (props: any) => {
//去掉图片组
form
.
setFieldsValue
({
categoriesDetailsImageName
:
[],
communityName
:
value
,
// 给表单赋值
});
}
}
...
...
src/pages/CommunityManagement/FacilityBookings/FacilityBookings.tsx
View file @
60587c01
...
...
@@ -119,8 +119,6 @@ const FacilityBookings = (props: any) => {
values
.
type
=
index
;
console
.
log
(
values
);
if
(
index
==
2
)
{
values
.
communityName
=
values
.
community
;
// values.id = values.community;
...
...
@@ -203,6 +201,7 @@ const FacilityBookings = (props: any) => {
pageNum
:
curString
.
curPage
,
subscribeDate
:
curString
.
subscribeDate
,
status
:
curString
.
status
,
globalMark
:
'yes'
,
});
}
else
{
RA
(
8
,
{
...
...
@@ -215,6 +214,12 @@ const FacilityBookings = (props: any) => {
},
[
CommunityList
]);
const
CallBackTitleSearch
=
(
comment
:
any
)
=>
{
// 没有选小区就不让他提交
if
(
comment
.
communityName
&&
comment
.
communityName
.
length
==
0
)
{
message
.
info
(
'Please Select A Community !'
);
return
;
}
if
(
curString
.
tab
==
1
)
{
if
(
comment
.
communityName
!=
null
||
comment
.
key
!=
null
||
comment
.
status
!=
null
)
{
var
tmp
=
curString
;
...
...
@@ -234,6 +239,7 @@ const FacilityBookings = (props: any) => {
subscribeDate
:
tmp
.
subscribeDate
,
status
:
tmp
.
status
,
communityNameList
:
comment
.
communityName
,
globalMark
:
'no'
,
});
}
}
else
{
...
...
src/pages/CommunityManagement/FacilityBookings/FacilityTow.tsx
View file @
60587c01
...
...
@@ -174,10 +174,12 @@ const FacilityTow = (props: any) => {
moment
(
values
.
Time
[
0
]).
format
(
'HH:mm'
),
moment
(
values
.
Time
[
1
]).
format
(
'HH:mm'
),
];
// 开放时间段
// values.categoriesOpenTime = `${soltTime[0]}-${soltTime[1]}`; // 预约时间段 二开需要
values
.
categoriesOpenTime
=
`
${
moment
(
values
.
Time
[
0
]).
format
(
'HH:mm'
)}
-
${
moment
(
values
.
Time
[
1
],
).
format
(
'HH:mm'
)}
`
;
// 预约时间段 二开需要
values
.
communityManagerFee
=
values
.
communityManagerFee
?
values
.
communityManagerFee
:
'0.00'
;
// 价格押金没有为0
values
.
communityMargin
=
values
.
communityMargin
?
values
.
communityMargin
:
'0.00'
;
// 价格押金没有为0
values
.
communityName
=
DataSave
.
community
;
values
.
periodType
=
Cycle
;
values
.
id
=
Facilityid
;
...
...
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