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
6d4bcccd
Commit
6d4bcccd
authored
Jan 11, 2024
by
sandroresende
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
melhoria no controle de demadas
parent
ad2cf660
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
27 deletions
+21
-27
app.js
public/js/app.js
+6
-2
BotaoAcaoIcone.vue
resources/assets/js/components/gerais/BotaoAcaoIcone.vue
+2
-2
dados_demanda.blade.php
resources/views/modulo_codem/dados_demanda.blade.php
+4
-2
minhas_demandas.blade.php
resources/views/modulo_codem/minhas_demandas.blade.php
+7
-20
welcome.blade.php
resources/views/welcome.blade.php
+2
-1
No files found.
public/js/app.js
View file @
6d4bcccd
...
...
@@ -51832,7 +51832,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
//
/* harmony default export */ __webpack_exports__["default"] = ({
props: ['url', 'registro', 'acao', 'mensagem', 'titulo', 'classbotao', 'icone', 'txtbotaoconfirma', 'txtbotaocancela', 'cssbotao', 'cssicone', 'textobotao', 'tipo'],
props: ['url', 'registro', 'acao', 'mensagem', 'titulo', 'classbotao', 'icone', 'txtbotaoconfirma', 'txtbotaocancela', 'cssbotao', 'cssicone', 'textobotao', 'tipo'
, 'btndisabled'
],
methods: {
onClickEnviar: function onClickEnviar() {
var _this = this;
...
...
@@ -51896,7 +51896,11 @@ var render = function() {
"button",
{
class: _vm.cssbotao,
attrs: { type: "button", "aria-hidden": "true" },
attrs: {
type: "button",
"aria-hidden": "true",
disabled: _vm.btndisabled
},
on: {
click: function($event) {
return _vm.onClickEnviar()
resources/assets/js/components/gerais/BotaoAcaoIcone.vue
View file @
6d4bcccd
...
...
@@ -2,14 +2,14 @@
<div>
<input
v-if=
"!cssicone"
v-bind:class=
"cssbotao"
type=
"button"
@
click=
"onClickEnviar()"
v-model=
"textobotao"
>
<button
v-if=
"cssicone"
v-bind:class=
"cssbotao"
type=
"button"
@
click=
"onClickEnviar()"
aria-hidden=
"true"
><i
v-bind:class=
"cssicone"
></i>
{{
this
.
textobotao
}}
</button>
<button
v-if=
"cssicone"
v-bind:class=
"cssbotao"
type=
"button"
@
click=
"onClickEnviar()"
aria-hidden=
"true"
:disabled=
"btndisabled"
><i
v-bind:class=
"cssicone"
></i>
{{
this
.
textobotao
}}
</button>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'url'
,
'registro'
,
'acao'
,
'mensagem'
,
'titulo'
,
'classbotao'
,
'icone'
,
'txtbotaoconfirma'
,
'txtbotaocancela'
,
'cssbotao'
,
'cssicone'
,
'textobotao'
,
'tipo'
],
props
:[
'url'
,
'registro'
,
'acao'
,
'mensagem'
,
'titulo'
,
'classbotao'
,
'icone'
,
'txtbotaoconfirma'
,
'txtbotaocancela'
,
'cssbotao'
,
'cssicone'
,
'textobotao'
,
'tipo'
,
'btndisabled'
],
methods
:{
onClickEnviar
()
{
...
...
resources/views/modulo_codem/dados_demanda.blade.php
View file @
6d4bcccd
...
...
@@ -45,10 +45,11 @@
v-bind:dados="
{{
json_encode
(
$demanda
)}}
"
></cadastro-demanda>
<div class="
p
-
3
text
-
right
">
<div class="
p
-
3
text
-
right
">
@if(
$demanda->user_id_demandado
== Auth::user()->id ||
$demanda->user_id
== Auth::user()->id)
<button class="
br
-
button
primary
mr
-
3
" type="
submit
" name="
Salvar
Edição
">Salvar
</button>
@endif
<button class="
br
-
button
danger
mr
-
3
" type="
button
" onclick="
window
.
location
.
href
=
'/codem/demanda/minhas_demandas'
">Fechar
</button>
...
...
@@ -184,6 +185,7 @@
txtbotaocancela="
Cancelar
"
cssbotao="
br
-
button
circle
danger
small
mr
-
3
"
cssicone="
fas
fa
-
trash
"
:btndisabled="
'@if($dados->user_id == Auth::user()->id) true @else false @endif'
"
></botao-acao-icone>
...
...
resources/views/modulo_codem/minhas_demandas.blade.php
View file @
6d4bcccd
...
...
@@ -69,7 +69,7 @@
<td>
{
{$demanda->txt_nome_secretaria}
}
</td>
<td>
{
{$demanda->txt_sigla_departamento}
}
</td>
<td>
{
{$demanda->txt_sigla_setor}
}
</td>
<td>
{
{
$demanda->nome_demandado
}
}
</td>
<td>{{
mb_convert_case(
$demanda->nome_demandado
, MB_CASE_TITLE, 'UTF-8')
}}</td>
<td>
{
{$demanda->txt_tema}
}
</td>
<td>
{
{$demanda->txt_sub_tema}
}
</td>
<td>
{
{$demanda->txt_situacao}
}
</td>
...
...
@@ -108,7 +108,7 @@
<th>Demandante</th>
<th>Concluído?</th>
<th>Data da Resposta?</th>
<th c
olspan="
2
" c
lass="
text
-
center
">Ação</th>
<th class="
text
-
center
">Ação</th>
</tr>
</thead>
<tbody>
...
...
@@ -126,27 +126,14 @@
<td>
{
{$dados->txt_nome_secretaria}
}
</td>
<td>
{
{$dados->txt_sigla_departamento}
}
</td>
<td>
{
{$dados->txt_sigla_setor}
}
</td>
<td>
{
{
$dados->nome_usuario_demandante
}
}
</td>
<td>{{
mb_convert_case(
$dados->nome_usuario_demandante
, MB_CASE_TITLE, 'UTF-8')
}}</td>
<td>@if(
$dados->bln_concluido
) Sim @else Não @endif</td>
<td>@if(
$dados->dte_resposta
)
{
{date('d/m/Y',strtotime($dados->dte_resposta))}
}
@endif</td>
<td>
<a class="
br
-
button
circle
primary
small
" href='{{ url("
codem
/
demanda
/
encaminhamento
/
dados
/
$dados
->
id
")}}'><i class="
fas
fa
-
eye
fa
-
1
x
"></i></a>
</td>
<td>
<botao-acao-icone
:url="
'{{ url("/codem/demanda/encaminhamento/excluir")}}'
"
registro="
{{
$dados
->
id
}}
"
mensagem="
Deseja
excluir
o
encaminhamento
?
"
titulo="
Atenção
!!!
"
txtbotaoconfirma="
Sim
"
txtbotaocancela="
Cancelar
"
cssbotao="
br
-
button
circle
danger
small
"
cssicone="
fas
fa
-
trash
fa
-
1
x
"
></botao-acao-icone>
</td>
</tr>
@endforeach
</tbody>
...
...
@@ -172,7 +159,7 @@
<thead class="
text
-
center
">
<tr class="
text
-
center
">
<th>#</th>
<th>ID</th>
<th>ID
Demanda
</th>
<th>Secretaria Demandada</th>
<th>Departamento Demandado</th>
<th>Setor Demandado</th>
...
...
@@ -207,7 +194,7 @@
<td>
{
{$demanda->txt_nome_secretaria}
}
</td>
<td>
{
{$demanda->txt_sigla_departamento}
}
</td>
<td>
{
{$demanda->txt_sigla_setor}
}
</td>
<td>
{
{
$demanda->nome_demandado
}
}
</td>
<td>{{
mb_convert_case(
$demanda->nome_demandado
, MB_CASE_TITLE, 'UTF-8')
}}</td>
<td>
{
{$demanda->txt_tema}
}
</td>
<td>
{
{$demanda->txt_sub_tema}
}
</td>
<td>
{
{$demanda->txt_situacao}
}
</td>
...
...
resources/views/welcome.blade.php
View file @
6d4bcccd
...
...
@@ -3,7 +3,8 @@
@
section
(
'content'
)
<
div
class
="
main
-
content
" id="
main
-
content
">
<
div
class
="
main
-
content
" id="
main
-
content
">
@if(
$configuracao->dte_termino_funcionalidade
>
$dataAtual
)
<div class="
br
-
card
">
<div class="
card
-
header
">
...
...
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