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
af1211bb
Commit
af1211bb
authored
Feb 18, 2021
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: cellee <893264950@qq.com>
parent
a0ec19bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
VisitorRecord.tsx
...pages/CommunityManagement/VisitorRecord/VisitorRecord.tsx
+4
-1
VisitorRecord.tsx
...pages/CommunityManagement/visitorRecord/VisitorRecord.tsx
+4
-1
No files found.
src/pages/CommunityManagement/VisitorRecord/VisitorRecord.tsx
View file @
af1211bb
...
...
@@ -14,7 +14,10 @@ const module = 'VisitorRecord';
const
VisitorRecord
=
(
props
:
any
)
=>
{
const
{
dispatch
,
Data
,
DataSave
,
loading
,
CommunityList
}
=
props
;
const
[
term
,
setTerm
]
=
useState
({
communityNames
:
CommunityList
,
pageNum
:
1
});
// 搜索条件
const
[
term
,
setTerm
]
=
useState
({
communityNames
:
CommunityList
&&
CommunityList
.
length
>
0
?
CommunityList
:
null
,
pageNum
:
1
,
});
// 搜索条件
// 新增搜索的时间 原来时间是时间戳格式
useEffect
(()
=>
{
...
...
src/pages/CommunityManagement/visitorRecord/VisitorRecord.tsx
View file @
af1211bb
...
...
@@ -14,7 +14,10 @@ const module = 'VisitorRecord';
const
VisitorRecord
=
(
props
:
any
)
=>
{
const
{
dispatch
,
Data
,
DataSave
,
loading
,
CommunityList
}
=
props
;
const
[
term
,
setTerm
]
=
useState
({
communityNames
:
CommunityList
,
pageNum
:
1
});
// 搜索条件
const
[
term
,
setTerm
]
=
useState
({
communityNames
:
CommunityList
&&
CommunityList
.
length
>
0
?
CommunityList
:
null
,
pageNum
:
1
,
});
// 搜索条件
// 新增搜索的时间 原来时间是时间戳格式
useEffect
(()
=>
{
...
...
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