Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 14738 Rev 15090
Línea 30... Línea 30...
30
		competency_type_uuid: '',
30
		competency_type_uuid: '',
31
		competency_type_name: '',
31
		competency_type_name: '',
32
		behaviors: []
32
		behaviors: []
33
	}])
33
	}])
34
	const [pointsOptions] = useState([
34
	const [pointsOptions] = useState([
-
 
35
		{ label: 'N/A', value: 0 },
-
 
36
		{ label: '25%', value: 1 },
-
 
37
		{ label: '50%', value: 2 },
-
 
38
		{ label: '75%', value: 3 },
-
 
39
		{ label: '100%', value: 4 }
-
 
40
	])
-
 
41
	const [pointsGlobalOptions] = useState([
35
		{ label: 'Sugerir otro cargo', value: 0 },
42
		{ label: 'Sugerir otro cargo', value: 0 },
36
		{ label: '25%', value: 1 },
43
		{ label: '25%', value: 1 },
37
		{ label: '50%', value: 2 },
44
		{ label: '50%', value: 2 },
38
		{ label: '75%', value: 3 },
45
		{ label: '75%', value: 3 },
39
		{ label: '100%', value: 4 }
46
		{ label: '100%', value: 4 }
Línea 267... Línea 274...
267
																			</thead>
274
																			</thead>
268
																			<tbody>
275
																			<tbody>
269
																				<tr>
276
																				<tr>
270
																					<td style={{ width: '20%' }}>{behavior.description}</td>
277
																					<td style={{ width: '20%' }}>{behavior.description}</td>
271
																					<td style={{ width: '60%' }}>
278
																					<td style={{ width: '60%' }}>
272
																						<textarea
279
																						<input
-
 
280
																							type="text"
273
																							name={`${behavior.competency_uuid}-${behavior.uuid}-comment`}
281
																							name={`${behavior.competency_uuid}-${behavior.uuid}-comment`}
274
																							cols="30"
282
																							maxlength="80"
275
																							rows="3"
-
 
276
																							ref={register}
283
																							ref={register}
277
																							className='form-control w100'
284
																							className='form-control w100'
278
																						/>
285
																						/>
279
																					</td>
286
																					</td>
280
																					<td style={{ width: '20%' }}>
287
																					<td style={{ width: '20%' }}>
Línea 298... Línea 305...
298
											}
305
											}
299
										</div>
306
										</div>
300
										<div className="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">
307
										<div className="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">
301
											<div className="form-group">
308
											<div className="form-group">
302
												<label>Comentario</label>
309
												<label>Comentario</label>
303
												<input type="text" name="comment" className="form-control" ref={register} />
310
												<textarea type="text" name="comment" className="form-control" rows="5" cols="50" ref={register} />
304
											</div>
311
											</div>
305
											<div className="form-group">
312
											<div className="form-group">
306
												<label>Evaluación</label>
313
												<label>Evaluación</label>
307
												<select className='form-control' name='points' ref={register}>
314
												<select className='form-control' name='points' ref={register}>
308
													{
315
													{
309
														pointsOptions.map(({ label, value }) => (
316
														pointsGlobalOptions.map(({ label, value }) => (
310
															<option selected={watch('points') === value} key={value} value={value}>{label}</option>
317
															<option selected={watch('points') === value} key={value} value={value}>{label}</option>
311
														))
318
														))
312
													}
319
													}
313
												</select>
320
												</select>
314
											</div>
321
											</div>