Commit 0524b615 authored by guoyou's avatar guoyou

钱包收益总览

parent 22f76d29
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,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="[3,10,20,30, 50]" :page-sizes="[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"
......
<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>
...@@ -18,7 +17,6 @@ ...@@ -18,7 +17,6 @@
</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">
...@@ -66,15 +64,6 @@ ...@@ -66,15 +64,6 @@
<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>
...@@ -87,18 +76,9 @@ ...@@ -87,18 +76,9 @@
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"
...@@ -110,56 +90,6 @@ ...@@ -110,56 +90,6 @@
: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>
...@@ -207,10 +137,7 @@ export default { ...@@ -207,10 +137,7 @@ export default {
username: '' //姓名 username: '' //姓名
}, },
inline: true, inline: true,
tableKey: 0, tableKey: 0
nextListPop: true, //下级列表弹窗
nextList: [], //下级列表弹窗数据
popTitle: '收益明细'
} }
}, },
created() { created() {
...@@ -220,14 +147,6 @@ export default { ...@@ -220,14 +147,6 @@ 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment