Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
pad-upe
Commits
3e54aa53
Commit
3e54aa53
authored
Jul 18, 2022
by
alissonalbuquerque
Browse files
Add atualizações de projeto
parent
bbc48f36
Changes
78
Hide whitespace changes
Inline
Side-by-side
resources/views/pad/components/scripts/dimensao/ensino/show_modal.blade.php
0 → 100644
View file @
3e54aa53
{{
--
@
include
(
'pad.components.scripts.dimensao.ensino.show_modal'
,
[
'btn_edit_class'
=>
''
,
'route'
=>
''
,
'modal_id'
=>
''
,
'header'
=>
''
,
])
--
}}
<
script
type
=
"text/javascript"
>
$
(
'.{{ $btn_edit_class }}'
)
.
click
(
function
(
e
)
{
const
id
=
$
(
this
)
.
attr
(
'id'
)
$
(
'#modal-label-title-header-{{ $modal_id }}'
)
.
text
(
'{{ $header }}'
)
$
.
ajax
({
type
:
'GET'
,
url
:
"{{
$route
}}"
+
"/"
+
id
})
.
done
((
data
,
status
)
=>
{
$
(
'#{{ $modal_id }}-content'
)
.
empty
()
$
(
'#{{ $modal_id }}-content'
)
.
append
(
data
)
})
.
fail
((
data
,
status
)
=>
{
$
(
'#{{ $modal_id }}-content'
)
.
empty
()
$
(
'#{{ $modal_id }}-content'
)
.
append
(
'Erro em Carregar Modal'
)
})
$
(
'#{{ $modal_id }}'
)
.
modal
(
'show'
)
})
</
script
>
\ No newline at end of file
resources/views/pad/components/scripts/dimensao/pesquisa/coordenacao.blade.php
0 → 100644
View file @
3e54aa53
<script
type=
"text/javascript"
>
$
(
'
#get-divs
'
).
change
(
function
(
e
)
{
e
.
preventDefault
()
const
self
=
$
(
this
)
const
cod_atividade
=
"
1-
"
const
user_pad_id
=
$
(
'
#user_pad_id
'
).
val
()
const
field_cod_atividade
=
$
(
'
#pesquisa_coordenacao-form input[name=cod_atividade]
'
)
if
(
self
.
val
()
===
'
pesquisa_coordenacao
'
)
{
$
.
ajax
({
type
:
'
GET
'
,
url
:
"
{{route('pesquisa_coordenacao_search')}}
"
+
'
/
'
+
user_pad_id
}).
done
(
function
(
data
,
status
)
{
let
alpha_aulas
=
data
.
map
((
item
)
=>
{
return
item
.
cod_atividade
.
split
(
'
-
'
).
pop
();
})
let
new_alpha_aulas
=
alpha
.
filter
((
item
)
=>
!
alpha_aulas
.
includes
(
item
))
field_cod_atividade
.
val
(
cod_atividade
+
new_alpha_aulas
.
shift
())
}).
fail
(
function
(
message
,
status
)
{
})
}
}).
change
();
$
(
'
.btn-edit_pesquisa_coordenacao
'
).
click
(
function
(
e
)
{
const
id
=
$
(
this
).
attr
(
'
id
'
)
const
route_pesquisa_coordenacao_edit
=
"
{{route('pesquisa_coordenacao_edit')}}
"
+
"
/
"
+
id
$
(
'
#modal-label-title-header
'
).
text
(
'
Pesquisa - Coordenação
'
)
$
.
ajax
({
type
:
'
GET
'
,
url
:
route_pesquisa_coordenacao_edit
}).
done
((
data
,
status
)
=>
{
$
(
'
#modal-content
'
).
empty
()
$
(
'
#modal-content
'
).
append
(
data
)
}).
fail
((
data
,
status
)
=>
{
$
(
'
#modal-content
'
).
empty
()
$
(
'
#modal-content
'
).
append
(
'
Erro em Carregar Modal
'
)
})
$
(
'
#modal
'
).
modal
(
'
show
'
)
})
</script>
\ No newline at end of file
resources/views/pad/components/scripts/dimensao/pesquisa/general.blade.php
0 → 100644
View file @
3e54aa53
<script
type=
"text/javascript"
>
const
alpha
=
[
'
A
'
,
'
B
'
,
'
C
'
,
'
D
'
,
'
E
'
,
'
F
'
,
'
G
'
,
'
H
'
,
'
I
'
,
'
J
'
,
'
K
'
,
'
L
'
,
'
M
'
,
'
N
'
,
'
O
'
,
'
P
'
,
'
Q
'
,
'
R
'
,
'
S
'
,
'
T
'
,
'
U
'
,
'
V
'
,
'
W
'
,
'
X
'
,
'
Y
'
,
'
Z
'
];
</script>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/ensino/aulas/form_create.blade.php
0 → 100644
View file @
3e54aa53
<div
id=
"ensino_aulas"
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Aulas
</h3
class="h3"
>
</div>
<form
action=
"{{route('ensino_aula_create')}}"
method=
"post"
id=
"ensino_aulas-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
id=
"user_pad_id"
name=
"user_pad_id"
value=
"{{$user_pad_id}}"
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"componente_curricular"
>
Componente Curricular
</label>
<input
class=
"form-control @error('componente_curricular') is-invalid @enderror"
type=
"text"
name=
"componente_curricular"
id=
"componente_curricular"
value=
"{{ old('componente_curricular') }}"
>
@include('components.divs.errors', [
'form' => 'ensino_aulas_form_create',
'field' => 'componente_curricular',
])
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Curso
</label>
<input
class=
"form-control @error('curso') is-invalid @enderror"
type=
"text"
name=
"curso"
id=
"curso"
value=
"{{ old('curso') }}"
>
@include('components.divs.errors', [
'form' => 'ensino_aulas_form_create',
'field' => 'curso'
])
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"nivel"
>
Nível
</label>
<select
class=
"form-select @error('nivel') is-invalid @enderror"
name=
"nivel"
id=
"nivel"
value=
"{{ old('nivel') }}"
>
<option
value=
"0"
>
Selecione um Nível
</option>
@foreach($niveis as $value => $nivel)
@if( $value == old('nivel') )
<option
selected
value=
"{{$value}}"
>
{{$nivel}}
</option>
@else
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
@endif
@endforeach
</select>
@include('components.divs.errors', [
'form' => 'ensino_aulas_form_create',
'field' => 'nivel'
])
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"modalidade"
>
Modalidade
</label>
<select
class=
"form-select @error('modalidade') is-invalid @enderror"
name=
"modalidade"
id=
"modalidade"
value=
"{{ old('modalidade') }}"
>
<option
value=
"0"
>
Selecione uma Modalidade
</option>
@foreach($modalidades as $value => $modalidade)
@if( $value == old('modalidade') )
<option
selected
value=
"{{$value}}"
>
{{$modalidade}}
</option>
@else
<option
value=
"{{$value}}"
>
{{$modalidade}}
</option>
@endif
@endforeach
</select>
@include('components.divs.errors', [
'form' => 'ensino_aulas_form_create',
'field' => 'modalidade'
])
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{ old('ch_semanal') }}"
>
@include('components.divs.errors', [
'form' => 'ensino_aulas_form_create',
'field' => 'ch_semanal'
])
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"ch_total"
>
CH. Total
</label>
<input
class=
"form-control @error('ch_total') is-invalid @enderror"
type=
"number"
name=
"ch_total"
id=
"ch_total"
value=
"{{ old('ch_total') }}"
>
@include('components.divs.errors', [
'form' => 'ensino_aulas_form_create',
'field' => 'ch_total'
])
</div>
</div>
<div
class=
"mt-1 text-end"
>
@include('components.buttons.btn-save', [
'content' => 'Cadastrar',
'id' => 'btn-submit_ensino_aulas'
])
</div>
</form>
</div>
<div
class=
"border rounded px-4 mt-4"
>
<table
class=
"table table-hover"
id=
"ensino_aulas-table-"
>
<thead>
<tr>
<!-- <th scole="col">#</th> -->
<th
scope=
"col"
>
Cód
</th>
<th
scope=
"col"
>
Componente Curricular
</th>
<th
scope=
"col"
>
Curso
</th>
<th
scope=
"col"
>
Nível
</th>
<th
scope=
"col"
>
Modalidade
</th>
<th
scope=
"col"
>
CH Semanal
</th>
<th
scope=
"col"
>
CH Total
</th>
<th
scope=
"col"
>
Opções
</th>
</tr>
</thead>
<tbody>
@foreach($ensinoAulas as $ensinoAula)
<tr>
<td>
{{ $ensinoAula->cod_atividade }}
</td>
<td>
{{ $ensinoAula->componente_curricular }}
</td>
<td>
{{ $ensinoAula->curso }}
</td>
<td>
{{ $ensinoAula->nivelAsString() }}
</td>
<td>
{{ $ensinoAula->modalidadeAsString() }}
</td>
<td>
{{ $ensinoAula->ch_semanal }}
</td>
<td>
{{ $ensinoAula->ch_total }}
</td>
<td>
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_ensino_aula',
'btn_id' => $ensinoAula->id,
])
@include('components.buttons.btn-delete', [
'id' => $ensinoAula->id,
'route' => route('ensino_aula_delete', ['id' => $ensinoAula->id])
])
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/ensino/
ensino_aulas
.blade.php
→
resources/views/pad/components/templates/dimensao/ensino/
aulas/form_update
.blade.php
View file @
3e54aa53
...
@@ -4,36 +4,35 @@
...
@@ -4,36 +4,35 @@
<div
class=
"mb-3"
>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Aulas
</h3
class="h3"
>
<h3
class=
"h3"
>
Ensino - Aulas
</h3
class="h3"
>
</div>
</div>
<form
action=
"{{route('ensino_aula_
cre
ate')}}"
method=
"post"
id=
"ensino_aulas-form"
class=
""
>
<form
action=
"{{route('ensino_aula_
upd
ate'
, ['id' => $model->id]
)}}"
method=
"post"
id=
"ensino_aulas
_update
-form"
class=
""
>
@csrf
@csrf
<div
class=
"row"
>
<div
class=
"row"
>
<input
type=
"hidden"
name=
"user_pad_id"
value=
"{{$user_pad_id}}"
>
<div
class=
"mb-3 col-sm-2"
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
readonly
>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
value=
"{{$model->cod_atividade}}"
readonly
>
</div>
</div>
<div
class=
"mb-3 col-sm-5"
>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"componente_curricular"
>
Componente Curricular
</label>
<label
class=
"form-label"
for=
"componente_curricular"
>
Componente Curricular
</label>
<input
class=
"form-control @error('componente_curricular') is-invalid @enderror"
type=
"text"
name=
"componente_curricular"
id=
"componente_curricular"
value=
"{{ old('componente_curricular') }}"
>
<input
class=
"form-control @error('componente_curricular') is-invalid @enderror"
type=
"text"
name=
"componente_curricular"
id=
"componente_curricular"
value=
"{{$model->componente_curricular}}"
>
@error('componente_curricular')
<div
class=
"alert alert-danger"
>
@include('components.divs.errors', [
<span>
{{$message}}
</span>
'form' => 'ensino_aulas_form_update',
</div>
'field' => 'componente_curricular',
@enderror
])
</div>
</div>
<div
class=
"mb-3 col-sm-5"
>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Curso
</label>
<label
class=
"form-label"
for=
"curso"
>
Curso
</label>
<input
class=
"form-control @error('curso') is-invalid @enderror"
type=
"text"
name=
"curso"
id=
"curso"
value=
"{{
old('
curso
')
}}"
>
<input
class=
"form-control @error('curso') is-invalid @enderror"
type=
"text"
name=
"curso"
id=
"curso"
value=
"{{
$model->
curso}}"
>
@error('curso')
<div
class=
"alert alert-danger"
>
@include('components.divs.errors', [
<span>
{{$message}}
</span>
'form' => 'ensino_aulas_form_update',
</div>
'field' => 'curso',
@enderror
])
</div>
</div>
<div
class=
"mb-3 col-sm-3"
>
<div
class=
"mb-3 col-sm-3"
>
...
@@ -41,69 +40,76 @@
...
@@ -41,69 +40,76 @@
<select
class=
"form-select @error('nivel') is-invalid @enderror"
name=
"nivel"
id=
"nivel"
value=
"{{ old('nivel') }}"
>
<select
class=
"form-select @error('nivel') is-invalid @enderror"
name=
"nivel"
id=
"nivel"
value=
"{{ old('nivel') }}"
>
<option
value=
"0"
>
Selecione um Nível
</option>
<option
value=
"0"
>
Selecione um Nível
</option>
@foreach($niveis as $value => $nivel)
@foreach($niveis as $value => $nivel)
@if( $value ==
old('
nivel
')
)
@if( $value ==
$model->
nivel )
<option
selected
value=
"{{$value}}"
>
{{$nivel}}
</option>
<option
selected
value=
"{{$value}}"
>
{{$nivel}}
</option>
@else
@else
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
@endif
@endif
@endforeach
@endforeach
</select>
</select>
@error('nivel')
<div
class=
"alert alert-danger"
>
@include('components.divs.errors', [
<span>
{{$message}}
</span>
'form' => 'ensino_aulas_form_update',
</div>
'field' => 'nivel',
@enderror
])
</div>
</div>
<div
class=
"mb-3 col-sm-3"
>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"modalidade"
>
Modalidade
</label>
<label
class=
"form-label"
for=
"modalidade"
>
Modalidade
</label>
<select
class=
"form-select @error('modalidade') is-invalid @enderror"
name=
"modalidade"
id=
"modalidade"
value=
"{{ old('modalidade') }}"
>
<select
class=
"form-select @error('modalidade') is-invalid @enderror"
name=
"modalidade"
id=
"modalidade"
>
<option
value=
"0"
>
Selecione uma Modalidade
</option>
<option
value=
"0"
>
Selecione uma Modalidade
</option>
@foreach($modalidades as $value => $modalidade)
@foreach($modalidades as $value => $modalidade)
@if( $value ==
old('
modalidade
')
)
@if( $value ==
$model->
modalidade )
<option
selected
value=
"{{$value}}"
>
{{$modalidade}}
</option>
<option
selected
value=
"{{$value}}"
>
{{$modalidade}}
</option>
@else
@else
<option
value=
"{{$value}}"
>
{{$modalidade}}
</option>
<option
value=
"{{$value}}"
>
{{$modalidade}}
</option>
@endif
@endif
@endforeach
@endforeach
</select>
</select>
@error('modalidade')
<div
class=
"alert alert-danger"
>
@include('components.divs.errors', [
<span>
{{$message}}
</span>
'form' => 'ensino_aulas_form_update',
</div>
'field' => 'modalidade',
@enderror
])
</div>
</div>
<div
class=
"mb-3 col-sm-3"
>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{
old('
ch_semanal
')
}}"
>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{
$model->
ch_semanal}}"
>
@error('ch_semanal')
<div
class=
"alert alert-danger"
>
@include('components.divs.errors', [
<span>
{{$message}}
</span>
'form' => 'ensino_aulas_form_update',
</div>
'field' => 'ch_semanal',
@enderror
])
</div>
</div>
<div
class=
"mb-3 col-sm-3"
>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"ch_total"
>
CH. Total
</label>
<label
class=
"form-label"
for=
"ch_total"
>
CH. Total
</label>
<input
class=
"form-control @error('ch_total') is-invalid @enderror"
type=
"number"
name=
"ch_total"
id=
"ch_total"
value=
"{{
old('
ch_total
')
}}"
>
<input
class=
"form-control @error('ch_total') is-invalid @enderror"
type=
"number"
name=
"ch_total"
id=
"ch_total"
value=
"{{
$model->
ch_total}}"
>
@error('ch_total')
<div
class=
"alert alert-danger"
>
@include('components.divs.errors', [
<span>
{{$message}}
</span>
'form' => 'ensino_aulas_form_update',
</div>
'field' => 'ch_total',
@enderror
])
</div>
</div>
</div>
</div>
<div
class=
"mt-1 text-end"
>
<div
class=
"mt-1 text-end"
>
<button
type=
"submit"
class=
"btn btn-success rounded"
>
Cadastrar
</button>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-secondary"
data-bs-dismiss=
"modal"
>
Cancelar
</button>
<button
type=
"submit"
id=
"btn-submit_ensino_aulas-update"
class=
"btn btn-success rounded"
>
Atualizar
</button>
</div>
</div>
</div>
</form>
</form>
</div>
</div>
<div
class=
"mt-4"
>
</div>
@include('pad.components.templates.table', ['table_id' => 'ensino_aulas-table', 'colunas' => ['Cód', 'Componente Curricular', 'Curso', 'Nível', 'Modalidade', 'CH Semanal', 'CH Total', 'Opções']])
</div>
</div>
@include('pad.components.scripts.ajaxValidation', [
\ No newline at end of file
'btn_submit_id' => 'btn-submit_ensino_aulas-update',
'form_id' => 'ensino_aulas_update-form',
'route' => route('ensino_aula_validate'),
'div_errors' => 'ensino_aulas_form_update',
])
\ No newline at end of file
resources/views/pad/components/templates/dimensao/pesquisa/coordenacao/form_create.blade.php
0 → 100644
View file @
3e54aa53
<div
id=
"pesquisa_coordenacao"
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Pesquisa - Coordenação
</h3
class="h3"
>
</div>
<form
action=
"{{route('pesquisa_coordenacao_create')}}"
method=
"post"
id=
"pesquisa_coordenacao-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
id=
"user_pad_id"
name=
"user_pad_id"
value=
"{{$user_pad_id}}"
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
value=
"{{ old('cod_atividade') }}"
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"titulo_projeto"
>
Título do Projeto
</label>
<input
class=
"form-control @error('titulo_projeto') is-invalid @enderror"
type=
"text"
name=
"titulo_projeto"
id=
"titulo_projeto"
value=
"{{ old('titulo_projeto') }}"
>
@error('titulo_projeto')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"linha_grupo_pesquisa"
>
Linha
&
Grupo de Pesquisa
</label>
<input
class=
"form-control @error('linha_grupo_pesquisa') is-invalid @enderror"
type=
"text"
name=
"linha_grupo_pesquisa"
id=
"linha_grupo_pesquisa"
value=
"{{ old('linha_grupo_pesquisa') }}"
>
@error('linha_grupo_pesquisa')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
<div
class=
"mb-3 col-sm-4"
>
<label
class=
"form-label"
for=
"funcao"
>
Função
</label>
<select
class=
"form-select @error('funcao') is-invalid @enderror"
name=
"funcao"
id=
"funcao"
value=
"{{ old('funcao') }}"
>
<option
value=
"0"
>
Selecione uma Função
</option>
@foreach($funcoesProjeto as $value => $funcao)
@if( $value == old('funcao') )
<option
selected
value=
"{{$value}}"
>
{{$funcao}}
</option>
@else
<option
value=
"{{$value}}"
>
{{$funcao}}
</option>
@endif
@endforeach
</select>
@error('funcao')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
<div
class=
"mb-3 col-sm-4"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{ old('ch_semanal') }}"
>
@error('ch_semanal')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
</div>
<div
class=
"mt-1 text-end"
>
@include('components.buttons.btn-save', [
'content' => 'Cadastrar'
])
</div>
</form>
</div>
<div
class=
"border rounded px-4 mt-4"
>
<table
class=
"table table-hover"
id=
"ensino_aulas-table-"
>
<thead>
<tr>
<!-- <th scole="col">#</th> -->
<th
scope=
"col"
>
Cód
</th>
<th
scope=
"col"
>
Título do Projeto
</th>
<th
scope=
"col"
>
Linha
&
Grupo de Pesquisa
</th>
<th
scope=
"col"
>
Função
</th>
<th
scope=
"col"
>
CH Semanal
</th>
<th
scope=
"col"
>
Opções
</th>
</tr>
</thead>
<tbody>
@foreach($pesquisasCoordenacao as $pesquisaCoordenacao)
<tr>
<td>
{{ $pesquisaCoordenacao->cod_atividade }}
</td>
<td>
{{ $pesquisaCoordenacao->titulo_projeto }}
</td>
<td>
{{ $pesquisaCoordenacao->linha_grupo_pesquisa }}
</td>
<td>
{{ $pesquisaCoordenacao->funcaoAsString() }}
</td>
<td>
{{ $pesquisaCoordenacao->ch_semanal }}
</td>
<td>
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_pesquisa_coordenacao',
'btn_id' => $pesquisaCoordenacao->id
])
@include('components.buttons.btn-delete', [
'id' => $pesquisaCoordenacao->id,
'route' => route('pesquisa_coordenacao_delete', ['id' => $pesquisaCoordenacao->id])
])
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/pesquisa/coordenacao/form_update.blade.php
0 → 100644
View file @
3e54aa53
<div
id=
"pesquisa_coordenacao"
>
<div>
<form
action=
"{{route('pesquisa_coordenacao_update', ['id' => $model->id])}}"
method=
"post"
id=
"pesquisa_coordenacao-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
id=
"user_pad_id"
name=
"user_pad_id"
value=
"{{$model->user_pad_id}}"
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
value=
"{{ $model->cod_atividade }}"
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"titulo_projeto"
>
Título do Projeto
</label>
<input
class=
"form-control @error('titulo_projeto') is-invalid @enderror"
type=
"text"
name=
"titulo_projeto"
id=
"titulo_projeto"
value=
"{{ $model->titulo_projeto }}"
>
@error('titulo_projeto')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"linha_grupo_pesquisa"
>
Linha
&
Grupo de Pesquisa
</label>
<input
class=
"form-control @error('linha_grupo_pesquisa') is-invalid @enderror"
type=
"text"
name=
"linha_grupo_pesquisa"
id=
"linha_grupo_pesquisa"
value=
"{{ $model->linha_grupo_pesquisa }}"
>
@error('linha_grupo_pesquisa')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
<div
class=
"mb-3 col-sm-4"
>
<label
class=
"form-label"
for=
"funcao"
>
Função
</label>
<select
class=
"form-select @error('funcao') is-invalid @enderror"
name=
"funcao"
id=
"funcao"
value=
"{{ old('funcao') }}"
>
<option
value=
"0"
>
Selecione uma Função
</option>
@foreach($funcoesProjeto as $value => $funcao)
@if( $value == $model->funcao )
<option
selected
value=
"{{$value}}"
>
{{$funcao}}
</option>
@else
<option
value=
"{{$value}}"
>
{{$funcao}}
</option>
@endif
@endforeach
</select>
@error('funcao')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
<div
class=
"mb-3 col-sm-4"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{ $model->ch_semanal }}"
>
@error('ch_semanal')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
</div>
<div
class=
"mt-1 text-end"
>
@include('components.buttons.btn-close_modal')
@include('components.buttons.btn-save', [
'content' => 'Cadastrar'
])
</div>
</form>
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/pesquisa/lideranca/form_create.blade.php
0 → 100644
View file @
3e54aa53
resources/views/pad/components/templates/dimensao/pesquisa/lideranca/form_update.blade.php
0 → 100644
View file @
3e54aa53
resources/views/pad/components/templates/dimensao/pesquisa/orientacao/form_create.blade.php
0 → 100644
View file @
3e54aa53
resources/views/pad/components/templates/dimensao/pesquisa/orientacao/form_update.blade.php
0 → 100644
View file @
3e54aa53
resources/views/pad/components/templates/table.blade.php
View file @
3e54aa53
...
@@ -11,7 +11,12 @@
...
@@ -11,7 +11,12 @@
</thead>
</thead>
<tbody>
<tbody>
<tr>
<!-- <th scole="col">#</th> -->
@foreach($colunas as $coluna)
<th
scole=
"col"
>
{{ $coluna }}
</th>
@endforeach
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
resources/views/pad/dimensao/ensino.blade.php
View file @
3e54aa53
...
@@ -12,13 +12,13 @@
...
@@ -12,13 +12,13 @@
])
])
@
endsection
@
endsection
@
section
(
'body'
)
@
section
(
'body'
)
<
div
class
=
"container"
>
<
div
class
=
"container"
>
@
include
(
'pad.components.templates.dropdown-eixo'
,
[
'divs'
=>
$divs
])
@
include
(
'pad.components.templates.dropdown-eixo'
,
[
'divs'
=>
$divs
])
@
include
(
'components.alerts'
)
@
include
(
'components.alerts'
)
@
include
(
'pad.components.templates.dimensao.ensino.
ensino_aulas
'
,
[
'user_pad_id'
=>
$user_pad_id
])
@
include
(
'pad.components.templates.dimensao.ensino.
aulas.form_create
'
,
[
'user_pad_id'
=>
$user_pad_id
])
@
include
(
'pad.components.templates.dimensao.ensino.ensino_coordenacao_disciplina'
,
[
'user_pad_id'
=>
$user_pad_id
])
@
include
(
'pad.components.templates.dimensao.ensino.ensino_coordenacao_disciplina'
,
[
'user_pad_id'
=>
$user_pad_id
])
...
@@ -33,7 +33,8 @@
...
@@ -33,7 +33,8 @@
@
include
(
'pad.components.templates.dimensao.ensino.ensino_participacao'
,
[
'user_pad_id'
=>
$user_pad_id
])
@
include
(
'pad.components.templates.dimensao.ensino.ensino_participacao'
,
[
'user_pad_id'
=>
$user_pad_id
])
@
include
(
'pad.components.templates.dimensao.ensino.ensino_coordenacao_docente'
,
[
'user_pad_id'
=>
$user_pad_id
])
@
include
(
'pad.components.templates.dimensao.ensino.ensino_coordenacao_docente'
,
[
'user_pad_id'
=>
$user_pad_id
])
@
include
(
'components.modal'
,
[
'size'
=>
'modal-lg'
])
</
div
>
</
div
>
@
endsection
@
endsection
...
@@ -41,7 +42,8 @@
...
@@ -41,7 +42,8 @@
@
include
(
'pad.components.scripts.dropdown-eixo'
,
[
'divs'
=>
$divs
])
@
include
(
'pad.components.scripts.dropdown-eixo'
,
[
'divs'
=>
$divs
])
@
include
(
'pad.components.scripts.dimensao.ensino.ensino'
)
@
include
(
'pad.components.scripts.dimensao.ensino.ensino'
)
@
include
(
'pad.components.scripts.dimensao.ensino.ensino_aulas'
)
@
include
(
'pad.components.scripts.dimensao.ensino.aulas'
)
@
include
(
'pad.components.scripts.dimensao.ensino.ensino_orientacao'
)
@
include
(
'pad.components.scripts.dimensao.ensino.ensino_orientacao'
)
@
include
(
'pad.components.scripts.dimensao.ensino.ensino_supervisao'
)
@
include
(
'pad.components.scripts.dimensao.ensino.ensino_supervisao'
)
...
...
resources/views/pad/dimensao/pesquisa.blade.php
View file @
3e54aa53
pesquisa
@
extends
(
'layouts.main'
)
\ No newline at end of file
@
section
(
'title'
,
'Pesquisa'
)
@
section
(
'header'
)
@
include
(
'layouts.header'
,
[
'user'
=>
Auth
::
user
(),
])
@
endsection
@
section
(
'nav'
)
@
include
(
'layouts.navigation'
,
[
'index_menu'
=>
$index_menu
,
])
@
endsection
@
section
(
'body'
)
<
div
class
=
"container"
>
@
include
(
'pad.components.templates.dropdown-eixo'
,
[
'divs'
=>
$divs
])
@
include
(
'components.alerts'
)
@
include
(
'pad.components.templates.dimensao.pesquisa.coordenacao.form_create'
,
[
'user_pad_id'
=>
$user_pad_id
])
@
include
(
'pad.components.templates.dimensao.pesquisa.lideranca.form_create'
,
[
'user_pad_id'
=>
$user_pad_id
])
@
include
(
'pad.components.templates.dimensao.pesquisa.orientacao.form_create'
,
[
'user_pad_id'
=>
$user_pad_id
])
@
include
(
'components.modal'
,
[
'size'
=>
'modal-lg'
])
</
div
>
@
endsection
@
section
(
'scripts'
)
@
include
(
'pad.components.scripts.dropdown-eixo'
,
[
'divs'
=>
$divs
])
@
include
(
'pad.components.scripts.dimensao.pesquisa.general'
)
@
include
(
'pad.components.scripts.dimensao.pesquisa.coordenacao'
)
@
endsection
resources/views/unidade/create.blade.php
View file @
3e54aa53
...
@@ -21,24 +21,32 @@
...
@@ -21,24 +21,32 @@
<
form
action
=
"{{ route('unidade_store') }}"
method
=
"post"
>
<
form
action
=
"{{ route('unidade_store') }}"
method
=
"post"
>
@
csrf
@
csrf
@
method
(
'POST'
)
@
method
(
'POST'
)
<
div
class
=
"form-group"
>
<
label
for
=
"inputNameCurso"
>
Nome
da
Unidade
</
label
>
<
div
class
=
"row"
>
<
input
type
=
"text"
class
=
"form-control"
name
=
"name"
value
=
"{{ old('name') }}"
placeholder
=
"Insira o nome da Unidade"
>
<
div
class
=
"mb-3 col"
>
@
error
(
'name'
)
<
div
class
=
"form-group"
>
<
span
class
=
"text-danger"
>
{{
$message
}}
</
span
>
<
label
for
=
"name"
>
Nome
da
Unidade
</
label
>
@
enderror
<
input
type
=
"text"
class
=
"form-control"
id
=
"name"
name
=
"name"
value
=
"{{ old('name') }}"
placeholder
=
"Unidade"
>
</
div
>
@
error
(
'name'
)
<
div
class
=
"d-flex justify-content-between"
>
<
span
class
=
"text-danger"
>
{{
$message
}}
</
span
>
@
include
(
'components.buttons.btn-cancel'
,
[
@
enderror
'route'
=>
route
(
'unidade_index'
),
</
div
>
])
</
div
>
@
include
(
'components.buttons.btn-save'
,
[
'content'
=>
'Cadastrar'
,
<
div
class
=
"mt-1 text-end"
>
'btn_class'
=>
'btn btn-outline-success'
,
@
include
(
'components.buttons.btn-cancel'
,
[
'i_class'
=>
''
,
'route'
=>
route
(
'unidade_index'
),
])
'content'
=>
'Cancelar'
])
@
include
(
'components.buttons.btn-save'
,
[
'content'
=>
'Cadastrar'
,
])
</
div
>
</
div
>
</
div
>
</
form
>
</
form
>
</
div
>
</
div
>
@
endsection
@
endsection
resources/views/unidade/index.blade.php
View file @
3e54aa53
...
@@ -16,37 +16,37 @@
...
@@ -16,37 +16,37 @@
<
div
class
=
"d-flex justify-content-between align-items-center border-bottom"
>
<
div
class
=
"d-flex justify-content-between align-items-center border-bottom"
>
<
h2
class
=
""
>
TODAS
AS
UNIDADES
</
h2
>
<
h2
class
=
""
>
TODAS
AS
UNIDADES
</
h2
>
@
include
(
'components.buttons.btn-create'
,
[
@
include
(
'components.buttons.btn-create'
,
[
'id'
=>
'unidade_create'
,
'route'
=>
route
(
'unidade_create'
),
'route'
=>
route
(
'unidade_create'
),
'class'
=>
''
,
'content'
=>
'Nova Unidade'
,
'content'
=>
'Nova Unidade'
,
'id'
=>
''
,
])
])
</
div
>
</
div
>
<
table
class
=
"table mt-5"
>
<
thead
class
=
"thead-dark"
>
<
div
class
=
"table-responsive mt-5"
>
<
tr
>
<
table
class
=
"table table-hover table-striped"
>
<
th
scope
=
"col"
>
#</th>
<
thead
class
=
"thead-dark"
>
<
th
scope
=
"col"
>
Name
</
th
>
<
th
scope
=
"col"
>
Opções
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$unidades
as
$unidade
)
<
tr
>
<
tr
>
<
td
scope
=
"row"
>
{{
$unidade
->
id
}}
</
td
>
<
th
scope
=
"col"
>
Nome
</
th
>
<
td
>
{{
$unidade
->
name
}}
</
td
>
<
th
scope
=
"col"
>
Ações
</
th
>
<
td
>
@
include
(
'components.buttons.btn-edit'
,
[
'btn_class'
=>
'btn btn-warning'
,
'route'
=>
route
(
'unidade_edit'
,
[
'id'
=>
$unidade
->
id
]),
])
@
include
(
'components.buttons.btn-soft-delete'
,
[
'route'
=>
route
(
'unidade_delete'
,
[
'id'
=>
$unidade
->
id
]),
'modal_id'
=>
$unidade
->
id
,
])
</
td
>
</
tr
>
</
tr
>
@
endforeach
</
thead
>
</
tbody
>
<
tbody
>
</
table
>
@
foreach
(
$unidades
as
$unidade
)
<
tr
>
<
td
>
{{
$unidade
->
name
}}
</
td
>
<
td
>
@
include
(
'components.buttons.btn-edit'
,
[
'route'
=>
route
(
'unidade_edit'
,
[
'id'
=>
$unidade
->
id
]),
])
@
include
(
'components.buttons.btn-delete'
,
[
'id'
=>
$unidade
->
id
,
'route'
=>
route
(
'unidade_delete'
,
[
'id'
=>
$unidade
->
id
]),
])
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
</
div
>
@
endsection
@
endsection
resources/views/unidade/update.blade.php
View file @
3e54aa53
...
@@ -21,23 +21,32 @@
...
@@ -21,23 +21,32 @@
<
form
action
=
"{{ route('unidade_update', ['id' =>
$unidade->id
]) }}"
method
=
"post"
>
<
form
action
=
"{{ route('unidade_update', ['id' =>
$unidade->id
]) }}"
method
=
"post"
>
@
csrf
@
csrf
@
method
(
'POST'
)
@
method
(
'POST'
)
<
div
class
=
"form-group"
>
<
label
for
=
"inputNameCurso"
>
Nome
da
Unidade
</
label
>
<
div
class
=
"row"
>
<
input
type
=
"text"
class
=
"form-control"
name
=
"name"
value
=
"{{
$unidade->name
}}"
>
@
error
(
'name'
)
<
div
class
=
"mb-3 col"
>
<
span
class
=
"text-danger"
>
{{
$message
}}
</
span
>
<
div
class
=
"form-group"
>
@
enderror
<
label
for
=
"name"
>
Nome
da
Unidade
</
label
>
</
div
>
<
input
type
=
"text"
class
=
"form-control"
name
=
"name"
value
=
"{{
$unidade->name
}}"
placeholder
=
"Unidade"
>
<
div
class
=
"d-flex justify-content-between"
>
@
error
(
'name'
)
@
include
(
'components.buttons.btn-cancel'
,
[
<
span
class
=
"text-danger"
>
{{
$message
}}
</
span
>
'route'
=>
route
(
'unidade_index'
),
@
enderror
])
</
div
>
@
include
(
'components.buttons.btn-save'
,
[
</
div
>
'content'
=>
'Atualizar'
,
'btn_class'
=>
'btn btn-outline-success'
,
<
div
class
=
"mt-1 text-end"
>
'i_class'
=>
''
,
@
include
(
'components.buttons.btn-cancel'
,
[
])
'route'
=>
route
(
'unidade_index'
),
'content'
=>
'Cancelar'
])
@
include
(
'components.buttons.btn-save'
,
[
'content'
=>
'Cadastrar'
,
])
</
div
>
</
div
>
</
div
>
</
form
>
</
form
>
</
div
>
</
div
>
@
endsection
@
endsection
routes/web.php
View file @
3e54aa53
...
@@ -13,8 +13,8 @@ use App\Http\Controllers\PadController;
...
@@ -13,8 +13,8 @@ use App\Http\Controllers\PadController;
use
App\Http\Controllers\Dimensao\Tabelas\Ensino\EnsinoAulaController
;
use
App\Http\Controllers\Dimensao\Tabelas\Ensino\EnsinoAulaController
;
use
App\Http\Controllers\UserController
;
use
App\Http\Controllers\UserController
;
use
App\Http\Controllers\CoordenadorController
;
use
App\Http\Controllers\CoordenadorController
;
use
App\Http\Controllers\Dimensao\Tabelas\Pesquisa\PesquisaCoordenacaoController
;
use
App\Http\Controllers\DiretorController
;
use
App\Http\Controllers\DiretorController
;
use
App\Models\Disciplina
;
use
Illuminate\Support\Facades\Route
;
use
Illuminate\Support\Facades\Route
;
/*
/*
...
@@ -81,19 +81,6 @@ Route::prefix('/pad')->group(function () {
...
@@ -81,19 +81,6 @@ Route::prefix('/pad')->group(function () {
Route
::
delete
(
'/delete/{id}'
,
[
PadController
::
class
,
'delete'
])
->
name
(
'pad_delete'
);
Route
::
delete
(
'/delete/{id}'
,
[
PadController
::
class
,
'delete'
])
->
name
(
'pad_delete'
);
});
});
Route
::
prefix
(
'/pad/professor'
)
->
group
(
function
()
{
Route
::
get
(
'/index'
,
[
PadController
::
class
,
'index'
])
->
name
(
'pad_index'
);
Route
::
get
(
'/view/{id}'
,
[
PadController
::
class
,
'view'
])
->
name
(
'pad_view'
);
Route
::
get
(
'/anexo'
,
[
PadController
::
class
,
'anexo'
])
->
name
(
'pad_anexo'
);
});
Route
::
prefix
(
'/pad/dimensao/'
)
->
group
(
function
()
{
Route
::
get
(
'/gestao/{user_pad_id}/{form_selected?}/{model_id?}'
,
[
GestaoController
::
class
,
'index'
])
->
name
(
'dimensao_gestao'
);
Route
::
get
(
'/ensino/{user_pad_id}/{form_selected?}/{model_id?}'
,
[
EnsinoController
::
class
,
'index'
])
->
name
(
'dimensao_ensino'
);
Route
::
get
(
'/pesquisa/{user_pad_id}/{form_selected?}/{model_id?}'
,
[
PesquisaController
::
class
,
'index'
])
->
name
(
'dimensao_pesquisa'
);
Route
::
get
(
'/extensao/{user_pad_id}/{form_selected?}/{model_id?}'
,
[
ExtensaoController
::
class
,
'index'
])
->
name
(
'dimensao_extensao'
);
});
Route
::
prefix
(
'/coordenador'
)
->
group
(
function
()
{
Route
::
prefix
(
'/coordenador'
)
->
group
(
function
()
{
Route
::
get
(
'/index'
,
[
CoordenadorController
::
class
,
'index'
])
->
name
(
'coordenador_index'
);
Route
::
get
(
'/index'
,
[
CoordenadorController
::
class
,
'index'
])
->
name
(
'coordenador_index'
);
Route
::
get
(
'/create'
,
[
CoordenadorController
::
class
,
'create'
])
->
name
(
'coordenador_create'
);
Route
::
get
(
'/create'
,
[
CoordenadorController
::
class
,
'create'
])
->
name
(
'coordenador_create'
);
...
@@ -122,16 +109,41 @@ Route::prefix('/user')->group(function () {
...
@@ -122,16 +109,41 @@ Route::prefix('/user')->group(function () {
/** json */
/** json */
Route
::
get
(
'/disciplina/{curso_id}'
,
[
DisciplinaController
::
class
,
'getDisciplinaByCurso'
])
->
name
(
'get_disciplina_by_curso'
);
Route
::
get
(
'/disciplina/{curso_id}'
,
[
DisciplinaController
::
class
,
'getDisciplinaByCurso'
])
->
name
(
'get_disciplina_by_curso'
);
/** PadProfessor */
Route
::
prefix
(
'/pad/professor'
)
->
group
(
function
()
{
Route
::
get
(
'/index'
,
[
PadController
::
class
,
'index'
])
->
name
(
'pad_index'
);
Route
::
get
(
'/view/{id}'
,
[
PadController
::
class
,
'view'
])
->
name
(
'pad_view'
);
Route
::
get
(
'/anexo/{id}'
,
[
PadController
::
class
,
'anexo'
])
->
name
(
'pad_anexo'
);
});
/** Dimensoes|Eixos */
Route
::
prefix
(
'/pad/dimensao/'
)
->
group
(
function
()
{
Route
::
get
(
'/gestao/{user_pad_id}/{form_selected?}'
,
[
GestaoController
::
class
,
'index'
])
->
name
(
'dimensao_gestao'
);
Route
::
get
(
'/ensino/{user_pad_id}/{form_selected?}'
,
[
EnsinoController
::
class
,
'index'
])
->
name
(
'dimensao_ensino'
);
Route
::
get
(
'/pesquisa/{user_pad_id}/{form_selected?}'
,
[
PesquisaController
::
class
,
'index'
])
->
name
(
'dimensao_pesquisa'
);
Route
::
get
(
'/extensao/{user_pad_id}/{form_selected?}'
,
[
ExtensaoController
::
class
,
'index'
])
->
name
(
'dimensao_extensao'
);
});
/* EnsinoAulaController */
/* EnsinoAulaController */
Route
::
prefix
(
'/pad/dimensao/ensino'
)
->
group
(
function
()
{
Route
::
prefix
(
'/pad/dimensao/ensino/aulas'
)
->
group
(
function
()
{
Route
::
post
(
'/aulas/create'
,
[
EnsinoAulaController
::
class
,
'create'
])
->
name
(
'ensino_aula_create'
);
Route
::
post
(
'/create'
,
[
EnsinoAulaController
::
class
,
'create'
])
->
name
(
'ensino_aula_create'
);
Route
::
post
(
'/ensino/aulas/update/{id?}'
,
[
EnsinoAulaController
::
class
,
'update'
])
->
name
(
'ensino_aula_update'
);
Route
::
post
(
'/update/{id}'
,
[
EnsinoAulaController
::
class
,
'update'
])
->
name
(
'ensino_aula_update'
);
Route
::
delete
(
'/ensino/aulas/delete/{id?}'
,
[
EnsinoAulaController
::
class
,
'delete'
])
->
name
(
'ensino_aula_delete'
);
Route
::
post
(
'/validate'
,
[
EnsinoAulaController
::
class
,
'ajaxValidation'
])
->
name
(
'ensino_aula_validate'
);
Route
::
delete
(
'/delete/{id}'
,
[
EnsinoAulaController
::
class
,
'delete'
])
->
name
(
'ensino_aula_delete'
);
Route
::
get
(
'/edit/{id?}'
,
[
EnsinoAulaController
::
class
,
'edit'
])
->
name
(
'view_ensino_aula_update'
);
Route
::
get
(
'/aulas/search/{user_pad_id?}'
,
[
EnsinoAulaController
::
class
,
'search'
])
->
name
(
'ensino_aula_search'
);
});
});
/** PesquisaCoordenacaoController */
Route
::
prefix
(
'pad/dimensao/pesquisa/coordenacao'
)
->
group
(
function
()
{
Route
::
post
(
'/create'
,
[
PesquisaCoordenacaoController
::
class
,
'create'
])
->
name
(
'pesquisa_coordenacao_create'
);
Route
::
post
(
'/update/{id}'
,
[
PesquisaCoordenacaoController
::
class
,
'update'
])
->
name
(
'pesquisa_coordenacao_update'
);
Route
::
delete
(
'/delete/{id}'
,
[
PesquisaCoordenacaoController
::
class
,
'delete'
])
->
name
(
'pesquisa_coordenacao_delete'
);
// EndPoints Ajax
Route
::
get
(
'/edit/{id?}'
,
[
PesquisaCoordenacaoController
::
class
,
'edit'
])
->
name
(
'pesquisa_coordenacao_edit'
);
Route
::
get
(
'/pad/dimensao/ensino_aulas/search/{user_pad_id?}'
,
[
EnsinoAulaController
::
class
,
'search'
])
->
name
(
'ensino_aula_search'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
PesquisaCoordenacaoController
::
class
,
'search'
])
->
name
(
'pesquisa_coordenacao_search'
);
});
// return json
// return json
Route
::
get
(
'/listar/unidade'
,
[
UnidadeController
::
class
,
'getAll'
])
->
name
(
'listar_unidades'
);
Route
::
get
(
'/listar/unidade'
,
[
UnidadeController
::
class
,
'getAll'
])
->
name
(
'listar_unidades'
);
...
...
Prev
1
2
3
4
Next
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