Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
76275187
Commit
76275187
authored
May 23, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
755229af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
154 additions
and
0 deletions
+154
-0
payroll.vue
src/components/dev/payroll.vue
+154
-0
No files found.
src/components/dev/payroll.vue
0 → 100644
View file @
76275187
<
template
>
<div
class=
"payroll-box customerManage"
>
<div
class=
"tools"
>
<!--
<h1>
订单管理
</h1>
-->
<div
class=
"rightmenu"
>
<!--
<el-button
size=
"mini"
type=
"primary"
@
click=
"downLoadExcel"
>
导出
</el-button>
-->
</div>
</div>
<div
class=
"query-box"
>
<el-row
:gutter=
"20"
>
<el-col
:xs=
"7"
:sm=
"6"
:md=
"5"
:lg=
"4"
:xl=
"3"
>
<span
class=
"font-size-12"
style=
"padding-right: 10px;flex-shrink: 0;"
>
期数:
</span>
<el-select
size=
"mini"
width=
"200"
v-model=
"msg.PeriodsId"
placeholder=
"请选择"
@
change=
"getList"
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
v-for=
"item in PeroidsList"
:key=
"item.Id"
:label=
"item.Periods"
:value=
"item.Id"
></el-option>
</el-select>
</el-col>
</el-row>
</div>
<div
class=
"page-content"
>
<el-table
v-loading=
"loading"
stripe
ref=
"multipleTable"
:data=
"dataList"
tooltip-effect=
"dark"
style=
"width: 100%"
:height=
"dataList.length > 0 ? '600' : '660'"
row-class-name=
"font-size-12"
>
<el-table-column
label=
"期数"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
Month
}}
</
template
>
</el-table-column>
<el-table-column
label=
"总利润"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
ProfitMoney
}}
</
template
>
</el-table-column>
<el-table-column
label=
"引流数量"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
LureNum
}}
</
template
>
</el-table-column>
<el-table-column
label=
"工资规则"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
WageType
!=
1
?
'上季度定档'
:
'新员工比例'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"本次提成比例"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
CommissionRate
?
scope
.
row
.
CommissionRate
+
'%'
:
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"提成金额"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Commission
}}
</
template
>
</el-table-column>
<el-table-column
label=
"基本工资"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
WageMoney
}}
</
template
>
</el-table-column>
<el-table-column
label=
"当月年终奖励"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
BonusMoney
}}
</
template
>
</el-table-column>
<el-table-column
label=
"累计年终奖励"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
TotalBonus
}}
</
template
>
</el-table-column>
<el-table-column
label=
"备注"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Remark
}}
</
template
>
</el-table-column>
</el-table>
</div>
<div
v-if=
"total>0"
>
<el-pagination
class=
"Mypagination"
background
@
current-change=
"handleCurrentChange"
:page-sizes=
"[10, 30, 60, 90, 100]"
:page-size=
"msg.pageSize"
layout=
"total, sizes, prev, pager, next"
@
size-change=
"handleSizeChange"
:total=
"total"
>
</el-pagination>
</div>
</div>
</template>
<
script
>
export
default
{
data
()
{
return
{
loading
:
false
,
PeroidsList
:
[],
titleList
:[
{
name
:
'不限'
,
id
:
'-1'
},
{
name
:
'引流规则'
,
id
:
'2'
},
{
name
:
'销售规则'
,
id
:
'1'
}
],
dataList
:[],
total
:
0
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
PeriodsId
:
-
1
},
}
},
mounted
()
{
this
.
getList
()
this
.
GetCommissionPeroidsList
()
},
methods
:
{
GetCommissionPeroidsList
()
{
//期数下拉
this
.
apipost
(
"/api/Commission/GetCommissionPeroidsList"
,{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PeroidsList
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
}
);
},
// 获取订单列表
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"/api/Commission/GetMyCommissionPageList"
,
this
.
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading
=
false
this
.
dataList
=
res
.
data
.
data
.
pageData
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
loading
=
false
this
.
$message
.
error
(
res
.
data
.
message
);
}
})
},
handleSizeChange
(
val
)
{
this
.
msg
.
pageSize
=
val
;
this
.
getList
();
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
}
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
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