/** * 表格列配置 */ import type {VxeGridProps} from '#/adapter/vxe-table'; export const columns: VxeGridProps['columns'] = [ { // 列标题 title: '主键ID', // 对应字段 field: 'id', // 宽度 width: 150, }, { // 列标题 title: '账号', // 对应字段 field: 'userName', // 宽度 width: 150 }, { // 列标题 title: '手机号', // 对应字段 field: 'userPhone', // 宽度 width: 150 }, { // 列标题 title: '姓名', // 对应字段 field: 'userRealName', // 宽度 width: 150 }, { // 列标题 title: '性别:0默认保密,1男2女', // 对应字段 field: 'userGender', // 宽度 width: 150 }, { // 列标题 title: '密码', // 对应字段 field: 'userPassword', // 宽度 width: 150 }, { // 列标题 title: '生日', // 对应字段 field: 'userBirthday', // 宽度 width: 150 }, { // 列标题 title: '头像', // 对应字段 field: 'userFace', // 宽度 width: 150 }, { // 列标题 title: '邮箱', // 对应字段 field: 'userEmail', // 宽度 width: 150 }, { // 列标题 title: '创建时间', // 对应字段 field: 'createdAt', // 宽度 width: 150 }, { // 列标题 title: '更新时间', // 对应字段 field: 'updatedAt', // 宽度 width: 150 }, { // 列标题 title: '创建人', // 对应字段 field: 'createdBy', // 宽度 width: 150 }, { // 列标题 title: '更新人', // 对应字段 field: 'updatedBy', // 宽度 width: 150 }, { // 列标题 title: '删除 0 默认 1删除', // 对应字段 field: 'deletedFlag', // 宽度 width: 150 }, { // 列标题 title: '地址', // 对应字段 field: 'userAddress', // 宽度 width: 150 }, { // 列标题 title: '用户ID冗余字段', // 对应字段 field: 'userId', // 宽度 width: 150 }, { // 列标题 title: '系统型号', // 对应字段 field: 'userSys', // 宽度 width: 150 }, { // 列标题 title: '手机型号', // 对应字段 field: 'userPhoneModel', // 宽度 width: 150 }, { // 列标题 title: '用户状态默认启用0,注销1', // 对应字段 field: 'userStatus', // 宽度 width: 150 }, { // 列标题 title: '手机唯一标识', // 对应字段 field: 'userCid', // 宽度 width: 150 }, { // 列标题 title: '手机IP', // 对应字段 field: 'userIp', // 宽度 width: 150 }, ];