Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
486e6a40
Commit
486e6a40
authored
Jan 10, 2024
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推修改无法查询日期搜索
parent
cbe6eb58
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
attendance-performance-manager-ui/admin/src/components/SearchForm.vue
...erformance-manager-ui/admin/src/components/SearchForm.vue
+1
-4
No files found.
attendance-performance-manager-ui/admin/src/components/SearchForm.vue
View file @
486e6a40
...
@@ -220,6 +220,7 @@ export default {
...
@@ -220,6 +220,7 @@ export default {
resetTable
()
{
resetTable
()
{
let
{
path
,
query
}
=
this
.
$route
;
let
{
path
,
query
}
=
this
.
$route
;
if
(
this
.
form
.
attendanceDateStart
&&
this
.
form
.
attendanceDateEnd
)
{
if
(
this
.
form
.
attendanceDateStart
&&
this
.
form
.
attendanceDateEnd
)
{
console
.
log
(
123
);
let
startValue
=
Date
.
parse
(
this
.
form
.
attendanceDateStart
);
let
startValue
=
Date
.
parse
(
this
.
form
.
attendanceDateStart
);
let
endValue
=
Date
.
parse
(
this
.
form
.
attendanceDateEnd
);
let
endValue
=
Date
.
parse
(
this
.
form
.
attendanceDateEnd
);
if
(
startValue
>
endValue
)
{
if
(
startValue
>
endValue
)
{
...
@@ -420,7 +421,6 @@ export default {
...
@@ -420,7 +421,6 @@ export default {
delete
this
.
form
.
summaryTimeEnd
;
delete
this
.
form
.
summaryTimeEnd
;
}
}
if
(
this
.
$route
.
name
==
"
attendance/record/hik/list
"
)
{
if
(
this
.
$route
.
name
==
"
attendance/record/hik/list
"
)
{
console
.
log
(
this
.
$route
,
"
11111111
"
);
if
(
this
.
form
.
attendanceDateStart
&&
this
.
form
.
attendanceDateEnd
)
{
if
(
this
.
form
.
attendanceDateStart
&&
this
.
form
.
attendanceDateEnd
)
{
let
startValue
=
Date
.
parse
(
this
.
form
.
attendanceDateStart
);
let
startValue
=
Date
.
parse
(
this
.
form
.
attendanceDateStart
);
let
endValue
=
Date
.
parse
(
this
.
form
.
attendanceDateEnd
);
let
endValue
=
Date
.
parse
(
this
.
form
.
attendanceDateEnd
);
...
@@ -433,9 +433,6 @@ export default {
...
@@ -433,9 +433,6 @@ export default {
this
.
form
.
attendanceDateStart
=
timestampToTime
(
new
Date
(),
3
);
this
.
form
.
attendanceDateStart
=
timestampToTime
(
new
Date
(),
3
);
this
.
form
.
attendanceDateEnd
=
timestampToTime
(
new
Date
(),
3
);
this
.
form
.
attendanceDateEnd
=
timestampToTime
(
new
Date
(),
3
);
}
}
}
else
{
delete
this
.
form
.
attendanceDateStart
;
delete
this
.
form
.
attendanceDateEnd
;
}
}
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
));
//不更改原始数据
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
));
//不更改原始数据
let
data
=
this
.
decode
(
params
);
let
data
=
this
.
decode
(
params
);
...
...
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