sjy-ecos/routes/origin.js

39 lines
763 B
JavaScript

var express = require('express');
var router = express.Router();
router.get('/', function (req, res, next) {
res.render('origin', {
page_title: '原始监测数据',
page_cont: null
});
});
router.get('/land_use', function (req, res, next) {
res.render('origin', {
page_title: '土地利用/土地覆盖',
page_cont: 'inc',
inc_tag: 'land_use'
});
});
router.get('/meteorological', function (req, res, next) {
res.render('origin', {
page_title: '气象监测',
page_cont: 'inc',
inc_tag: 'meteorological'
});
});
router.get('/soil_and_water_conservation', function (req, res, next) {
res.render('origin', {
page_title: '水土保持',
page_cont: 'inc',
inc_tag: 'soil_and_water_conservation'
});
});
module.exports = router;