<form>
    <div class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" id="modal_varios">
        <div class="modal-dialog modal-dialog-centered" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">Finalizar trabajo</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="form-row">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="text-muted">Empleado</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <div class="input-group-text btn-light" id="empleado"><i class="fa fa-user-tie"></i></div>
                                    </div>
                                    <select id="empleado" class="form-control" v-model="dataFb.empleado">
                                        <option value="" disabled selected>SELECCIONAR EMPLEADO</option>
                                        <?php foreach ($empleados as $row) : ?>
                                            <option value="<?= $row['einfo_id'] ?>"><?= $row['einfo_nombres'].' '.$row['einfo_apellidos'] ?></option>
                                        <?php endforeach; ?>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="text-muted">Clave</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <div class="input-group-text btn-light" id="empleado"><i class="fa fa-lock"></i></div>
                                    </div>
                                    <input type="password" class="form-control" v-model="dataFb.clave">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="modal-footer">
                    <button type="button" class="btn btn-danger" data-dismiss="modal">Cerrar</button>
                    <button type="button" id="trabajos" v-if="dataFb.clave!='' && dataFb.empleado!=''" @click="asignarTrabajoVarios()" class="btn btn-primary">Finalizar</button>
                </div>
            </div>
        </div>
    </div>
</form>
