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
3c5f2b42
Commit
3c5f2b42
authored
Nov 06, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员等级
parent
e87e43b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
102 additions
and
21 deletions
+102
-21
incomeOverview.vue
src/views/purseManage/incomeOverview.vue
+102
-21
No files found.
src/views/purseManage/incomeOverview.vue
View file @
3c5f2b42
<
template
>
<
template
>
<div
class=
"app-container calendar-list-container"
v-loading
.
body=
"showLoadingBody"
>
<div
class=
"app-container calendar-list-container"
v-loading
.
body=
"showLoadingBody"
>
<div>
<div>
<!-- 筛选 -->
<div
class=
"filter-container"
ref=
"filter-container"
>
<div
class=
"filter-container"
ref=
"filter-container"
>
<el-form
ref=
"queryForm"
:inline=
"inline"
:model=
"listQuery"
label-width=
"100px"
>
<el-form
ref=
"queryForm"
:inline=
"inline"
:model=
"listQuery"
label-width=
"100px"
>
<el-row>
<el-row>
<el-col
:span=
"5"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"listQuery.username"
placeholder=
"请输入姓名"
style=
"width:200px"
></el-input>
<el-input
v-model=
"listQuery.username"
placeholder=
"请输入姓名"
></el-input>
<el-input
v-model
.
number=
"listQuery.phone"
placeholder=
"请输入手机号"
style=
"width:200px"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"手机号"
>
<el-input
v-model
.
number=
"listQuery.phone"
placeholder=
"请输入手机号"
></el-input>
</el-form-item>
</el-col>
</el-col>
<el-button
class=
"filter-item"
type=
"primary"
v-waves
icon=
"search"
@
click=
"handleFilter"
>
搜索
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
v-waves
icon=
"search"
@
click=
"handleFilter"
>
搜索
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
v-waves
icon=
"search"
@
click=
"clearFilter"
>
清除搜索
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
v-waves
icon=
"search"
@
click=
"clearFilter"
>
清除搜索
</el-button>
</el-row>
</el-row>
</el-form>
</el-form>
</div>
</div>
<!-- 表格 -->
<el-table
:key=
"tableKey"
:data=
"list"
border
fit
highlight-current-row
style=
"width: 100%;"
>
<el-table
:key=
"tableKey"
:data=
"list"
border
fit
highlight-current-row
style=
"width: 100%;"
>
<el-table-column
width=
"150"
align=
"center"
label=
"姓名"
type=
"index"
>
<el-table-column
width=
"150"
align=
"center"
label=
"姓名"
type=
"index"
>
<template
scope=
"scope"
>
<template
scope=
"scope"
>
...
@@ -32,11 +29,17 @@
...
@@ -32,11 +29,17 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column width="200" align="center" label="佣金比例">
<el-table-column
width=
"250"
align=
"center"
label=
"身份/公司"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
phone
}}
</span>
</
template
>
</el-table-column>
<!-- <el-table-column width="200" align="center" label="佣金比例">
<template scope="scope">
<template scope="scope">
<span>{{scope.row.commissionRate+'%'}}</span>
<span>{{scope.row.commissionRate+'%'}}</span>
</template>
</template>
</el-table-column>
-->
</el-table-column>-->
<el-table-column
width=
"200"
align=
"center"
label=
"总收益"
>
<el-table-column
width=
"200"
align=
"center"
label=
"总收益"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
...
@@ -44,19 +47,18 @@
...
@@ -44,19 +47,18 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"200"
align=
"center"
label=
"当前余额"
>
<el-table-column
width=
"200"
align=
"center"
label=
"当前余额"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
balance
}}
</span>
<span>
{{
scope
.
row
.
balance
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"总提现"
>
<el-table-column
align=
"center"
label=
"总提现"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
withdrawals
}}
</span>
<span>
{{
scope
.
row
.
withdrawals
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"提现中"
>
<el-table-column
align=
"center"
label=
"提现中"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
withdrawaling
}}
</span>
<span>
{{
scope
.
row
.
withdrawaling
}}
</span>
...
@@ -67,21 +69,39 @@
...
@@ -67,21 +69,39 @@
<span>
{{
scope
.
row
.
unbooked
}}
</span>
<span>
{{
scope
.
row
.
unbooked
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"下级"
>
<
template
scope=
"scope"
>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"subordinate(scope.row)"
>
{{
scope
.
row
.
isFrozen
}}
</el-button>
</
template
>
</el-table-column>
<!-- <el-table-column align="center" label="当前余额">
<!-- <el-table-column align="center" label="当前余额">
<template scope="scope">
<template scope="scope">
<span>{{scope.row.balance}}</span>
<span>{{scope.row.balance}}</span>
</template>
</template>
</el-table-column>
-->
</el-table-column>-->
<
!-- <
el-table-column align="center" label="操作" fixed="right">
<el-table-column
align=
"center"
label=
"操作"
fixed=
"right"
>
<template scope="scope">
<
!-- <
template scope="scope">
<el-button
<el-button
size="small"
size="small"
class="el-button el-button--text el-button--small"
class="el-button el-button--text el-button--small"
@click="deposit(scope.row)"
@click="deposit(scope.row)"
>{{scope.row.isFrozen == 0 ? '禁止提现' : '允许提现'}}</el-button>
>{{scope.row.isFrozen == 0 ? '禁止提现' : '允许提现'}}</el-button>
</template>-->
<
template
scope=
"scope"
>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"detailed(scope.row)"
>
收益明细
</el-button>
</
template
>
</
template
>
</el-table-column>
-->
</el-table-column>
</el-table>
</el-table>
<!-- 分页 -->
<div
v-show=
"!listLoading"
class=
"pagination-container"
>
<div
v-show=
"!listLoading"
class=
"pagination-container"
>
<el-pagination
<el-pagination
@
size-change=
"handleSizeChange"
@
size-change=
"handleSizeChange"
...
@@ -93,6 +113,56 @@
...
@@ -93,6 +113,56 @@
:total=
"total"
:total=
"total"
></el-pagination>
></el-pagination>
</div>
</div>
<!-- 下级弹窗 -->
<el-dialog
:title=
"popTitle"
:visible
.
sync=
"nextListPop"
border
highlight-current-row
style=
"width:100%"
>
<el-table
:data=
"nextList"
v-if=
"popTitle == '下级列表'"
>
<el-table-column
type=
"index"
width=
"50"
></el-table-column>
<el-table-column
align=
"center"
label=
"头像/用户名"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
unbooked
}}
</span>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"总收益"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
unbooked
}}
</span>
</
template
>
</el-table-column>
</el-table>
<el-table
:data=
"nextList"
v-else
>
<el-table-column
align=
"center"
label=
"成交时间/到账时间"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
unbooked
}}
</span>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"下级及成交金额"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
unbooked
}}
</span>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"收益"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
unbooked
}}
</span>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"状态"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
unbooked
}}
</span>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"订单号"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
unbooked
}}
</span>
</
template
>
</el-table-column>
</el-table>
</el-dialog>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -140,7 +210,10 @@ export default {
...
@@ -140,7 +210,10 @@ export default {
username
:
''
//姓名
username
:
''
//姓名
},
},
inline
:
true
,
inline
:
true
,
tableKey
:
0
tableKey
:
0
,
nextListPop
:
true
,
//下级列表弹窗
nextList
:
[],
//下级列表弹窗数据
popTitle
:
'收益明细'
}
}
},
},
created
()
{
created
()
{
...
@@ -150,9 +223,17 @@ export default {
...
@@ -150,9 +223,17 @@ export default {
...
mapGetters
([
'elements'
])
...
mapGetters
([
'elements'
])
},
},
methods
:
{
methods
:
{
//下级
subordinate
(
row
)
{
this
.
popTitle
=
'下级列表'
},
//收益明细
detailed
(
row
)
{
this
.
popTitle
=
'收益明细'
},
//清除搜索
//清除搜索
clearFilter
(){
clearFilter
()
{
this
.
listQuery
.
username
=
this
.
listQuery
.
phone
=
null
;
this
.
listQuery
.
username
=
this
.
listQuery
.
phone
=
null
this
.
getList
()
this
.
getList
()
},
},
//提现
//提现
...
...
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