git-svn-id: https://svn.coded.pt/svn/SIPRP@1939 bb69d46d-e84e-40c8-a05a-06db0d633741

lxbfYeaa
João Maurício 12 years ago
parent 69af4372ae
commit 4927ab3a4c

@ -61,9 +61,9 @@
$scope.editing.antecentesOcupacionaisActividadesAnteriores = []; $scope.editing.antecentesOcupacionaisActividadesAnteriores = [];
//TODO: rever estes modelos - 3 novas grelhas //TODO: rever estes modelos - 3 novas grelhas
$scope.editing.cirurgias = []; $scope.editing.antecedentesPessoaisCirurgias = [];
$scope.editing.fracturas = []; $scope.editing.antecedentesPessoaisFracturas = [];
$scope.editing.internamentos = []; $scope.editing.antecedentesPessoaisInternamentos = [];
$scope.editing.actividade = { $scope.editing.actividade = {
posto_representa_risco_saude: false posto_representa_risco_saude: false

@ -1136,7 +1136,7 @@
<tr> <tr>
<td colspan="5"> <td colspan="5">
<button <button
ng-click="gridAddItem({}, editing.cirurgias, 'cirurgias', $event)" ng-click="gridAddItem({}, editing.antecedentesPessoaisCirurgias, 'antecedentesPessoaisCirurgias', $event)"
type="button" class="btn btn-default btn-xs"> type="button" class="btn btn-default btn-xs">
<span class="glyphicon glyphicon-plus"></span>Adicionar <span class="glyphicon glyphicon-plus"></span>Adicionar
</button> </button>
@ -1144,7 +1144,7 @@
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
<tr ng-repeat="item in editing.cirurgias"> <tr ng-repeat="item in editing.antecedentesPessoaisCirurgias">
<td><input ng-model="item.data" data-required="true" <td><input ng-model="item.data" data-required="true"
data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$" data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$"
type="text" class="form-control" datepicker /></td> type="text" class="form-control" datepicker /></td>
@ -1152,7 +1152,7 @@
data-required="true" type="text" class="form-control" /></td> data-required="true" type="text" class="form-control" /></td>
<td> <td>
<button <button
ng-click="gridRemoveItem($index, editing.cirurgias, $event)" ng-click="gridRemoveItem($index, editing.antecedentesPessoaisCirurgias, $event)"
type="button" class="btn btn-danger btn-xs"> type="button" class="btn btn-danger btn-xs">
<span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-remove"></span>
</button> </button>
@ -1178,7 +1178,7 @@
<tr> <tr>
<td colspan="5"> <td colspan="5">
<button <button
ng-click="gridAddItem({}, editing.fracturas, 'fracturas', $event)" ng-click="gridAddItem({}, editing.antecedentesPessoaisFracturas, 'antecedentesPessoaisFracturas', $event)"
type="button" class="btn btn-default btn-xs"> type="button" class="btn btn-default btn-xs">
<span class="glyphicon glyphicon-plus"></span>Adicionar <span class="glyphicon glyphicon-plus"></span>Adicionar
</button> </button>
@ -1186,7 +1186,7 @@
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
<tr ng-repeat="item in editing.fracturas"> <tr ng-repeat="item in editing.antecedentesPessoaisFracturas">
<td><input ng-model="item.data" data-required="true" <td><input ng-model="item.data" data-required="true"
data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$" data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$"
type="text" class="form-control" datepicker /></td> type="text" class="form-control" datepicker /></td>
@ -1194,7 +1194,7 @@
data-required="true" type="text" class="form-control" /></td> data-required="true" type="text" class="form-control" /></td>
<td> <td>
<button <button
ng-click="gridRemoveItem($index, editing.fracturas, $event)" ng-click="gridRemoveItem($index, editing.antecedentesPessoaisFracturas, $event)"
type="button" class="btn btn-danger btn-xs"> type="button" class="btn btn-danger btn-xs">
<span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-remove"></span>
</button> </button>
@ -1220,7 +1220,7 @@
<tr> <tr>
<td colspan="5"> <td colspan="5">
<button <button
ng-click="gridAddItem({}, editing.internamentos, 'internamentos', $event)" ng-click="gridAddItem({}, editing.antecedentesPessoaisInternamentos, 'antecedentesPessoaisInternamentos', $event)"
type="button" class="btn btn-default btn-xs"> type="button" class="btn btn-default btn-xs">
<span class="glyphicon glyphicon-plus"></span>Adicionar <span class="glyphicon glyphicon-plus"></span>Adicionar
</button> </button>
@ -1228,7 +1228,7 @@
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
<tr ng-repeat="item in editing.internamentos"> <tr ng-repeat="item in editing.antecedentesPessoaisInternamentos">
<td><input ng-model="item.data" data-required="true" <td><input ng-model="item.data" data-required="true"
data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$" data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$"
type="text" class="form-control" datepicker /></td> type="text" class="form-control" datepicker /></td>
@ -1236,7 +1236,7 @@
data-required="true" type="text" class="form-control" /></td> data-required="true" type="text" class="form-control" /></td>
<td> <td>
<button <button
ng-click="gridRemoveItem($index, editing.internamentos, $event)" ng-click="gridRemoveItem($index, editing.antecedentesPessoaisInternamentos, $event)"
type="button" class="btn btn-danger btn-xs"> type="button" class="btn btn-danger btn-xs">
<span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-remove"></span>
</button> </button>
@ -1297,6 +1297,10 @@
<p>&nbsp;</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p>&nbsp;</p>

@ -42,7 +42,7 @@ usage example: <partials-renderer partial-id="Reavaliacao-1"></partials-renderer
<label class="control-label">Qual?</label> <label class="control-label">Qual?</label>
</div> </div>
<div class="col-md-10"> <div class="col-md-10">
<input ng-model="editing.conclusoesResumo.reavaliacao_outra_peridicidade_detalhe" type="text" class="form-control input-sm" /> <input ng-model="editing.conclusoesResumo.reavaliacao_detalhe" type="text" class="form-control input-sm" />
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save