Commit 596640c37a72e49b9287d8b4c6e0ff37ac831c51

Authored by rogerio.costa
1 parent 9c087ff6
Exists in master

#4393 Correção de defeitos encontrados em homologação

cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/AnexoGedServiceImpl.java
@@ -105,9 +105,9 @@ public class AnexoGedServiceImpl extends GenericServiceImpl<AnexoGed, Long> impl @@ -105,9 +105,9 @@ public class AnexoGedServiceImpl extends GenericServiceImpl<AnexoGed, Long> impl
105 105
106 // FAZ OCR DO DOCUMENTO ANEXADO E JÁ MANDA PARA INDEXAÇÃO 106 // FAZ OCR DO DOCUMENTO ANEXADO E JÁ MANDA PARA INDEXAÇÃO
107 107
108 - documentoGed.setConteudo(this.gedFileService.doOcr(anexo)); 108 +// documentoGed.setConteudo(this.gedFileService.doOcr(anexo));
109 109
110 - this.solrService.addDocumento(documentoGed); 110 +// this.solrService.addDocumento(documentoGed);
111 111
112 anexo.setDocumentoGed(documentoGed); 112 anexo.setDocumentoGed(documentoGed);
113 113
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/DocumentoGedServiceImpl.java
@@ -223,7 +223,7 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl<DocumentoGed, Lo @@ -223,7 +223,7 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl<DocumentoGed, Lo
223 223
224 try { 224 try {
225 225
226 - this.solrService.addDocumento(entity); 226 +// this.solrService.addDocumento(entity);
227 227
228 } catch (Exception e) { 228 } catch (Exception e) {
229 229
cit-ecm-web/src/main/webapp/assets/js/angular/custom/controller/DocumentoGedController.js
@@ -175,7 +175,7 @@ citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository', @@ -175,7 +175,7 @@ citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository',
175 $scope.$parent.$parent.closeWidget(); 175 $scope.$parent.$parent.closeWidget();
176 $scope.atualizaProcesso(); 176 $scope.atualizaProcesso();
177 $scope.setLoadingSalva(false); 177 $scope.setLoadingSalva(false);
178 - }); 178 + }, 300);
179 179
180 }); 180 });
181 181
@@ -601,6 +601,7 @@ citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository', @@ -601,6 +601,7 @@ citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository',
601 $scope.findSugestaoAssunto = function(tipoDocumento){ 601 $scope.findSugestaoAssunto = function(tipoDocumento){
602 602
603 $scope.assuntos = []; 603 $scope.assuntos = [];
  604 + $scope.sugestoes = [];
604 TipoDocumentoPlanoClassificacaoRepository.findByIdJoin('tipoDocumento.id', tipoDocumento.id).then(function(result){ 605 TipoDocumentoPlanoClassificacaoRepository.findByIdJoin('tipoDocumento.id', tipoDocumento.id).then(function(result){
605 angular.forEach(result, function (item) { 606 angular.forEach(result, function (item) {
606 $scope.assuntos.push(item.planoClassificacao); 607 $scope.assuntos.push(item.planoClassificacao);
cit-ecm-web/src/main/webapp/html/documentoGed/metadadosDocumentoEdit.html
@@ -250,7 +250,7 @@ @@ -250,7 +250,7 @@
250 250
251 <div class="row" ng-show='uploader.queue[0]'> 251 <div class="row" ng-show='uploader.queue[0]'>
252 <div class="col-sm-6"> 252 <div class="col-sm-6">
253 - <strong><label>{{ uploader.queue[0].file.name}}</label></strong> 253 + <label>{{ uploader.queue[0].file.name}}</label>
254 </div> 254 </div>
255 255
256 <div class="col-sm-4"> 256 <div class="col-sm-4">