forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.8 KiB
81 lines
1.8 KiB
evoapp.factory('staticData', function($rootScope) {
|
|
|
|
//exceptions
|
|
var exceptions = {
|
|
ERROR: 'ERROR',
|
|
SECURITYEXCEPTION: 'SECURITYEXCEPTION',
|
|
SESSIONTIMEOUT: 'SESSIONTIMEOUT',
|
|
INFO: 'INFO',
|
|
QUESTION: 'QUESTION',
|
|
WARNING: 'WARNING'
|
|
};
|
|
|
|
var tiposFichas = [
|
|
|
|
//Adminssão e Periódica Inicial são iguais
|
|
{
|
|
id: 1,
|
|
descricao: 'Admissão',
|
|
Controller: 'Form1'
|
|
},
|
|
{
|
|
id: 2,
|
|
descricao: 'Periódica Inicial',
|
|
Controller: 'Form1'
|
|
},
|
|
|
|
//Form3
|
|
{
|
|
id: 3,
|
|
descricao: 'Periódica',
|
|
Controller: 'Form4'
|
|
},
|
|
|
|
//Form4
|
|
{
|
|
id: 7,
|
|
descricao: 'Ocasional',
|
|
Controller: 'Form3'
|
|
},
|
|
|
|
//Medicina Curativa e Enfermagem são iguais
|
|
{
|
|
id: 8,
|
|
descricao: 'Enfermagem',
|
|
Controller: 'Form2'
|
|
},
|
|
{
|
|
id: 9,
|
|
descricao: 'Medicina Curativa',
|
|
Controller: 'Form2'
|
|
}
|
|
|
|
//********************************************************
|
|
//Fichas de Aptidão
|
|
/*{
|
|
id: 200,
|
|
descricao: 'Admissão',
|
|
Controller: 'Form5'
|
|
},
|
|
{
|
|
id: 201,
|
|
descricao: 'Periódica Inicial',
|
|
Controller: 'Form5'
|
|
},
|
|
{
|
|
id: 202,
|
|
descricao: 'Periódica',
|
|
Controller: 'Form5'
|
|
},
|
|
{
|
|
id: 203,
|
|
descricao: 'Ocasional',
|
|
Controller: 'Form5'
|
|
}*/
|
|
];
|
|
|
|
return {
|
|
exceptions: exceptions,
|
|
tiposFichas: tiposFichas
|
|
};
|
|
}); |