Reac front end for psicometric app

Rows.js 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. export const Encabezados = [
  2. {
  3. name: 'pass',
  4. numeric: false,
  5. disablePadding: true,
  6. label: 'Contraseña',
  7. },
  8. {
  9. name: 'name',
  10. numeric: false,
  11. disablePadding: true,
  12. label: 'Nombre',
  13. },
  14. {
  15. name: 'apell',
  16. numeric: false,
  17. disablePadding: true,
  18. label: 'Apellido',
  19. },
  20. {
  21. name: 'mail',
  22. numeric: false,
  23. disablePadding: true,
  24. label: 'Correo',
  25. },
  26. ]
  27. export const niveles_educativos = [
  28. "Primaria",
  29. "Basico",
  30. "Diversificado",
  31. "Tecnico",
  32. "Pregrado / Licenciatura",
  33. "Postgrado / Maestria",
  34. "Doctorado",
  35. "Diplomado",
  36. "Certificacion",
  37. "Cursos"
  38. ]
  39. export const departamentos = [
  40. "Guatemala",
  41. "Guatemala",
  42. "Guatemala",
  43. "Guatemala",
  44. "Guatemala",
  45. ]
  46. export function Build(pwds){
  47. return pwds.map( pwd => {
  48. let { candidato: user } = pwd
  49. return {
  50. pass : pwd.pwd,
  51. name: user.nombre,
  52. apell: user.apellidos,
  53. mail: user.mail,
  54. }
  55. })
  56. }