* [task#14193,done,0.5h] fix bug.

This commit is contained in:
sunguangming
2025-06-04 02:12:16 +00:00
parent 1925d87e0c
commit 4315b352ba
4 changed files with 4 additions and 3 deletions
+2
View File
@@ -643,6 +643,7 @@ class programplanTao extends programplanModel
$data = new stdclass();
$data->id = $plan->id;
$data->type = 'plan';
$data->executionType = $plan->type;
$data->text = empty($plan->milestone) ? $plan->name : $plan->name . $isMilestone;
$data->name = $plan->name;
$data->attribute = zget($this->lang->stage->typeList, $plan->attribute);
@@ -656,6 +657,7 @@ class programplanTao extends programplanModel
$data->realEnd = $realEnd ? substr($realEnd, 0, 10) : '';
$data->parent = $plan->grade == 1 ? 0 :$plan->parent;
$data->isParent = $plan->isParent;
$data->isTpl = $plan->isTpl;
$data->open = true;
$data->start_date = $start;
$data->endDate = $end;