sjy-ecos/routes/network.js

76 lines
1.4 KiB
JavaScript
Raw Normal View History

2018-01-28 18:12:59 +00:00
var express = require('express');
var router = express.Router();
router.get('/', function (req, res, next) {
2018-01-29 07:54:44 +00:00
res.render('network', {
page_title: '监测网络',
page_cont: null
});
});
router.get('/meteorological', function (req, res, next) {
res.render('network', {
page_title: '气象监测',
page_cont: 'inc',
inc_tag: 'meteorological'
});
});
router.get('/hydrology', function (req, res, next) {
res.render('network', {
page_title: '水文水资源监测',
page_cont: 'inc',
inc_tag: 'hydrology'
});
});
router.get('/grass', function (req, res, next) {
res.render('network', {
page_title: '草地生态监测',
page_cont: 'inc',
inc_tag: 'grass'
});
});
router.get('/forest', function (req, res, next) {
res.render('network', {
page_title: '森林监测',
page_cont: 'inc',
inc_tag: 'forest'
});
});
router.get('/desertification', function (req, res, next) {
res.render('network', {
page_title: '沙化土地监测',
page_cont: 'inc',
inc_tag: 'desertification'
});
});
router.get('/wetland', function (req, res, next) {
res.render('network', {
page_title: '湿地监测',
page_cont: 'inc',
inc_tag: 'wetland'
});
});
router.get('/soil-water-conservation', function (req, res, next) {
res.render('network', {
page_title: '水土保持',
page_cont: 'inc',
inc_tag: 'soil_and_water_conservation'
});
2018-01-28 18:12:59 +00:00
});
module.exports = router;