sjy-ecos/routes/origin.js

176 lines
3.6 KiB
JavaScript
Raw Normal View History

2016-12-23 10:16:12 +00:00
var express = require('express');
var router = express.Router();
2017-01-09 08:41:53 +00:00
2016-12-23 10:16:12 +00:00
router.get('/', function (req, res, next) {
res.render('origin', {
2016-12-26 04:03:43 +00:00
page_title: '原始监测数据',
page_cont: null
2016-12-23 10:16:12 +00:00
});
});
2016-12-26 04:00:57 +00:00
router.get('/land_use', function (req, res, next) {
res.render('origin', {
page_title: '土地利用/土地覆盖',
page_cont: 'inc',
inc_tag: 'land_use'
});
});
2016-12-26 09:39:53 +00:00
router.get('/ecology', function (req, res, next) {
res.render('origin', {
page_title: '生态环境质量状况',
page_cont: 'inc',
inc_tag: 'ecology'
});
});
2016-12-26 04:00:57 +00:00
2016-12-26 04:22:48 +00:00
router.get('/meteorological', function (req, res, next) {
res.render('origin', {
page_title: '气象监测',
page_cont: 'inc',
inc_tag: 'meteorological'
});
});
2016-12-26 05:11:03 +00:00
router.get('/soil_and_water_conservation', function (req, res, next) {
res.render('origin', {
page_title: '水土保持',
page_cont: 'inc',
inc_tag: 'soil_and_water_conservation'
});
});
2016-12-26 07:50:47 +00:00
2016-12-26 07:41:30 +00:00
router.get('/grass', function (req, res, next) {
res.render('origin', {
page_title: '草地生态监测',
page_cont: 'inc',
inc_tag: 'grass'
});
});
2016-12-26 07:50:47 +00:00
2016-12-26 07:41:30 +00:00
router.get('/forest', function (req, res, next) {
res.render('origin', {
page_title: '森林监测',
page_cont: 'inc',
inc_tag: 'forest'
});
});
2016-12-26 07:50:47 +00:00
2017-02-07 09:49:34 +00:00
router.get('/hydrology', function (req, res, next) {
2016-12-26 07:41:30 +00:00
res.render('origin', {
page_title: '水文水资源监测',
page_cont: 'inc',
2017-02-07 09:49:34 +00:00
inc_tag: 'hydrology'
2016-12-26 07:41:30 +00:00
});
});
2016-12-26 07:50:47 +00:00
2016-12-26 07:41:30 +00:00
router.get('/desertification', function (req, res, next) {
2016-12-26 07:44:46 +00:00
res.render('origin', {
page_title: '沙化土地监测',
2016-12-26 07:41:30 +00:00
page_cont: 'inc',
2016-12-26 07:44:46 +00:00
inc_tag: 'desertification'
2016-12-26 07:41:30 +00:00
});
});
2016-12-26 05:11:03 +00:00
2016-12-26 07:50:47 +00:00
router.get('/soil_erosion', function (req, res, next) {
res.render('origin', {
page_title: '土壤侵蚀',
page_cont: 'inc',
inc_tag: 'soil_erosion'
});
});
2016-12-26 08:00:38 +00:00
router.get('/wetland', function (req, res, next) {
res.render('origin', {
page_title: '湿地监测',
page_cont: 'inc',
inc_tag: 'wetland'
});
});
2016-12-26 08:04:56 +00:00
router.get('/forage_yield', function (req, res, next) {
res.render('origin', {
page_title: '牧草产量',
page_cont: 'inc',
inc_tag: 'forage_yield'
});
});
2016-12-26 08:08:58 +00:00
router.get('/env_quality_monitoring', function (req, res, next) {
res.render('origin', {
page_title: '环境质量监测',
page_cont: 'inc',
inc_tag: 'env_quality_monitoring'
});
});
2017-02-08 10:58:18 +00:00
router.get('/se/animal_products', function (req, res, next) {
res.render('origin', {
page_title: '畜产品产量统计表',
page_cont: 'inc',
inc_tag: 'se_animal_products'
});
});
router.get('/se/basic', function (req, res, next) {
res.render('origin', {
page_title: '基本情况',
page_cont: 'inc',
inc_tag: 'se_basic'
});
});
router.get('/se/grassland_construction', function (req, res, next) {
res.render('origin', {
page_title: '草原建设',
page_cont: 'inc',
inc_tag: 'se_grassland_construction'
});
});
router.get('/se/grazing_prohibition', function (req, res, next) {
res.render('origin', {
page_title: '禁牧减畜统计表',
page_cont: 'inc',
inc_tag: 'se_grazing_prohibition'
});
});
router.get('/se/herbivorous_livestock', function (req, res, next) {
res.render('origin', {
page_title: '草食牲畜数量',
page_cont: 'inc',
inc_tag: 'se_herbivorous_livestock'
});
});
router.get('/se/spe', function (req, res, next) {
res.render('origin', {
page_title: '畜牧业生产效益',
page_cont: 'inc',
inc_tag: 'se_livestock_production_efficiency'
});
});
router.get('/se/output_value', function (req, res, next) {
res.render('origin', {
page_title: '农牧业产值、经济收入及费用',
page_cont: 'inc',
inc_tag: 'se_output_value_of_agriculture_and_animal_husbandry'
});
});
2016-12-23 10:16:12 +00:00
module.exports = router;