用户评审辅助功能
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3f2a339cba
commit
7ff0273c29
|
@ -27,11 +27,26 @@
|
||||||
<!-- 选择自定义slot -->
|
<!-- 选择自定义slot -->
|
||||||
<template slot="tip-slot" slot-scope="{ scope }">
|
<template slot="tip-slot" slot-scope="{ scope }">
|
||||||
<i
|
<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"
|
class="el-icon-warning"
|
||||||
style="color: #f56c6c"
|
style="color: #f56c6c"
|
||||||
:title="$t('system:userlist:tip:overTime')"
|
: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>
|
||||||
<template slot="genderSlot" slot-scope="{ scope }">
|
<template slot="genderSlot" slot-scope="{ scope }">
|
||||||
{{ scope.row.Sex ? 'Male' : 'Female' }}
|
{{ scope.row.Sex ? 'Male' : 'Female' }}
|
||||||
|
|
Loading…
Reference in New Issue