用户管理去除时间查询

This commit is contained in:
sjl
2025-07-01 10:47:59 +08:00
parent 290586d0ff
commit 9fecf0ce3f

View File

@@ -64,8 +64,8 @@
// 默认不做操作就直接在 ProTable 组件上绑定 :requestApi="getUserList"
const getTableList = (params: any) => {
let newParams = JSON.parse(JSON.stringify(params))
newParams.searchEndTime = endDate.value
newParams.searchBeginTime = startDate.value
// newParams.searchEndTime = endDate.value
// newParams.searchBeginTime = startDate.value
return getUserList(newParams)
}
@@ -112,19 +112,19 @@
prop: 'loginTime',
label: '最后一次登录时间',
minWidth: 180,
search: {
render: () => {
return (
<div class='flx-flex-start'>
<TimeControl
include={['日', '周', '月', '自定义']}
default={'月'}
onUpdate-dates={handleDateChange}
/>
</div>
)
},
},
// search: {
// render: () => {
// return (
// <div class='flx-flex-start'>
// <TimeControl
// include={['日', '周', '月', '自定义']}
// default={'月'}
// onUpdate-dates={handleDateChange}
// />
// </div>
// )
// },
// },
},
{
prop: 'state',