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-manager-ui
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-manager-ui
Commits
a8e4da0d
Commit
a8e4da0d
authored
Apr 28, 2024
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推修改绩效模块
parent
801788e8
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
181 additions
and
16 deletions
+181
-16
src/assets/mixins/formdialog.js
src/assets/mixins/formdialog.js
+18
-3
src/components/SearchFormDrawer.vue
src/components/SearchFormDrawer.vue
+6
-1
src/views/check/window/perform/drawershow.vue
src/views/check/window/perform/drawershow.vue
+32
-0
src/views/check/window/perform/list.vue
src/views/check/window/perform/list.vue
+3
-3
src/views/check/window/workman/perform/drawershow.vue
src/views/check/window/workman/perform/drawershow.vue
+80
-1
src/views/check/window/workman/perform/list.vue
src/views/check/window/workman/perform/list.vue
+13
-1
src/views/perform/review/record/list.vue
src/views/perform/review/record/list.vue
+3
-3
src/views/window/perform/list.vue
src/views/window/perform/list.vue
+12
-2
src/views/window/workman/perform/list.vue
src/views/window/workman/perform/list.vue
+14
-2
No files found.
src/assets/mixins/formdialog.js
View file @
a8e4da0d
...
@@ -16,9 +16,9 @@ export default {
...
@@ -16,9 +16,9 @@ export default {
},
},
];
];
}
}
data
.
entity
.
inspect
&&
data
.
entity
.
inspect
==
1
data
.
entity
.
inspect
&&
data
.
entity
.
inspect
==
0
?
(
data
.
entity
.
inspect
=
tru
e
)
?
(
data
.
entity
.
inspect
=
fals
e
)
:
(
data
.
entity
.
inspect
=
fals
e
);
:
(
data
.
entity
.
inspect
=
tru
e
);
return
data
;
return
data
;
},
},
// 渲染后置处理
// 渲染后置处理
...
@@ -38,6 +38,21 @@ export default {
...
@@ -38,6 +38,21 @@ export default {
}
}
}
}
}
}
data
.
windowWorkmanPerformDetailList
&&
data
.
windowWorkmanPerformDetailList
.
length
>
0
?
(
data
.
windowWorkmanPerformDetailList
=
data
.
windowWorkmanPerformDetailList
.
map
(
(
v
)
=>
{
v
.
bonusScore
=
Number
(
v
.
bonusScore
);
v
.
discipline
=
Number
(
v
.
discipline
);
v
.
specification
=
Number
(
v
.
specification
);
v
.
management
=
Number
(
v
.
management
);
v
.
efficiency
=
Number
(
v
.
efficiency
);
v
.
sumScore
=
Number
(
v
.
sumScore
);
return
v
;
}
))
:
""
;
return
data
;
return
data
;
},
},
// 提交表单的后置处理, 会阻断默认的回退行为
// 提交表单的后置处理, 会阻断默认的回退行为
...
...
src/components/SearchFormDrawer.vue
View file @
a8e4da0d
...
@@ -72,6 +72,7 @@
...
@@ -72,6 +72,7 @@
:filterable=
"item.filterable"
:filterable=
"item.filterable"
:multiple=
"item.multiple"
:multiple=
"item.multiple"
:clearable=
"true"
:clearable=
"true"
@
change=
"deptChange"
@
clear=
"item.clear && item.clear"
@
clear=
"item.clear && item.clear"
v-if=
"item.type === 'selectDeptId'"
v-if=
"item.type === 'selectDeptId'"
:placeholder=
"'请选择' + item.label"
:placeholder=
"'请选择' + item.label"
...
@@ -293,12 +294,16 @@ export default {
...
@@ -293,12 +294,16 @@ export default {
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
this
.
deptArr
=
res
.
data
.
data
;
this
.
deptArr
=
res
.
data
.
data
;
this
.
page
=
1
;
}
}
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
this
.
$message
.
error
(
error
.
message
);
this
.
$message
.
error
(
error
.
message
);
});
});
},
},
deptChange
()
{
this
.
page
=
1
;
},
getArr
()
{
getArr
()
{
this
.
$get
(
"
/dept/getSalaList
"
)
this
.
$get
(
"
/dept/getSalaList
"
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
@@ -461,7 +466,7 @@ export default {
...
@@ -461,7 +466,7 @@ export default {
this
.
onSubmit
();
this
.
onSubmit
();
},
},
onSubmit
()
{
onSubmit
()
{
this
.
form
.
page
=
this
.
page
;
this
.
form
.
name
?
(
this
.
form
.
page
=
1
)
:
(
this
.
form
.
page
=
this
.
page
)
;
this
.
$post
(
"
/staff/list
"
,
this
.
form
).
then
((
res
)
=>
{
this
.
$post
(
"
/staff/list
"
,
this
.
form
).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
let
obj
=
res
.
data
;
let
obj
=
res
.
data
;
...
...
src/views/check/window/perform/drawershow.vue
View file @
a8e4da0d
...
@@ -101,14 +101,37 @@
...
@@ -101,14 +101,37 @@
label
=
"
工作纪律
"
label
=
"
工作纪律
"
align
=
"
center
"
align
=
"
center
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
input
v
-
if
=
"
form.view !== '查看'
"
class
=
"
item
"
v
-
model
=
"
scope.row.discipline
"
@
input
=
"
handleInput(scope.row)
"
placeholder
=
"
请输入内容
"
><
/el-input
>
<
div
v
-
else
class
=
"
txt
"
>
{{
scope
.
row
.
discipline
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
prop
=
"
specification
"
prop
=
"
specification
"
label
=
"
服务规范
"
label
=
"
服务规范
"
align
=
"
center
"
align
=
"
center
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
input
v
-
if
=
"
form.view !== '查看'
"
class
=
"
item
"
@
input
=
"
handleInput(scope.row)
"
v
-
model
=
"
scope.row.specification
"
placeholder
=
"
请输入内容
"
><
/el-input
>
<
div
v
-
else
class
=
"
txt
"
>
{{
scope
.
row
.
specification
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"
bonusScore
"
label
=
"
加分
"
align
=
"
center
"
>
<
el
-
table
-
column
prop
=
"
bonusScore
"
label
=
"
加分
"
align
=
"
center
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
div
class
=
"
txt
"
>
{{
scope
.
row
.
bonusScore
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"
sumScore
"
label
=
"
合计得分
"
align
=
"
center
"
>
<
el
-
table
-
column
prop
=
"
sumScore
"
label
=
"
合计得分
"
align
=
"
center
"
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -412,6 +435,15 @@ export default {
...
@@ -412,6 +435,15 @@ export default {
}
,
}
,
methods
:
{
methods
:
{
handleInput
(
val
)
{
val
.
sumScore
=
Number
(
val
.
bonusScore
)
+
Number
(
val
.
discipline
)
+
Number
(
val
.
specification
);
this
.
form
.
discipline
=
Number
(
val
.
discipline
);
this
.
form
.
specification
=
Number
(
val
.
specification
);
this
.
form
.
sumScore
=
Number
(
val
.
sumScore
);
}
,
functionTime
(
val
)
{
functionTime
(
val
)
{
let
time
=
timestampToTime
(
val
,
6
);
let
time
=
timestampToTime
(
val
,
6
);
return
time
;
return
time
;
...
...
src/views/check/window/perform/list.vue
View file @
a8e4da0d
...
@@ -167,12 +167,12 @@ export default {
...
@@ -167,12 +167,12 @@ export default {
},
},
{
{
label
:
"
核查人
"
,
label
:
"
核查人
"
,
prop
:
"
submitDate
"
,
prop
:
"
leaderCheckPerson
"
,
formatter
:
this
.
formatter
Date
,
formatter
:
this
.
formatter
,
},
},
{
{
label
:
"
最新核查时间
"
,
label
:
"
最新核查时间
"
,
prop
:
"
submitDat
e
"
,
prop
:
"
leaderCheckTim
e
"
,
formatter
:
this
.
formatterDate
,
formatter
:
this
.
formatterDate
,
},
},
{
{
...
...
src/views/check/window/workman/perform/drawershow.vue
View file @
a8e4da0d
...
@@ -44,18 +44,48 @@
...
@@ -44,18 +44,48 @@
label
=
"
工作纪律
"
label
=
"
工作纪律
"
align
=
"
center
"
align
=
"
center
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
input
v
-
if
=
"
form.view !== '查看'
"
class
=
"
item
"
v
-
model
=
"
scope.row.discipline
"
@
input
=
"
handleInput(scope.row)
"
placeholder
=
"
请输入内容
"
><
/el-input
>
<
div
v
-
else
class
=
"
txt
"
>
{{
scope
.
row
.
discipline
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
prop
=
"
specification
"
prop
=
"
specification
"
label
=
"
服务规范
"
label
=
"
服务规范
"
align
=
"
center
"
align
=
"
center
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
input
v
-
if
=
"
form.view !== '查看'
"
class
=
"
item
"
v
-
model
=
"
scope.row.specification
"
placeholder
=
"
请输入内容
"
@
input
=
"
handleInput(scope.row)
"
><
/el-input
>
<
div
v
-
else
class
=
"
txt
"
>
{{
scope
.
row
.
specification
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
prop
=
"
management
"
prop
=
"
management
"
label
=
"
综合管理
"
label
=
"
综合管理
"
align
=
"
center
"
align
=
"
center
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
input
v
-
if
=
"
form.view !== '查看'
"
class
=
"
item
"
@
input
=
"
handleInput(scope.row)
"
v
-
model
=
"
scope.row.management
"
placeholder
=
"
请输入内容
"
><
/el-input
>
<
div
v
-
else
class
=
"
txt
"
>
{{
scope
.
row
.
management
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<!--
<
el
-
table
-
column
<!--
<
el
-
table
-
column
prop
=
"
evaluation
"
prop
=
"
evaluation
"
...
@@ -68,8 +98,28 @@
...
@@ -68,8 +98,28 @@
label
=
"
工作效能
"
label
=
"
工作效能
"
align
=
"
center
"
align
=
"
center
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
input
v
-
if
=
"
form.view !== '查看'
"
class
=
"
item
"
@
input
=
"
handleInput(scope.row)
"
v
-
model
=
"
scope.row.efficiency
"
placeholder
=
"
请输入内容
"
><
/el-input
>
<
div
v
-
else
class
=
"
txt
"
>
{{
scope
.
row
.
efficiency
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"
bonusScore
"
label
=
"
加分
"
align
=
"
center
"
>
<
el
-
table
-
column
prop
=
"
bonusScore
"
label
=
"
加分
"
align
=
"
center
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
input
v
-
if
=
"
form.view !== '查看'
"
class
=
"
item
"
@
input
=
"
handleInput(scope.row)
"
v
-
model
=
"
scope.row.bonusScore
"
placeholder
=
"
请输入内容
"
><
/el-input
>
<
div
v
-
else
class
=
"
txt
"
>
{{
scope
.
row
.
bonusScore
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
...
@@ -77,6 +127,9 @@
...
@@ -77,6 +127,9 @@
label
=
"
综合评定打分
"
label
=
"
综合评定打分
"
align
=
"
center
"
align
=
"
center
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
div
class
=
"
txt
"
>
{{
scope
.
row
.
sumScore
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
prop
=
"
examineLevel
"
prop
=
"
examineLevel
"
...
@@ -85,7 +138,23 @@
...
@@ -85,7 +138,23 @@
width
=
"
200
"
width
=
"
200
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
{{
dict
.
examineLevel
[
scope
.
row
.
examineLevel
]
}}
<
el
-
select
v
-
model
=
"
scope.row.examineLevel
"
v
-
if
=
"
form.view !== '查看'
"
placeholder
=
"
请选择
"
>
<
el
-
option
v
-
for
=
"
($label, $value) in dict.examineLevel
"
:
key
=
"
$value
"
:
label
=
"
$label
"
:
value
=
"
Number($value)
"
>
<!--
{{
dict
.
examineLevel
}}
-->
<
/el-option
>
<
/el-select
>
<
div
v
-
else
class
=
"
txt
"
>
{{
dict
.
examineLevel
[
scope
.
row
.
examineLevel
]
}}
<
/div
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
...
@@ -319,6 +388,16 @@ export default {
...
@@ -319,6 +388,16 @@ export default {
}
,
}
,
methods
:
{
methods
:
{
handleInput
(
val
)
{
val
.
sumScore
=
Number
(
val
.
bonusScore
)
+
Number
(
val
.
discipline
)
+
Number
(
val
.
efficiency
)
+
Number
(
val
.
evaluation
)
+
Number
(
val
.
management
)
+
Number
(
val
.
specification
);
console
.
log
(
val
);
}
,
functionTime
(
val
)
{
functionTime
(
val
)
{
let
time
=
timestampToTime
(
val
,
6
);
let
time
=
timestampToTime
(
val
,
6
);
return
time
;
return
time
;
...
...
src/views/check/window/workman/perform/list.vue
View file @
a8e4da0d
...
@@ -163,9 +163,21 @@ export default {
...
@@ -163,9 +163,21 @@ export default {
width
:
110
,
width
:
110
,
formatter
:
this
.
formatterDate
,
formatter
:
this
.
formatterDate
,
},
},
{
label
:
"
核查人
"
,
formatter
:
(
row
)
=>
{
return
`
${
row
.
leaderCheckPerson
?
row
.
leaderCheckPerson
:
row
.
manageCheckPerson
?
row
.
manageCheckPerson
:
"
--
"
}
`
;
},
},
{
{
label
:
"
最新核查时间
"
,
label
:
"
最新核查时间
"
,
prop
:
"
update
Time
"
,
prop
:
"
manageCheck
Time
"
,
width
:
150
,
width
:
150
,
formatter
:
this
.
formatterDate
,
formatter
:
this
.
formatterDate
,
},
},
...
...
src/views/perform/review/record/list.vue
View file @
a8e4da0d
...
@@ -191,8 +191,8 @@ export default {
...
@@ -191,8 +191,8 @@ export default {
},
},
{
{
name
:
"
deptId
"
,
name
:
"
deptId
"
,
type
:
"
select
"
,
type
:
"
select
DeptId
"
,
label
:
"
所属
部门
"
,
label
:
"
部门
"
,
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
...
@@ -222,7 +222,7 @@ export default {
...
@@ -222,7 +222,7 @@ export default {
{
label
:
"
窗口编号
"
,
prop
:
"
windowNum
"
,
formatter
:
this
.
formatter
},
{
label
:
"
窗口编号
"
,
prop
:
"
windowNum
"
,
formatter
:
this
.
formatter
},
{
label
:
"
所属大厅
"
,
prop
:
"
salaName
"
,
formatter
:
this
.
formatter
},
{
label
:
"
所属大厅
"
,
prop
:
"
salaName
"
,
formatter
:
this
.
formatter
},
{
label
:
"
所属部门
"
,
prop
:
"
deptName
"
,
formatter
:
this
.
formatter
},
{
label
:
"
所属部门
"
,
prop
:
"
deptName
"
,
formatter
:
this
.
formatter
},
...
...
src/views/window/perform/list.vue
View file @
a8e4da0d
...
@@ -115,7 +115,7 @@ export default {
...
@@ -115,7 +115,7 @@ export default {
columns
:
[
columns
:
[
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
label
:
"
窗口首席代表
’
"
,
prop
:
"
ownerName
"
},
{
label
:
"
窗口首席代表
"
,
prop
:
"
ownerName
"
},
{
{
label
:
"
登记年月
"
,
label
:
"
登记年月
"
,
...
@@ -130,7 +130,7 @@ export default {
...
@@ -130,7 +130,7 @@ export default {
},
},
},
},
{
label
:
"
所属大厅
"
,
prop
:
"
salaName
"
,
formatter
:
this
.
formatter
},
{
label
:
"
所属大厅
"
,
prop
:
"
salaName
"
,
formatter
:
this
.
formatter
},
{
{
label
:
"
所属部门
"
,
label
:
"
所属部门
"
,
...
@@ -152,6 +152,16 @@ export default {
...
@@ -152,6 +152,16 @@ export default {
prop
:
"
submitDate
"
,
prop
:
"
submitDate
"
,
formatter
:
this
.
formatterDate
,
formatter
:
this
.
formatterDate
,
},
},
{
label
:
"
核查人
"
,
prop
:
"
leaderCheckPerson
"
,
formatter
:
this
.
formatter
,
},
{
label
:
"
最新核查时间
"
,
prop
:
"
leaderCheckTime
"
,
formatter
:
this
.
formatterDate
,
},
{
label
:
"
处理状态
"
,
prop
:
"
checkStatus
"
,
formatter
:
this
.
formatter
},
{
label
:
"
处理状态
"
,
prop
:
"
checkStatus
"
,
formatter
:
this
.
formatter
},
{
{
...
...
src/views/window/workman/perform/list.vue
View file @
a8e4da0d
...
@@ -113,7 +113,7 @@ export default {
...
@@ -113,7 +113,7 @@ export default {
columns
:
[
columns
:
[
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
label
:
"
窗口首席代表
’
"
,
prop
:
"
ownerName
"
},
{
label
:
"
窗口首席代表
"
,
prop
:
"
ownerName
"
},
{
{
label
:
"
登记年月
"
,
label
:
"
登记年月
"
,
...
@@ -151,9 +151,21 @@ export default {
...
@@ -151,9 +151,21 @@ export default {
width
:
110
,
width
:
110
,
formatter
:
this
.
formatterDate
,
formatter
:
this
.
formatterDate
,
},
},
{
label
:
"
核查人
"
,
formatter
:
(
row
)
=>
{
return
`
${
row
.
leaderCheckPerson
?
row
.
leaderCheckPerson
:
row
.
manageCheckPerson
?
row
.
manageCheckPerson
:
"
--
"
}
`
;
},
},
{
{
label
:
"
最新核查时间
"
,
label
:
"
最新核查时间
"
,
prop
:
"
update
Time
"
,
prop
:
"
manageCheck
Time
"
,
width
:
150
,
width
:
150
,
formatter
:
this
.
formatterDate
,
formatter
:
this
.
formatterDate
,
},
},
...
...
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