diff --git a/src/libs/routes/school.js b/src/libs/routes/school.js index 94b19a5c7fed02c8a4d6fee948d66de669b66b1b..0c35609fa5dc0eca9b4e0c7387dfe2c52ffcceb1 100644 --- a/src/libs/routes/school.js +++ b/src/libs/routes/school.js @@ -39,6 +39,14 @@ schoolApp.get('/adm_dependency_detailed', (req, res, next) => { next(); }, query, response('adm_dependency_detailed')); +schoolApp.get('/government_agreement', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('government_agreement')); + schoolApp.get('/agreement', (req, res, next) => { req.result = [ {id: 1, name: 'Estadual'}, @@ -48,6 +56,47 @@ schoolApp.get('/agreement', (req, res, next) => { next(); }, response('agreement')); +schoolApp.get('/building_school', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('building_school')); + +schoolApp.get('/informatics_lab', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('informatics_lab')); + + +schoolApp.get('/science_lab', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('/science_lab')); + +schoolApp.get('/directors_room', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('directors_room')); + +schoolApp.get('/teacher_room', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('teacher_room')); + schoolApp.get('/cook_room', (req, res, next) => { req.result = [ {id: 0, name: 'Não'}, @@ -56,13 +105,141 @@ schoolApp.get('/cook_room', (req, res, next) => { next(); }, response('cook_room')); -schoolApp.get('/government_agreement', (req, res, next) => { +schoolApp.get('/playground', (req, res, next) => { req.result = [ {id: 0, name: 'Não'}, {id: 1, name: 'Sim'} ]; next(); -}, response('government_agreement')); +}, response('playground')); + +schoolApp.get('/indor_sports_court', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('indor_sports_court')); + +schoolApp.get('/nusery', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('nusery')); + +schoolApp.get('/special_attendence_room', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('special_attendence_room')); + +schoolApp.get('/toilet_inside_building', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('toilet_inside_building')); + +schoolApp.get('/denpendency_pne', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('denpendency_pne')); + +schoolApp.get('/restroom_pne', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('restroom_pne')); + +schoolApp.get('/broadband', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('broadband')); + +schoolApp.get('/energy', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('energy')); + +schoolApp.get('/wastepipe', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('wastepipe')); + +schoolApp.get('/education_day_care_child', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('education_day_care_child')); + +schoolApp.get('/education_preschool_child', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('education_preschool_child')); + +schoolApp.get('/education_begin_elementary_school', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('education_begin_elementary_school')); + +schoolApp.get('/education_end_elementary_school', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('education_end_elementary_school')); + +schoolApp.get('/education_middle_school', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('education_middle_school')); + +schoolApp.get('/education_professional', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('education_professional')); + +schoolApp.get('/education_eja', (req, res, next) => { + req.result = [ + {id: 0, name: 'Não'}, + {id: 1, name: 'Sim'} + ]; + next(); +}, response('education_eja')); rqf.addField({ name: 'filter',