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-manager-ui
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-manager-ui
Commits
b4197700
Commit
b4197700
authored
Aug 14, 2024
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed:提交考勤汇总正常考勤信息显示样式为异常的问题
parent
66697a54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
10 deletions
+25
-10
src/views/attendance/stat/list.vue
src/views/attendance/stat/list.vue
+25
-10
No files found.
src/views/attendance/stat/list.vue
View file @
b4197700
...
...
@@ -178,32 +178,47 @@ export default {
let
index
=
arr
.
findIndex
((
item
)
=>
item
.
createTime
==
currentTime
);
if
(
index
>
-
1
)
{
return
arr
[
index
].
attendanceSummary
?
(
arr
[
index
].
remark
?
(
arr
[
index
].
remark
&&
arr
[
index
].
remark
!=
""
?
(
<
el
-
tooltip
class
=
"
item
"
effect
=
"
light
"
content
=
{
arr
[
index
].
content
}
placement
=
"
top-start
"
>
<
el
-
tag
type
=
{
"
danger
"
}
size
=
"
mini
"
>
<
el
-
tag
type
=
{
arr
[
index
].
attendanceSummary
.
includes
(
"
缺卡
"
)
||
arr
[
index
].
attendanceSummary
.
includes
(
"
迟到
"
)
||
arr
[
index
].
attendanceSummary
.
includes
(
"
早退
"
)
?
"
danger
"
:
"
success
"
}
size
=
"
mini
"
>
{
arr
[
index
].
attendanceSummary
}
<
/el-tag
>
<
/el-tooltip
>
)
:
(
)
:
arr
[
index
].
attendanceSummary
.
includes
(
"
缺卡
"
)
||
arr
[
index
].
attendanceSummary
.
includes
(
"
迟到
"
)
||
arr
[
index
].
attendanceSummary
.
includes
(
"
早退
"
)
?
(
<
el
-
tag
type
=
{
"
danger
"
}
size
=
"
mini
"
>
{
arr
[
index
].
attendanceSummary
}
<
/el-tag
>
)
:
(
<
el
-
tag
type
=
{
"
success
"
}
size
=
"
mini
"
>
{
arr
[
index
].
attendanceSummary
}
<
/el-tag
>
)
)
:
(
"
正常
"
"
--
"
);
}
else
{
if
(
currentTime
<
timestampToTime
(
new
Date
(),
3
))
{
return
"
正常
"
;
}
else
{
return
"
--
"
;
}
// return "正常
";
//
if (currentTime
<
timestampToTime
(
new
Date
(),
3
))
{
//
return "正常";
//
} else {
//
return "--";
//
}
return
"
--
"
;
}
},
restTable
()
{
...
...
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