用户列表新增最后一次修改密码字段
parent
a7c3bf09f8
commit
2f4ace45b8
|
@ -95,8 +95,12 @@ const searchDataDefault = () => {
|
||||||
RealName: '',
|
RealName: '',
|
||||||
BeginCreateTime: '',
|
BeginCreateTime: '',
|
||||||
EndCreateTime: '',
|
EndCreateTime: '',
|
||||||
|
EndLastLoginTime: null,
|
||||||
|
EndLastChangePassWordTime: null,
|
||||||
|
BeginLastChangePassWordTime: null,
|
||||||
CreateTimeArr: [],
|
CreateTimeArr: [],
|
||||||
LastLoginTimeArr: [],
|
LastLoginTimeArr: [],
|
||||||
|
LastChangePassWordTimeArr: [],
|
||||||
SortField: 'CreateTime',
|
SortField: 'CreateTime',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -202,6 +206,13 @@ export default {
|
||||||
sortable: 'custom',
|
sortable: 'custom',
|
||||||
showOverflowTooltip: true,
|
showOverflowTooltip: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
prop: 'LastChangePassWordTime',
|
||||||
|
label: this.$t('system:userlist:table:LastChangePassWordTime'),
|
||||||
|
minWidth: 200,
|
||||||
|
sortable: 'custom',
|
||||||
|
showOverflowTooltip: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
prop: 'CreateTime',
|
prop: 'CreateTime',
|
||||||
label: this.$t('system:userlist:table:createTime'),
|
label: this.$t('system:userlist:table:createTime'),
|
||||||
|
@ -213,7 +224,7 @@ export default {
|
||||||
type: 'operate',
|
type: 'operate',
|
||||||
label: this.$t('common:action:action'),
|
label: this.$t('common:action:action'),
|
||||||
minWidth: 200,
|
minWidth: 200,
|
||||||
fixed:"right",
|
fixed: 'right',
|
||||||
operates: [
|
operates: [
|
||||||
{
|
{
|
||||||
name: this.$t('common:button:edit'),
|
name: this.$t('common:button:edit'),
|
||||||
|
@ -338,6 +349,13 @@ export default {
|
||||||
width: '400px',
|
width: '400px',
|
||||||
placeholder: '',
|
placeholder: '',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: 'Daterange',
|
||||||
|
label: this.$t('system:userlist:label:LastChangePassWordTime'),
|
||||||
|
prop: 'LastChangePassWordTimeArr',
|
||||||
|
width: '400px',
|
||||||
|
placeholder: '',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: 'Daterange',
|
type: 'Daterange',
|
||||||
label: this.$t('system:userlist:label:CreateTime'),
|
label: this.$t('system:userlist:label:CreateTime'),
|
||||||
|
@ -442,6 +460,12 @@ export default {
|
||||||
this.searchData.BeginLastLoginTime = this.searchData.LastLoginTimeArr[0]
|
this.searchData.BeginLastLoginTime = this.searchData.LastLoginTimeArr[0]
|
||||||
this.searchData.EndLastLoginTime = this.searchData.LastLoginTimeArr[1]
|
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()
|
this.getList()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue