Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
d2d70a3a
Commit
d2d70a3a
authored
Dec 28, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
·
parent
61ab925e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
bonus.vue
src/components/work/bonus.vue
+11
-7
No files found.
src/components/work/bonus.vue
View file @
d2d70a3a
...
...
@@ -14,7 +14,7 @@
</div>
<div>
<el-date-picker
v-model=
"date"
value-format=
"yyyy-MM"
size=
"small"
:type=
"elDateType"
style=
"width:110px"
:placeholder=
"elDatePlaceholder"
class=
"q-mr-sm"
@
change=
"research"
>
:
clearable=
"false"
:
placeholder=
"elDatePlaceholder"
class=
"q-mr-sm"
@
change=
"research"
>
</el-date-picker>
<q-btn
class=
"btn_bg"
dense
flat
icon=
"more_horiz"
>
<q-menu
auto-close
>
...
...
@@ -40,7 +40,8 @@
<div
class=
"flex content-between q-pl-lg"
>
<div
class=
"full-width block-name"
>
月度总奖金
</div>
<div
class=
"block-num flex no-wrap items-baseline"
><span
class=
"block-icon"
>
¥
</span>
{{
formatPrice
(
dataList
.
TotalBonusMoney
)
||
0
}}
<span
class=
"block-after"
>
{{
formatPrice
(
dataList
.
TotalBonusMoney
,
2
)
}}
</span>
</div>
{{
formatPrice
(
dataList
.
TotalBonusMoney
)
||
0
}}
<span
class=
"block-after"
>
{{
formatPrice
(
dataList
.
TotalBonusMoney
,
2
)
}}
</span>
</div>
</div>
</div>
<div
class=
"q-pr-md"
>
...
...
@@ -124,7 +125,8 @@
<div
class=
"flex content-between q-pl-lg"
>
<div
class=
"full-width block-name"
>
累计金额
</div>
<div
class=
"block-num flex no-wrap items-baseline"
><span
class=
"block-icon"
>
¥
</span>
{{
formatPrice
(
dataList
.
TotalBonusMoney
)
||
0
}}
<span
class=
"block-after"
>
{{
formatPrice
(
dataList
.
TotalBonusMoney
,
2
)
}}
</span>
</div>
{{
formatPrice
(
dataList
.
TotalBonusMoney
)
||
0
}}
<span
class=
"block-after"
>
{{
formatPrice
(
dataList
.
TotalBonusMoney
,
2
)
}}
</span>
</div>
</div>
</div>
</
template
>
...
...
@@ -138,7 +140,9 @@
queryPersonnelBonusStatic
}
from
'../../api/course/index'
import
VueApexCharts
from
"vue-apexcharts"
;
import
{
formatPrice
}
from
'../../utils/formatPrice'
import
{
formatPrice
}
from
'../../utils/formatPrice'
export
default
{
components
:
{
VueApexCharts
...
...
@@ -188,8 +192,8 @@
mounted
()
{
const
date
=
new
Date
();
const
year
=
date
.
getFullYear
();
//获取完整的年份(4位)
const
month
=
date
.
getMonth
()
+
1
;
this
.
date
=
year
+
'-'
+
month
;
const
month
=
date
.
getMonth
()
+
1
;
this
.
date
=
year
+
'-'
+
month
;
this
.
getList
();
},
methods
:
{
...
...
@@ -388,7 +392,7 @@
color
:
#2961FE
!
important
;
border
:
none
!
important
;
font-size
:
14px
!
important
;
padding-right
:
15px
!
important
;
padding-right
:
15px
!
important
;
}
::v-deep
.el-input__prefix
,
...
...
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