* Finish task #3224.

This commit is contained in:
pengjiangxiu
2017-09-20 15:37:26 +08:00
parent da796c772c
commit 6a8f072e42
9 changed files with 37 additions and 19 deletions
+5 -5
View File
@@ -55,11 +55,11 @@ js::set('browseType', $browseType);
<td colspan='<?php echo $columns;?>'>
<div class='table-actions clearfix'>
<?php
$canBatchEdit = common::hasPriv('task', 'batchEdit', $task);
$canBatchClose = (common::hasPriv('task', 'batchClose', $task) && strtolower($browseType) != 'closedBy');
$canBatchCancel = common::hasPriv('task', 'batchCancel', $task);
$canBatchChangeModule = common::hasPriv('task', 'batchChangeModule', $task);
$canBatchAssignTo = common::hasPriv('task', 'batchAssignTo', $task);
$canBatchEdit = common::hasPriv('task', 'batchEdit', !empty($task) ? $task : null);
$canBatchClose = (common::hasPriv('task', 'batchClose', !empty($task) ? $task : null) && strtolower($browseType) != 'closedBy');
$canBatchCancel = common::hasPriv('task', 'batchCancel', !empty($task) ? $task : null);
$canBatchChangeModule = common::hasPriv('task', 'batchChangeModule', !empty($task) ? $task : null);
$canBatchAssignTo = common::hasPriv('task', 'batchAssignTo', !empty($task) ? $task : null);
if(count($tasks))
{
echo html::selectButton();