异地登录提示

uat_us
wangxiaoshuang 2025-01-13 16:13:18 +08:00
parent b5643d3774
commit e58695aeff
1 changed files with 30 additions and 1 deletions

View File

@ -97,7 +97,32 @@
class="table"
@sort-change="handleSortByColumn"
>
<el-table-column type="index" width="50" />
<el-table-column type="index" width="50">
<template slot-scope="scope">
<span
style="
display: flex;
align-items: center;
justify-content: flex-end;
"
>
<el-tooltip
class="item"
effect="dark"
:content="$t('system:loginLog:label:IsLoginUncommonly')"
placement="top"
style="margin-right: 3px"
v-if="scope.row.IsLoginUncommonly"
>
<i
v-if="scope.row.IsLoginUncommonly"
class="el-icon-warning icon-i"
></i>
</el-tooltip>
<span>{{ scope.$index + 1 }}</span>
</span>
</template>
</el-table-column>
<el-table-column
:label="$t('system:loginLog:table:OptType')"
prop="OptType"
@ -328,5 +353,9 @@ export default {
text-align: right;
}
}
.icon-i {
color: #f56c6c;
cursor: pointer;
}
}
</style>