用户评审辅助功能
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2025-01-13 13:44:30 +08:00
parent 3f2a339cba
commit 7ff0273c29
1 changed files with 16 additions and 1 deletions

View File

@ -27,11 +27,26 @@
<!-- 选择自定义slot -->
<template slot="tip-slot" slot-scope="{ scope }">
<i
v-if="diffTime(scope.row.LastLoginTime) >= 90"
v-if="
diffTime(scope.row.LastLoginTime) >= 90 &&
diffTime(scope.row.LastChangePassWordTime) >= 90
"
class="el-icon-warning"
style="color: #f56c6c"
:title="$t('system:userlist:tip:overTimeAndoverTimePassWord')"
/>
<i
v-else-if="diffTime(scope.row.LastLoginTime) >= 90"
class="el-icon-warning"
style="color: #f56c6c"
:title="$t('system:userlist:tip:overTime')"
/>
<i
v-else-if="diffTime(scope.row.LastChangePassWordTime) >= 90"
class="el-icon-warning"
style="color: #f56c6c"
:title="$t('system:userlist:tip:overTimePassWord')"
/>
</template>
<template slot="genderSlot" slot-scope="{ scope }">
{{ scope.row.Sex ? 'Male' : 'Female' }}