* Finish task #3210.

This commit is contained in:
pengjiangxiu
2017-09-19 13:56:39 +08:00
parent d343eebc93
commit 41a2fc9a8f
63 changed files with 418 additions and 207 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');
$canBatchClose = (common::hasPriv('task', 'batchClose') && strtolower($browseType) != 'closedBy');
$canBatchCancel = common::hasPriv('task', 'batchCancel');
$canBatchChangeModule = common::hasPriv('task', 'batchChangeModule');
$canBatchAssignTo = common::hasPriv('task', 'batchAssignTo');
$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);
if(count($tasks))
{
echo html::selectButton();