+ update reports

This commit is contained in:
tix 2016-12-26 15:41:30 +08:00
parent 98a3f67fac
commit 607e0f3a2e
8 changed files with 177575 additions and 1 deletions

View File

@ -4,7 +4,7 @@ var json_tree_nav = '[{"text":"遥感监测","nodes":[{"text":"土地利用/土
var json_tree_intro = '[{"text":"自然地理概况","nodes":[{"text":"地理位置","href":"/intro/location"},{"text":"地质地貌","href":"/intro/landform"},{"text":"气候","href":"/intro/climate"},{"text":"水文","href":"/intro/hydrology"},{"text":"土壤","href":"/intro/soil"},{"text":"植被","href":"/intro/vegetation"},{"text":"野生动物","href":"/intro/wildlife"}]},{"text":"社会经济条件","nodes":[{"text":"行政区划","href":"/intro/administrative_area"},{"text":"人口及民族","href":"/intro/population"},{"text":"土地","href":"/intro/land"},{"text":"交通","href":"/intro/traffic"},{"text":"通讯","href":"/intro/communication"}]}]';
var json_tree_origin = '[{"text":"遥感监测","nodes":[{"text":"土地利用/土地覆盖","href":"/origin/land_use"},{"text":"生态环境质量状况"},{"text":"牧草产量"},{"text":"土壤侵蚀"}]},{"text":"地面监测","nodes":[{"text":"气象监测","href":"/origin/meteorological"},{"text":"水文水资源监测"},{"text":"草地生态监测"},{"text":"森林监测"},{"text":"沙化土地监测"},{"text":"湿地监测"},{"text":"土保持监测","href":"/origin/soil_and_water_conservation"},{"text":"环境质量监测"}]},{"text":"社会经济调查"}]';
var json_tree_origin = '[{"text":"遥感监测","nodes":[{"text":"土地利用/土地覆盖","href":"/origin/land_use"},{"text":"生态环境质量状况"},{"text":"牧草产量"},{"text":"土壤侵蚀","href":"/origin/soil_erosion"}]},{"text":"地面监测","nodes":[{"text":"气象监测","href":"/origin/meteorological"},{"text":"水文水资源监测","href":"/origin/water"},{"text":"草地生态监测","href":"/origin/grass"},{"text":"森林监测","href":"/origin/forest"},{"text":"沙化土地监测","href":"/origin/desertification"},{"text":"湿地监测"},{"text":"土保持监测","href":"/origin/soil_and_water_conservation"},{"text":"环境质量监测"}]},{"text":"社会经济调查","nodes":[{"text":"人口","href":"#"},{"text":"社会经济","href":"#"},{"text":"环境保护机构","href":"#"},{"text":"污染源","href":"#"},{"text":"生态移民","href":"#"},{"text":"工程项目","href":"#"}]}]';
var json_tree_ei = '[{"text":"生态系统宏观结构","nodes":[{"text":"生态系统宏观结构特征"},{"text":"草地退化/恢复"},{"text":"群落结构特征"}]},{"text":"生态系统质量","nodes":[{"text":"生产力"},{"text":"地表覆盖"},{"text":"环境质量"},{"text":"多年冻土"}]},{"text":"生态系统服务功能","nodes":[{"text":"水分调节"},{"text":"持水能力"},{"text":"径流调节"},{"text":"水土保持"},{"text":"防风固沙"},{"text":"牧草供给"},{"text":"水供给"},{"text":"栖息地隐蔽性"},{"text":"栖息地食物供给"},{"text":"栖息地水源供给"},{"text":"人类干扰程度"}]},{"text":"生态系统变化的影响","nodes":[{"text":"气候变化"},{"text":"人类活动"}]}]';

View File

@ -34,5 +34,37 @@ router.get('/soil_and_water_conservation', function (req, res, next) {
});
});
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('desertification', {
page_title: '水文水资源监测',
page_cont: 'inc',
inc_tag: 'water'
});
});
module.exports = router;

18514
views/inc/forest.html Normal file

File diff suppressed because it is too large Load Diff

50895
views/inc/grass.html Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

59365
views/inc/soil_erosion.html Normal file

File diff suppressed because it is too large Load Diff

32756
views/inc/water.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -15,6 +15,21 @@
<% if (inc_tag == 'soil_and_water_conservation') { %>
<%- include('inc/soil_and_water_conservation.html') %>
<% } %>
<% if (inc_tag == 'grass') { %>
<%- include('inc/grass.html') %>
<% } %>
<% if (inc_tag == 'soil_erosion') { %>
<%- include('inc/soil_erosion.html') %>
<% } %>
<% if (inc_tag == 'forest') { %>
<%- include('inc/forest.html') %>
<% } %>
<% if (inc_tag == 'water') { %>
<%- include('inc/water.html') %>
<% } %>
<% if (inc_tag == 'desertification') { %>
<%- include('inc/desertification.html') %>
<% } %>
<% } else { %>
<%- page_cont ? page_cont : '' %>
<% } %>