Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 10870 | Rev 10911 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 10870 Rev 10898
Línea 98... Línea 98...
98
							msg: 'Ha ocurrido un error'
98
							msg: 'Ha ocurrido un error'
99
						}))
99
						}))
100
					}
100
					}
Línea 101... Línea 101...
101
 
101
 
102
					resData.interview.content.map((behavior) => {
102
					resData.interview.content.map((behavior) => {
103
						setValue(`${behavior.competency_uuid}_${behavior.uuid}-comment`, behavior.comment)
103
						setValue(`${behavior.competencyUuid}_${behavior.behaviorUuid}-comment`, behavior.comment)
104
						setValue(`${behavior.competency_uuid}_${behavior.uuid}-points`, behavior.evaluation)
104
						setValue(`${behavior.competencyUuid}_${behavior.behaviorUuid}-points`, behavior.evaluation)
105
					})
105
					})
106
					setValue('comment', resData.interview.comment)
106
					setValue('comment', resData.interview.comment)
107
					setValue('points', resData.interview.points)
107
					setValue('points', resData.interview.points)
108
					setValue('status', resData.interview.status)
108
					setValue('status', resData.interview.status)
Línea 267... Línea 267...
267
																				</td>
267
																				</td>
268
																				<td style={{ width: '20%' }}>
268
																				<td style={{ width: '20%' }}>
269
																					<select className='form-control' name={`${behavior.competency_uuid}_${behavior.uuid}-points`} ref={register}>
269
																					<select className='form-control' name={`${behavior.competency_uuid}_${behavior.uuid}-points`} ref={register}>
270
																						{
270
																						{
271
																							pointsOptions.map(({ label, value }) => (
271
																							pointsOptions.map(({ label, value }) => (
272
																								<option selected={behavior.points === value} key={value} value={value}>{label}</option>
272
																								<option selected={`${behavior.competency_uuid}_${behavior.uuid}-points` === value} key={value} value={value}>{label}</option>
273
																							))
273
																							))
274
																						}
274
																						}
275
																					</select>
275
																					</select>
276
																				</td>
276
																				</td>
277
																			</tr>
277
																			</tr>