|
@@ -38,50 +38,42 @@
|
|
|
style="margin: 20px 0"
|
|
|
>
|
|
|
<el-table-column
|
|
|
- prop="nickname"
|
|
|
- label="客户昵称"
|
|
|
+ prop="admin_name"
|
|
|
+ label="用户"
|
|
|
align="center"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
- prop="mobile"
|
|
|
- label="客户手机号"
|
|
|
+ prop="address"
|
|
|
+ label="登录地址"
|
|
|
align="center"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
- prop="realname"
|
|
|
- label="真实姓名"
|
|
|
+ prop="ip"
|
|
|
+ label="登录ip"
|
|
|
align="center"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
- label="客户类别"
|
|
|
+ prop="browser"
|
|
|
+ label="登录设备"
|
|
|
align="center"
|
|
|
- >
|
|
|
- <template slot-scope="{ row }">
|
|
|
- <el-tag
|
|
|
- :color="levelStatus(row.level).color"
|
|
|
- style="color:#ffffff;"
|
|
|
- >
|
|
|
- {{ levelStatus(row.level).name }}
|
|
|
- </el-tag>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ />
|
|
|
<el-table-column
|
|
|
prop="login_log_count"
|
|
|
label="最近一次登录时间"
|
|
|
align="center"
|
|
|
>
|
|
|
- <template slot-scope="{ row: { login_at } }">
|
|
|
- {{ login_at || '暂未登录' }}
|
|
|
+ <template slot-scope="{ row: { time } }">
|
|
|
+ {{ time || '暂未登录' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
+ <!-- <el-table-column
|
|
|
label="操作"
|
|
|
align="center"
|
|
|
>
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-button type="text" @click="loginInfo.id = row.id;loginInfo.page = 1;getLoginInfo()">查看详情</el-button>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
</el-table>
|
|
|
<pagination
|
|
|
:total="LoginTotal"
|
|
@@ -248,7 +240,7 @@ export default {
|
|
|
apis.loginList(this.searchParams).then(res => {
|
|
|
loading.close()
|
|
|
if (res.code === 200) {
|
|
|
- this.LoginList = res.data.list.data
|
|
|
+ this.LoginList = res.data.list
|
|
|
this.LoginTotal = res.data.total
|
|
|
// this.total.crown = res.data.list.crown
|
|
|
// this.total.top = res.data.list.top
|