Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10540 Rev 10545
Línea 194... Línea 194...
194
                                                            &&
194
                                                            &&
195
                                                            competency.behaviors.map((behavior) => (
195
                                                            competency.behaviors.map((behavior) => (
196
                                                            	<table key={behavior.uuid}>
196
                                                            	<table key={behavior.uuid}>
197
                                                            		<thead>
197
                                                            		<thead>
198
                                                            			<tr>
198
                                                            			<tr>
199
                                                            				<th>Conducta Observable</th>
199
                                                            				<th style={{ width: '20%' }}>Conducta Observable</th>
200
                                                            				<th>Comentario</th>
200
                                                            				<th style={{ width: '60%' }}>Comentario</th>
201
                                                            				<th>Evaluación</th>
201
                                                            				<th style={{ width: '20%' }}>Evaluación</th>
202
                                                            			</tr>
202
                                                            			</tr>
203
                                                            		</thead>
203
                                                            		</thead>
204
                                                            		<tbody>
204
                                                            		<tbody>
205
                                                            			<tr>
205
                                                            			<tr>
206
                                                            				<td>{behavior.description}</td>
206
                                                            				<td style={{ width: '20%' }}>{behavior.description}</td>
207
                                                            				<td>
207
                                                            				<td style={{ width: '60%' }}>
208
                                                            					<textarea
208
                                                            					<textarea
209
                                                            						name="behavior-comment"
209
                                                            						name="behavior-comment"
210
                                                            						cols="30"
210
                                                            						cols="30"
211
                                                            						rows="10"
211
                                                            						rows="3"
212
                                                            						onChange={(e) => setCompetencies(prev => {
212
                                                            						onChange={(e) => setCompetencies(prev => {
213
                                                            							[...prev, behaviors.map(bh => bh.uuid === behavior.uuid ? behavior.comment = e.target.value : behavior)]
213
                                                            							[...prev, prev.behaviors.map(bh => bh.uuid === behavior.uuid ? behavior.comment = e.target.value : behavior)]
214
                                                            						})}
214
                                                            						})}
215
                                                            					/>
215
                                                            					/>
216
                                                            				</td>
216
                                                            				</td>
217
                                                            				<td>
217
                                                            				<td style={{ width: '20%' }}>
218
                                                            					<select className='form-control' name='behavior-points' >
218
                                                            					<select className='form-control' name='behavior-points' >
219
                                                            						{
219
                                                            						{
220
                                                            							pointsOptions.map(({ label, value }) => (
220
                                                            							pointsOptions.map(({ label, value }) => (
221
                                                            								<option selected={behavior.points === value} key={value} value={value}>{label}</option>
221
                                                            								<option selected={behavior.points === value} key={value} value={value}>{label}</option>
222
                                                            							))
222
                                                            							))