+ land_use cont
This commit is contained in:
parent
82201e5a5a
commit
3ff37e4bb3
|
@ -3,7 +3,7 @@ var json_tree_nav = '[{"text":"遥感监测","nodes":[{"text":"土地利用/土
|
||||||
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":"人类活动"}]}]';
|
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":"人类活动"}]}]';
|
||||||
|
|
||||||
|
|
||||||
var json_tree_origin = '[{"text":"遥感监测","nodes":[{"text":"土地利用/土地覆盖"},{"text":"生态环境质量状况"},{"text":"牧草产量"}]},{"text":"地面监测结果","nodes":[{"text":"气象监测","href":"/ei/station_weather"},{"text":"水文水资源监测"},{"text":"草地生态监测"},{"text":"森林监测"},{"text":"沙化土地监测"},{"text":"湿地监测"},{"text":"水土保持监测结果"}]},{"text":"环境质量监测结果"}]';
|
var json_tree_origin = '[{"text":"遥感监测","nodes":[{"text":"土地利用/土地覆盖","href":"/origin/land_use"},{"text":"生态环境质量状况"},{"text":"牧草产量"}]},{"text":"地面监测结果","nodes":[{"text":"气象监测","href":"/ei/station_weather"},{"text":"水文水资源监测"},{"text":"草地生态监测"},{"text":"森林监测"},{"text":"沙化土地监测"},{"text":"湿地监测"},{"text":"水土保持监测结果"}]},{"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_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"}]}]';
|
||||||
|
|
|
@ -3,8 +3,17 @@ var router = express.Router();
|
||||||
|
|
||||||
router.get('/', function (req, res, next) {
|
router.get('/', function (req, res, next) {
|
||||||
res.render('origin', {
|
res.render('origin', {
|
||||||
page_title: '原始监测数据 '
|
page_title: '原始监测数据'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
router.get('/land_use', function (req, res, next) {
|
||||||
|
res.render('origin', {
|
||||||
|
page_title: '土地利用/土地覆盖',
|
||||||
|
page_cont: 'inc',
|
||||||
|
inc_tag: 'land_use'
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -5,9 +5,13 @@
|
||||||
<div id="tree"></div>
|
<div id="tree"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9 col-xs-12">
|
<div class="col-md-9 col-xs-12">
|
||||||
<div id="chart-bar"></div>
|
<% if (page_cont == 'inc') { %>
|
||||||
<div id="chart-line"></div>
|
<% if (inc_tag == 'land_use') { %>
|
||||||
<div id="map-pop"></div>
|
<%- include('inc/land_use.html') %>
|
||||||
|
<% } %>
|
||||||
|
<% } else { %>
|
||||||
|
<%- page_cont ? page_cont : '' %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue