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
6354e78b
Commit
6354e78b
authored
Nov 28, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
总公司业绩全部筛选
parent
daa8156f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
39 deletions
+49
-39
memberPerformance.vue
src/views/financial/memberPerformance.vue
+49
-39
No files found.
src/views/financial/memberPerformance.vue
View file @
6354e78b
...
@@ -2,42 +2,53 @@
...
@@ -2,42 +2,53 @@
<div
class=
"app-container calendar-list-container"
v-loading=
"loading"
>
<div
class=
"app-container calendar-list-container"
v-loading=
"loading"
>
<el-row>
<el-row>
<el-form
:inline=
"true"
>
<el-form
:inline=
"true"
>
<el-form-item
label=
"统计类型"
>
<el-col
:span=
"3"
>
<el-radio-group
v-model=
"listquery.type"
@
change=
"changeType"
>
<el-form-item
label=
"统计类型"
>
<el-radio-button
label=
"0"
>
收入
</el-radio-button>
<el-radio-group
v-model=
"listquery.type"
@
change=
"changeType"
>
<el-radio-button
label=
"1"
>
支出
</el-radio-button>
<el-radio-button
label=
"0"
>
收入
</el-radio-button>
</el-radio-group>
<el-radio-button
label=
"1"
>
支出
</el-radio-button>
</el-radio-group>
</el-form-item>
</el-col>
<el-form-item
label=
"下单时间"
>
<el-date-picker
v-model=
"time"
type=
"daterange"
placeholder=
"请选择下单时间"
@
change=
"changeTime"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-date-picker
v-model=
"time"
type=
"daterange"
placeholder=
"请选择下单时间"
@
change=
"changeTime"
></el-date-picker>
<el-form-item
label=
"订单类型"
>
<el-select
v-model=
"listquery.orderType"
clearable
placeholder=
"请选择订单类型"
@
change=
"changeStaff"
>
<el-option
label=
"全部"
value
>
全部
</el-option>
<el-option
v-for=
"item in options"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-select
v-model=
"listquery.orderType"
clearable
placeholder=
"请选择订单类型"
@
change=
"changeStaff"
>
<el-form-item
label=
"所属公司"
>
<el-option
value=
'全部'
></el-option>
<el-select
<el-option
v-for=
"item in options"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
v-show=
"listquery.type == 0"
</el-select>
v-model=
"listquery.companyId"
filterable
placeholder=
"请选择业绩所属公司"
clearable
@
change=
"changeCompany"
>
<el-option
label=
"全部"
value
>
全部
</el-option>
<el-option
v-for=
"item in allCompaniesArr"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-select
<el-form-item
label=
"支付方式"
>
v-show=
"listquery.type == 0"
<el-select
v-model=
"listquery.companyId"
v-model=
"listquery.paymentMethod"
filterable
clearable
placeholder=
"请选择业绩所属公司"
placeholder=
"请选择支付方式"
clearable
@
change=
"changeWay"
@
change=
"changeCompany"
v-show=
"listquery.type == 0"
>
>
<el-option
value=
'全部'
></el-option>
<el-option
label=
"全部"
value
>
全部
</el-option>
<el-option
v-for=
"item in allCompaniesArr"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
<el-option
v-for=
"item in payArr"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-select>
</el-form-item>
<el-select
v-model=
"listquery.paymentMethod"
clearable
placeholder=
"请选择支付方式"
@
change=
"changeWay"
v-show=
"listquery.type == 0"
>
<el-option
value=
'全部'
></el-option>
<el-option
v-for=
"item in payArr"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
<el-button
type=
"primary"
@
click=
"clearSearch"
>
清空搜索
</el-button>
<el-button
type=
"primary"
@
click=
"clearSearch"
>
清空搜索
</el-button>
<el-button
type=
"primary"
:loading=
"excelLoading"
@
click=
"downloadExcel"
>
导出报表
</el-button>
<el-button
type=
"primary"
:loading=
"excelLoading"
@
click=
"downloadExcel"
>
导出报表
</el-button>
</el-form>
</el-form>
...
@@ -78,8 +89,8 @@
...
@@ -78,8 +89,8 @@
</li>
</li>
</ul>
-->
</ul>
-->
</div>
</div>
<!-- :height="tabHeight" -->
<el-table
:data=
"tableData"
border
style=
"width: 100%"
header-align=
"center"
height=
"450"
>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
header-align=
"center"
>
<el-table-column
prop=
"crtTime"
label=
"下单日期"
align=
"center"
v-if=
"listquery.type == 0"
></el-table-column>
<el-table-column
prop=
"crtTime"
label=
"下单日期"
align=
"center"
v-if=
"listquery.type == 0"
></el-table-column>
<el-table-column
prop=
"time"
label=
"退款日期"
align=
"center"
v-else
></el-table-column>
<el-table-column
prop=
"time"
label=
"退款日期"
align=
"center"
v-else
></el-table-column>
<el-table-column
prop=
"no"
label=
"订单ID"
align=
"center"
></el-table-column>
<el-table-column
prop=
"no"
label=
"订单ID"
align=
"center"
></el-table-column>
...
@@ -123,6 +134,7 @@ export default {
...
@@ -123,6 +134,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
tabHeight
:
'800'
,
loading
:
false
,
loading
:
false
,
total
:
null
,
total
:
null
,
information
:
{},
information
:
{},
...
@@ -179,7 +191,7 @@ export default {
...
@@ -179,7 +191,7 @@ export default {
page
:
1
,
page
:
1
,
limit
:
10
,
limit
:
10
,
companyId
:
null
,
//业绩所属公司
companyId
:
null
,
//业绩所属公司
paymentMethod
:
null
,
//支付方式
paymentMethod
:
null
//支付方式
// type: this.listquery.type
// type: this.listquery.type
}
}
},
},
...
@@ -195,12 +207,13 @@ export default {
...
@@ -195,12 +207,13 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
//统计类型筛选
//统计类型筛选
changeType
()
{
changeType
(
val
)
{
this
.
listquery
.
page
=
1
this
.
listquery
.
page
=
1
this
.
getList
()
this
.
getList
()
val
==
0
?
(
this
.
tabHeight
=
500
)
:
(
this
.
tableData
=
800
)
},
},
//支付方式筛选
//支付方式筛选
changeWay
()
{
changeWay
(
val
)
{
this
.
listquery
.
page
=
1
this
.
listquery
.
page
=
1
this
.
getList
()
this
.
getList
()
},
},
...
@@ -226,9 +239,6 @@ export default {
...
@@ -226,9 +239,6 @@ export default {
//列表数据
//列表数据
getList
()
{
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
// if (this.listquery.orderType == '全部') this.listquery.orderType = null
// if (this.listquery.companyId == '全部') this.listquery.companyId = null
// if (this.listquery.type == '全部') this.listquery.type = null
companyList
(
this
.
listquery
).
then
(
data
=>
{
companyList
(
this
.
listquery
).
then
(
data
=>
{
if
(
data
.
status
==
200
)
{
if
(
data
.
status
==
200
)
{
if
(
this
.
listquery
.
type
==
0
)
{
if
(
this
.
listquery
.
type
==
0
)
{
...
...
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