异地登录提示
parent
b5643d3774
commit
e58695aeff
|
@ -97,7 +97,32 @@
|
||||||
class="table"
|
class="table"
|
||||||
@sort-change="handleSortByColumn"
|
@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
|
<el-table-column
|
||||||
:label="$t('system:loginLog:table:OptType')"
|
:label="$t('system:loginLog:table:OptType')"
|
||||||
prop="OptType"
|
prop="OptType"
|
||||||
|
@ -328,5 +353,9 @@ export default {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.icon-i {
|
||||||
|
color: #f56c6c;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue