76 lines
1.4 KiB
JavaScript
76 lines
1.4 KiB
JavaScript
var express = require('express');
|
|
var router = express.Router();
|
|
|
|
router.get('/', function (req, res, next) {
|
|
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'
|
|
});
|
|
});
|
|
|
|
|
|
module.exports = router;
|