forked from Coded/SIPRP
git-svn-id: https://svn.coded.pt/svn/SIPRP@1959 bb69d46d-e84e-40c8-a05a-06db0d633741
parent
26ec619ef3
commit
3a5cc2be83
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,60 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
Actividade-1
|
||||||
|
|
||||||
|
notice: only contents inside this div will be rendered/compiled
|
||||||
|
|
||||||
|
usage example: <partials-renderer partial-id="Actividade-1"></partials-renderer>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<div id="Actividade-1">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-body">
|
||||||
|
|
||||||
|
<div class="form-horizontal">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label">Data de Admissão na Empresa</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input ng-model="editing.ficha.trabalhador_data_admissao" type="text" class="form-control" datepicker disabled/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label">Função Actual</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input ng-model="editing.ficha.trabalhador_funcao_actual" type="text" class="form-control" readonly/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-2 control-label">Local/Posto de Trabalho</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<input ng-model="editing.ficha.trabalhador_posto" type="text" class="form-control" readonly/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-2 control-label">Tarefas (Descrição sumária da Actividade)</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<textarea ng-model="editing.ficha.trabalhador_tarefas" rows="3" class="form-control"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
@ -0,0 +1,46 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
AntecedentesFamiliares-1
|
||||||
|
|
||||||
|
notice: only contents inside this div will be rendered/compiled
|
||||||
|
|
||||||
|
usage example: <partials-renderer partial-id="AntecedentesFamiliares-1"></partials-renderer>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<div id="AntecedentesFamiliares-1">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-body">
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label">Pai</label>
|
||||||
|
<textarea ng-model="editing.antecedentesFamiliares.pai" rows="3"
|
||||||
|
class="form-control">
|
||||||
|
</textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label">Mãe</label>
|
||||||
|
<textarea ng-model="editing.antecedentesFamiliares.mae" rows="3"
|
||||||
|
class="form-control">
|
||||||
|
</textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label">Irmãos</label>
|
||||||
|
<textarea ng-model="editing.antecedentesFamiliares.irmaos" rows="3"
|
||||||
|
class="form-control">
|
||||||
|
</textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label">Avós</label>
|
||||||
|
<textarea ng-model="editing.antecedentesFamiliares.avos" rows="3"
|
||||||
|
class="form-control">
|
||||||
|
</textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
@ -0,0 +1,299 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
AntecedentesOcupacionais-1
|
||||||
|
|
||||||
|
notice: only contents inside this div will be rendered/compiled
|
||||||
|
|
||||||
|
usage example: <partials-renderer partial-id="AntecedentesOcupacionais-1"></partials-renderer>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<div id="AntecedentesOcupacionais-1">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-body">
|
||||||
|
|
||||||
|
<div class="form-horizontal">
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-6 control-label">3.1 - Com que idade iniciou a actividade Laboral?</label>
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<input type="text" ng-model="editing.antecentesOcupacionais.idade_inicio_actividade" data-type="digits" class="form-control" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<table class="table table-bordered table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="col-md-3">Actividades Anteriores</th>
|
||||||
|
<th class="col-md-3">Entidade</th>
|
||||||
|
<th class="col-md-3">Local de Trabalho</th>
|
||||||
|
<th class="col-md-3">Período de Tempo</th>
|
||||||
|
<th class="col-md-3"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="5">
|
||||||
|
<button ng-click="gridAddItem({}, editing.antecentesOcupacionaisActividadesAnteriores, 'antecentesOcupacionaisActividadesAnteriores', $event)" type="button" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span>Adicionar </button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
|
<tbody>
|
||||||
|
<tr ng-repeat="item in editing.antecentesOcupacionaisActividadesAnteriores">
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.actividade" type="text" class="form-control">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.entidade" type="text" class="form-control">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.local_trabalho" type="text" class="form-control">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.periodo_tempo" type="text" class="form-control">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button ng-click="gridRemoveItem($index, editing.antecentesOcupacionaisActividadesAnteriores, $event)" type="button" class="btn btn-danger btn-xs">
|
||||||
|
<span class="glyphicon glyphicon-remove"></span>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div class="form-horizontal">
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label class="control-label">3.2 - Factores de risco a que esteve exposto </label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.exposto_factores_risco" name="rb_exposto_factores_risco" ng-value="true" type="radio" />
|
||||||
|
Sim
|
||||||
|
</label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.exposto_factores_risco" name="rb_exposto_factores_risco" ng-value="false" type="radio" />
|
||||||
|
Não
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<table ng-show="editing.antecentesOcupacionais.exposto_factores_risco" class="table table-bordered table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th colspan="2" class="col-md-3">Factores e Risco </th>
|
||||||
|
<th class="col-md-3">Actividade</th>
|
||||||
|
<th class="col-md-3">Tempo de Exposição </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>Fisicos</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_fisicos_detalhe" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_fisicos_actividade" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_fisicos_tempo" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Químicos</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_quimicos_detalhe" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_quimicos_actividade" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_quimicos_tempo" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Biológicos</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_biologicos_detalhe" type="text" class="form-control">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_biologicos_actividade" type="text" class="form-control">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_biologicos_tempo" type="text" class="form-control">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Ergonómicos</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_ergonomicos_detalhe" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_ergonomicos_actividade" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_ergonomicos_tempo" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Psicossociais</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_psicossociais_detalhe" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_psicossociais_actividade" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.factores_riscos_psicossociais_tempo" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div class="form-horizontal">
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label class="control-label">3.3 - Acidentes de Trabalho </label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.acidentes_trabalho" name="rb_acidentes_trabalho" ng-value="true" type="radio" />
|
||||||
|
Sim
|
||||||
|
</label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-click="gridClearItems('table_antecentesOcupacionaisAcidentesTrabalho', 'antecentesOcupacionaisAcidentesTrabalho')" ng-model="editing.antecentesOcupacionais.acidentes_trabalho" name="rb_acidentes_trabalho" ng-value="false" type="radio" />
|
||||||
|
Não
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<table id="table_antecentesOcupacionaisAcidentesTrabalho" ng-show="editing.antecentesOcupacionais.acidentes_trabalho" class="table table-bordered table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="col-md-3">Acidente</th>
|
||||||
|
<th class="col-md-3">Data</th>
|
||||||
|
<th class="col-md-3">Lesão Corporal</th>
|
||||||
|
<th class="col-md-3">Incapacidade Resultante %</th>
|
||||||
|
<th class="col-md-3"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="5">
|
||||||
|
<button ng-click="gridAddItem({}, editing.antecentesOcupacionaisAcidentesTrabalho, 'antecentesOcupacionaisAcidentesTrabalho', $event)" type="button" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span>Adicionar </button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
|
<tbody>
|
||||||
|
<tr ng-repeat="item in editing.antecentesOcupacionaisAcidentesTrabalho">
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.acidente" data-required="true" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<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])$" type="text" class="form-control" datepicker />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.lesao_corporal" data-required="true" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.incapacidade_resultante" data-required="true" data-type="digits" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button ng-click="gridRemoveItem($index, editing.antecentesOcupacionaisAcidentesTrabalho, $event)" type="button" class="btn btn-danger btn-xs">
|
||||||
|
<span class="glyphicon glyphicon-remove"></span>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div class="form-horizontal">
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label class="control-label">3.4 - Doenças Profissionais </label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.doencas_profissionais" name="rb_doencas_profissionais" ng-value="true" type="radio" />
|
||||||
|
Sim
|
||||||
|
</label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.doencas_profissionais" name="rb_doencas_profissionais" ng-value="false" type="radio" />
|
||||||
|
Não
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<table ng-show="editing.antecentesOcupacionais.doencas_profissionais" class="table table-bordered table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="col-md-3">Suspeitas (código)</th>
|
||||||
|
<th class="col-md-3">Data</th>
|
||||||
|
<th class="col-md-3">Declaradas (código)</th>
|
||||||
|
<th class="col-md-3">Data</th>
|
||||||
|
<th class="col-md-3"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="5">
|
||||||
|
<button ng-click="gridAddItem({}, editing.antecentesOcupacionaisDoencasProfissionais, 'antecentesOcupacionaisDoencasProfissionais', $event)" type="button" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span>Adicionar </button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
|
<tbody>
|
||||||
|
<tr ng-repeat="item in editing.antecentesOcupacionaisDoencasProfissionais">
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.suspeitada" data-required="true" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.data_suspeita" data-required="true" data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$" type="text" class="form-control" datepicker />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.declarada" data-required="true" type="text" class="form-control" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="item.data_declaracao" data-required="true" data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$" type="text" class="form-control" datepicker />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button ng-click="gridRemoveItem($index, editing.antecentesOcupacionaisDoencasProfissionais, $event)" type="button" class="btn btn-danger btn-xs">
|
||||||
|
<span class="glyphicon glyphicon-remove"></span>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div class="form-horizontal">
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label class="control-label">3.5 - Doenças relacionadas com o trabalho (embora não constem na lista de Doenças Profissionais)? </label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.doencas_relacionadas_com_trabalho" name="rb_doencas_relacionadas_com_trabalho" ng-value="true" type="radio" />
|
||||||
|
Sim
|
||||||
|
</label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-model="editing.antecentesOcupacionais.doencas_relacionadas_com_trabalho" name="rb_doencas_relacionadas_com_trabalho" ng-value="false" type="radio" />
|
||||||
|
Não
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div ng-show="editing.antecentesOcupacionais.doencas_relacionadas_com_trabalho" class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label">Quais?</label>
|
||||||
|
<textarea ng-model="editing.antecentesOcupacionais.doencas_relacionadas_com_trabalho_detalhe" rows="3" class="form-control"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
@ -0,0 +1,86 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
AntecedentesPessoais-1
|
||||||
|
|
||||||
|
notice: only contents inside this div will be rendered/compiled
|
||||||
|
|
||||||
|
usage example: <partials-renderer partial-id="AntecedentesPessoais-1"></partials-renderer>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<div id="AntecedentesPessoais-1">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-body">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.antecedentesPessoais.asma" value="true" type="checkbox" />
|
||||||
|
Asma
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.antecedentesPessoais.bronquite" value="true" type="checkbox" />
|
||||||
|
Bronquite
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.antecedentesPessoais.hepatite" value="true" type="checkbox" />
|
||||||
|
Hepatite
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.antecedentesPessoais.diabetes" value="true" type="checkbox" />
|
||||||
|
Diabetes
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.antecedentesPessoais.hipertensao_arterial" value="true" type="checkbox" />
|
||||||
|
Hipertensão Arterial
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.antecedentesPessoais.dislipidemia" value="true" type="checkbox" />
|
||||||
|
Dislipidemia
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="checkbox">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.antecedentesPessoais.outras" value="true" type="checkbox" />
|
||||||
|
Outras
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-8 p-l-none">
|
||||||
|
<div ng-show="editing.antecedentesPessoais.outras" class="row">
|
||||||
|
<div class="col-md-2">
|
||||||
|
<label class="control-label">Quais</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<textarea ng-model="editing.antecedentesPessoais.outras_quais" rows="3" class="form-control"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
@ -0,0 +1,54 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
Cirurgias-1
|
||||||
|
|
||||||
|
notice: only contents inside this div will be rendered/compiled
|
||||||
|
|
||||||
|
usage example: <partials-renderer partial-id="Cirurgias-1"></partials-renderer>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<div id="Cirurgias-1">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">Cirurgias</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<table class="table table-bordered table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="col-md-2">Data/Ano</th>
|
||||||
|
<th class="col-md-9">Motivo Diagnóstico</th>
|
||||||
|
<th class="col-md-1"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="5">
|
||||||
|
<button
|
||||||
|
ng-click="gridAddItem({}, editing.antecedentesPessoaisCirurgias, 'antecedentesPessoaisCirurgias', $event)"
|
||||||
|
type="button" class="btn btn-default btn-xs">
|
||||||
|
<span class="glyphicon glyphicon-plus"></span>Adicionar
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
|
<tbody>
|
||||||
|
<tr ng-repeat="item in editing.antecedentesPessoaisCirurgias">
|
||||||
|
<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])$"
|
||||||
|
type="text" class="form-control" datepicker /></td>
|
||||||
|
<td><input ng-model="item.motivo_diagnostico"
|
||||||
|
data-required="true" type="text" class="form-control" /></td>
|
||||||
|
<td>
|
||||||
|
<button
|
||||||
|
ng-click="gridRemoveItem($index, editing.antecedentesPessoaisCirurgias, $event)"
|
||||||
|
type="button" class="btn btn-danger btn-xs">
|
||||||
|
<span class="glyphicon glyphicon-remove"></span>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
@ -0,0 +1,313 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
CondicoesTrabalho-1
|
||||||
|
|
||||||
|
notice: only contents inside this div will be rendered/compiled
|
||||||
|
|
||||||
|
usage example: <partials-renderer partial-id="CondicoesTrabalho-1"></partials-renderer>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<div id="CondicoesTrabalho-1">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">Condições de Trabalho</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<table class="table table-bordered table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Horário</th>
|
||||||
|
<th> </th>
|
||||||
|
<th>Postura</th>
|
||||||
|
<th> </th>
|
||||||
|
<th>Tarefas</th>
|
||||||
|
<th> </th>
|
||||||
|
<th>Esforço</th>
|
||||||
|
<th> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>Normal</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.horario_normal" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Sentado</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.postura_sentado" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Variadas</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.tarefas_variadas" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Físico:</td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Contínuo</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.horario_continuo" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Em Pé</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.postura_em_pe" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Criativas</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.tarefas_criativas" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td><span class="m-l-15">Cargas > 10 Kg</span></td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.esforco_fisico_superior_dez_kg" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Turnos</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.horario_turnos" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td><span class="m-l-15">Deslocações</span></td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.postura_em_pe_deslocacoes" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Monótonas</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.tarefas_monotonas" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td><span class="m-l-15">Cargas < 10 Kg</span></td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.esforco_fisico_inferior_dez_kg" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Nocturno</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.horario_nocturno" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td><span class="m-l-15">Parado</span></td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.postura_em_pe_parado" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Repetitivas</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.tarefas_repetitivas" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Visual</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.esforco_visual" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Isenção</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.horario_isencao" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Sentádo/Pé</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.postura_sentado_em_pe" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Minuciosas</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.tarefas_minuciosas" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
<td>Mental</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.esforco_mental" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label class="control-label">Considera que o seu posto de trabalho/actividade representam algum risco para a sua saúde? </label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-model="editing.actividade.posto_representa_risco_saude" name="rb_posto_representa_risco_saude" ng-value="true" type="radio" />
|
||||||
|
Sim
|
||||||
|
</label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-model="editing.actividade.posto_representa_risco_saude" name="rb_posto_representa_risco_saude" ng-value="false" type="radio" />
|
||||||
|
Não
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<p> </p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
|
||||||
|
<table class="table table-bordered table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Posto de Trabalho</th>
|
||||||
|
<th> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>Trabalho em Altura</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.posto_trabalho_altura" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Condução de Veículos</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.posto_trabalho_veiculos" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Trabalho com Máquinas</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.posto_trabalho_maquinas" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Ar Condicionado</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.posto_trabalho_ar_condicionado" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Luz Artificial</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.posto_trabalho_luz_artificial" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Alcatifas</td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="editing.actividade.posto_trabalho_alcatifas" value="true" type="checkbox" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label">De que modo poderá o Serviço de <span class="underline">Saúde Ocupacional</span> ajudá-lo no seu local de trabalho?</label>
|
||||||
|
<textarea ng-model="editing.actividade.ajuda_servico_saude_ocupacional_detalhe" rows="3" class="form-control"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label">Exposição actual a Factores de Risco</label>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_ecrans" value="true" type="checkbox" />
|
||||||
|
Écrans de Computador
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_iluminacao_deficiente" value="true" type="checkbox" />
|
||||||
|
Iluminação deficiente
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_cargas" value="true" type="checkbox" />
|
||||||
|
Cargas
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_posturas_incorrectas" value="true" type="checkbox" />
|
||||||
|
Posturas incorrectas/forçadas
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_ruido" value="true" type="checkbox" />
|
||||||
|
Ruido
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_vibracoes" value="true" type="checkbox" />
|
||||||
|
Vibrações
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_empoeiramentos" value="true" type="checkbox" />
|
||||||
|
Empoeiramentos
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_quimicos" value="true" type="checkbox" />
|
||||||
|
Químicos
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-8 p-l-none">
|
||||||
|
<input ng-show="editing.actividade.exposicao_quimicos" ng-model="editing.actividade.exposicao_quimicos_detalhe" type="text" class="form-control input-sm" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_agentes_biologicos" value="true" type="checkbox" />
|
||||||
|
Agentes Biológicos
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-8 p-l-none">
|
||||||
|
<input ng-show="editing.actividade.exposicao_agentes_biologicos" ng-model="editing.actividade.exposicao_agentes_biologicos_detalhe" type="text" class="form-control input-sm" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_temperaturas_extremas" value="true" type="checkbox" />
|
||||||
|
Temperaturas extremas
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-8 p-l-none">
|
||||||
|
<div class="checkbox-inline">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_temperaturas_extremas_calor" value="true" type="checkbox" />
|
||||||
|
Frio
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox-inline">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_temperaturas_extremas_frio" value="true" type="checkbox" />
|
||||||
|
Calor
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.actividade.exposicao_stress" value="true" type="checkbox" />
|
||||||
|
Stress
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
@ -0,0 +1,54 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
Fracturas-1
|
||||||
|
|
||||||
|
notice: only contents inside this div will be rendered/compiled
|
||||||
|
|
||||||
|
usage example: <partials-renderer partial-id="Fracturas-1"></partials-renderer>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<div id="Fracturas-1">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">Fracturas</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<table class="table table-bordered table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="col-md-2">Data/Ano</th>
|
||||||
|
<th class="col-md-9">Motivo Diagnóstico</th>
|
||||||
|
<th class="col-md-1"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="5">
|
||||||
|
<button
|
||||||
|
ng-click="gridAddItem({}, editing.antecedentesPessoaisFracturas, 'antecedentesPessoaisFracturas', $event)"
|
||||||
|
type="button" class="btn btn-default btn-xs">
|
||||||
|
<span class="glyphicon glyphicon-plus"></span>Adicionar
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
|
<tbody>
|
||||||
|
<tr ng-repeat="item in editing.antecedentesPessoaisFracturas">
|
||||||
|
<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])$"
|
||||||
|
type="text" class="form-control" datepicker /></td>
|
||||||
|
<td><input ng-model="item.motivo_diagnostico"
|
||||||
|
data-required="true" type="text" class="form-control" /></td>
|
||||||
|
<td>
|
||||||
|
<button
|
||||||
|
ng-click="gridRemoveItem($index, editing.antecedentesPessoaisFracturas, $event)"
|
||||||
|
type="button" class="btn btn-danger btn-xs">
|
||||||
|
<span class="glyphicon glyphicon-remove"></span>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
@ -0,0 +1,56 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
Identificacao-1
|
||||||
|
|
||||||
|
notice: only contents inside this div will be rendered/compiled
|
||||||
|
|
||||||
|
usage example: <partials-renderer partial-id="Identificacao-1"></partials-renderer>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<div id="Identificacao-1">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">1.1 - Empresa</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
|
||||||
|
<div class="form-horizontal">
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-2 control-label">Nome</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<input ng-model="editing.ficha.empresa_designacao_social" data-required="true" type="text" class="form-control" readonly/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-2 control-label">Ramo de Actividade</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<input ng-model="editing.ficha.empresa_ramo_actividade" data-required="true" type="text" class="form-control" readonly/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label">Estabelecimento</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input ng-model="editing.ficha.estabelecimento_nome" data-required="true" type="text" class="form-control" readonly/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label">Localidade</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input ng-model="editing.ficha.estabelecimento_localidade" data-required="true" type="text" class="form-control" readonly/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
@ -0,0 +1,54 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
Internamentos-1
|
||||||
|
|
||||||
|
notice: only contents inside this div will be rendered/compiled
|
||||||
|
|
||||||
|
usage example: <partials-renderer partial-id="Internamentos-1"></partials-renderer>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<div id="Internamentos-1">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">Internamentos</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<table class="table table-bordered table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="col-md-2">Data/Ano</th>
|
||||||
|
<th class="col-md-9">Motivo Diagnóstico</th>
|
||||||
|
<th class="col-md-1"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="5">
|
||||||
|
<button
|
||||||
|
ng-click="gridAddItem({}, editing.antecedentesPessoaisInternamentos, 'antecedentesPessoaisInternamentos', $event)"
|
||||||
|
type="button" class="btn btn-default btn-xs">
|
||||||
|
<span class="glyphicon glyphicon-plus"></span>Adicionar
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
|
<tbody>
|
||||||
|
<tr ng-repeat="item in editing.antecedentesPessoaisInternamentos">
|
||||||
|
<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])$"
|
||||||
|
type="text" class="form-control" datepicker /></td>
|
||||||
|
<td><input ng-model="item.motivo_diagnostico"
|
||||||
|
data-required="true" type="text" class="form-control" /></td>
|
||||||
|
<td>
|
||||||
|
<button
|
||||||
|
ng-click="gridRemoveItem($index, editing.antecedentesPessoaisInternamentos, $event)"
|
||||||
|
type="button" class="btn btn-danger btn-xs">
|
||||||
|
<span class="glyphicon glyphicon-remove"></span>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
@ -0,0 +1,128 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
Utente-1
|
||||||
|
|
||||||
|
notice: only contents inside this div will be rendered/compiled
|
||||||
|
|
||||||
|
usage example: <partials-renderer partial-id="Utente-1"></partials-renderer>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<div id="Utente-1">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">1.2 - Utente</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
|
||||||
|
<div class="form-horizontal">
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-2 control-label">Nome</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<input ng-model="editing.ficha.trabalhador_nome" type="text" class="form-control" readonly/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label">Sexo</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<label class="checkbox-inline p-l-none">
|
||||||
|
<input ng-model="editing.ficha.trabalhador_sexo" name="rb_trabalhador_sexo" value="M" type="radio" disabled/>
|
||||||
|
Masculino
|
||||||
|
</label>
|
||||||
|
<label class="checkbox-inline">
|
||||||
|
<input ng-model="editing.ficha.trabalhador_sexo" name="rb_trabalhador_sexo" value="F" type="radio" disabled/>
|
||||||
|
Feminino
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label">Data de Nascimento</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input ng-model="editing.ficha.trabalhador_data_nascimento" type="text" class="form-control" datepicker disabled/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label">Idade</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input ng-model="calculatedAge" type="text" class="form-control" disabled/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="empresafld" class="col-lg-6 control-label">Habilitações</label>
|
||||||
|
<label for="datafld" class="col-lg-6 control-label ">
|
||||||
|
Estado Civil</label>
|
||||||
|
<div class="col-lg-6">
|
||||||
|
|
||||||
|
<div ng-repeat="item in habilitacoes.items" class="checkbox">
|
||||||
|
|
||||||
|
<label ng-if="!item.tem_info_extra">
|
||||||
|
<input ng-model="editing.ficha.trabalhador_habilitacoes_id" name="rb_trabalhador_habilitacoes_id" ng-value="item.id" type="radio" />
|
||||||
|
<span ng-bind="item.descricao"></span>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div ng-if="item.tem_info_extra" class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.ficha.trabalhador_habilitacoes_id" name="rb_trabalhador_habilitacoes_id" ng-value="item.id" type="radio" />
|
||||||
|
<span ng-bind="item.descricao"></span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-8 p-l-none">
|
||||||
|
<input ng-hide="editing.ficha.trabalhador_habilitacoes_id != item.id" ng-model="editing.ficha.trabalhador_habilitacoes_info_extra" type="text" class="form-control input-sm" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<div ng-repeat="item in estadosCivis.items" class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input ng-model="editing.ficha.trabalhador_estado_civil_id" name="rb_trabalhador_estado_civil_id" ng-value="item.id" type="radio" />
|
||||||
|
<span ng-bind="item.descricao"></span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label">Naturalidade</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input ng-model="editing.ficha.naturalidade" type="text" class="form-control"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label">Lugar de Residência</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<textarea ng-model="editing.ficha.lugar_residencia" rows="2" class="form-control"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
Loading…
Reference in new issue