sjy-ecos/routes/origin.js

84 lines
1.5 KiB
JavaScript
Raw Normal View History

2016-12-23 10:16:12 +00:00
var express = require('express');
var router = express.Router();
router.get('/', function (req, res, next) {
res.render('origin', {
2016-12-26 04:03:43 +00:00
page_title: '原始监测数据',
page_cont: null
2016-12-23 10:16:12 +00:00
});
});
2016-12-26 04:00:57 +00:00
router.get('/land_use', function (req, res, next) {
res.render('origin', {
page_title: '土地利用/土地覆盖',
page_cont: 'inc',
inc_tag: 'land_use'
});
});
2016-12-26 04:22:48 +00:00
router.get('/meteorological', function (req, res, next) {
res.render('origin', {
page_title: '气象监测',
page_cont: 'inc',
inc_tag: 'meteorological'
});
});
2016-12-26 05:11:03 +00:00
router.get('/soil_and_water_conservation', function (req, res, next) {
res.render('origin', {
page_title: '水土保持',
page_cont: 'inc',
inc_tag: 'soil_and_water_conservation'
});
});
2016-12-26 07:50:47 +00:00
2016-12-26 07:41:30 +00:00
router.get('/grass', function (req, res, next) {
res.render('origin', {
page_title: '草地生态监测',
page_cont: 'inc',
inc_tag: 'grass'
});
});
2016-12-26 07:50:47 +00:00
2016-12-26 07:41:30 +00:00
router.get('/forest', function (req, res, next) {
res.render('origin', {
page_title: '森林监测',
page_cont: 'inc',
inc_tag: 'forest'
});
});
2016-12-26 07:50:47 +00:00
2016-12-26 07:41:30 +00:00
router.get('/water', function (req, res, next) {
res.render('origin', {
page_title: '水文水资源监测',
page_cont: 'inc',
inc_tag: 'water'
});
});
2016-12-26 07:50:47 +00:00
2016-12-26 07:41:30 +00:00
router.get('/desertification', function (req, res, next) {
2016-12-26 07:44:46 +00:00
res.render('origin', {
page_title: '沙化土地监测',
2016-12-26 07:41:30 +00:00
page_cont: 'inc',
2016-12-26 07:44:46 +00:00
inc_tag: 'desertification'
2016-12-26 07:41:30 +00:00
});
});
2016-12-26 05:11:03 +00:00
2016-12-26 07:50:47 +00:00
router.get('/soil_erosion', function (req, res, next) {
res.render('origin', {
page_title: '土壤侵蚀',
page_cont: 'inc',
inc_tag: 'soil_erosion'
});
});
2016-12-23 10:16:12 +00:00
module.exports = router;