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
8e2957ce
Commit
8e2957ce
authored
Jul 11, 2023
by
ww-xxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改绩效目标
parent
33eafaaf
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
396 additions
and
178 deletions
+396
-178
attendance-performance-manager-ui/admin/src/views/staff/perform/stat/components/BarCharts.vue
...min/src/views/staff/perform/stat/components/BarCharts.vue
+35
-9
attendance-performance-manager-ui/admin/src/views/staff/perform/stat/dialogshow.vue
...ager-ui/admin/src/views/staff/perform/stat/dialogshow.vue
+138
-122
attendance-performance-manager-ui/admin/src/views/staff/perform/stat/list.vue
...ce-manager-ui/admin/src/views/staff/perform/stat/list.vue
+223
-47
No files found.
attendance-performance-manager-ui/admin/src/views/staff/perform/stat/components/BarCharts.vue
View file @
8e2957ce
...
...
@@ -21,26 +21,52 @@ export default {
},
styleObj
:
{
type
:
Object
,
default
:
()
=>
{},
default
:
()
=>
{
},
},
parameter
:
{
type
:
Object
,
default
:
()
=>
{
}
}
},
data
()
{
return
{};
return
{
myChart
:
null
};
},
watch
:
{
title
(
val
)
{
console
.
log
(
val
);
this
.
drawLine
();
this
.
myChart
&&
this
.
myChart
.
setOption
({
title
:{
text
:
val
}})
},
parameter
:
{
handler
:
function
(
v
)
{
this
.
drawLine
(
v
)
},
deep
:
true
}
},
mounted
()
{
this
.
drawLine
();
},
methods
:
{
drawLine
()
{
drawLine
(
obj
)
{
if
(
obj
&&
this
.
myChart
)
{
// 更新
this
.
myChart
.
setOption
({
xAxis
:
{
data
:
obj
.
x
},
series
:
[
{
data
:
obj
.
y
,
},
]
})
return
}
// 基于dom,初始化echarts实例
let
myChart
=
this
.
$echarts
.
init
(
document
.
getElementById
(
this
.
id
));
this
.
myChart
=
myChart
// 绘制图表
myChart
.
setOption
({
title
:
{
...
...
@@ -50,7 +76,7 @@ export default {
fontSize
:
this
.
legendName
==
"
旷工率
"
?
24
:
18
,
},
},
color
:
'
#6e98ed
'
,
color
:
'
#6e98ed
'
,
legend
:
{
orient
:
"
horizontal
"
,
right
:
"
50px
"
,
...
...
@@ -65,7 +91,7 @@ export default {
},
tooltip
:
{},
xAxis
:
{
data
:
[
"
部门1
"
,
"
部门2
"
,
"
部门3
"
,
"
部门4
"
,
"
部门5
"
,
"
部门6
"
],
data
:
[],
},
grid
:
{
left
:
"
5%
"
,
...
...
@@ -79,9 +105,9 @@ export default {
{
name
:
this
.
legendName
,
type
:
"
bar
"
,
data
:
[
5
,
20
,
36
,
10
,
10
,
20
],
data
:
[],
itemStyle
:
{
lineStyle
:
{
type
:
"
dotted
"
,
//'dotted'虚线 'solid'实线
},
...
...
attendance-performance-manager-ui/admin/src/views/staff/perform/stat/dialogshow.vue
View file @
8e2957ce
This diff is collapsed.
Click to expand it.
attendance-performance-manager-ui/admin/src/views/staff/perform/stat/list.vue
View file @
8e2957ce
This diff is collapsed.
Click to expand it.
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