增加水文气象2016年链接
This commit is contained in:
parent
e042786e08
commit
ab93435b3b
|
@ -17,7 +17,7 @@ class HiwaterController extends DataController
|
||||||
{
|
{
|
||||||
$this->view->pageIn = "collapse2";
|
$this->view->pageIn = "collapse2";
|
||||||
}
|
}
|
||||||
else if(in_array($acName,array("hmon",'hmon2012','hmon2013','hmon2014','hmon2015','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','hmon2014up','hmon2014middle','hmon2014down','hmon2015up','hmon2015middle','hmon2015down','super','normal','prec')))
|
else if(in_array($acName,array("hmon",'hmon2012','hmon2013','hmon2014','hmon2015','hmon2016','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','hmon2014up','hmon2014middle','hmon2014down','hmon2015up','hmon2015middle','hmon2015down','hmon2016up','hmon2016middle','hmon2016down','super','normal','prec')))
|
||||||
{
|
{
|
||||||
$this->view->pageIn = "collapse3";
|
$this->view->pageIn = "collapse3";
|
||||||
}
|
}
|
||||||
|
@ -475,6 +475,29 @@ class HiwaterController extends DataController
|
||||||
$this->_helper->viewRenderer('base');
|
$this->_helper->viewRenderer('base');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function hmon2016Action()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2016','水文气象观测网'));
|
||||||
|
$archive = new Archive($this->db);
|
||||||
|
$this->view->info = $archive->getOneArchive('HiWATER:流域水文气象观测网','about');
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
function hmon2016upAction()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2016','上游寒区水文试验区','水文气象观测网'));
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
function hmon2016middleAction()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2016','中游人工绿洲试验区','水文气象观测网'));
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
function hmon2016downAction()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2016','下游天然绿洲试验区','水文气象观测网'));
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
|
||||||
function listAction()
|
function listAction()
|
||||||
{
|
{
|
||||||
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') order by timebegin,title";
|
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') order by timebegin,title";
|
||||||
|
|
|
@ -88,6 +88,17 @@
|
||||||
<li><a href="/hiwater/hmon2015down"><i class="icon-double-angle-right"></i>下游</a></li>
|
<li><a href="/hiwater/hmon2015down"><i class="icon-double-angle-right"></i>下游</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</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/hmon2016" title="查看详细">2016</a>
|
||||||
|
</div>
|
||||||
|
<ul class="nav nav-list tree">
|
||||||
|
<li><a href="/hiwater/hmon2016up"><i class="icon-double-angle-right"></i>上游</a></li>
|
||||||
|
<li><a href="/hiwater/hmon2016middle"><i class="icon-double-angle-right"></i>中游</a></li>
|
||||||
|
<li><a href="/hiwater/hmon2016down"><i class="icon-double-angle-right"></i>下游</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue