增加水文气象2017年链接
This commit is contained in:
parent
ab93435b3b
commit
bb47e715b6
|
@ -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','hmon2016','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','hmon2014up','hmon2014middle','hmon2014down','hmon2015up','hmon2015middle','hmon2015down','hmon2016up','hmon2016middle','hmon2016down','super','normal','prec')))
|
else if(in_array($acName,array("hmon",'hmon2012','hmon2013','hmon2014','hmon2015','hmon2016','hmon2017','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','hmon2014up','hmon2014middle','hmon2014down','hmon2015up','hmon2015middle','hmon2015down','hmon2016up','hmon2016middle','hmon2016down','hmon2017up','hmon2017middle','hmon2017down','super','normal','prec')))
|
||||||
{
|
{
|
||||||
$this->view->pageIn = "collapse3";
|
$this->view->pageIn = "collapse3";
|
||||||
}
|
}
|
||||||
|
@ -498,6 +498,29 @@ class HiwaterController extends DataController
|
||||||
$this->_helper->viewRenderer('base');
|
$this->_helper->viewRenderer('base');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function hmon2017Action()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2017','水文气象观测网'));
|
||||||
|
$archive = new Archive($this->db);
|
||||||
|
$this->view->info = $archive->getOneArchive('HiWATER:流域水文气象观测网','about');
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
function hmon2016upAction()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2017','上游寒区水文试验区','水文气象观测网'));
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
function hmon2016middleAction()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2017','中游人工绿洲试验区','水文气象观测网'));
|
||||||
|
$this->_helper->viewRenderer('base');
|
||||||
|
}
|
||||||
|
function hmon2016downAction()
|
||||||
|
{
|
||||||
|
$this->getmdrestricted(array('2017','下游天然绿洲试验区','水文气象观测网'));
|
||||||
|
$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";
|
||||||
|
|
|
@ -99,6 +99,17 @@
|
||||||
<li><a href="/hiwater/hmon2016down"><i class="icon-double-angle-right"></i>下游</a></li>
|
<li><a href="/hiwater/hmon2016down"><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/hmon2017" title="查看详细">2016</a>
|
||||||
|
</div>
|
||||||
|
<ul class="nav nav-list tree">
|
||||||
|
<li><a href="/hiwater/hmon2017up"><i class="icon-double-angle-right"></i>上游</a></li>
|
||||||
|
<li><a href="/hiwater/hmon2017middle"><i class="icon-double-angle-right"></i>中游</a></li>
|
||||||
|
<li><a href="/hiwater/hmon2017down"><i class="icon-double-angle-right"></i>下游</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue