* [refac bug #38813] Add action condition for get doc dynmic.

This commit is contained in:
wangyidong
2024-11-15 09:13:43 +08:00
committed by 孙广明
parent f8841d127b
commit 4b6d8344e8
4 changed files with 9 additions and 2 deletions
+2
View File
@@ -29,6 +29,7 @@ $canBatchCreate = common::canModify('execution', $execution) && hasPriv('task',
$canImportTask = common::canModify('execution', $execution) && hasPriv('execution', 'importTask');
$canImportBug = common::canModify('execution', $execution) && hasPriv('execution', 'importBug');
$app->loadLang('my');
$this->loadModel('task');
$importItems = array();
if(common::canModify('execution', $execution))
@@ -56,6 +57,7 @@ $cols = $this->loadModel('datatable')->getSetting('execution');
if($execution->type != 'stage') unset($cols['design']);
$tableData = initTableData($tasks, $cols, $this->task);
$lang->task->statusList['changed'] = $lang->my->storyChanged;
foreach($tableData as $task)
{
$task->rawStatus = $task->status;