fixed bug

This commit is contained in:
jack 2018-08-15 01:52:04 +08:00
parent 7d0ff8e858
commit 3a1cfc89b8
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@
<?php if (!isset($item['stid']) || !$item['stid']>0) : ?>
<a class="label label-primary" href="/admin/data/spatial/ac/edit/uuid/<?php echo $item['uuid']; ?>">数据时空范围采集</a>
<?php endif; ?>
<a class="label label-primary" id="data-list-btn" data-uuid="<?php echo $item['uuid']; ?>">数据列表</a>
<a class="label label-primary data-list-btn" data-uuid="<?php echo $item['uuid']; ?>">数据列表</a>
</p>
<?php if($item['author']) :?>
<p>数据贡献者:<?= $item['author']; ?></p>
@ -124,7 +124,7 @@
function Alert(html) {
$.colorbox({ 'innerWidth': '50%', 'html': '<h4 style="font-size:16px;font-weight:bold;">' + html + '</h4>' });
}
$('#data-list-btn').click(function(){
$('.data-list-btn').click(function(){
$('#file-list').modal('show')
$.get('/service/filelist/uuid/' + $(this).data('uuid')).success(function(data){