const employeeTypeMap: Record<string, string> = {
  common_user: '普通用户',
  dept_manager: '部门运维',
  flow_manager: '流程运维',
  super_admin: '管理员',
}

export function employeeTypeLabel(type?: string): string {
  return employeeTypeMap[type || ''] || type || '-'
}

export function adminEmployeeTypeLabel(type?: string): string {
  return employeeTypeMap[type || ''] || type || '-'
}
