* Fix details.

This commit is contained in:
孙广明
2022-01-26 10:26:18 +08:00
parent 967553b646
commit 6cf044da20
2 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -3621,7 +3621,7 @@ class execution extends control
if($lastEditedTime > $enterTime or $groupBy != 'default')
{
$kanbanGroup = $from == 'execution' ? $this->loadModel('kanban')->getExecutionKanban($executionID, $browseType, $groupBy) : $this->loadModel('kanban')->getRDKanban($executionID, $browseType, 'id_asc', 0, $groupBy);;
$kanbanGroup = $from == 'execution' ? $this->loadModel('kanban')->getExecutionKanban($executionID, $browseType, $groupBy) : $this->loadModel('kanban')->getRDKanban($executionID, $browseType, 'id_asc', 0, $groupBy);
die(json_encode($kanbanGroup));
}
else
+28 -28
View File
@@ -269,34 +269,34 @@ class tutorialModel extends model
public function getExecution()
{
$execution = new stdclass();
$execution->id = 3;
$execution->project = 2;
$execution->type = 'sprint';
$execution->name = 'Test execution';
$execution->code = 'test';
$execution->lifetime = '';
$execution->begin = date('Y-m-d', strtotime('-7 days'));
$execution->end = date('Y-m-d', strtotime('+7 days'));
$execution->days = 10;
$execution->status = 'wait';
$execution->pri = '1';
$execution->desc = '';
$execution->goal = '';
$execution->acl = 'open';
$execution->parent = 2;
$execution->path = ',2,3,';
$execution->grade = 1;
$execution->PM = $this->app->user->account;
$execution->PO = $this->app->user->account;
$execution->QD = $this->app->user->account;
$execution->RD = $this->app->user->account;
$execution->deleted = '0';
$execution->totalConsumed = 0;
$execution->totalLeft = 0;
$execution->totalHours = 0;
$execution->totalEstimate = 0;
$execution->displayCards = 0;
$execution->fluidBoard = 0;
$execution->id = 3;
$execution->project = 2;
$execution->type = 'sprint';
$execution->name = 'Test execution';
$execution->code = 'test';
$execution->lifetime = '';
$execution->begin = date('Y-m-d', strtotime('-7 days'));
$execution->end = date('Y-m-d', strtotime('+7 days'));
$execution->days = 10;
$execution->status = 'wait';
$execution->pri = '1';
$execution->desc = '';
$execution->goal = '';
$execution->acl = 'open';
$execution->parent = 2;
$execution->path = ',2,3,';
$execution->grade = 1;
$execution->PM = $this->app->user->account;
$execution->PO = $this->app->user->account;
$execution->QD = $this->app->user->account;
$execution->RD = $this->app->user->account;
$execution->deleted = '0';
$execution->totalConsumed = 0;
$execution->totalLeft = 0;
$execution->totalHours = 0;
$execution->totalEstimate = 0;
$execution->displayCards = 0;
$execution->fluidBoard = 0;
return $execution;
}