添加hiwater 水文气象2014年数据导航

This commit is contained in:
wlx 2015-06-03 17:03:04 +08:00
parent 4466ce594c
commit 60b419d225
2 changed files with 34 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class HiwaterController extends DataController
{
$this->view->pageIn = "collapse2";
}
else if(in_array($acName,array("hmon",'hmon2012','hmon2013','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','super','normal','prec')))
else if(in_array($acName,array("hmon",'hmon2012','hmon2013','hmon2014','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','hmon2014up','hmon2014middle','hmon2014down','super','normal','prec')))
{
$this->view->pageIn = "collapse3";
}
@ -399,6 +399,13 @@ class HiwaterController extends DataController
$this->view->info = $archive->getOneArchive('HiWATER流域水文气象观测网','about');
$this->_helper->viewRenderer('base');
}
function hmon2014Action()
{
$this->getmdrestricted(array('2014','水文气象观测网'));
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('HiWATER流域水文气象观测网','about');
$this->_helper->viewRenderer('base');
}
function hmon2012upAction()
{
$this->getmdrestricted(array('2012','上游寒区水文试验区','水文气象观测网'));
@ -429,6 +436,21 @@ class HiwaterController extends DataController
$this->getmdrestricted(array('2013','下游天然绿洲试验区','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function hmon2014upAction()
{
$this->getmdrestricted(array('2014','上游寒区水文试验区','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function hmon2014middleAction()
{
$this->getmdrestricted(array('2014','中游人工绿洲试验区','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function hmon2014downAction()
{
$this->getmdrestricted(array('2014','下游天然绿洲试验区','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function listAction()
{

View File

@ -66,6 +66,17 @@
<li><a href="/hiwater/hmon2013down"><i class="icon-double-angle-right"></i>下游</a></li>
</ul>
</li>
<li>
<div class="tree-toggle accordion-heading">
<a href="#" class="detail-link pull-right"><i class="icon-plus"></i></a>
<a class="accordion-toggle" href="/hiwater/hmon2014" title="查看详细">2014</a>
</div>
<ul class="nav nav-list tree">
<li><a href="/hiwater/hmon2014up"><i class="icon-double-angle-right"></i>上游</a></li>
<li><a href="/hiwater/hmon2014middle"><i class="icon-double-angle-right"></i>中游</a></li>
<li><a href="/hiwater/hmon2014down"><i class="icon-double-angle-right"></i>下游</a></li>
</ul>
</li>
</ul>
</li>