faltanFormas
This commit is contained in:
@@ -67,21 +67,27 @@
|
||||
@page-change="onPageChange"
|
||||
>
|
||||
<b-table-column field="nombre" label="Nombre" v-slot="props" centered>
|
||||
<span>{{ props.row.nombre}}</span>
|
||||
<span class="cursor" v-if="props.row.idStatus == 9" @click="Servicio(props.row.idServicio)">{{ props.row.nombre}}</span>
|
||||
<span v-else>{{ props.row.nombre}}</span>
|
||||
</b-table-column>
|
||||
<b-table-column field="numeroCuenta" label="Número de Cuenta" v-slot="props" centered width="100">
|
||||
<span >{{ props.row.numeroCuenta}}</span>
|
||||
<span class="cursor" v-if="props.row.idStatus == 9" @click="Servicio(props.row.idServicio)">{{ props.row.numeroCuenta}}</span>
|
||||
<span v-else>{{ props.row.numeroCuenta}}</span>
|
||||
</b-table-column>
|
||||
<b-table-column field="carrera" label="Carrera" v-slot="props" centered>
|
||||
<span >{{ props.row.carrera}}</span>
|
||||
<span class="cursor" v-if="props.row.idStatus == 9" @click="Servicio(props.row.idServicio)">{{ props.row.carrera}}</span>
|
||||
<span v-else>{{ props.row.carrera}}</span>
|
||||
</b-table-column>
|
||||
<b-table-column field="fechaInicio" truncate=10 label="Fecha Inicio" v-slot="props" centered>
|
||||
<span >{{ fecha(props.row.fechaInicio) }}</span>
|
||||
<span class="cursor" v-if="props.row.idStatus == 9" @click="Servicio(props.row.idServicio)">{{ fecha(props.row.fechaInicio) }}</span>
|
||||
<span v-else>{{ fecha(props.row.fechaInicio) }}</span>
|
||||
</b-table-column>
|
||||
<b-table-column field="fechaFin" label="Fecha Fin" v-slot="props" centered>
|
||||
<span >{{ fecha(props.row.fechaFin) }}</span>
|
||||
<span class="cursor" v-if="props.row.idStatus == 9" @click="Servicio(props.row.idServicio)">{{ fecha(props.row.fechaFin) }}</span>
|
||||
<span v-else>{{ fecha(props.row.fechaFin) }}</span>
|
||||
</b-table-column>
|
||||
<b-table-column field="status" label="Status" v-slot="props" centered>
|
||||
<span class="cursor" v-if="props.row.idStatus == 9" @click="Servicio(props.row.idServicio)">{{ fecha(props.row.fechaFin) }}</span>
|
||||
<span class="tag" :class="types(props.row.idStatus)">{{ props.row.status}}</span>
|
||||
</b-table-column>
|
||||
|
||||
@@ -177,6 +183,7 @@ export default {
|
||||
}
|
||||
},
|
||||
botonCarta (cartaTermino) {
|
||||
this.$router.push('/responsable/cartaTermino')
|
||||
if (cartaTermino === 1) {
|
||||
return 'is-success'
|
||||
} else {
|
||||
@@ -184,6 +191,7 @@ export default {
|
||||
}
|
||||
},
|
||||
botonCuestionario (cuestionario) {
|
||||
this.$router.push('/responsable/cuestionario')
|
||||
if (cuestionario === 1) {
|
||||
return 'is-success'
|
||||
} else {
|
||||
@@ -246,6 +254,10 @@ export default {
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
Servicio (idServicio) {
|
||||
window.localStorage.setItem('idServicio', idServicio)
|
||||
this.$router.push('/responsable/cartaTermino')
|
||||
},
|
||||
admRes () {
|
||||
this.idUsuario = localStorage.getItem('idUsuario')
|
||||
console.log(this.idUsuario)
|
||||
@@ -274,4 +286,7 @@ export default {
|
||||
background-color: #1b3d70;
|
||||
border-color: #1b3d70;
|
||||
}
|
||||
.cursor{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user