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
807940a0
Commit
807940a0
authored
Nov 19, 2020
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大部分bug处理
Signed-off-by:
cellee
<
893264950@qq.com
>
parent
b198719b
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
50 additions
and
11 deletions
+50
-11
react.babelrc
react.babelrc
+3
-0
index.jsx
src/components/SelectOptions/index.jsx
+2
-2
TitleSearch.tsx
src/components/TitleSearch/TitleSearch.tsx
+1
-1
Account.tsx
src/pages/AccountManagement/account/Account.tsx
+2
-2
Adds.tsx
src/pages/CommunityManagement/CellList/Adds.tsx
+3
-3
CellList.tsx
src/pages/CommunityManagement/CellList/CellList.tsx
+2
-2
BookingDetail.tsx
...es/CommunityManagement/FacilityBookings/BookingDetail.tsx
+1
-1
Facility.tsx
src/pages/CommunityManagement/FacilityBookings/Facility.tsx
+3
-0
VisitorRecord.tsx
...pages/CommunityManagement/VisitorRecord/VisitorRecord.tsx
+15
-0
VisitorRecord.tsx
...pages/CommunityManagement/visitorRecord/VisitorRecord.tsx
+15
-0
react.babelrc
src/react.babelrc
+3
-0
No files found.
react.babelrc
0 → 100644
View file @
807940a0
{
"compact": false
}
\ No newline at end of file
src/components/SelectOptions/index.jsx
View file @
807940a0
...
...
@@ -345,7 +345,7 @@ class SelectOptions extends React.PureComponent {
if
(
this
.
state
.
menuList
.
indexOf
(
item
)
>
-
1
)
{
return
(
<
a
key=
{
i
tem
}
key=
{
i
ndex
}
style=
{
{
marginLeft
:
10
,
userSelect
:
'none'
}
}
onClick=
{
this
.
itemSelect
.
bind
(
this
,
item
)
}
>
...
...
@@ -354,7 +354,7 @@ class SelectOptions extends React.PureComponent {
);
}
else
{
return
(
<
a
key=
{
i
tem
}
style=
{
{
marginLeft
:
10
,
userSelect
:
'none'
}
}
disabled
>
<
a
key=
{
i
ndex
}
style=
{
{
marginLeft
:
10
,
userSelect
:
'none'
}
}
disabled
>
{
item
}
</
a
>
);
...
...
src/components/TitleSearch/TitleSearch.tsx
View file @
807940a0
...
...
@@ -148,7 +148,7 @@ const TitleSearch = (props: any) => {
<
Select
style=
{
{
width
:
160
}
}
placeholder=
{
item
.
name
[
1
]
}
allowClear=
{
true
}
>
{
item
.
data
.
map
((
word
)
=>
{
return
(
<
Option
key=
{
word
}
value=
{
word
[
0
]
}
>
<
Option
key=
{
index
}
value=
{
word
[
0
]
}
>
{
word
[
1
]
}
</
Option
>
);
...
...
src/pages/AccountManagement/account/Account.tsx
View file @
807940a0
...
...
@@ -204,9 +204,9 @@ const Account = (props: any) => {
<
Form
.
Item
name=
"tosUserName"
>
<
Input
allowClear
placeholder=
"Account Name"
/>
</
Form
.
Item
>
<
Form
.
Item
name=
"creatorName"
>
{
/*
<Form.Item name="creatorName">
<Input allowClear placeholder="Account Creator" />
</
Form
.
Item
>
</Form.Item>
*/
}
<
Form
.
Item
>
<
Button
type=
"primary"
htmlType=
"submit"
icon=
{
<
SearchOutlined
/>
}
loading=
{
loading
}
>
Search
{
' '
}
...
...
src/pages/CommunityManagement/CellList/Adds.tsx
View file @
807940a0
...
...
@@ -206,7 +206,7 @@ const Adds = (props: any) => {
obj
.
propertyFee
=
PropertyFee
;
// 小区信息;
let
{
residentialZipCode
,
residentialAddress
,
residentialName
}
=
values
.
des
;
console
.
log
(
values
);
obj
.
residentialZipCode
=
`SINGAPORE
${
residentialZipCode
}
`
;
obj
.
residentialAddress
=
residentialAddress
;
obj
.
residentialName
=
residentialName
;
...
...
@@ -253,7 +253,7 @@ const Adds = (props: any) => {
}
console
.
log
(
obj
);
// 上传
//
RA(29, obj, 'CellList', dispatch);
RA
(
29
,
obj
,
'CellList'
,
dispatch
);
}
// 返回
...
...
@@ -352,7 +352,7 @@ const Adds = (props: any) => {
onKeyUp=
{
keyup_communityManagerFee
}
/>
</
Form
.
Item
>
<
Button
type=
"text"
>
—
</
Button
>
<
Button
type=
"text"
>
-
</
Button
>
<
Form
.
Item
name=
{
[
'info'
,
'email'
]
}
noStyle
rules=
{
village
[
5
]
as
any
}
>
<
Input
style=
{
{
marginLeft
:
'10px'
,
width
:
'180px'
}
}
...
...
src/pages/CommunityManagement/CellList/CellList.tsx
View file @
807940a0
...
...
@@ -148,8 +148,8 @@ const CellLists = (props: any) => {
</
Button
>,
]
}
options=
{
{
density
:
tru
e
,
fullScreen
:
tru
e
,
density
:
fals
e
,
fullScreen
:
fals
e
,
reload
:
()
=>
{
resetHandler
();
},
...
...
src/pages/CommunityManagement/FacilityBookings/BookingDetail.tsx
View file @
807940a0
...
...
@@ -164,7 +164,7 @@ const BookingDetail = (props: any) => {
<
Descriptions
.
Item
label=
"User Name"
>
{
DataSave
.
accountName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Contact Number"
>
{
DataSave
.
accountPhone
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Unit"
>
{
DataSave
.
buildNumber
}
#
{
DataSave
.
floorNumber
}
-
{
DataSave
.
roomNumber
}
{
DataSave
.
buildNumber
}
#
{
DataSave
.
floorNumber
}
-
{
DataSave
.
roomNumber
}
</
Descriptions
.
Item
>
</
Descriptions
>
...
...
src/pages/CommunityManagement/FacilityBookings/Facility.tsx
View file @
807940a0
...
...
@@ -406,6 +406,7 @@ const Facility = (props: any) => {
suffix=
"Day"
style=
{
{
width
:
160
,
textAlign
:
'center'
}
}
placeholder=
"0"
maxLength=
{
2
}
/>
</
Form
.
Item
>
<
Form
.
Item
...
...
@@ -420,6 +421,7 @@ const Facility = (props: any) => {
suffix=
"Day"
style=
{
{
width
:
160
,
textAlign
:
'center'
}
}
placeholder=
"0"
maxLength=
{
2
}
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"Booking"
name=
"canReservationDay"
rules=
{
NewFaci
[
7
]
}
>
...
...
@@ -430,6 +432,7 @@ const Facility = (props: any) => {
disabled=
{
facilityDetail
}
prefix=
"Advance"
suffix=
"Day"
maxLength=
{
2
}
/>
</
Form
.
Item
>
</
Input
.
Group
>
...
...
src/pages/CommunityManagement/VisitorRecord/VisitorRecord.tsx
View file @
807940a0
...
...
@@ -8,6 +8,7 @@ import { RA, SA } from '@/utils/method';
import
{
PlusOutlined
,
SearchOutlined
,
ClearOutlined
}
from
'@ant-design/icons'
;
import
'./index.less'
;
import
moment
from
'moment'
;
import
SearchOptionsCommnity
from
'@/components/SearchOptions/SearchOptionsCommnity'
;
const
module
=
'VisitorRecord'
;
...
...
@@ -105,6 +106,7 @@ const VisitorRecord = (props: any) => {
// 点击重置
const
onResetFrom
=
()
=>
{
form
.
resetFields
();
onReset
();
};
...
...
@@ -163,6 +165,13 @@ const VisitorRecord = (props: any) => {
return
JSON
.
stringify
(
newObj
);
}
// 选择小区名字并赋值
const
opname
=
(
value
:
any
)
=>
{
form
.
setFieldsValue
({
visitorCommunity
:
value
,
});
};
return
(
<>
<
div
className=
"VisitorRecord"
>
...
...
@@ -173,6 +182,12 @@ const VisitorRecord = (props: any) => {
name=
"contract"
onFinish=
{
onSubmitForm
}
>
<
Form
.
Item
name=
"visitorCommunity"
>
<
SearchOptionsCommnity
// ubmit={extendName}
opname=
{
opname
}
/>
</
Form
.
Item
>
<
Form
.
Item
name=
"inviterName"
>
<
Input
allowClear
placeholder=
"Please input Invitees Name."
style=
{
{
width
:
240
}
}
/>
</
Form
.
Item
>
...
...
src/pages/CommunityManagement/visitorRecord/VisitorRecord.tsx
View file @
807940a0
...
...
@@ -8,6 +8,7 @@ import { RA, SA } from '@/utils/method';
import
{
PlusOutlined
,
SearchOutlined
,
ClearOutlined
}
from
'@ant-design/icons'
;
import
'./index.less'
;
import
moment
from
'moment'
;
import
SearchOptionsCommnity
from
'@/components/SearchOptions/SearchOptionsCommnity'
;
const
module
=
'VisitorRecord'
;
...
...
@@ -105,6 +106,7 @@ const VisitorRecord = (props: any) => {
// 点击重置
const
onResetFrom
=
()
=>
{
form
.
resetFields
();
onReset
();
};
...
...
@@ -163,6 +165,13 @@ const VisitorRecord = (props: any) => {
return
JSON
.
stringify
(
newObj
);
}
// 选择小区名字并赋值
const
opname
=
(
value
:
any
)
=>
{
form
.
setFieldsValue
({
visitorCommunity
:
value
,
});
};
return
(
<>
<
div
className=
"VisitorRecord"
>
...
...
@@ -173,6 +182,12 @@ const VisitorRecord = (props: any) => {
name=
"contract"
onFinish=
{
onSubmitForm
}
>
<
Form
.
Item
name=
"visitorCommunity"
>
<
SearchOptionsCommnity
// ubmit={extendName}
opname=
{
opname
}
/>
</
Form
.
Item
>
<
Form
.
Item
name=
"inviterName"
>
<
Input
allowClear
placeholder=
"Please input Invitees Name."
style=
{
{
width
:
240
}
}
/>
</
Form
.
Item
>
...
...
src/react.babelrc
0 → 100644
View file @
807940a0
{
"compact": false
}
\ No newline at end of file
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