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
22fa3169
Commit
22fa3169
authored
Jan 30, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
fcdf531d
a1c3e20c
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
436 additions
and
54 deletions
+436
-54
attendance-performance-manager-ui/admin/src/router.js
attendance-performance-manager-ui/admin/src/router.js
+1
-0
attendance-performance-manager-ui/admin/src/views/check/window/perform/drawershow.vue
...er-ui/admin/src/views/check/window/perform/drawershow.vue
+83
-14
attendance-performance-manager-ui/admin/src/views/check/window/workman/perform/drawershow.vue
...min/src/views/check/window/workman/perform/drawershow.vue
+6
-6
attendance-performance-manager-ui/admin/src/views/parameter/view.vue
...performance-manager-ui/admin/src/views/parameter/view.vue
+102
-0
attendance-performance-manager-ui/admin/src/views/window/perform/drawershow.vue
...-manager-ui/admin/src/views/window/perform/drawershow.vue
+88
-14
attendance-performance-manager-ui/admin/src/views/window/workman/perform/drawershow.vue
...-ui/admin/src/views/window/workman/perform/drawershow.vue
+6
-6
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/dao/CheckWindowWorkmanPerformDao.java
...ls/xhx/module/check/dao/CheckWindowWorkmanPerformDao.java
+9
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/dao/ibatis/CheckWindowWorkmanPerformDaoImpl.java
...le/check/dao/ibatis/CheckWindowWorkmanPerformDaoImpl.java
+6
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/model/vo/StaffCheckSummaryQuery.java
...als/xhx/module/check/model/vo/StaffCheckSummaryQuery.java
+5
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckOtherRecordServiceImpl.java
...odule/check/service/impl/CheckOtherRecordServiceImpl.java
+2
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckWindowWorkmanPerformServiceImpl.java
...ck/service/impl/CheckWindowWorkmanPerformServiceImpl.java
+92
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowWorkmanPerformServiceImpl.java
.../window/service/impl/WindowWorkmanPerformServiceImpl.java
+10
-10
attendance-performance-manager/src/main/resources/sqlmap/module/check/CheckWindowWorkmanPerformMapperExt.xml
...qlmap/module/check/CheckWindowWorkmanPerformMapperExt.xml
+26
-0
No files found.
attendance-performance-manager-ui/admin/src/router.js
View file @
22fa3169
...
...
@@ -37,6 +37,7 @@ const router = new Router({
...
restBuilder
(
"
user
"
,
"
system/user
"
),
// 用户管理 -- 管理用户
...
restBuilder
(
"
param
"
,
"
system/param
"
),
// 系统管理--参数管理
...
restBuilder
(
"
task
"
,
"
system/task
"
),
// 系统管理--任务管理
...
restBuilder
(
"
parameter
"
,
"
parameter
"
),
// 系统管理--任务管理
// 绩效负责人
...
restBuilder
(
"
workman
"
,
"
workman
"
),
...
restBuilder
(
"
holiday
"
,
"
holiday
"
),
...
...
attendance-performance-manager-ui/admin/src/views/check/window/perform/drawershow.vue
View file @
22fa3169
...
...
@@ -41,7 +41,15 @@
<
div
class
=
"
text_line
"
>
<
div
class
=
"
text_box
"
>
<
span
style
=
"
width: 120px;
"
>
加分申报:
<
/span
>
<
span
>
{{
form
.
bonusReport
?
form
.
bonusReport
:
"
--
"
}}
<
/span
>
<
span
v
-
if
=
"
form.bonusarrText
"
>
<
span
style
=
"
width: auto;
"
v
-
for
=
"
val in form.bonusarrText
"
:
key
=
"
val.id
"
>
{{
val
.
content
}}
<
/spa
n
>
<
/span
>
<
span
v
-
else
>--<
/span
>
<
/div
>
<
/div
>
<
div
class
=
"
text_line
"
>
...
...
@@ -62,7 +70,15 @@
<
div
class
=
"
text_line
"
>
<
div
class
=
"
text_box
"
>
<
span
style
=
"
width: 140px;
"
>
扣分情况:
<
/span
>
<
span
>
{{
form
.
deductStatement
?
form
.
deductStatement
:
"
--
"
}}
<
/span
>
<
span
v
-
if
=
"
form.deductarrText
"
>
<
span
style
=
"
width: auto;
"
v
-
for
=
"
val in form.deductarrText
"
:
key
=
"
val.id
"
>
{{
val
.
content
}}
<
/spa
n
>
<
/span
>
<
span
v
-
else
>--<
/span
>
<
/div
>
<
/div
>
<
div
class
=
"
text_line
"
>
...
...
@@ -133,7 +149,7 @@
style
=
"
display: flex; justify-content: space-between;
"
>
<
span
class
=
"
left
"
>
{{
form
.
manageCheckResult
}}
{{
dict
.
manageCheckResult
[
form
.
manageCheckResult
]
}}
<
/span
>
<
span
class
=
"
right
"
>
{{
form
.
manageCheckPerson
}}
...
...
@@ -144,7 +160,7 @@
<
el
-
radio
v
-
for
=
"
(val, i) in dict.manageCheckResult
"
:
key
=
"
i
"
:
label
=
"
val
"
:
label
=
"
i
"
>
{{
val
}}
<
/el-radi
o
>
<
/el-radio-group
>
...
...
@@ -163,7 +179,7 @@
style
=
"
display: flex; justify-content: space-between;
"
>
<
span
class
=
"
left
"
>
{{
form
.
leaderCheckResult
}}
{{
dict
.
leaderCheckResult
[
form
.
leaderCheckResult
]
}}
<
/span
>
<
span
class
=
"
right
"
>
{{
form
.
leaderCheckPerson
}}
...
...
@@ -174,7 +190,7 @@
<
el
-
radio
v
-
for
=
"
(val, i) in dict.leaderCheckResult
"
:
key
=
"
i
"
:
label
=
"
val
"
:
label
=
"
i
"
>
{{
val
}}
<
/el-radi
o
>
<
/el-radio-group
>
...
...
@@ -379,7 +395,7 @@ export default {
// 遮罩层
loading
:
true
,
// 弹出层标题
title
:
"
窗口考核核查
"
,
title
:
"
市政务服务大厅窗口考核登记表
"
,
// 是否显示弹出层
open
:
false
,
direction
:
"
rtl
"
,
...
...
@@ -434,11 +450,40 @@ export default {
(
response
)
=>
{
if
(
response
.
code
==
1
)
{
this
.
form
=
{
...
this
.
form
,
...
response
.
data
}
;
this
.
dict
=
{
...
this
.
dict
,
...
response
.
dict
}
;
this
.
$post
(
"
/perform/rules/list
"
,
{
page
:
1
,
size
:
-
1
,
}
).
then
((
responsed
)
=>
{
if
(
responsed
.
code
==
1
)
{
if
(
this
.
form
.
bonusReport
&&
this
.
form
.
bonusReport
!=
"
[]
"
)
{
let
bonusArr
=
[];
bonusArr
=
JSON
.
parse
(
this
.
form
.
bonusReport
);
let
bonusarrText
=
responsed
.
data
.
data
.
filter
((
item
)
=>
bonusArr
.
includes
(
item
.
id
)
);
this
.
form
.
bonusarrText
=
bonusarrText
;
}
if
(
this
.
form
.
deductStatement
&&
this
.
form
.
deductStatement
!=
"
[]
"
)
{
let
deductArr
=
[];
deductArr
=
JSON
.
parse
(
this
.
form
.
deductStatement
);
let
deductarrText
=
responsed
.
data
.
data
.
filter
((
item
)
=>
deductArr
.
includes
(
item
.
id
)
);
this
.
form
.
deductarrText
=
deductarrText
;
}
this
.
form
.
view
=
"
修改
"
;
this
.
open
=
true
;
}
}
);
}
}
);
this
.
tableData
=
[];
this
.
tableData
.
push
({
discipline
:
this
.
form
[
"
discipline
"
]
?
this
.
form
[
"
discipline
"
]
:
"
--
"
,
...
...
@@ -453,11 +498,9 @@ export default {
:
"
黑旗窗口
"
:
"
--
"
,
}
);
this
.
form
.
view
=
"
修改
"
;
this
.
open
=
true
;
}
);
this
.
pageInfo
.
type
=
"
edit
"
;
this
.
title
=
"
自评绩效核查
"
;
this
.
title
=
"
市政务服务大厅窗口考核登记表
"
;
}
,
/** 新增 */
add
(
row
)
{
...
...
@@ -506,6 +549,34 @@ export default {
this
.
form
=
{
...
this
.
form
,
...
response
.
data
}
;
this
.
dict
=
{
...
this
.
dict
,
...
response
.
dict
}
;
this
.
$post
(
"
/perform/rules/list
"
,
{
page
:
1
,
size
:
-
1
,
}
).
then
((
responsed
)
=>
{
if
(
responsed
.
code
==
1
)
{
if
(
this
.
form
.
bonusReport
&&
this
.
form
.
bonusReport
!=
"
[]
"
)
{
let
bonusArr
=
[];
bonusArr
=
JSON
.
parse
(
this
.
form
.
bonusReport
);
let
bonusarrText
=
responsed
.
data
.
data
.
filter
((
item
)
=>
bonusArr
.
includes
(
item
.
id
)
);
this
.
form
.
bonusarrText
=
bonusarrText
;
}
if
(
this
.
form
.
deductStatement
&&
this
.
form
.
deductStatement
!=
"
[]
"
)
{
let
deductArr
=
[];
deductArr
=
JSON
.
parse
(
this
.
form
.
deductStatement
);
let
deductarrText
=
responsed
.
data
.
data
.
filter
((
item
)
=>
deductArr
.
includes
(
item
.
id
)
);
this
.
form
.
deductarrText
=
deductarrText
;
}
this
.
form
.
view
=
"
查看
"
;
this
.
open
=
true
;
}
}
);
}
}
);
...
...
@@ -523,11 +594,9 @@ export default {
:
"
黑旗窗口
"
:
"
--
"
,
}
);
this
.
form
.
view
=
"
查看
"
;
this
.
open
=
true
;
}
);
this
.
pageInfo
.
type
=
"
view
"
;
this
.
title
=
"
自评绩效核查信息详细
"
;
this
.
title
=
"
市政务服务大厅窗口考核登记表
"
;
}
,
/**取消按钮 */
cancel
()
{
...
...
attendance-performance-manager-ui/admin/src/views/check/window/workman/perform/drawershow.vue
View file @
22fa3169
...
...
@@ -10,7 +10,7 @@
<div
class=
"content_box"
>
<div
class=
"text_line"
>
<div
class=
"text_box"
>
<span
>
窗口负责人
:
</span>
<span
style=
"width: 160px;"
>
窗门 (单位) 名称
:
</span>
<span>
{{
form
.
ownerName
||
"
--
"
}}
</span>
</div>
<div
class=
"text_box"
>
...
...
@@ -129,7 +129,7 @@
style
=
"
display: flex; justify-content: space-between;
"
>
<
span
class
=
"
left
"
>
{{
form
.
manageCheckResult
}}
{{
dict
.
manageCheckResult
[
form
.
manageCheckResult
]
}}
<
/span
>
<
span
class
=
"
right
"
>
{{
form
.
manageCheckPerson
}}
...
...
@@ -140,7 +140,7 @@
<
el
-
radio
v
-
for
=
"
(val, i) in dict.manageCheckResult
"
:
key
=
"
i
"
:
label
=
"
val
"
:
label
=
"
i
"
>
{{
val
}}
<
/el-radi
o
>
<
/el-radio-group
>
...
...
@@ -304,7 +304,7 @@ export default {
// 遮罩层
loading
:
true
,
// 弹出层标题
title
:
"
窗口人员考核汇总核查
"
,
title
:
"
市政务服务大厅窗口工作人员考核汇总表
"
,
// 是否显示弹出层
open
:
false
,
direction
:
"
rtl
"
,
...
...
@@ -348,7 +348,7 @@ export default {
this
.
open
=
true
;
}
);
this
.
pageInfo
.
type
=
"
edit
"
;
this
.
title
=
"
窗口人员自评绩效核查
"
;
this
.
title
=
"
市政务服务大厅窗口工作人员考核汇总表
"
;
// await this.$get("/check/window/workman/perform/info",
{
// id: row.id,
//
}
).
then
((
res
)
=>
{
...
...
@@ -456,7 +456,7 @@ export default {
);
}
);
this
.
pageInfo
.
type
=
"
view
"
;
this
.
title
=
"
窗口人员自评绩效核查信息详细
"
;
this
.
title
=
"
市政务服务大厅窗口工作人员考核汇总表
"
;
// this.form = row;
// this.reset();
// this.query =
{
id
:
row
.
id
}
;
...
...
attendance-performance-manager-ui/admin/src/views/parameter/view.vue
0 → 100644
View file @
22fa3169
<
template
>
<div
class=
"layout"
>
<div
class=
"page"
>
<div
class=
"form-box"
>
<div>
<h2
style=
"text-align: center;padding-bottom: 40px;"
>
累计权重:
<span
style=
"color: red;"
>
100%
</span></h2>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
>
<el-form-item
label=
"自评权重"
>
<el-input
v-model.number=
"form.selfWeight"
>
<template
slot=
"append"
>
%
</
template
>
</el-input>
</el-form-item>
<el-form-item
label=
"考勤权重"
>
<el-input
v-model.number=
"form.attendWeight"
>
<
template
slot=
"append"
>
%
</
template
>
</el-input>
</el-form-item>
<el-form-item
label=
"效能权重"
>
<el-input
v-model.number=
"form.effectWeight"
>
<
template
slot=
"append"
>
%
</
template
>
</el-input>
</el-form-item>
<el-form-item
label=
"办件权重"
>
<el-input
v-model.number=
"form.goworkWeight"
>
<
template
slot=
"append"
>
%
</
template
>
</el-input>
</el-form-item>
<el-form-item
label=
"评价权重"
>
<el-input
v-model.number=
"form.reviewWeight"
>
<
template
slot=
"append"
>
%
</
template
>
</el-input>
</el-form-item>
<el-form-item
style=
"text-align: center;"
>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
立即保存
</el-button>
</el-form-item>
</el-form>
</div>
</div>
</div>
</div>
</template>
<
style
lang=
"less"
scoped
>
.form-box{
width: 700px;
margin: 0 auto;
padding-top: 10vh;
&>div{
background-color: rgba(246, 246, 246, 1);
padding: 20px;
}
}
</
style
>
<
script
>
export
default
{
data
(){
return
{
form
:{
selfWeight
:
0
,
attendWeight
:
0
,
effectWeight
:
0
,
goworkWeight
:
0
,
reviewWeight
:
0
,
}
}
},
created
()
{
this
.
onView
()
},
methods
:
{
//提交
onSubmit
(){
const
form
=
{...
this
.
form
}
let
num
=
0
for
(
const
iterator
in
form
)
{
num
=
form
[
iterator
]
+
num
}
if
(
num
!=
100
){
this
.
$message
.
error
(
`权重比例
${
num
}
%,请检查是否正确`
);
return
}
this
.
$post
(
"
/param/save
"
,{
paramKey
:
'
weight
'
,
paramValue
:
JSON
.
stringify
(
this
.
form
)}).
then
(
res
=>
{
const
{
code
,
msg
}
=
res
if
(
code
==
1
){
this
.
$message
.
success
(
'
保存成功
'
);
}
else
{
this
.
$message
.
error
(
msg
);
}
})
},
//查询
onView
(){
this
.
$post
(
"
/param/key?key=weight
"
).
then
(
res
=>
{
const
{
code
,
data
}
=
res
if
(
code
==
1
){
this
.
form
=
JSON
.
parse
(
data
)
}
})
}
},
}
</
script
>
\ No newline at end of file
attendance-performance-manager-ui/admin/src/views/window/perform/drawershow.vue
View file @
22fa3169
...
...
@@ -41,7 +41,15 @@
<
div
class
=
"
text_line
"
>
<
div
class
=
"
text_box
"
>
<
span
style
=
"
width: 140px;
"
>
加分申报:
<
/span
>
<
span
>
{{
form
.
bonusReport
?
form
.
bonusReport
:
"
--
"
}}
<
/span
>
<
span
v
-
if
=
"
form.bonusarrText
"
>
<
span
style
=
"
width: auto;
"
v
-
for
=
"
val in form.bonusarrText
"
:
key
=
"
val.id
"
>
{{
val
.
content
}}
<
/spa
n
>
<
/span
>
<
span
v
-
else
>--<
/span
>
<
/div
>
<
/div
>
<
div
class
=
"
text_line
"
>
...
...
@@ -62,7 +70,15 @@
<
div
class
=
"
text_line
"
>
<
div
class
=
"
text_box
"
>
<
span
style
=
"
width: 140px;
"
>
扣分情况:
<
/span
>
<
span
>
{{
form
.
deductStatement
?
form
.
deductStatement
:
"
--
"
}}
<
/span
>
<
span
v
-
if
=
"
form.deductarrText
"
>
<
span
style
=
"
width: auto;
"
v
-
for
=
"
val in form.deductarrText
"
:
key
=
"
val.id
"
>
{{
val
.
content
}}
<
/spa
n
>
<
/span
>
<
span
v
-
else
>--<
/span
>
<
/div
>
<
/div
>
<
div
class
=
"
text_line
"
>
...
...
@@ -133,7 +149,7 @@
style
=
"
display: flex; justify-content: space-between;
"
>
<
span
class
=
"
left
"
>
{{
form
.
manageCheckResult
}}
{{
dict
.
manageCheckResult
[
form
.
manageCheckResult
]
}}
<
/span
>
<
span
class
=
"
right
"
>
{{
form
.
manageCheckPerson
}}
...
...
@@ -144,7 +160,7 @@
<
el
-
radio
v
-
for
=
"
(val, i) in dict.manageCheckResult
"
:
key
=
"
i
"
:
label
=
"
val
"
:
label
=
"
i
"
>
{{
val
}}
<
/el-radi
o
>
<
/el-radio-group
>
...
...
@@ -163,7 +179,7 @@
style
=
"
display: flex; justify-content: space-between;
"
>
<
span
class
=
"
left
"
>
{{
form
.
leaderCheckResult
}}
{{
dict
.
leaderCheckResult
[
form
.
leaderCheckResult
]
}}
<
/span
>
<
span
class
=
"
right
"
>
{{
form
.
leaderCheckPerson
}}
...
...
@@ -174,7 +190,7 @@
<
el
-
radio
v
-
for
=
"
(val, i) in dict.leaderCheckResult
"
:
key
=
"
i
"
:
label
=
"
val
"
:
label
=
"
i
"
>
{{
val
}}
<
/el-radi
o
>
<
/el-radio-group
>
...
...
@@ -379,7 +395,7 @@ export default {
// 遮罩层
loading
:
true
,
// 弹出层标题
title
:
"
窗口考核核查
"
,
title
:
"
市政务服务大厅窗口考核登记表
"
,
// 是否显示弹出层
open
:
false
,
direction
:
"
rtl
"
,
...
...
@@ -435,9 +451,38 @@ export default {
this
.
form
=
{
...
this
.
form
,
...
response
.
data
}
;
this
.
dict
=
{
...
this
.
dict
,
...
response
.
dict
}
;
this
.
$post
(
"
/perform/rules/list
"
,
{
page
:
1
,
size
:
-
1
,
}
).
then
((
responsed
)
=>
{
if
(
responsed
.
code
==
1
)
{
if
(
this
.
form
.
bonusReport
&&
this
.
form
.
bonusReport
!=
"
[]
"
)
{
let
bonusArr
=
[];
bonusArr
=
JSON
.
parse
(
this
.
form
.
bonusReport
);
let
bonusarrText
=
responsed
.
data
.
data
.
filter
((
item
)
=>
bonusArr
.
includes
(
item
.
id
)
);
this
.
form
.
bonusarrText
=
bonusarrText
;
}
if
(
this
.
form
.
deductStatement
&&
this
.
form
.
deductStatement
!=
"
[]
"
)
{
let
deductArr
=
[];
deductArr
=
JSON
.
parse
(
this
.
form
.
deductStatement
);
let
deductarrText
=
responsed
.
data
.
data
.
filter
((
item
)
=>
deductArr
.
includes
(
item
.
id
)
);
this
.
form
.
deductarrText
=
deductarrText
;
}
this
.
form
.
view
=
"
修改
"
;
this
.
open
=
true
;
}
}
);
}
}
);
this
.
tableData
=
[];
this
.
tableData
.
push
({
discipline
:
this
.
form
[
"
discipline
"
]
?
this
.
form
[
"
discipline
"
]
:
"
--
"
,
...
...
@@ -452,11 +497,9 @@ export default {
:
"
黑旗窗口
"
:
"
--
"
,
}
);
this
.
form
.
view
=
"
修改
"
;
this
.
open
=
true
;
}
);
this
.
pageInfo
.
type
=
"
edit
"
;
this
.
title
=
"
自评绩效核查
"
;
this
.
title
=
"
市政务服务大厅窗口考核登记表
"
;
}
,
/** 新增 */
add
(
row
)
{
...
...
@@ -464,7 +507,7 @@ export default {
this
.
urls
.
currUrl
=
"
check/window/perform/add
"
;
this
.
getData
();
this
.
pageInfo
.
type
=
"
add
"
;
this
.
title
=
"
新增窗口考核核查
"
;
this
.
title
=
"
市政务服务大厅窗口考核登记表
"
;
}
,
/** 查看*/
async
view
(
row
)
{
...
...
@@ -505,9 +548,42 @@ export default {
this
.
form
=
{
...
this
.
form
,
...
response
.
data
}
;
this
.
dict
=
{
...
this
.
dict
,
...
response
.
dict
}
;
this
.
$post
(
"
/perform/rules/list
"
,
{
page
:
1
,
size
:
-
1
,
}
).
then
((
responsed
)
=>
{
if
(
responsed
.
code
==
1
)
{
if
(
this
.
form
.
bonusReport
&&
this
.
form
.
bonusReport
!=
"
[]
"
)
{
let
bonusArr
=
[];
bonusArr
=
JSON
.
parse
(
this
.
form
.
bonusReport
);
let
bonusarrText
=
responsed
.
data
.
data
.
filter
((
item
)
=>
bonusArr
.
includes
(
item
.
id
)
);
this
.
form
.
bonusarrText
=
bonusarrText
;
}
if
(
this
.
form
.
deductStatement
&&
this
.
form
.
deductStatement
!=
"
[]
"
)
{
let
deductArr
=
[];
deductArr
=
JSON
.
parse
(
this
.
form
.
deductStatement
);
let
deductarrText
=
responsed
.
data
.
data
.
filter
((
item
)
=>
deductArr
.
includes
(
item
.
id
)
);
this
.
form
.
deductarrText
=
deductarrText
;
}
this
.
form
.
view
=
"
查看
"
;
this
.
open
=
true
;
}
}
);
}
}
);
// this.$get("/perform/rules/list").then((response) =>
{
// if (response.code == 1)
{
// console.log(response);
//
}
//
}
);
this
.
tableData
=
[];
this
.
tableData
.
push
({
discipline
:
this
.
form
[
"
discipline
"
]
?
this
.
form
[
"
discipline
"
]
:
"
--
"
,
...
...
@@ -522,11 +598,9 @@ export default {
:
"
黑旗窗口
"
:
"
--
"
,
}
);
this
.
form
.
view
=
"
查看
"
;
this
.
open
=
true
;
}
);
this
.
pageInfo
.
type
=
"
view
"
;
this
.
title
=
"
自评绩效核查信息详细
"
;
this
.
title
=
"
市政务服务大厅窗口考核登记表
"
;
}
,
/**取消按钮 */
cancel
()
{
...
...
attendance-performance-manager-ui/admin/src/views/window/workman/perform/drawershow.vue
View file @
22fa3169
...
...
@@ -10,7 +10,7 @@
<div
class=
"content_box"
>
<div
class=
"text_line"
>
<div
class=
"text_box"
>
<span
>
窗口负责人:
</span>
<span
style=
"width: 160px;"
>
窗门 (单位) 名称:
</span>
<span>
{{
form
.
ownerName
||
"
--
"
}}
</span>
</div>
<div
class=
"text_box"
>
...
...
@@ -129,7 +129,7 @@
style
=
"
display: flex; justify-content: space-between;
"
>
<
span
class
=
"
left
"
>
{{
form
.
manageCheckResult
}}
{{
dict
.
manageCheckResult
[
form
.
manageCheckResult
]
}}
<
/span
>
<
span
class
=
"
right
"
>
{{
form
.
manageCheckPerson
}}
...
...
@@ -140,7 +140,7 @@
<
el
-
radio
v
-
for
=
"
(val, i) in dict.manageCheckResult
"
:
key
=
"
i
"
:
label
=
"
val
"
:
label
=
"
i
"
>
{{
val
}}
<
/el-radi
o
>
<
/el-radio-group
>
...
...
@@ -346,7 +346,7 @@ export default {
this
.
open
=
true
;
}
);
this
.
pageInfo
.
type
=
"
edit
"
;
this
.
title
=
"
窗口人员自评绩效核查
"
;
this
.
title
=
"
市政务服务大厅窗口工作人员考核汇总表
"
;
// await this.$get("/check/window/workman/perform/info",
{
// id: row.id,
//
}
).
then
((
res
)
=>
{
...
...
@@ -417,7 +417,7 @@ export default {
this
.
urls
.
currUrl
=
"
check/window/workman/perform/add
"
;
this
.
getData
();
this
.
pageInfo
.
type
=
"
add
"
;
this
.
title
=
"
新增窗口人员考核汇总核查
"
;
this
.
title
=
"
市政务服务大厅窗口工作人员考核汇总表
"
;
}
,
/** 查看*/
async
view
(
row
)
{
...
...
@@ -492,7 +492,7 @@ export default {
this
.
open
=
true
;
}
);
this
.
pageInfo
.
type
=
"
view
"
;
this
.
title
=
"
窗口人员自评绩效核查信息详细
"
;
this
.
title
=
"
市政务服务大厅窗口工作人员考核汇总表
"
;
}
,
/**取消按钮 */
cancel
()
{
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/dao/CheckWindowWorkmanPerformDao.java
View file @
22fa3169
...
...
@@ -2,6 +2,9 @@ package com.mortals.xhx.module.check.dao;
import
com.mortals.framework.dao.ICRUDDao
;
import
com.mortals.xhx.module.check.model.CheckWindowWorkmanPerformEntity
;
import
com.mortals.xhx.module.check.model.vo.StaffCheckSummaryQuery
;
import
com.mortals.xhx.module.check.model.vo.StaffCheckSummaryVo
;
import
java.util.List
;
/**
* 窗口人员考核汇总核查Dao
...
...
@@ -13,5 +16,10 @@ import java.util.List;
public
interface
CheckWindowWorkmanPerformDao
extends
ICRUDDao
<
CheckWindowWorkmanPerformEntity
,
Long
>{
/**
* 汇总已审核的核查记录
* @param query
* @return
*/
List
<
StaffCheckSummaryVo
>
summaryCheck
(
StaffCheckSummaryQuery
query
);
}
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/dao/ibatis/CheckWindowWorkmanPerformDaoImpl.java
View file @
22fa3169
package
com.mortals.xhx.module.check.dao.ibatis
;
import
com.mortals.xhx.module.check.model.vo.StaffCheckSummaryQuery
;
import
com.mortals.xhx.module.check.model.vo.StaffCheckSummaryVo
;
import
org.springframework.stereotype.Repository
;
import
com.mortals.xhx.module.check.dao.CheckWindowWorkmanPerformDao
;
import
com.mortals.xhx.module.check.model.CheckWindowWorkmanPerformEntity
;
...
...
@@ -17,5 +19,8 @@ import java.util.List;
public
class
CheckWindowWorkmanPerformDaoImpl
extends
BaseCRUDDaoMybatis
<
CheckWindowWorkmanPerformEntity
,
Long
>
implements
CheckWindowWorkmanPerformDao
{
@Override
public
List
<
StaffCheckSummaryVo
>
summaryCheck
(
StaffCheckSummaryQuery
query
)
{
return
this
.
getSqlSession
().
selectList
(
this
.
getSqlId
(
"getSummaryCheckList"
),
query
);
}
}
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/model/vo/StaffCheckSummaryQuery.java
View file @
22fa3169
...
...
@@ -15,4 +15,9 @@ public class StaffCheckSummaryQuery {
private
String
checkTimeStart
;
/** 结束 核查时间 */
private
String
checkTimeEnd
;
/** 年 */
private
Integer
year
;
/** 月 */
private
Integer
month
;
private
Long
recordId
;
}
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckOtherRecordServiceImpl.java
View file @
22fa3169
...
...
@@ -111,7 +111,7 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
query
.
setStaffId
(
entity
.
getStaffId
());
query
.
setCheckTimeStart
(
DateUtils
.
getStrDate
(
entity
.
getCheckTime
()));
query
.
setCheckTimeEnd
(
query
.
getCheckTimeStart
());
summaryCheck
(
query
);
//
summaryCheck(query);
}
catch
(
Exception
e
)
{
log
.
error
(
"汇总已审核的核查记录出错"
,
e
);
}
...
...
@@ -183,7 +183,7 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
sendCheckDingTalk
(
temp
);
StaffCheckSummaryQuery
query
=
new
StaffCheckSummaryQuery
();
query
.
setStaffId
(
temp
.
getStaffId
());
summaryCheck
(
query
);
//
summaryCheck(query);
}
catch
(
Exception
e
)
{
log
.
error
(
"汇总已审核的核查记录出错"
,
e
);
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckWindowWorkmanPerformServiceImpl.java
View file @
22fa3169
package
com.mortals.xhx.module.check.service.impl
;
import
com.mortals.framework.service.IUser
;
import
com.mortals.framework.util.StringUtils
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckWindowPerformEntity
;
import
com.mortals.xhx.module.check.model.vo.StaffCheckSummaryQuery
;
import
com.mortals.xhx.module.check.model.vo.StaffCheckSummaryVo
;
import
com.mortals.xhx.module.dept.model.DeptEntity
;
import
com.mortals.xhx.module.dept.model.DeptPerformStatEntity
;
import
com.mortals.xhx.module.dept.model.DeptPerformStatQuery
;
import
com.mortals.xhx.module.staff.model.StaffPerformStatEntity
;
import
com.mortals.xhx.module.staff.model.StaffPerformStatQuery
;
import
com.mortals.xhx.module.staff.model.StaffPerformSummaryEntity
;
import
com.mortals.xhx.module.staff.model.StaffPerformSummaryQuery
;
import
com.mortals.xhx.module.staff.service.StaffPerformSummaryService
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
...
...
@@ -11,7 +26,11 @@ import com.mortals.xhx.module.check.model.CheckWindowWorkmanPerformEntity;
import
com.mortals.xhx.module.check.service.CheckWindowWorkmanPerformService
;
import
lombok.extern.slf4j.Slf4j
;
import
java.math.BigDecimal
;
import
java.text.SimpleDateFormat
;
import
java.util.Calendar
;
import
java.util.Date
;
import
java.util.List
;
/**
* CheckWindowWorkmanPerformService
...
...
@@ -24,6 +43,9 @@ import java.util.Date;
@Slf4j
public
class
CheckWindowWorkmanPerformServiceImpl
extends
AbstractCRUDServiceImpl
<
CheckWindowWorkmanPerformDao
,
CheckWindowWorkmanPerformEntity
,
Long
>
implements
CheckWindowWorkmanPerformService
{
@Autowired
private
StaffPerformSummaryService
staffPerformSummaryService
;
@Override
public
void
examine
(
CheckWindowWorkmanPerformEntity
entity
,
Context
context
)
throws
AppException
{
if
(
entity
.
getId
()
==
null
)
{
...
...
@@ -43,5 +65,75 @@ public class CheckWindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImp
entity
.
setUpdateTime
(
new
Date
());
entity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
//处理状态(1.未处理,2.已处理)
dao
.
update
(
entity
);
StaffCheckSummaryQuery
query
=
new
StaffCheckSummaryQuery
();
query
.
setRecordId
(
temp
.
getRecordId
());
query
.
setYear
(
temp
.
getYear
());
query
.
setMonth
(
temp
.
getMonth
());
summaryCheck
(
query
);
}
private
List
<
StaffCheckSummaryVo
>
summaryCheck
(
StaffCheckSummaryQuery
query
)
throws
AppException
{
List
<
StaffCheckSummaryVo
>
summaryVoList
=
dao
.
summaryCheck
(
query
);
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
))
{
for
(
StaffCheckSummaryVo
vo
:
summaryVoList
)
{
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
staffPerformSummaryEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
staffPerformSummaryEntity
.
setOtherScore
(
vo
.
getSumScore
());
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
summaryQuery
.
setStaffId
(
vo
.
getStaffId
());
summaryQuery
.
setYear
(
vo
.
getYear
());
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
)
{
if
(
temp
.
getReviewScore
()
!=
null
)
{
staffPerformSummaryEntity
.
setReviewScore
(
temp
.
getReviewScore
());
}
if
(
temp
.
getAttendScore
()
!=
null
)
{
staffPerformSummaryEntity
.
setAttendScore
(
temp
.
getAttendScore
());
}
if
(
temp
.
getGoworkScore
()
!=
null
)
{
staffPerformSummaryEntity
.
setGoworkScore
(
temp
.
getGoworkScore
());
}
if
(
temp
.
getEffectScore
()
!=
null
)
{
staffPerformSummaryEntity
.
setEffectScore
(
temp
.
getEffectScore
());
}
if
(
temp
.
getComplainScore
()
!=
null
)
{
staffPerformSummaryEntity
.
setComplainScore
(
temp
.
getComplainScore
());
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getAttendScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getOtherScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getGoworkScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getEffectScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getComplainScore
());
staffPerformSummaryEntity
.
setErrorScore
(
erro
);
BigDecimal
total
=
new
BigDecimal
(
100
);
staffPerformSummaryEntity
.
setTotalScore
(
total
.
add
(
erro
));
staffPerformSummaryEntity
.
setId
(
temp
.
getId
());
staffPerformSummaryEntity
.
setUpdateTime
(
new
Date
());
staffPerformSummaryService
.
update
(
staffPerformSummaryEntity
);
staffPerformSummaryEntity
.
setId
(
temp
.
getId
());
staffPerformSummaryEntity
.
setUpdateTime
(
new
Date
());
staffPerformSummaryService
.
update
(
staffPerformSummaryEntity
);
}
else
{
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setReviewScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setGoworkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setComplainScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setErrorScore
(
vo
.
getSumScore
());
BigDecimal
total
=
new
BigDecimal
(
100
);
staffPerformSummaryEntity
.
setTotalScore
(
total
.
add
(
vo
.
getSumScore
()));
staffPerformSummaryEntity
.
setCreateUserId
(
1
l
);
staffPerformSummaryEntity
.
setCreateTime
(
new
Date
());
staffPerformSummaryService
.
save
(
staffPerformSummaryEntity
);
}
}
}
return
summaryVoList
;
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowWorkmanPerformServiceImpl.java
View file @
22fa3169
...
...
@@ -59,7 +59,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
@Override
protected
void
saveBefore
(
WindowWorkmanPerformEntity
entity
,
Context
context
)
throws
AppException
{
buildWindowInfo
(
entity
);
//
buildWindowInfo(entity);
StaffEntity
staff
=
staffService
.
get
(
entity
.
getOwnerId
());
if
(
staff
!=
null
){
entity
.
setDeptId
(
staff
.
getDeptId
());
...
...
@@ -67,13 +67,13 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
entity
.
setSalaId
(
staff
.
getSalaId
());
entity
.
setSalaName
(
staff
.
getSalaName
());
}
if
(
entity
.
getWindowId
()!=
null
)
{
WindowOwnerDetailEntity
windowOwnerDetailEntity
=
windowOwnerDetailService
.
selectOne
(
new
WindowOwnerDetailQuery
().
windowId
(
entity
.
getWindowId
()));
if
(
windowOwnerDetailEntity
!=
null
){
entity
.
setWindowCode
(
windowOwnerDetailEntity
.
getWindowCode
());
entity
.
setWindowName
(
windowOwnerDetailEntity
.
getWindowName
());
}
}
//
if(entity.getWindowId()!=null) {
//
WindowOwnerDetailEntity windowOwnerDetailEntity = windowOwnerDetailService.selectOne(new WindowOwnerDetailQuery().windowId(entity.getWindowId()));
//
if(windowOwnerDetailEntity!=null){
//
entity.setWindowCode(windowOwnerDetailEntity.getWindowCode());
//
entity.setWindowName(windowOwnerDetailEntity.getWindowName());
//
}
//
}
super
.
saveBefore
(
entity
,
context
);
}
...
...
@@ -89,7 +89,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
@Override
protected
void
updateBefore
(
WindowWorkmanPerformEntity
entity
,
Context
context
)
throws
AppException
{
buildWindowInfo
(
entity
);
//
buildWindowInfo(entity);
super
.
updateBefore
(
entity
,
context
);
}
...
...
@@ -144,7 +144,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
BeanUtils
.
copyProperties
(
entity
,
perform
,
BeanUtil
.
getNullPropertyNames
(
entity
));
perform
.
setId
(
null
);
perform
.
setRecordId
(
entity
.
getId
());
perform
.
setWindowName
(
entity
.
getWindowName
()+
"("
+
entity
.
getWindowCode
()+
")"
);
//
perform.setWindowName(entity.getWindowName()+"("+entity.getWindowCode()+")");
perform
.
setFromName
(
"市政务服务大厅窗口工作人员考核汇总表"
);
perform
.
setSubmitDate
(
entity
.
getFillDate
());
perform
.
setUpdateTime
(
null
);
...
...
attendance-performance-manager/src/main/resources/sqlmap/module/check/CheckWindowWorkmanPerformMapperExt.xml
0 → 100644
View file @
22fa3169
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper
namespace=
"com.mortals.xhx.module.check.dao.ibatis.CheckWindowWorkmanPerformDaoImpl"
>
<!-- 汇总已审核的核查记录 -->
<select
id=
"getSummaryCheckList"
parameterType=
"com.mortals.xhx.module.check.model.vo.StaffCheckSummaryQuery"
resultType=
"com.mortals.xhx.module.check.model.vo.StaffCheckSummaryVo"
>
SELECT
p.`year`,p.`month`,d.staffId,d.staffName,s.deptId,s.deptName,sum(d.sumScore) as sumScore
FROM
mortals_xhx_check_window_workman_perform p,
mortals_xhx_window_workman_perform w,
mortals_xhx_window_workman_perform_detail d,
mortals_xhx_staff s
WHERE
p.recordId = w.id
AND d.performId = w.id
AND s.id = d.staffId
AND checkStatus = 2
AND manageCheckResult = 1
<if
test=
"recordId != null and recordId!=''"
>
AND p.recordId = #{recordId}
</if>
<if
test=
"year != null and year!=''"
>
AND p.`year` = #{year}
</if>
<if
test=
"month != null and month!=''"
>
AND p.`month` = #{month}
</if>
GROUP BY p.`year`,p.`month`,d.staffId,d.staffName,s.deptId,s.deptName
</select>
</mapper>
\ No newline at end of file
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