Commit 6dbd6451 authored by sandroresende's avatar sandroresende

correcao envio email

parent bdc3e870
...@@ -44,7 +44,7 @@ class EntePublicoController extends Controller ...@@ -44,7 +44,7 @@ class EntePublicoController extends Controller
public function salvarEntePublico(RegistroUsuario $request) public function salvarEntePublico(RegistroUsuario $request)
{ {
return $request->all(); //return $request->all();
DB::beginTransaction(); DB::beginTransaction();
......
...@@ -50927,7 +50927,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); ...@@ -50927,7 +50927,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
// //
/* harmony default export */ __webpack_exports__["default"] = ({ /* 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() { data: function data() {
return { return {
modalidade_participacao: 4, modalidade_participacao: 4,
...@@ -50990,6 +50990,15 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); ...@@ -50990,6 +50990,15 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
}).catch(function (erro) { }).catch(function (erro) {
console.log(erro); console.log(erro);
}); });
if (this.estadoselecionado) {
this.estado = this.estadoselecionado;
this.onChangeEstado;
}
if (this.municipioselecionado) {
this.municipio = this.municipioselecionado;
}
} }
}); });
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
<script> <script>
export default { 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(){ data(){
return{ return{
modalidade_participacao:4, modalidade_participacao:4,
...@@ -288,6 +288,17 @@ ...@@ -288,6 +288,17 @@
console.log(erro); console.log(erro);
}); });
if(this.estadoselecionado){
this.estado = this.estadoselecionado
this.onChangeEstado
}
if(this.municipioselecionado){
this.municipio = this.municipioselecionado
}
} }
} }
......
...@@ -23,7 +23,11 @@ ...@@ -23,7 +23,11 @@
url='{{ url("/") }}' url='{{ url("/") }}'
metodo="post" metodo="post"
enctype="multipart/form-data" 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 --> <!--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