|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<!-- <div style="width: 100%"> -->
|
|
|
- <Drawer :closable="false" width="1000" class-name="order_box" v-model="modals" :styles="{ padding: 0 }">
|
|
|
+ <Drawer :closable="false" width="1100" class-name="order_box" v-model="modals" :styles="{ padding: 0 }">
|
|
|
<div class="acea-row user-row">
|
|
|
<div class="avatar mr15">
|
|
|
<img :src="psInfo.avatar">
|
|
|
@@ -63,6 +63,13 @@
|
|
|
<div class="title">{{ row.store_name }}</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
+
|
|
|
+ <template slot-scope="{ row }" slot="status_type">
|
|
|
+ <div>
|
|
|
+ <Button type="waning" v-if="row.status==0" >未出局</Button>
|
|
|
+ <Button type="success" v-if="row.status==1" >已出局</Button>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</Table>
|
|
|
<div class="acea-row row-right page">
|
|
|
<Page :total="total" :current.sync="userFrom.page" show-elevator show-total @on-change="pageChange" :page-size="userFrom.limit" />
|
|
|
@@ -128,6 +135,9 @@
|
|
|
{ val: 'sign', label: '签到记录' },
|
|
|
{ val: 'coupon', label: '持有优惠券' },
|
|
|
{ val: 'balance_change', label: '余额变动' },
|
|
|
+ { val: 'static_integral', label: '消费分' },
|
|
|
+ { val: 'action_integral', label: '贡献分' },
|
|
|
+ { val: 'energy', label: '能量值' },
|
|
|
{ val: 'spread', label: '好友关系' },
|
|
|
{ val: 'visit', label: '浏览足迹' },
|
|
|
{ val: 'spread_change', label: '推荐人变更记录' }
|
|
|
@@ -453,6 +463,103 @@
|
|
|
}
|
|
|
]
|
|
|
break;
|
|
|
+ case 'static_integral':
|
|
|
+ this.columns = [
|
|
|
+ {
|
|
|
+ title: '获得数量',
|
|
|
+ key: 'num',
|
|
|
+ minWidth: 100
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '进场价格',
|
|
|
+ key: 'price',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '出局总价',
|
|
|
+ key: 'extract_sum',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '获得时间',
|
|
|
+ key: '_add_time',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '备注',
|
|
|
+ key: 'mark',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '状态',
|
|
|
+ slot: 'status_type',
|
|
|
+ minWidth: 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ break;
|
|
|
+ case 'action_integral':
|
|
|
+ this.columns = [
|
|
|
+ {
|
|
|
+ title: '获得数量',
|
|
|
+ key: 'num',
|
|
|
+ minWidth: 100
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '进场价格',
|
|
|
+ key: 'price',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '出局总价',
|
|
|
+ key: 'extract_sum',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '获得时间',
|
|
|
+ key: '_add_time',
|
|
|
+ minWidth: 100
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '备注',
|
|
|
+ key: 'mark',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '状态',
|
|
|
+ slot: 'status_type',
|
|
|
+ minWidth: 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ break;
|
|
|
+ case 'energy':
|
|
|
+ this.columns = [
|
|
|
+ {
|
|
|
+ title: '来源',
|
|
|
+ key: 'title',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '获得数量',
|
|
|
+ key: 'number',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '变化后',
|
|
|
+ key: 'balance',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '获得时间',
|
|
|
+ key: 'add_time',
|
|
|
+ minWidth: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '备注',
|
|
|
+ key: 'mark',
|
|
|
+ minWidth: 120
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ break;
|
|
|
case 'coupon':
|
|
|
this.columns = [
|
|
|
{
|