| | |
| | | <el-table-column label="登录地点" align="center" prop="loginLocation" :show-overflow-tooltip="true" />
|
| | | <el-table-column label="浏览器" align="center" prop="browser" :show-overflow-tooltip="true" />
|
| | | <el-table-column label="操作系统" align="center" prop="os" />
|
| | | <el-table-column label="登录状态" align="center" prop="status" :formatter="statusFormat" />
|
| | | <el-table-column label="登录状态" align="center" prop="status"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="statusOptions" :value="scope.row.status"/> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作信息" align="center" prop="msg" />
|
| | | <el-table-column label="登录日期" align="center" prop="loginTime" sortable="custom" :sort-orders="['descending', 'ascending']" width="180">
|
| | | <template slot-scope="scope">
|
| | |
| | | this.loading = false;
|
| | | }
|
| | | );
|
| | | },
|
| | | // 登录状态字典翻译
|
| | | statusFormat(row, column) {
|
| | | return this.selectDictLabel(this.statusOptions, row.status);
|
| | | },
|
| | | /** 搜索按钮操作 */
|
| | | handleQuery() {
|