sjy-ecos/routes/ei.js

309 lines
7.2 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'
});
});
router.get('/landuse-landcover', function (req, res, next) {
res.render('ei', {
page_title: '土地利用土地覆被状况',
page_cont: 'inc',
inc_tag: 'landuse_landcover'
});
});
router.get('/water-density', function (req, res, next) {
res.render('ei', {
page_title: '水网密度指数',
page_cont: 'inc',
inc_tag: 'water_density'
});
});
router.get('/bio-abundanc', function (req, res, next) {
res.render('ei', {
page_title: '生物丰度指数',
page_cont: 'inc',
inc_tag: 'bio_abundanc'
});
});
router.get('/grassland', function (req, res, next) {
res.render('ei', {
page_title: '草地',
page_cont: 'inc',
inc_tag: 'grassland'
});
});
router.get('/wind-sand', function (req, res, next) {
res.render('ei', {
page_title: '防风固沙',
page_cont: 'inc',
inc_tag: 'wind_sand'
});
});
router.get('/env-quality', function (req, res, next) {
res.render('ei', {
page_title: '环境质量',
page_cont: 'inc',
inc_tag: 'env_quality'
});
});
router.get('/forest', function (req, res, next) {
res.render('ei', {
page_title: '森林状况',
page_cont: 'inc',
inc_tag: 'forest'
});
});
router.get('/eco-env', function (req, res, next) {
res.render('ei', {
page_title: '生态环境状况指数',
page_cont: 'inc',
inc_tag: 'eco_env'
});
});
router.get('/wetland', function (req, res, next) {
res.render('ei', {
page_title: '湿地',
page_cont: 'inc',
inc_tag: 'wetland'
});
});
router.get('/soil-erosion', function (req, res, next) {
res.render('ei', {
page_title: '土壤侵蚀状况',
page_cont: 'inc',
inc_tag: 'soil_erosion'
});
});
router.get('/grassland-ser', function (req, res, next) {
res.render('ei', {
page_title: '草地服务',
page_cont: 'inc',
inc_tag: 'grassland_ser'
});
});
router.get('/forage-ser', function (req, res, next) {
res.render('ei', {
page_title: '牧草产量',
page_cont: 'inc',
inc_tag: 'forage_ser'
});
});
router.get('/water-ser', function (req, res, next) {
res.render('ei', {
page_title: '水资源供给',
page_cont: 'inc',
inc_tag: 'water_ser'
});
});
router.get('/landusover', function (req, res, next) {
res.render('ei', {
page_title: '土地利用土地覆被状况',
page_cont: 'inc',
inc_tag: 'landuse_landcover'
});
});
router.get('/precipitation', function (req, res, next) {
res.render('ei', {
page_title: '降水',
page_cont: 'inc',
inc_tag: 'precipitation'
});
});
router.get('/temperature', function (req, res, next) {
res.render('ei', {
page_title: '气温',
page_cont: 'inc',
inc_tag: 'temperature'
});
});
router.get('/sunshine', function (req, res, next) {
res.render('ei', {
page_title: '日照',
page_cont: 'inc',
inc_tag: 'sunshine'
});
});
module.exports = router;