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
a6098217
Commit
a6098217
authored
Jul 15, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:分值汇总接口调试完成
parent
3c92c585
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
87 additions
and
26 deletions
+87
-26
attendance-performance-manager-ui/admin/src/views/homeCharts/record/list.vue
...nce-manager-ui/admin/src/views/homeCharts/record/list.vue
+87
-26
No files found.
attendance-performance-manager-ui/admin/src/views/homeCharts/record/list.vue
View file @
a6098217
...
...
@@ -48,30 +48,40 @@
<div
class=
"content_top"
>
<p
class=
"content_text"
>
<span
class=
"txt"
>
初始扣分
</span
><span
class=
"txt_num"
>
9856241
</span>
><span
class=
"txt_num"
>
{{
yearRecordAll
.
initScore
||
"
--
"
}}
</span>
</p>
<p
class=
"content_text"
>
<span
class=
"txt"
>
核查扣分
</span
><span
class=
"txt_num"
>
9856241
</span>
<span
class=
"txt_small"
>
占比:87.21%
</span>
><span
class=
"txt_num"
>
{{
yearRecordAll
.
checkScore
||
"
--
"
}}
</span>
<span
class=
"txt_small"
>
占比:
{{
yearRecordAll
.
checkPercent
||
"
--
"
}}
</span
>
</p>
<p
class=
"content_text"
>
<span
class=
"txt"
>
申诉分值
</span
><span
class=
"txt_num"
>
9856241
</span>
<span
class=
"txt_small"
>
占比:87.21%
</span>
><span
class=
"txt_num"
>
{{
yearRecordAll
.
appealScore
||
"
--
"
}}
</span>
<span
class=
"txt_small"
>
占比:
{{
yearRecordAll
.
appealPercent
||
"
--
"
}}
</span
>
</p>
<p
class=
"content_text"
>
<span
class=
"txt"
>
累计扣分
</span
><span
class=
"txt_num"
>
9856241
</span>
><span
class=
"txt_num"
>
{{
yearRecordAll
.
total
||
"
--
"
}}
</span>
</p>
</div>
<div
class=
"content_down"
>
<div
class=
"down_left"
>
<div
class=
"num"
>
+65.32%
</div>
<div
class=
"num"
>
{{
yearRecordAll
.
huanbi
||
"
暂无环比
"
}}
</div>
<p
class=
"down_text"
>
环比增长率
</p>
</div>
<div
class=
"down_right"
>
<div
class=
"num"
>
+65.32%
</div>
<div
class=
"num"
>
{{
yearRecordAll
.
tongbi
||
"
暂无同比
"
}}
</div>
<p
class=
"down_text"
>
同比增长率
</p>
</div>
</div>
...
...
@@ -83,30 +93,40 @@
<div
class=
"content_top"
>
<p
class=
"content_text"
>
<span
class=
"txt"
>
初始扣分
</span
><span
class=
"txt_num"
>
9856241
</span>
><span
class=
"txt_num"
>
{{
monthRecordAll
.
initScore
||
"
--
"
}}
</span>
</p>
<p
class=
"content_text"
>
<span
class=
"txt"
>
核查扣分
</span
><span
class=
"txt_num"
>
9856241
</span>
<span
class=
"txt_small"
>
占比:87.21%
</span>
><span
class=
"txt_num"
>
{{
monthRecordAll
.
checkScore
||
"
--
"
}}
</span>
<span
class=
"txt_small"
>
占比:
{{
monthRecordAll
.
checkPercent
||
"
--
"
}}
</span
>
</p>
<p
class=
"content_text"
>
<span
class=
"txt"
>
申诉分值
</span
><span
class=
"txt_num"
>
9856241
</span>
<span
class=
"txt_small"
>
占比:87.21%
</span>
><span
class=
"txt_num"
>
{{
monthRecordAll
.
appealScore
||
"
--
"
}}
</span>
<span
class=
"txt_small"
>
占比:
{{
monthRecordAll
.
appealPercent
||
"
--
"
}}
</span
>
</p>
<p
class=
"content_text"
>
<span
class=
"txt"
>
累计扣分
</span
><span
class=
"txt_num"
>
9856241
</span>
><span
class=
"txt_num"
>
{{
monthRecordAll
.
total
||
"
--
"
}}
</span>
</p>
</div>
<div
class=
"content_down"
>
<div
class=
"down_left"
>
<div
class=
"num"
>
+65.32%
</div>
<div
class=
"num"
>
{{
monthRecordAll
.
huanbi
||
"
暂无环比
"
}}
</div>
<p
class=
"down_text"
>
环比增长率
</p>
</div>
<div
class=
"down_right"
>
<div
class=
"num"
>
+65.32%
</div>
<div
class=
"num"
>
{{
monthRecordAll
.
tongbi
||
"
暂无同比
"
}}
</div>
<p
class=
"down_text"
>
同比增长率
</p>
</div>
</div>
...
...
@@ -118,30 +138,40 @@
<div
class=
"content_top"
>
<p
class=
"content_text"
>
<span
class=
"txt"
>
初始扣分
</span
><span
class=
"txt_num"
>
9856241
</span>
><span
class=
"txt_num"
>
{{
dayRecordAll
.
initScore
||
"
--
"
}}
</span>
</p>
<p
class=
"content_text"
>
<span
class=
"txt"
>
核查扣分
</span
><span
class=
"txt_num"
>
9856241
</span>
<span
class=
"txt_small"
>
占比:87.21%
</span>
><span
class=
"txt_num"
>
{{
dayRecordAll
.
checkScore
||
"
--
"
}}
</span>
<span
class=
"txt_small"
>
占比:
{{
dayRecordAll
.
checkPercent
||
"
--
"
}}
</span
>
</p>
<p
class=
"content_text"
>
<span
class=
"txt"
>
申诉分值
</span
><span
class=
"txt_num"
>
9856241
</span>
<span
class=
"txt_small"
>
占比:87.21%
</span>
><span
class=
"txt_num"
>
{{
dayRecordAll
.
appealScore
||
"
--
"
}}
</span>
<span
class=
"txt_small"
>
占比:
{{
dayRecordAll
.
appealPercent
||
"
--
"
}}
</span
>
</p>
<p
class=
"content_text"
>
<span
class=
"txt"
>
累计扣分
</span
><span
class=
"txt_num"
>
9856241
</span>
><span
class=
"txt_num"
>
{{
dayRecordAll
.
total
||
"
--
"
}}
</span>
</p>
</div>
<div
class=
"content_down"
>
<div
class=
"down_left"
>
<div
class=
"num"
>
+65.32%
</div>
<div
class=
"num"
>
{{
dayRecordAll
.
huanbi
||
"
暂无环比
"
}}
</div>
<p
class=
"down_text"
>
环比增长率
</p>
</div>
<div
class=
"down_right"
>
<div
class=
"num"
>
+65.32%
</div>
<div
class=
"num"
>
{{
dayRecordAll
.
tongbi
||
"
暂无同比
"
}}
</div>
<p
class=
"down_text"
>
同比增长率
</p>
</div>
</div>
...
...
@@ -284,10 +314,15 @@ export default {
shensuPie
:
null
,
// 申诉分值分布情况echart实例
recordPie
:
null
,
// 反馈记录整体情况echart实例
timer
:
null
,
// performType: {}, // 申诉分值字典
yearRecordAll
:
{},
// 今年分值
monthRecordAll
:
{},
// 本月分值
dayRecordAll
:
{},
// 今日分值
};
},
created
()
{
this
.
getYearRecordAll
();
this
.
getMonthRecordAll
();
},
mounted
()
{
this
.
staffStatList
();
this
.
getException
();
...
...
@@ -307,6 +342,32 @@ export default {
this
.
shensuPie
&&
this
.
shensuPie
.
resize
();
this
.
recordPie
&&
this
.
recordPie
.
resize
();
},
// 获取今年分值
async
getYearRecordAll
()
{
this
.
yearRecordAll
=
await
this
.
getRecordAll
(
1
);
},
// 获取本月分值
async
getMonthRecordAll
()
{
this
.
monthRecordAll
=
await
this
.
getRecordAll
(
2
);
},
// 获取今日分值
async
getDayRecordAll
()
{
this
.
dayRecordAll
=
await
this
.
getRecordAll
(
3
);
console
.
log
(
this
.
dayRecordAll
);
},
// 获取分值情况
async
getRecordAll
(
summaryType
)
{
let
obj
=
{};
await
this
.
$post
(
"
/check/all/record/score/summary
"
,
{
summaryType
,
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
;
if
(
code
==
1
)
{
obj
=
data
;
}
});
return
obj
;
},
// 个人绩效总分排名
staffStatList
()
{
this
.
$post
(
"
/staff/perform/stat/summary/top
"
,
{
...
...
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