
export const title = [{
  prop: "username",
  label: "账号",
  columnAlign: 'center',
},
{
  prop: "nickName",
  label: "昵称",
  columnAlign: 'center',
},
{
  prop: "realName",
  label: "真实姓名",
  columnAlign: 'center',
},
// {
//   prop: "sex",
//   label: "性别",
//   columnAlign: 'center',
// },
{
  prop: "deptName",
  label: "所属部门",
  columnAlign: 'center',
  showOverFlowToolTip: true

},

{
  prop: "phone",
  label: "手机号",
  columnAlign: 'center',
},
{
  prop: "status",
  label: "状态",
  columnAlign: 'center',
  isStatus: true,
  width:80,
},
]

export const operates = {
  operate: true,
  label: "操作",
  width: "400px",
  titleAlign: "center",
  columnAlign: "center",
}

export const operations = [
  {
    type:'editPassword',
    title: '修改密码',
    perms: "sys:user:update",
  },
  {
    type: 'edit',
    title: '编辑',
    perms: "sys:user:update",
  },
  {
    type: 'editRole',
    title: '赋予角色',
    perms: "sys:user:update",
  },

  {
    type: 'delete',
    title: '删除',
    perms: "sys:user:deleted",
  },

]
