Commit 0524b615 authored by guoyou's avatar guoyou

钱包收益总览

parent 22f76d29
......@@ -98,7 +98,7 @@
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="listquery.page"
:page-sizes="[3,10,20,30, 50]"
:page-sizes="[10,20,30, 50]"
:page-size="listquery.limit"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
......
<template>
<div class="app-container calendar-list-container" v-loading.body="showLoadingBody">
<div>
<!-- 筛选 -->
<div class="filter-container" ref="filter-container">
<el-form ref="queryForm" :inline="inline" :model="listQuery" label-width="100px">
<el-row>
......@@ -18,7 +17,6 @@
</el-row>
</el-form>
</div>
<!-- 表格 -->
<el-table :key="tableKey" :data="list" border fit highlight-current-row style="width: 100%;">
<el-table-column width="150" align="center" label="姓名" type="index">
<template scope="scope">
......@@ -66,15 +64,6 @@
<span>{{scope.row.unbooked}}</span>
</template>
</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="当前余额">
<template scope="scope">
<span>{{scope.row.balance}}</span>
......@@ -87,18 +76,9 @@
class="el-button el-button--text el-button--small"
@click="deposit(scope.row)"
>{{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>
</el-table-column>-->
</el-table>
<!-- 分页 -->
<div v-show="!listLoading" class="pagination-container">
<el-pagination
@size-change="handleSizeChange"
......@@ -110,56 +90,6 @@
:total="total"
></el-pagination>
</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>
</template>
......@@ -207,10 +137,7 @@ export default {
username: '' //姓名
},
inline: true,
tableKey: 0,
nextListPop: true, //下级列表弹窗
nextList: [], //下级列表弹窗数据
popTitle: '收益明细'
tableKey: 0
}
},
created() {
......@@ -220,14 +147,6 @@ export default {
...mapGetters(['elements'])
},
methods: {
//下级
subordinate(row) {
this.popTitle = '下级列表'
},
//收益明细
detailed(row) {
this.popTitle = '收益明细'
},
//清除搜索
clearFilter() {
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