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
0f0ecfe3
Commit
0f0ecfe3
authored
Sep 11, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tui
parent
0220ab93
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
94 additions
and
9 deletions
+94
-9
attendance-performance-manager-ui/admin/src/views/attendance/record/hik/list.vue
...manager-ui/admin/src/views/attendance/record/hik/list.vue
+34
-7
attendance-performance-manager-ui/admin/src/views/attendance/record/list.vue
...nce-manager-ui/admin/src/views/attendance/record/list.vue
+29
-0
attendance-performance-manager-ui/admin/src/views/staff/perform/summary/list.vue
...manager-ui/admin/src/views/staff/perform/summary/list.vue
+31
-2
No files found.
attendance-performance-manager-ui/admin/src/views/attendance/record/hik/list.vue
View file @
0f0ecfe3
...
...
@@ -121,6 +121,12 @@
</div>
</div>
</el-drawer>
<div
class=
"mask"
v-if=
"progress"
>
<el-progress
:stroke-width=
"26"
:percentage=
"percent"
></el-progress>
</div>
</div>
</
template
>
...
...
@@ -220,25 +226,26 @@ export default {
},
/** 导出Excel */
doExport
()
{
if
(
this
.
isExport
==
true
)
{
this
.
$message
.
info
(
"
考勤数据正在导出中,请勿重复点击!
"
)
if
(
this
.
isExport
==
true
)
{
this
.
$message
.
info
(
"
考勤数据正在导出中,请勿重复点击!
"
)
;
return
false
;
}
this
.
isExport
=
true
;
this
.
progress
=
true
;
let
params
=
{};
for
(
let
value
of
this
.
config
.
search
)
{
if
(
this
.
query
[
value
.
name
])
{
params
[
value
.
name
]
=
this
.
query
[
value
.
name
];
}
}
this
.
percent
=
75
;
if
(
this
.
selection
.
length
>
0
)
{
params
[
"
idList
"
]
=
this
.
selection
;
}
let
that
=
this
;
let
that
=
this
;
this
.
$download
(
"
/attendance/record/hik/exportExcel
"
,
{
...
...
@@ -247,10 +254,13 @@ export default {
{
type
:
"
excel
"
}
)
.
then
(()
=>
{
console
.
log
(
"
isExport222:
"
,
this
.
isExport
)
that
.
isExport
=
false
})
this
.
percent
=
100
;
this
.
progress
=
false
;
that
.
isExport
=
false
;
})
.
catch
((
error
)
=>
{
this
.
isExport
=
false
;
this
.
progress
=
false
;
this
.
$message
.
error
(
error
.
message
);
});
},
...
...
@@ -273,7 +283,9 @@ export default {
data
()
{
return
{
showBtn
:
false
,
isExport
:
false
,
progress
:
false
,
isExport
:
false
,
percent
:
0
,
upload
:
{
headers
:
{
Authorization
:
window
.
sessionStorage
.
getItem
(
"
token
"
)
||
""
,
...
...
@@ -373,6 +385,21 @@ export default {
};
</
script
>
<
style
scoped
lang=
"scss"
>
.mask
{
width
:
100%
;
height
:
100vh
;
position
:
fixed
;
top
:
0
;
left
:
0
;
z-index
:
99
;
padding
:
0
30%
;
padding-top
:
20%
;
background
:
rgba
(
0
,
0
,
0
,
0
.6
);
}
::v-deep
.el-progress__text
{
color
:
#409eff
;
font-weight
:
600
;
}
.hisList
{
padding
:
15px
;
.list
{
...
...
attendance-performance-manager-ui/admin/src/views/attendance/record/list.vue
View file @
0f0ecfe3
...
...
@@ -179,6 +179,12 @@
<el-button
@
click=
"upload.open = false"
>
取 消
</el-button>
</div>
</el-dialog>
<div
class=
"mask"
v-if=
"progress"
>
<el-progress
:stroke-width=
"26"
:percentage=
"percent"
></el-progress>
</div>
</div>
</
template
>
...
...
@@ -333,6 +339,7 @@ export default {
/** 导出Excel */
doExport
()
{
this
.
isExport
=
true
;
this
.
progress
=
true
;
let
params
=
{};
for
(
let
value
of
this
.
config
.
search
)
{
if
(
this
.
query
[
value
.
name
])
{
...
...
@@ -342,6 +349,7 @@ export default {
if
(
this
.
selection
.
length
>
0
)
{
params
[
"
idList
"
]
=
this
.
selection
;
}
this
.
percent
=
70
;
if
(
this
.
checkList
.
length
>
0
)
{
params
[
"
properties
"
]
=
this
.
checkList
;
}
...
...
@@ -353,10 +361,14 @@ export default {
{
type
:
"
excel
"
}
)
.
then
(()
=>
{
this
.
percent
=
100
;
this
.
progress
=
false
;
this
.
isExport
=
false
;
this
.
checkList
=
[];
})
.
catch
((
error
)
=>
{
this
.
progress
=
false
;
this
.
isExport
=
false
;
this
.
$message
.
error
(
error
.
message
);
});
...
...
@@ -407,6 +419,8 @@ export default {
},
data
()
{
return
{
progress
:
false
,
percent
:
0
,
upload
:
{
// 是否显示弹出层(员工关怀信息导入)
open
:
false
,
...
...
@@ -578,6 +592,21 @@ export default {
};
</
script
>
<
style
scoped
lang=
"less"
>
.mask {
width: 100%;
height: 100vh;
position: fixed;
top: 0;
left: 0;
z-index: 99;
padding: 0 30%;
padding-top: 20%;
background: rgba(0, 0, 0, 0.6);
}
::v-deep .el-progress__text {
color: #409eff;
font-weight: 600;
}
.totalNum {
background: rgba(64, 158, 255, 0.2);
padding: 15px;
...
...
attendance-performance-manager-ui/admin/src/views/staff/perform/summary/list.vue
View file @
0f0ecfe3
...
...
@@ -13,6 +13,9 @@
</LayoutTable>
<dialog-show
ref=
"dialogform"
@
ok=
"getData"
/>
<div
class=
"mask"
v-if=
"progress"
>
<el-progress
:stroke-width=
"26"
:percentage=
"percent"
></el-progress>
</div>
</div>
</
template
>
...
...
@@ -27,10 +30,12 @@ export default {
},
mixins
:
[
table
],
created
()
{},
methods
:
{
/** 导出Excel */
doExport
()
{
this
.
progress
=
true
;
this
.
percent
=
75
;
this
.
isExport
=
true
;
this
.
$download
(
"
/staff/perform/summary/exportExcel
"
,
...
...
@@ -40,9 +45,14 @@ export default {
},
{
type
:
"
excel
"
}
)
.
then
(()
=>
(
this
.
isExport
=
false
))
.
then
(()
=>
{
this
.
percent
=
100
;
this
.
progress
=
false
;
this
.
isExport
=
false
;
})
.
catch
((
error
)
=>
{
this
.
isExport
=
false
;
this
.
progress
=
false
;
this
.
$message
.
error
(
error
.
message
);
});
},
...
...
@@ -62,6 +72,8 @@ export default {
data
()
{
return
{
isExport
:
false
,
progress
:
false
,
percent
:
0
,
config
:
{
isshowTabPane
:
true
,
search
:
[
...
...
@@ -167,3 +179,20 @@ export default {
},
};
</
script
>
<
style
lang=
"less"
scoped
>
.mask {
width: 100%;
height: 100vh;
position: fixed;
top: 0;
left: 0;
z-index: 99;
padding: 0 30%;
padding-top: 20%;
background: rgba(0, 0, 0, 0.6);
}
::v-deep .el-progress__text {
color: #409eff;
font-weight: 600;
}
</
style
>
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