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
087a0479
Commit
087a0479
authored
Aug 09, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考勤异常添加绩效考核
parent
25ba8275
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
7 deletions
+23
-7
attendance-performance-manager-ui/admin/src/views/attendance/record/error/drawershow.vue
...ui/admin/src/views/attendance/record/error/drawershow.vue
+18
-7
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/model/vo/AttendanceRecordErrorVo.java
...x/module/attendance/model/vo/AttendanceRecordErrorVo.java
+4
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceRecordErrorController.java
...odule/attendance/web/AttendanceRecordErrorController.java
+1
-0
No files found.
attendance-performance-manager-ui/admin/src/views/attendance/record/error/drawershow.vue
View file @
087a0479
...
@@ -19,18 +19,21 @@
...
@@ -19,18 +19,21 @@
<span
class=
"ml10"
>
修改为
</span>
<span
class=
"ml10"
>
修改为
</span>
</div>
</div>
<div
class=
"mt10"
>
<div
class=
"mt10"
>
<Field
label=
""
v-model=
"dealParams.processResult"
type=
"select"
:enumData=
"dict.errorStatus"
/>
<!-- 处理异常状态 -->
<!-- 处理异常状态 -->
<el-select
v-model=
"dealParams.processResult"
>
<!--
<el-select
v-model=
"dealParams.processResult"
>
<el-option
<el-option
v-for=
'($label, $value) in dict.errorStatus'
v-for=
'($label, $value) in dict.errorStatus'
:key=
"$value"
:key=
"$value"
:label=
"$label"
:label=
"$label"
:value=
"$label"
>
:value=
"$label"
>
</el-option>
</el-option>
</el-select>
</el-select>
-->
<!-- 早退/迟到 -->
<!-- 早退/迟到 -->
<el-input
style=
"width:220px"
placeholder=
"请输入数字"
:maxlength=
"4"
v-model=
"duration"
<el-input
style=
"width:220px"
placeholder=
"请输入数字"
:maxlength=
"4"
v-model=
"duration"
v-if=
"dealParams.processResult == '
迟到'|| dealParams.processResult == '早退
'"
v-if=
"dealParams.processResult == '
1'|| dealParams.processResult == '2
'"
class=
"ml20"
type=
"number"
>
class=
"ml20"
type=
"number"
>
<template
slot=
"append"
>
分钟
</
template
>
<template
slot=
"append"
>
分钟
</
template
>
</el-input>
</el-input>
...
@@ -65,6 +68,7 @@
...
@@ -65,6 +68,7 @@
// 是否显示弹出层
// 是否显示弹出层
open
:
false
,
open
:
false
,
direction
:
"
rtl
"
,
direction
:
"
rtl
"
,
toString
:
[
"
processResult
"
],
// 表单校验
// 表单校验
rules
:
{
rules
:
{
staffName
:
[
staffName
:
[
...
@@ -77,6 +81,8 @@
...
@@ -77,6 +81,8 @@
},
},
dealParams
:{
dealParams
:{
remark
:
''
,
remark
:
''
,
errorStatus
:
null
,
durtion
:
0
,
processResult
:
''
,
processResult
:
''
,
recordErrorEntities
:[],
//处理员工
recordErrorEntities
:[],
//处理员工
processStatus
:
1
//处理状态
processStatus
:
1
//处理状态
...
@@ -133,6 +139,9 @@
...
@@ -133,6 +139,9 @@
}
}
if
(
this
.
duration
&&
(
this
.
dealParams
.
processResult
==
'
早退
'
||
this
.
dealParams
.
processResult
==
'
迟到
'
)){
if
(
this
.
duration
&&
(
this
.
dealParams
.
processResult
==
'
早退
'
||
this
.
dealParams
.
processResult
==
'
迟到
'
)){
this
.
dealParams
.
processResult
=
this
.
dealParams
.
processResult
+
this
.
duration
+
'
分钟
'
this
.
dealParams
.
processResult
=
this
.
dealParams
.
processResult
+
this
.
duration
+
'
分钟
'
this
.
dealParams
.
durtion
=
this
.
duration
}
}
// 保存结果处理
// 保存结果处理
this
.
$post
(
this
.
urls
.
saveUrl
,
this
.
dealParams
).
then
(
res
=>
{
this
.
$post
(
this
.
urls
.
saveUrl
,
this
.
dealParams
).
then
(
res
=>
{
...
@@ -145,6 +154,8 @@
...
@@ -145,6 +154,8 @@
this
.
open
=
false
this
.
open
=
false
this
.
dealParams
=
{
this
.
dealParams
=
{
remark
:
''
,
remark
:
''
,
errorStatus
:
null
,
durtion
:
0
,
processResult
:
''
,
processResult
:
''
,
recordErrorEntities
:[],
//处理员工
recordErrorEntities
:[],
//处理员工
processStatus
:
1
//处理状态
processStatus
:
1
//处理状态
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/model/vo/AttendanceRecordErrorVo.java
View file @
087a0479
...
@@ -32,4 +32,8 @@ public class AttendanceRecordErrorVo extends BaseEntityLong {
...
@@ -32,4 +32,8 @@ public class AttendanceRecordErrorVo extends BaseEntityLong {
private
String
errorDateTimeEnd
;
private
String
errorDateTimeEnd
;
private
Integer
duration
;
}
}
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceRecordErrorController.java
View file @
087a0479
...
@@ -146,6 +146,7 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
...
@@ -146,6 +146,7 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
updateEntity
.
setProcessStatus
(
entity
.
getProcessStatus
());
updateEntity
.
setProcessStatus
(
entity
.
getProcessStatus
());
updateEntity
.
setGoOffDateTime
(
null
);
updateEntity
.
setGoOffDateTime
(
null
);
updateEntity
.
setProcessResult
(
entity
.
getProcessResult
());
updateEntity
.
setProcessResult
(
entity
.
getProcessResult
());
updateEntity
.
setErrorStatus
(
entity
.
getErrorStatus
());
updateEntity
.
setOpertor
(
context
.
getUser
().
getRealName
());
updateEntity
.
setOpertor
(
context
.
getUser
().
getRealName
());
updateEntity
.
setOperDateTime
(
new
Date
());
updateEntity
.
setOperDateTime
(
new
Date
());
updateEntity
.
setRemark
(
entity
.
getRemark
());
updateEntity
.
setRemark
(
entity
.
getRemark
());
...
...
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