sjy-ecos/routes/ei.js

176 lines
3.7 KiB
JavaScript

var express = require('express');
var router = express.Router();
router.get('/', function (req, res, next) {
res.render('ei', {
page_cont: null,
page_title: '评价指标数据'
});
});
router.get('/classification_area', function (req, res, next) {
res.render('ei', {
page_title: '分类面积',
page_cont: 'inc',
inc_tag: 'classification_area'
});
});
router.get('/rate_of_change', function (req, res, next) {
res.render('ei', {
page_title: '动态度',
page_cont: 'inc',
inc_tag: 'rate_of_change'
});
});
router.get('/dynamic_degree', function (req, res, next) {
res.render('ei', {
page_title: '动态度',
page_cont: 'inc',
inc_tag: 'dynamic_degree'
});
});
router.get('/emsci', function (req, res, next) {
res.render('ei', {
page_title: '宏观结构变化指数',
page_cont: 'inc',
inc_tag: 'emsci'
});
});
router.get('/gdar', function (req, res, next) {
res.render('ei', {
page_title: '草地退化与恢复',
page_cont: 'inc',
inc_tag: 'gdar'
});
});
router.get('/vegetation_status', function (req, res, next) {
res.render('ei', {
page_title: '植被状况',
page_cont: 'inc',
inc_tag: 'vegetation_status'
});
});
router.get('/macro_ecological_situation', function (req, res, next) {
res.render('ei', {
page_title: '宏观生态状况',
page_cont: 'inc',
inc_tag: 'macro_ecological_situation'
});
});
router.get('/plant_species_diversity', function (req, res, next) {
res.render('ei', {
page_title: '植物物种多样性',
page_cont: 'inc',
inc_tag: 'plant_species_diversity'
});
});
router.get('/env_uality', function (req, res, next) {
res.render('ei', {
page_title: '环境质量',
page_cont: 'inc',
inc_tag: 'env_uality'
});
});
router.get('/permafrost_upper_limit', function (req, res, next) {
res.render('ei', {
page_title: '多年冻土上限',
page_cont: 'inc',
inc_tag: 'permafrost_upper_limit'
});
});
router.get('/ecosystem_quality_change_index', function (req, res, next) {
res.render('ei', {
page_title: '生态系统质量变化指数',
page_cont: 'inc',
inc_tag: 'ecosystem_quality_change_index'
});
});
router.get('/water_conservation', function (req, res, next) {
res.render('ei', {
page_title: '水源涵养',
page_cont: 'inc',
inc_tag: 'water_conservation'
});
});
router.get('/soil_conservation', function (req, res, next) {
res.render('ei', {
page_title: '土壤保持',
page_cont: 'inc',
inc_tag: 'soil_conservation'
});
});
router.get('/wind_and_sand', function (req, res, next) {
res.render('ei', {
page_title: '防风固沙',
page_cont: 'inc',
inc_tag: 'wind_and_sand'
});
});
router.get('/forage_supply', function (req, res, next) {
res.render('ei', {
page_title: '牧草供给',
page_cont: 'inc',
inc_tag: 'forage_supply'
});
});
router.get('/water_supply', function (req, res, next) {
res.render('ei', {
page_title: '水供给',
page_cont: 'inc',
inc_tag: 'water_supply'
});
});
router.get('/ecosystem_service', function (req, res, next) {
res.render('ei', {
page_title: '生态系统服务功能变化指数',
page_cont: 'inc',
inc_tag: 'ecosystem_service'
});
});
router.get('/climate_change', function (req, res, next) {
res.render('ei', {
page_title: '气候变化',
page_cont: 'inc',
inc_tag: 'climate_change'
});
});
router.get('/human_activity', function (req, res, next) {
res.render('ei', {
page_title: '人类活动',
page_cont: 'inc',
inc_tag: 'human_activity'
});
});
router.get('/contribution_of_climate_change', function (req, res, next) {
res.render('ei', {
page_title: '生态工程和气候变化贡献率',
page_cont: 'inc',
inc_tag: 'contribution_of_climate_change'
});
});
// Vegetation status
module.exports = router;