列表
<el-table
:key="tableKey"
v-loading="listLoading"
:data="list"
element-loading-text="Loading"
border
fit
highlight-current-row
>
<el-table-column align="center" label="序号" width="50">
<template slot-scope="scope">
{{ scope.row.id }}
</template>
</el-table-column>
<el-table-column label="手机号" width="100">
<template slot-scope="scope">
{{ scope.row.mobile }}
</template>
</el-table-column>
<el-table-column label="余额" width="100">
<template slot-scope="scope">
{{ scope.row.money }}
</template>
</el-table-column>
<el-table-column class-name="status-col" label="等级" width="80" align="center">
<template slot-scope="scope">
{{ scope.row.level | levelTextFilter }}
</template>
</el-table-column>
<el-table-column class-name="status-col" label="状态" width="80" align="center">
<template slot-scope="scope">
<el-tag :type="scope.row.status | statusFilter">{{ scope.row.status | statusTextFilter }}</el-tag>
</template>
</el-table-column>
<el-table-column label="注册时间" width="85">
<template slot-scope="scope">
{{ scope.row.add_time }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="fixed-width">
<template slot-scope="{row}">
<el-button @click="handleInfo(row)">
实名信息
</el-button>
<el-button @click="handleBank(row)">
银行卡信息
</el-button>
<el-button @click="handleShopList(row)">
店铺信息
</el-button>
<el-button @click="handleAddressList(row)">
收货地址
</el-button>
<el-button type="primary" icon="el-icon-edit" style="margin-left: 30px" @click="handleUpdate(row)" />
<el-button slot="reference" type="danger" icon="el-icon-delete" @click="deleteData(row)" />
</template>
</el-table-column>
</el-table>