通过按钮仅在收到后执行

This commit is contained in:
wlx 2014-09-18 03:47:17 +00:00
parent 7893742c44
commit 419c627e17
1 changed files with 2 additions and 1 deletions

View File

@ -73,8 +73,9 @@
<span id="start_<?= $item['id']; ?>"> <span id="start_<?= $item['id']; ?>">
<a class="label label-success" href="javascript:action('start',<?= $item['id']; ?>);" onclick="return confirm('确定收到该申请?')">收到</a> <a class="label label-success" href="javascript:action('start',<?= $item['id']; ?>);" onclick="return confirm('确定收到该申请?')">收到</a>
</span> </span>
<?php endif; ?> <?php else: ?>
<a class="label label-success" href="javascript:action('finish',<?= $item['id']; ?>);" onclick="return confirm('确定确定通过该申请?')">通过</a> <a class="label label-success" href="javascript:action('finish',<?= $item['id']; ?>);" onclick="return confirm('确定确定通过该申请?')">通过</a>
<?php endif; ?>
<a class="label label-danger" href="javascript:action('deleted',<?= $item['id']; ?>);" onclick="return confirm('确定将此记录删除?')">删除</a> <a class="label label-danger" href="javascript:action('deleted',<?= $item['id']; ?>);" onclick="return confirm('确定将此记录删除?')">删除</a>
<?php if ($item['datastatus']!=-1) : ?> <?php if ($item['datastatus']!=-1) : ?>
<a class="label label-warning" href="javascript:action('deny',<?= $item['id']; ?>);" onclick="return confirm('确定拒绝该申请?')">拒绝</a> <a class="label label-warning" href="javascript:action('deny',<?= $item['id']; ?>);" onclick="return confirm('确定拒绝该申请?')">拒绝</a>