Commit 560f913d9b27c6e71cdefe3cea56f4ee887e768b
1 parent
73b7fe1c
Exists in
master
Redmine #5043 Validação atendimento usuário
Showing
3 changed files
with
4 additions
and
3 deletions
Show diff stats
cit-portal-api/src/main/resources/scripts-bd/postgres/v2.3.0/01-cit-portal-2.3.0-postgres.sql
@@ -6,5 +6,5 @@ | @@ -6,5 +6,5 @@ | ||
6 | -- Erick INICIO 23/05/2016 | 6 | -- Erick INICIO 23/05/2016 |
7 | INSERT INTO configuracaoparametrosistema(id, datacriacao, dataedicao, version, chave, valor, configuracao_id, isobrigatorio) | 7 | INSERT INTO configuracaoparametrosistema(id, datacriacao, dataedicao, version, chave, valor, configuracao_id, isobrigatorio) |
8 | SELECT NEXTVAL('hibernate_sequence'), LOCALTIMESTAMP, LOCALTIMESTAMP, 0, 'VALIDAR_FECHAR_ABA', | 8 | SELECT NEXTVAL('hibernate_sequence'), LOCALTIMESTAMP, LOCALTIMESTAMP, 0, 'VALIDAR_FECHAR_ABA', |
9 | - 'true', conf.id, false FROM configuracao conf; | 9 | + 'false', conf.id, false FROM configuracao conf; |
10 | -- Erick FIM 23/05/2016 | 10 | -- Erick FIM 23/05/2016 |
11 | \ No newline at end of file | 11 | \ No newline at end of file |
cit-portal-web/src/main/webapp/assets/js/angular/custom/directive/ListViewDirective.js
@@ -20,7 +20,8 @@ citApp.directive("listView", ["$translate", "$injector", "$timeout", "$filter", | @@ -20,7 +20,8 @@ citApp.directive("listView", ["$translate", "$injector", "$timeout", "$filter", | ||
20 | setTotalItens : '=?setTotalItens', | 20 | setTotalItens : '=?setTotalItens', |
21 | useCustomFilterTemp : '=?useCustomFilterTemp', | 21 | useCustomFilterTemp : '=?useCustomFilterTemp', |
22 | customFilter : '&ngCustomFilter', | 22 | customFilter : '&ngCustomFilter', |
23 | - campoMarcacao : '@ngCampoMarcacao' | 23 | + campoMarcacao : '@ngCampoMarcacao', |
24 | + marcarLinhaGridAtributo : '@ngMarcarLinhaGridAtributo' | ||
24 | }, | 25 | }, |
25 | replace : true, | 26 | replace : true, |
26 | restrict : 'E', | 27 | restrict : 'E', |
cit-portal-web/src/main/webapp/assets/js/angular/custom/directive/html/listView.html
@@ -119,7 +119,7 @@ | @@ -119,7 +119,7 @@ | ||
119 | </div> | 119 | </div> |
120 | </td> | 120 | </td> |
121 | </tr> | 121 | </tr> |
122 | - <tr ng-repeat-start="model in lista" ng-class="(model[campoMarcacao] != undefined && !model[campoMarcacao]) ? 'danger' : ''"> | 122 | + <tr ng-repeat-start="model in lista" ng-class="(model[campoMarcacao] != undefined && !model[campoMarcacao]) ? 'danger' : '' || (model[marcarLinhaGridAtributo] != undefined && model[marcarLinhaGridAtributo]) ? 'danger' : ''"> |
123 | <td ng-if="isCheckBox != undefined && isCheckBox" ng-class="text-center"> | 123 | <td ng-if="isCheckBox != undefined && isCheckBox" ng-class="text-center"> |
124 | <input type="checkbox" ng-checked="model.$checkedChBox" ng-click="checkboxItem(model)" ng-model="model.$checkedChBox"/> | 124 | <input type="checkbox" ng-checked="model.$checkedChBox" ng-click="checkboxItem(model)" ng-model="model.$checkedChBox"/> |
125 | </td> | 125 | </td> |