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
056008a1
Commit
056008a1
authored
Dec 23, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
ce2180ce
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
418 additions
and
369 deletions
+418
-369
achievementPeriodsList.vue
src/pages/financial/market/achievementPeriodsList.vue
+344
-361
empBonus.vue
src/pages/financial/market/empBonus.vue
+74
-8
No files found.
src/pages/financial/market/achievementPeriodsList.vue
View file @
056008a1
This diff is collapsed.
Click to expand it.
src/pages/financial/market/empBonus.vue
View file @
056008a1
<
style
>
</
style
>
<
template
>
<div
class=
"page-body empBonus"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div>
<div
class=
"block"
style=
"display:flex"
>
<span
style=
"margin-right: 5px;"
>
选择月份
</span>
<el-date-picker
v-model=
"value2"
type=
"month"
placeholder=
"选择月"
>
</el-date-picker>
<q-btn
:loading=
"loading1"
color=
"primary"
size=
"11px"
label=
"生成提成"
@
click=
"createBonus"
style=
"margin-left:10px"
/>
</div>
</div>
</div>
</div>
<template>
<el-table
ref=
"filterTable"
:data=
"dataList"
v-loading=
'loading'
:header-cell-style=
"
{backgroundColor:'#f5f6f7', color: '#a8a8b3'}" border style="width: 100%">
<el-table-column
prop=
"Periods"
label=
"周期"
></el-table-column>
<el-table-column
prop=
"Name"
label=
"名称"
></el-table-column>
<el-table-column
prop=
"SumPrice"
label=
"人头奖励总金额"
>
</el-table-column>
<el-table-column
prop=
"FrIdList"
label=
"财务单据"
>
<template
slot-scope=
"scope"
>
</
template
>
</el-table-column>
<el-table-column
prop=
"CreateByName"
label=
"创建人"
>
</el-table-column>
<el-table-column
prop=
"CreateTime"
label=
"创建时间"
>
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<div
class=
"_icon_btn"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<i
class=
"iconfont icon-sousuo"
@
click=
"goUrl(scope.row.Id)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"iconfont icon-add"
></i>
</el-tooltip>
</div>
</
template
>
</el-table-column>
</el-table>
<div
style=
"margin-top: 10px;text-align: center;"
>
<el-pagination
background
@
current-change=
"handleCurrentChanges"
layout=
"total,prev, pager, next, jumper"
:current-page
.
sync=
"msg.PageIndex"
:page-size=
"msg.PageSize"
:total=
'total'
>
</el-pagination>
</div>
</template>
</div>
</template>
<
script
>
import
{
getSchoolDropdown
}
from
'../../../api/school/index'
CreateEmpBonus
,
queryPersonnelPeriodPage
}
from
'../../../api/finance/index'
export
default
{
meta
:
{
title
:
"员工人头奖励"
},
props
:
{},
components
:
{
selectTree
},
data
()
{
return
{
...
...
@@ -25,16 +75,32 @@
PageIndex
:
1
,
PageSize
:
10
,
},
pageCount
:
0
,
total
:
0
,
dataList
:
{},
value2
:
""
,
}
},
created
()
{
let
userinfo
=
this
.
getLocalStorage
();
},
mounted
()
{
this
.
getList
();
},
methods
:
{
//生成提成
createBonus
()
{
console
.
log
(
"value2"
,
this
.
value2
);
},
//获取分页列表
getList
()
{
queryPersonnelPeriodPage
(
this
.
msg
).
then
(
res
=>
{
console
.
log
(
"res"
,
res
);
this
.
dataList
=
res
.
Data
.
PageData
this
.
pageCount
=
res
.
Data
.
PageCount
;
this
.
total
=
res
.
Data
.
Count
;
});
}
},
}
</
script
>
...
...
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