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
a7a3b14b
Commit
a7a3b14b
authored
Dec 29, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推每日打卡页面改版及考勤汇总添加文字提示;
parent
01daa54f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
9 deletions
+29
-9
attendance-performance-manager-ui/admin/src/views/attendance/stat/list.vue
...mance-manager-ui/admin/src/views/attendance/stat/list.vue
+29
-9
No files found.
attendance-performance-manager-ui/admin/src/views/attendance/stat/list.vue
View file @
a7a3b14b
...
@@ -168,18 +168,22 @@ export default {
...
@@ -168,18 +168,22 @@ export default {
let
index
=
arr
.
findIndex
((
item
)
=>
item
.
createTime
==
currentTime
);
let
index
=
arr
.
findIndex
((
item
)
=>
item
.
createTime
==
currentTime
);
if
(
index
>
-
1
)
{
if
(
index
>
-
1
)
{
return
arr
[
index
].
attendanceSummary
?
(
return
arr
[
index
].
attendanceSummary
?
(
arr
[
index
].
remark
?
(
<
el
-
tooltip
<
el
-
tooltip
class
=
"
item
"
class
=
"
item
"
effect
=
"
dark
"
effect
=
"
dark
"
content
=
{
content
=
{
arr
[
index
].
content
}
arr
[
index
].
createTime
+
"
"
+
arr
[
index
].
attendanceSummary
}
placement
=
"
top-start
"
placement
=
"
top-start
"
>
>
<
el
-
tag
type
=
{
"
danger
"
}
size
=
"
mini
"
>
<
el
-
tag
type
=
{
"
danger
"
}
size
=
"
mini
"
>
{
arr
[
index
].
attendanceSummary
}
{
arr
[
index
].
attendanceSummary
}
<
/el-tag
>
<
/el-tag
>
<
/el-tooltip
>
<
/el-tooltip
>
)
:
(
<
el
-
tag
type
=
{
"
danger
"
}
size
=
"
mini
"
>
{
arr
[
index
].
attendanceSummary
}
<
/el-tag
>
)
)
:
(
)
:
(
"
-
"
"
-
"
);
);
...
@@ -229,6 +233,22 @@ export default {
...
@@ -229,6 +233,22 @@ export default {
)
{
)
{
element
.
attendanceStaffStatEntities
.
forEach
((
item1
)
=>
{
element
.
attendanceStaffStatEntities
.
forEach
((
item1
)
=>
{
item1
.
createTime
=
timestampToTime
(
item1
.
createTime
,
3
);
item1
.
createTime
=
timestampToTime
(
item1
.
createTime
,
3
);
let
Arr
=
[];
item1
.
remark
&&
item1
.
remark
.
length
>
0
?
(
Arr
=
JSON
.
parse
(
item1
.
remark
))
:
""
;
Arr
&&
Arr
.
length
>
0
?
(
item1
.
content
=
Arr
.
map
((
v
)
=>
{
return
(
<
p
>
上班
{
v
.
orderNum
}
打卡时间:
{(
v
.
goWorkDate
=
timestampToTime
(
v
.
goWorkDate
,
6
))}
{
"
"
}
下班
{
v
.
orderNum
}
打卡时间:
{(
v
.
offWorkDate
=
timestampToTime
(
v
.
offWorkDate
,
6
))}
<
/p
>
);
}))
:
""
;
});
});
}
}
});
});
...
...
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