edit
This commit is contained in:
@ -68,7 +68,7 @@ export class UserLogsComponent implements OnInit {
|
||||
title: '登录时间',
|
||||
type: 'string',
|
||||
ui: {
|
||||
widget: 'item-date',
|
||||
widget: 'sl-from-to-search',
|
||||
format: 'yyyy-MM-dd HH:mm:ss',
|
||||
placeholder: '请选择',
|
||||
nzShowTime: true,
|
||||
@ -100,8 +100,8 @@ export class UserLogsComponent implements OnInit {
|
||||
Object.assign(requestOptions.body, {
|
||||
...this.sf.value,
|
||||
time: {
|
||||
start: this.sf.value.time?.start ? dateTimePickerUtil.format(this.sf.value.time?.start, 'yyyy-MM-dd HH:mm:ss') : null,
|
||||
end: this.sf.value.time?.end ? dateTimePickerUtil.format(this.sf.value.time?.end, 'yyyy-MM-dd HH:mm:ss') : null
|
||||
start: this.sf.value.time?.[0] || null,
|
||||
end: this.sf.value.time?.[1] || null
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user