Commit 6dbd6451 authored by sandroresende's avatar sandroresende

correcao envio email

parent bdc3e870
......@@ -44,7 +44,7 @@ class EntePublicoController extends Controller
public function salvarEntePublico(RegistroUsuario $request)
{
return $request->all();
//return $request->all();
DB::beginTransaction();
......
......@@ -50927,7 +50927,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
//
/* harmony default export */ __webpack_exports__["default"] = ({
props: ['url', 'errorshas', 'errorsfirst', 'token', 'enctype', 'metodo', 'css', 'action', 'show'],
props: ['url', 'errorshas', 'errorsfirst', 'token', 'enctype', 'metodo', 'css', 'action', 'show', 'estadoselecionado', 'municipioselecionado'],
data: function data() {
return {
modalidade_participacao: 4,
......@@ -50990,6 +50990,15 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
}).catch(function (erro) {
console.log(erro);
});
if (this.estadoselecionado) {
this.estado = this.estadoselecionado;
this.onChangeEstado;
}
if (this.municipioselecionado) {
this.municipio = this.municipioselecionado;
}
}
});
......@@ -224,7 +224,7 @@
<script>
export default {
props:['url','errorshas','errorsfirst', 'token','enctype','metodo','css','action','show'],
props:['url','errorshas','errorsfirst', 'token','enctype','metodo','css','action','show','estadoselecionado','municipioselecionado'],
data(){
return{
modalidade_participacao:4,
......@@ -288,6 +288,17 @@
console.log(erro);
});
if(this.estadoselecionado){
this.estado = this.estadoselecionado
this.onChangeEstado
}
if(this.municipioselecionado){
this.municipio = this.municipioselecionado
}
}
}
......
......@@ -23,7 +23,11 @@
url='{{ url("/") }}'
metodo="post"
enctype="multipart/form-data"
token="{{ csrf_token() }}">
token="{{ csrf_token() }}"
@if ($errors->has('estado')) estadoselecionado ="{{ old('estado') }}" @endif
@if ($errors->has('municipio')) municipioselecionado ="{{ old('municipio') }}" @endif
>
<!--SLOT -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment