Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 615d0f0b
authored
Apr 27, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改日历今天以后的不显示考勤
1 parent
b626668c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
components/HomeFrame/components/Attendance/Calendar.vue
components/HomeFrame/components/Attendance/Calendar.vue
View file @
615d0f0
...
...
@@ -183,7 +183,7 @@ export default {
console
.
log
(
this
.
dates
,
'dates'
)
this
.
dates
.
forEach
(
item
=>
{
const
clockData
=
res
.
clockInDateList
.
find
(
i
=>
i
.
day
==
item
)
if
(
clockData
)
{
if
(
clockData
&&
clockData
.
day
<
this
.
currentInfo
.
day
)
{
if
(
clockData
.
dayState
==
4
)
clockData
.
isDefault
=
true
clockData
.
clockInTime1
=
clockData
.
clockInTime
?
dayjs
(
new
Date
(
clockData
.
clockInTime
)).
format
(
'HH:mm'
)
:
null
clockData
.
clockOutTime1
=
clockData
.
clockOutTime
?
dayjs
(
new
Date
(
clockData
.
clockOutTime
)).
format
(
'HH:mm'
)
:
null
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment