Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sistema_mcid
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marcio neto
sistema_mcid
Commits
6dbd6451
Commit
6dbd6451
authored
Jul 20, 2023
by
sandroresende
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correcao envio email
parent
bdc3e870
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
4 deletions
+28
-4
EntePublicoController.php
app/Http/Controllers/Sistema/EntePublicoController.php
+1
-1
app.js
public/js/app.js
+10
-1
SolicitarAdesao.vue
resources/assets/js/components/gerais/SolicitarAdesao.vue
+12
-1
CadastrarEnte.blade.php
...views/modulo_sistema/ente_publico/CadastrarEnte.blade.php
+5
-1
No files found.
app/Http/Controllers/Sistema/EntePublicoController.php
View file @
6dbd6451
...
...
@@ -44,7 +44,7 @@ class EntePublicoController extends Controller
public
function
salvarEntePublico
(
RegistroUsuario
$request
)
{
return
$request
->
all
();
//
return $request->all();
DB
::
beginTransaction
();
...
...
public/js/app.js
View file @
6dbd6451
...
...
@@ -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;
}
}
});
resources/assets/js/components/gerais/SolicitarAdesao.vue
View file @
6dbd6451
...
...
@@ -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
}
}
}
...
...
resources/views/modulo_sistema/ente_publico/CadastrarEnte.blade.php
View file @
6dbd6451
...
...
@@ -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 -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment