用户列表新增最后一次修改密码字段

uat_us
wangxiaoshuang 2024-12-27 11:48:22 +08:00
parent a7c3bf09f8
commit 2f4ace45b8
1 changed files with 25 additions and 1 deletions

View File

@ -95,8 +95,12 @@ const searchDataDefault = () => {
RealName: '',
BeginCreateTime: '',
EndCreateTime: '',
EndLastLoginTime: null,
EndLastChangePassWordTime: null,
BeginLastChangePassWordTime: null,
CreateTimeArr: [],
LastLoginTimeArr: [],
LastChangePassWordTimeArr: [],
SortField: 'CreateTime',
}
}
@ -202,6 +206,13 @@ export default {
sortable: 'custom',
showOverflowTooltip: true,
},
{
prop: 'LastChangePassWordTime',
label: this.$t('system:userlist:table:LastChangePassWordTime'),
minWidth: 200,
sortable: 'custom',
showOverflowTooltip: true,
},
{
prop: 'CreateTime',
label: this.$t('system:userlist:table:createTime'),
@ -213,7 +224,7 @@ export default {
type: 'operate',
label: this.$t('common:action:action'),
minWidth: 200,
fixed:"right",
fixed: 'right',
operates: [
{
name: this.$t('common:button:edit'),
@ -338,6 +349,13 @@ export default {
width: '400px',
placeholder: '',
},
{
type: 'Daterange',
label: this.$t('system:userlist:label:LastChangePassWordTime'),
prop: 'LastChangePassWordTimeArr',
width: '400px',
placeholder: '',
},
{
type: 'Daterange',
label: this.$t('system:userlist:label:CreateTime'),
@ -442,6 +460,12 @@ export default {
this.searchData.BeginLastLoginTime = this.searchData.LastLoginTimeArr[0]
this.searchData.EndLastLoginTime = this.searchData.LastLoginTimeArr[1]
}
if (this.searchData.LastChangePassWordTimeArr.length > 0) {
this.searchData.BeginLastChangePassWordTime =
this.searchData.LastChangePassWordTimeArr[0]
this.searchData.EndLastChangePassWordTime =
this.searchData.LastChangePassWordTimeArr[1]
}
this.getList()
},
},