80 lines
1.6 KiB
JavaScript
80 lines
1.6 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'
|
|
});
|
|
});
|
|
|
|
|
|
// Vegetation status
|
|
|
|
module.exports = router;
|