Commit 74a0e649aac35938b92ff25f9a4b744d7b6775ec
1 parent
0631f07a
Exists in
master
[Redmine Atendimento #4510]Modal List rascunho
Showing
4 changed files
with
5 additions
and
9 deletions
Show diff stats
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ContratoController.js
... | ... | @@ -117,7 +117,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C |
117 | 117 | $scope.edit = true; |
118 | 118 | $scope.setCurrentStep(0); |
119 | 119 | |
120 | - $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.contrato); | |
120 | + $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.contrato, true); | |
121 | 121 | |
122 | 122 | $timeout(function(){ |
123 | 123 | $scope.contratoForm.informacoesGeraisContratoForm.$submitted = false; | ... | ... |
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/EstudoTecnicoController.js
... | ... | @@ -111,7 +111,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository |
111 | 111 | $scope.acaoEmMassaRecursosHumanos = false; |
112 | 112 | |
113 | 113 | $scope.workspace.objetoScope = $scope.estudoTecnico; |
114 | - $scope.startTimerIntervalSaveDraft($scope.workspace); | |
114 | + $scope.startTimerIntervalSaveDraft($scope.workspace, true); | |
115 | 115 | |
116 | 116 | $scope.setCurrentStep(0); |
117 | 117 | $scope.atualizarListaSizeSelectReqNegocio(); | ... | ... |
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/TermoReferenciaController.js
... | ... | @@ -236,7 +236,7 @@ citApp.controller('TermoReferenciaController', ['$scope', |
236 | 236 | $scope.editSancao = false; |
237 | 237 | $scope.step = 0; |
238 | 238 | |
239 | - $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.termoReferencia); | |
239 | + $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.termoReferencia, true); | |
240 | 240 | |
241 | 241 | $timeout(function(){ |
242 | 242 | $scope.termoReferenciaForm.$submitted = false; | ... | ... |
cit-contratos-web/src/main/webapp/html/contrato/contratoList.html
... | ... | @@ -22,8 +22,8 @@ |
22 | 22 | <i class="fa fa-file-excel-o"></i> <translate>LABEL.EXPORTAR_CSV</translate> |
23 | 23 | </button> |
24 | 24 | |
25 | - <button class="btn btn-clear" ng-click="showRascunho()" type="button"> | |
26 | - <i class="fa fa-file-excel-o"></i> <translate>PORTAL.LABEL.SHOW_RASCUNHO</translate> | |
25 | + <button class="btn btn-clear" ng-click="showListRascunho(workspace.name)" type="button"> | |
26 | + <i class="fa fa-list"></i> <translate>PORTAL.LABEL.SHOW_RASCUNHO</translate> | |
27 | 27 | </button> |
28 | 28 | |
29 | 29 | <!-- <button class="btn btn-clear" ng-click="remove();"> |
... | ... | @@ -61,7 +61,3 @@ |
61 | 61 | <list-view ng-lista="contratosList" ng-repository="ContratoRepository" ng-use-custom-remove="false" ng-headers="headers" ng-filter-criteria="filterCriteria" ng-item-selecionado="contratoChecked"></list-view> |
62 | 62 | |
63 | 63 | </div><!-- .page-content --> |
64 | - | |
65 | -<script type="text/ng-template" id="modal-rascunho.html"> | |
66 | - <div ng-include src="'/cit-portal-web/html/rascunho/modal_rascunho.html'" /> | |
67 | -</script> | |
68 | 64 | \ No newline at end of file | ... | ... |