Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
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
youjj
cloud-platform-ui
Commits
7aae60eb
Commit
7aae60eb
authored
Nov 27, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
总业绩报表
parent
8ecc5b4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
19 deletions
+50
-19
memberPerformance.vue
src/views/financial/memberPerformance.vue
+21
-9
staffPerformance.vue
src/views/financial/staffPerformance.vue
+29
-10
No files found.
src/views/financial/memberPerformance.vue
View file @
7aae60eb
...
@@ -42,18 +42,30 @@
...
@@ -42,18 +42,30 @@
</div>
</div>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
header-align=
"center"
height=
"450"
>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
header-align=
"center"
height=
"450"
>
<el-table-column
prop=
"name"
label=
"类型"
align=
"center"
></el-table-column>
<el-table-column
prop=
"name"
label=
"退款日期"
align=
"center"
></el-table-column>
<el-table-column
prop=
"companyNames"
label=
"时间"
align=
"center"
></el-table-column>
<el-table-column
prop=
"companyNames"
label=
"订单ID"
align=
"center"
>
<el-table-column
prop=
"postionNames"
label=
"订单号"
align=
"center"
></el-table-column>
<template
scope=
"scope"
>
<el-table-column
prop=
"phone"
label=
"会员等级"
align=
"center"
></el-table-column>
<p
v-for=
"(item,index) in scope.row.companyNames"
:key=
"index"
>
{{
item
}}
</p>
<el-table-column
prop=
"sellAmount"
label=
"会员姓名"
align=
"center"
></el-table-column>
</
template
>
<el-table-column
prop=
"royaltyAmount"
label=
"会员电话"
align=
"center"
></el-table-column>
</el-table-column>
<el-table-column
label=
"邀约人/电话"
align=
"center"
>
<el-table-column
prop=
"postionNames"
label=
"订单类型"
align=
"center"
>
<
template
scope=
"scope"
>
<span
v-for=
"(item,index) in scope.row.postionNames"
:key=
"index"
style=
"margin-left:10px"
>
{{
item
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"phone"
label=
"退还类型"
align=
"center"
></el-table-column>
<el-table-column
prop=
"sellAmount"
label=
"应退还金额"
align=
"center"
></el-table-column>
<el-table-column
prop=
"royaltyAmount"
label=
"实际退款接"
align=
"center"
></el-table-column>
<el-table-column
label=
"客户名字"
align=
"center"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
memberOrderNum
}}
/
{{
scope
.
row
.
memberAmount
}}
</span>
<span>
{{
scope
.
row
.
memberOrderNum
}}
/
{{
scope
.
row
.
memberAmount
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"
实付金额
"
align=
"center"
>
<el-table-column
label=
"
客户手机号
"
align=
"center"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
rentVehicleOrderNum
}}
/
{{
scope
.
row
.
rentVehicleAmount
}}
</span>
<span>
{{
scope
.
row
.
rentVehicleOrderNum
}}
/
{{
scope
.
row
.
rentVehicleAmount
}}
</span>
</
template
>
</
template
>
...
@@ -112,7 +124,7 @@ export default {
...
@@ -112,7 +124,7 @@ export default {
userPostionId
:
null
,
//身份
userPostionId
:
null
,
//身份
page
:
1
,
page
:
1
,
limit
:
10
,
limit
:
10
,
radio1
:
0
radio1
:
0
}
}
}
}
},
},
...
...
src/views/financial/staffPerformance.vue
View file @
7aae60eb
...
@@ -43,18 +43,23 @@
...
@@ -43,18 +43,23 @@
height=
"450"
height=
"450"
@
select=
"choose"
@
select=
"choose"
@
select-all=
"chooseAll"
@
select-all=
"chooseAll"
ref=
"multipleTable"
>
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
></el-table-column>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
></el-table-column>
<el-table-column
type=
"index"
width=
"80"
label=
"序号"
align=
"center"
></el-table-column>
<el-table-column
type=
"index"
width=
"80"
label=
"序号"
align=
"center"
></el-table-column>
<el-table-column
prop=
"name"
label=
"员工姓名"
align=
"center"
></el-table-column>
<el-table-column
prop=
"name"
label=
"员工姓名"
align=
"center"
></el-table-column>
<el-table-column
prop=
"companyNames"
label=
"所属公司"
align=
"center"
>
<el-table-column
prop=
"companyNames"
label=
"所属公司"
align=
"center"
>
<template
scope=
"scope"
>
<template
scope=
"scope"
>
<
span
v-for=
"(item,index) in scope.row.companyNames"
:key=
"index"
style=
"margin-left:10px"
>
{{
item
}}
</span
>
<
p
v-for=
"(item,index) in scope.row.companyNames"
:key=
"index"
>
{{
item
}}
</p
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"postionNames"
label=
"身份"
align=
"center"
>
<el-table-column
prop=
"postionNames"
label=
"身份"
align=
"center"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span
v-for=
"(item,index) in scope.row.postionNames"
:key=
"index"
style=
"margin-left:10px"
>
{{
item
}}
</span>
<span
v-for=
"(item,index) in scope.row.postionNames"
:key=
"index"
style=
"margin-left:10px"
>
{{
item
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"phone"
label=
"电话"
align=
"center"
></el-table-column>
<el-table-column
prop=
"phone"
label=
"电话"
align=
"center"
></el-table-column>
...
@@ -81,7 +86,7 @@
...
@@ -81,7 +86,7 @@
@
size-change=
"handleSizeChange"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"listquery.page"
:current-page
.
sync=
"listquery.page"
:page-sizes=
"[10,20,30, 50]"
:page-sizes=
"[
3,
10,20,30, 50]"
:page-size=
"listquery.limit"
:page-size=
"listquery.limit"
layout=
"total, sizes, prev, pager, next, jumper"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
:total=
"total"
...
@@ -92,7 +97,6 @@
...
@@ -92,7 +97,6 @@
<
script
>
<
script
>
import
{
getAll
}
from
'api/base_info/branch_company/'
import
{
getAll
}
from
'api/base_info/branch_company/'
import
{
getDate
}
from
'api/statistics'
import
{
getDate
}
from
'api/statistics'
import
{
getrewardSetting
}
from
'api/purseManage'
import
{
getrewardSetting
}
from
'api/purseManage'
export
default
{
export
default
{
created
()
{
created
()
{
...
@@ -102,15 +106,15 @@ export default {
...
@@ -102,15 +106,15 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
//页面loading
total
:
null
,
total
:
null
,
//总页数
information
:
{},
information
:
{},
//统计数据
time
:
[],
time
:
[],
//时间筛选
tableData
:
[],
//表格数据
tableData
:
[],
//表格数据
excelLoading
:
false
,
//导出loading
excelLoading
:
false
,
//导出loading
allCompaniesArr
:
[],
//公司
allCompaniesArr
:
[],
//公司
options
:
[],
//身份
options
:
[],
//身份
company
:
''
,
allChoose
:
false
,
//是否全选
listquery
:
{
listquery
:
{
startDate
:
null
,
//开始日期
startDate
:
null
,
//开始日期
endDate
:
null
,
//结束日期
endDate
:
null
,
//结束日期
...
@@ -125,7 +129,7 @@ export default {
...
@@ -125,7 +129,7 @@ export default {
methods
:
{
methods
:
{
//全选
//全选
chooseAll
(
arr
)
{
chooseAll
(
arr
)
{
console
.
log
(
arr
)
arr
.
length
>
0
?
(
this
.
allChoose
=
true
)
:
(
this
.
allChoose
=
false
)
},
},
//多选
//多选
choose
(
val
,
row
)
{
choose
(
val
,
row
)
{
...
@@ -172,6 +176,21 @@ export default {
...
@@ -172,6 +176,21 @@ export default {
if
(
data
.
status
==
200
)
{
if
(
data
.
status
==
200
)
{
this
.
tableData
=
data
.
data
.
page
.
data
this
.
tableData
=
data
.
data
.
page
.
data
this
.
total
=
data
.
data
.
page
.
totalCount
this
.
total
=
data
.
data
.
page
.
totalCount
//点击全选所有分页都全选
if
(
!!
this
.
allChoose
)
{
this
.
$nextTick
(
function
()
{
for
(
let
index
=
0
;
index
<
this
.
tableData
.
length
;
index
++
)
{
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
this
.
tableData
[
index
]
)
}
})
}
//第一页才调取统计
if
(
data
.
data
.
page
.
pageNum
==
1
)
{
if
(
data
.
data
.
page
.
pageNum
==
1
)
{
this
.
information
=
data
.
data
.
total
this
.
information
=
data
.
data
.
total
}
}
...
...
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