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
9aa2b17f
Commit
9aa2b17f
authored
Aug 10, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tui
parent
d14e03c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
attendance-performance-manager-ui/admin/src/views/attendance/stat/list.vue
...mance-manager-ui/admin/src/views/attendance/stat/list.vue
+15
-7
No files found.
attendance-performance-manager-ui/admin/src/views/attendance/stat/list.vue
View file @
9aa2b17f
...
...
@@ -102,8 +102,11 @@ export default {
methods
:
{
// 处理
handleArr
(
arr
,
currentTime
)
{
let
index
=
arr
.
findIndex
((
item
)
=>
item
.
createTime
===
currentTime
);
console
.
log
(
currentTime
);
console
.
log
(
arr
);
let
index
=
arr
.
findIndex
((
item
)
=>
item
.
createTime
==
currentTime
);
if
(
index
>
-
1
)
{
console
.
log
(
arr
[
index
].
attendanceSummary
);
return
arr
[
index
].
attendanceSummary
;
}
else
{
return
"
-
"
;
...
...
@@ -263,16 +266,21 @@ export default {
{
label
:
"
出勤天数
"
,
prop
:
"
goTimes
"
,
formatter
:
this
.
formatter
},
{
label
:
"
上午
缺卡次数
"
,
label
:
"
缺卡次数
"
,
prop
:
"
morningTimes
"
,
formatter
:
this
.
formatter
,
},
// {
// label: "上午缺卡次数",
// prop: "morningTimes",
// formatter: this.formatter,
// },
{
label
:
"
下午缺卡次数
"
,
prop
:
"
afternoonTimes
"
,
formatter
:
this
.
formatter
,
},
//
{
//
label: "下午缺卡次数",
//
prop: "afternoonTimes",
//
formatter: this.formatter,
//
},
{
label
:
"
回单位(天)
"
,
prop
:
"
backToUnit
"
},
{
label
:
"
因公请假(天)
"
,
prop
:
"
onDutyLeave
"
},
...
...
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