Merge branch 'refs/heads/dev' into master_lz

# Conflicts:
#	src/views/system/user/index.vue
This commit is contained in:
2026-03-05 16:35:28 +08:00
11 changed files with 545 additions and 115 deletions

View File

@@ -102,7 +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'
import type {ColumnItem} from "@/components/GiForm";
defineOptions({ name: 'SystemUser' })
@@ -168,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 },
@@ -204,7 +204,7 @@ const reset = () => {
const onDelete = (record: UserResp) => {
return handleDelete(() => deleteUser(record.id), {
content: `是否确定删除用户「${record.username}」?`,
content: `是否确定删除用户「${record.nickname}(${record.username})」?`,
showModal: true,
})
}