通过按钮仅在收到后执行
This commit is contained in:
parent
7893742c44
commit
419c627e17
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue