agregacion de reportes por encuesta
This commit is contained in:
		
							parent
							
								
									c00a01c350
								
							
						
					
					
						commit
						2aa5d251da
					
				| 
						 | 
				
			
			@ -156,38 +156,36 @@
 | 
			
		|||
 | 
			
		||||
    <!--REPORTES DE LAS PREGUNTAS-->
 | 
			
		||||
 | 
			
		||||
    <div class="container-fluid" *ngIf="encuesta">
 | 
			
		||||
    <!--<div class="container-fluid" *ngIf="encuesta">
 | 
			
		||||
      <div>
 | 
			
		||||
 | 
			
		||||
        <div class="alert alert-warning" id="no-result" *ngIf="ePreguntas?.length === 0">
 | 
			
		||||
          <span>No se encontraron preguntas</span>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <div class="ds-survey preview-survey" id="entities" *ngIf="ePreguntas && ePreguntas.length > 0">
 | 
			
		||||
          <div class="ds-survey--all-question-wrapper col-8">
 | 
			
		||||
            <div
 | 
			
		||||
              class="ds-survey--question-wrapper card-encuesta lift"
 | 
			
		||||
              *ngFor="let ePregunta of ePreguntas; let i = index; trackBy: trackId"
 | 
			
		||||
            >
 | 
			
		||||
          <div class="ds-survey--all-question-wrapper col-8">
 | 
			
		||||
            <div class="ds-survey--question-wrapper card-encuesta lift" *ngFor="let ePregunta of ePreguntas; let i = index; trackBy: trackId">
 | 
			
		||||
              <div
 | 
			
		||||
                [attr.data-index]="ePregunta.id"
 | 
			
		||||
                [attr.data-tipo]="ePregunta.tipo"
 | 
			
		||||
                [attr.data-opcional]="ePregunta.opcional"
 | 
			
		||||
                class="ds-survey--question"
 | 
			
		||||
                class="ds-survey--question"
 | 
			
		||||
              >
 | 
			
		||||
                <div class="ds-survey--titulo">
 | 
			
		||||
                  <span class="ds-survey--titulo--name">{{ i + 1 }}. {{ ePregunta.nombre }}</span>
 | 
			
		||||
                <div class="ds-survey--titulo">
 | 
			
		||||
                  <span class="ds-survey--titulo--name">{{ i + 1 }}. {{ ePregunta.nombre }}</span>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div>
 | 
			
		||||
                  <span *ngIf="ePregunta.tipo === 'SINGLE'" class="ds-subtitle"
 | 
			
		||||
                    >Pregunta de respuesta {{ 'dataSurveyApp.PreguntaCerradaTipo.SINGLE' | translate | lowercase }}
 | 
			
		||||
                    {{ ePregunta.opcional ? '(opcional)' : '' }}</span
 | 
			
		||||
                  >
 | 
			
		||||
              <span *ngIf="ePregunta.tipo === 'SINGLE'" class="ds-subtitle"
 | 
			
		||||
              >Pregunta de respuesta {{ 'dataSurveyApp.PreguntaCerradaTipo.SINGLE' | translate | lowercase }}
 | 
			
		||||
                {{ ePregunta.opcional ? '(opcional)' : '' }}</span
 | 
			
		||||
              >
 | 
			
		||||
                  <span *ngIf="ePregunta.tipo === 'MULTIPLE'" class="ds-subtitle"
 | 
			
		||||
                    >Pregunta de respuesta {{ 'dataSurveyApp.PreguntaCerradaTipo.MULTIPLE' | translate | lowercase }}
 | 
			
		||||
                  >Pregunta de respuesta {{ 'dataSurveyApp.PreguntaCerradaTipo.MULTIPLE' | translate | lowercase }}
 | 
			
		||||
                    {{ ePregunta.opcional ? '(opcional)' : '' }}</span
 | 
			
		||||
                  >
 | 
			
		||||
                  <span *ngIf="!ePregunta.tipo" class="ds-subtitle"
 | 
			
		||||
                    >Pregunta de respuesta abierta {{ ePregunta.opcional ? '(opcional)' : '' }}</span
 | 
			
		||||
                  >Pregunta de respuesta abierta {{ ePregunta.opcional ? '(opcional)' : '' }}</span
 | 
			
		||||
                  >
 | 
			
		||||
                </div>
 | 
			
		||||
                <ng-container *ngIf="ePregunta.tipo">
 | 
			
		||||
| 
						 | 
				
			
			@ -195,7 +193,7 @@
 | 
			
		|||
                    <ng-container *ngFor="let ePreguntaOpcionFinal of ePreguntaOpcion">
 | 
			
		||||
                      <ng-container *ngIf="ePregunta.id === ePreguntaOpcionFinal.epreguntaCerrada.id">
 | 
			
		||||
                        <div
 | 
			
		||||
                          class="ds-survey--option ds-survey--option--base ds-survey--closed-option can-delete"
 | 
			
		||||
                          class="ds-survey--option ds-survey--option--base ds-survey--closed-option can-delete"
 | 
			
		||||
                          [attr.data-id]="ePreguntaOpcionFinal.id"
 | 
			
		||||
                        >
 | 
			
		||||
                          <div class="radio" *ngIf="ePregunta.tipo === 'SINGLE'">
 | 
			
		||||
| 
						 | 
				
			
			@ -223,14 +221,16 @@
 | 
			
		|||
                    </ng-container>
 | 
			
		||||
                  </ng-container>
 | 
			
		||||
                </ng-container>
 | 
			
		||||
                <div class="ds-survey--option ds-survey--option--base ds-survey--open-option" *ngIf="!ePregunta.tipo">
 | 
			
		||||
                <div class="ds-survey--option ds-survey--option--base ds-survey--open-option" *ngIf="!ePregunta.tipo">
 | 
			
		||||
                  <textarea id="{{ ePregunta.id }}" cols="33" rows="10"></textarea>
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
          </div>
 | 
			
		||||
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
    </div>-->
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue