120 lines
2.2 KiB
JavaScript
120 lines
2.2 KiB
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('/ecology', function (req, res, next) {
|
|
res.render('origin', {
|
|
page_title: '生态环境质量状况',
|
|
page_cont: 'inc',
|
|
inc_tag: 'ecology'
|
|
});
|
|
});
|
|
|
|
|
|
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'
|
|
});
|
|
});
|
|
|
|
|
|
router.get('/grass', function (req, res, next) {
|
|
res.render('origin', {
|
|
page_title: '草地生态监测',
|
|
page_cont: 'inc',
|
|
inc_tag: 'grass'
|
|
});
|
|
});
|
|
|
|
|
|
router.get('/forest', function (req, res, next) {
|
|
res.render('origin', {
|
|
page_title: '森林监测',
|
|
page_cont: 'inc',
|
|
inc_tag: 'forest'
|
|
});
|
|
});
|
|
|
|
|
|
router.get('/water', function (req, res, next) {
|
|
res.render('origin', {
|
|
page_title: '水文水资源监测',
|
|
page_cont: 'inc',
|
|
inc_tag: 'water'
|
|
});
|
|
});
|
|
|
|
|
|
router.get('/desertification', function (req, res, next) {
|
|
res.render('origin', {
|
|
page_title: '沙化土地监测',
|
|
page_cont: 'inc',
|
|
inc_tag: 'desertification'
|
|
});
|
|
});
|
|
|
|
|
|
router.get('/soil_erosion', function (req, res, next) {
|
|
res.render('origin', {
|
|
page_title: '土壤侵蚀',
|
|
page_cont: 'inc',
|
|
inc_tag: 'soil_erosion'
|
|
});
|
|
});
|
|
|
|
|
|
router.get('/wetland', function (req, res, next) {
|
|
res.render('origin', {
|
|
page_title: '湿地监测',
|
|
page_cont: 'inc',
|
|
inc_tag: 'wetland'
|
|
});
|
|
});
|
|
|
|
|
|
router.get('/forage_yield', function (req, res, next) {
|
|
res.render('origin', {
|
|
page_title: '牧草产量',
|
|
page_cont: 'inc',
|
|
inc_tag: 'forage_yield'
|
|
});
|
|
});
|
|
|
|
|
|
router.get('/env_quality_monitoring', function (req, res, next) {
|
|
res.render('origin', {
|
|
page_title: '环境质量监测',
|
|
page_cont: 'inc',
|
|
inc_tag: 'env_quality_monitoring'
|
|
});
|
|
});
|
|
|
|
|
|
module.exports = router;
|