单个会员消费
This commit is contained in:
@@ -25,34 +25,34 @@
|
||||
</el-table-column>
|
||||
<el-table-column prop="CreateTime" label="注册时间"></el-table-column>
|
||||
<el-table-column prop="last_pay_time" label="最后消费时间"></el-table-column>
|
||||
<el-table-column label="总消费" sortable="all_amount">
|
||||
<el-table-column label="总消费">
|
||||
<template slot-scope="scope">
|
||||
<el-link @click="click_all_amount(scope.row,1)">{{scope.row.all_amount}}</el-link>
|
||||
</template>value
|
||||
</el-table-column>
|
||||
<el-table-column label="上月消费" sortable="PrevMonthAmount">
|
||||
<el-table-column label="上月消费">
|
||||
<template slot-scope="scope">
|
||||
<el-link @click="click_all_amount(scope.row,2)">{{scope.row.PrevMonthAmount}}</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="本月消费" sortable="MonthAmount">
|
||||
<el-table-column label="本月消费">
|
||||
<template slot-scope="scope">
|
||||
<el-link @click="click_all_amount(scope.row,3)">{{scope.row.MonthAmount}}</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="AddAmount" label="对比增长金额"></el-table-column>
|
||||
<el-table-column prop="persent" label="对比增长百分比"></el-table-column>
|
||||
<el-table-column label="账户总数" sortable="account_count">
|
||||
<el-table-column label="账户总数">
|
||||
<template slot-scope="scope">
|
||||
<el-link @click="click_account(scope.row,1)">{{scope.row.account_count}}</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="使用中个数" sortable="account_used">
|
||||
<el-table-column label="使用中个数">
|
||||
<template slot-scope="scope">
|
||||
<el-link @click="click_account(scope.row,3)">{{scope.row.account_used}}</el-link>
|
||||
</template>
|
||||
</el-table-column>value
|
||||
<el-table-column label="过期个数" sortable="account_expire">
|
||||
<el-table-column label="过期个数" >
|
||||
<template slot-scope="scope">
|
||||
<el-link @click="click_account(scope.row,2)">{{scope.row.account_expire}}</el-link>
|
||||
</template>
|
||||
@@ -209,13 +209,13 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
// eslint-disable-next-line standard/object-curly-even-spacing
|
||||
sort ({column, prop, order }) {
|
||||
this.searchModel.PageIndex = 1
|
||||
this.searchModel.sortLable = column.sortable
|
||||
// eslint-disable-next-line eqeqeq
|
||||
this.searchModel.sortOrder = order == 'ascending' ? 1 : 0
|
||||
this.get()
|
||||
},
|
||||
// sort ({column, prop, order }) {
|
||||
// this.searchModel.PageIndex = 1
|
||||
// this.searchModel.sortLable = column.sortable
|
||||
// // eslint-disable-next-line eqeqeq
|
||||
// this.searchModel.sortOrder = order == 'ascending' ? 1 : 0
|
||||
// this.get()
|
||||
// },
|
||||
search () {
|
||||
if (this.last_month && this.last_month.length === 2) {
|
||||
this.searchModel.last_month.s_time = this.last_month[0]
|
||||
|
||||
Reference in New Issue
Block a user