修改附件下载地址

This commit is contained in:
wlx 2012-12-01 10:59:14 +00:00
parent 47a173c904
commit 5f983dcbcb
2 changed files with 3 additions and 2 deletions

View File

@ -80,7 +80,7 @@
<td> <td>
<a href="/admin/data/attachments/edit/<?= $item['id']; ?>">编辑</a> | <a href="/admin/data/attachments/edit/<?= $item['id']; ?>">编辑</a> |
<a href="javascript:delatt(<?= $item['id']; ?>);" onclick="return confirm('是否确定删除该附件?')">删除</a> | <a href="javascript:delatt(<?= $item['id']; ?>);" onclick="return confirm('是否确定删除该附件?')">删除</a> |
<a href="/admin/data/attachments/down/<?= $item['id']; ?>">下载</a> <a href="/service/attach/id/<?= $item['id']; ?>">下载</a>
</td> </td>
</tr> </tr>
<?php endforeach; ?> <?php endforeach; ?>

View File

@ -22,6 +22,7 @@
<div class="ctrlplan"> <div class="ctrlplan">
<a href="/admin/data/md/att/1/uuid/<?php echo $this->uuid;?>">返回元数据附件列表</a> <a href="/admin/data/md/att/1/uuid/<?php echo $this->uuid;?>">返回元数据附件列表</a>
<a href="/data/<?php echo $this->uuid; ?>">查看元数据</a> <a href="/data/<?php echo $this->uuid; ?>">查看元数据</a>
<a href="/admin/data/attachments/">返回附件管理</a>
</div> </div>
<form action="#" method="POST" enctype='multipart/form-data'> <form action="#" method="POST" enctype='multipart/form-data'>