优化登陆日志,增加 userId、userType,更多的 loginType

This commit is contained in:
YunaiV
2021-10-06 01:03:54 +08:00
parent 0d6df43c9c
commit 79f9f7b93d
11 changed files with 94 additions and 149 deletions

View File

@ -37,7 +37,7 @@
<el-table-column label="访问编号" align="center" prop="id" />
<el-table-column label="日志类型" align="center" prop="logType">
<template slot-scope="scope">
<span>{{ scope.row.logType === 100 ? '登录' : '退出' }}</span>
<span>{{ getDictDataLabel(DICT_TYPE.SYS_LOGIN_TYPE, scope.row.logType) }}</span>
</template>
</el-table-column>
<el-table-column label="用户名称" align="center" prop="username" />