Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JINRUN-PERPOSITION
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
JINRUN-PERPOSITION
Commits
d3b76952
Commit
d3b76952
authored
Dec 05, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:考勤列表接口对接,导出
parent
36c6ca10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
14 deletions
+26
-14
kaoqin.js
src/api/jinrun/kaoqin.js
+11
-0
kaoqin.vue
src/views/tongji/kaoqin.vue
+15
-14
No files found.
src/api/jinrun/kaoqin.js
0 → 100644
View file @
d3b76952
import
request
from
'
@/utils/request
'
// 查询人员信息列表
export
function
getPersonAttend
(
query
)
{
return
request
({
url
:
'
/count/manage/getPersonAttend
'
,
method
:
'
get
'
,
params
:
query
})
}
src/views/tongji/kaoqin.vue
View file @
d3b76952
...
...
@@ -16,6 +16,14 @@
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"月份查询"
prop=
"month"
>
<el-input
v-model=
"queryParams.month"
placeholder=
"请输入月份"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"创建时间"
>
<el-date-picker
...
...
@@ -60,15 +68,14 @@
:data=
"infoList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"序号"
align=
"center"
type=
"index"
width=
"50"
/>
<el-table-column
label=
"姓名"
align=
"center"
prop=
"realName"
/>
<el-table-column
label=
"部门"
align=
"center"
prop=
"deptName"
/>
<el-table-column
label=
"岗位"
align=
"center"
prop=
"positionName"
/>
<el-table-column
label=
"定位卡号"
align=
"center"
prop=
"cardId"
/>
<el-table-column
label=
"日期"
align=
"center"
prop=
"
phon
e"
/>
<el-table-column
label=
"上班时间"
align=
"center"
prop=
"
idNumber
"
/>
<el-table-column
label=
"下班时间"
align=
"center"
prop=
"
idNumber
"
/>
<el-table-column
label=
"日期"
align=
"center"
prop=
"
attendDat
e"
/>
<el-table-column
label=
"上班时间"
align=
"center"
prop=
"
onTime
"
/>
<el-table-column
label=
"下班时间"
align=
"center"
prop=
"
offTime
"
/>
</el-table>
<pagination
...
...
@@ -82,8 +89,7 @@
</
template
>
<
script
>
import
{
listInfo
}
from
"
@/api/jinrun/renyuan
"
;
import
{
getDict
}
from
"
@/api/jinrun/common
"
;
import
{
getPersonAttend
}
from
"
@/api/jinrun/kaoqin
"
;
export
default
{
name
:
"
Info
"
,
...
...
@@ -115,17 +121,12 @@ export default {
realName
:
null
,
pageNum
:
1
,
pageSize
:
10
,
month
:
null
,
},
// 表单参数
form
:
{
personType
:
""
,
},
// 表单校验
rules
:
{
personType
:
[
{
required
:
true
,
message
:
"
人员类型不能为空
"
,
trigger
:
"
change
"
},
],
},
};
},
created
()
{
...
...
@@ -149,7 +150,7 @@ export default {
/** 查询人员信息列表 */
getList
()
{
this
.
loading
=
true
;
listInfo
(
this
.
queryParams
).
then
((
response
)
=>
{
getPersonAttend
(
this
.
queryParams
).
then
((
response
)
=>
{
this
.
infoList
=
response
.
records
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
...
...
@@ -180,7 +181,7 @@ export default {
/** 导出按钮操作 */
handleExport
()
{
this
.
download
(
"
system/info/export
"
,
"
count/manage/exportPersonAttend
"
,
{
...
this
.
queryParams
,
},
...
...
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