This commit is contained in:
2026-03-03 15:05:20 +08:00
parent 7785356347
commit 124de2926e
6 changed files with 36 additions and 15 deletions

View File

@@ -102,6 +102,7 @@ import { DisEnableStatusList } from '@/constant/common'
import { useDownload, useResetReactive, useTable } from '@/hooks'
import { isMobile } from '@/utils'
import has from '@/utils/has'
import type { ColumnItem } from '@/components/GiForm'
defineOptions({ name: 'SystemUser' })
@@ -122,7 +123,7 @@ const queryFormColumns: ColumnItem[] = reactive([
hideLabel: true,
},
props: {
placeholder: '搜索用户名/昵称/描述',
placeholder: '搜索用户名',
showWordLimit: false,
},
},
@@ -167,7 +168,7 @@ const columns: TableInstanceColumns[] = [
fixed: !isMobile() ? 'left' : undefined,
},
{ title: '用户名', dataIndex: 'username', slotName: 'username', minWidth: 100, ellipsis: true, tooltip: true },
{ title:'卡号', dataIndex: 'cardNo', slotName: 'cardNo' },
{ title: '卡号', dataIndex: 'cardNo', slotName: 'cardNo' },
{ title: '状态', dataIndex: 'status', slotName: 'status', align: 'center' },
{ title: '性别', dataIndex: 'gender', slotName: 'gender', align: 'center' },
{ title: '角色', dataIndex: 'roleNames', slotName: 'roleNames', minWidth: 165 },