hiwater\view中添加了dataservice判定
This commit is contained in:
parent
643ccaad7a
commit
f66616d0dc
|
@ -12,6 +12,9 @@
|
|||
$this->theme->AppendPlus($this,'google_map_v3');
|
||||
$this->theme->AppendPlus($this,'colorbox');
|
||||
$this->nav[] = array('link'=>"/hiwater",'title'=>'黑河生态水文遥感试验');
|
||||
if(!empty($this->dataService)) {
|
||||
$this->theme->AppendModel($this,"dataservice");
|
||||
}
|
||||
?>
|
||||
<style>
|
||||
h3.gs_rt{font-size:110%;}
|
||||
|
@ -358,7 +361,13 @@ endforeach;
|
|||
在线下载
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<?php
|
||||
if(!empty($this->dataService)) { ?>
|
||||
<?php $this->theme->AppendPlus($this,'datepicker'); ?>
|
||||
<a href="javascript:void(0);" class="btn btn-primary btn-large btn-block" title="此数据需要选择要下载的子集" onclick="westdc.dataservice.choiceData('<?= $md->uuid ?>',this);">
|
||||
<?php }else{ ?>
|
||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
||||
<?php } ?>
|
||||
放入数据篮
|
||||
</a>
|
||||
<?php endif;endif; ?>
|
||||
|
|
Loading…
Reference in New Issue