sjy-ecos/routes/origin.js

39 lines
763 B
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-23 10:16:12 +00:00
module.exports = router;