* Finish task #87763.

This commit is contained in:
liumengyi
2023-03-22 10:54:53 +08:00
parent 062e80ac17
commit 2d86fcc94a
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -841,8 +841,8 @@ class screenModel extends model
$deadline = $execution->status == 'closed' ? substr($execution->closedDate, 0, 10) : $execution->suspendedDate;
$deadline = strpos('closed,suspended', $execution->status) === false ? helper::today() : $deadline;
$endDate = strpos($type, 'withdelay') !== false ? $deadline : $execution->end;
list($dateList, $interval) = $this->execution->getDateList($execution->begin, $endDate, $type, 0, 'Y-m-d', $execution->end);
$endDate = (strpos($type, 'withdelay') !== false and $deadline > $execution->end) ? $deadline : $execution->end;
list($dateList, $interval) = $this->execution->getDateList($execution->begin, $endDate, $type, 0, 'Y-m-d', $deadline);
$executionEnd = strpos($type, 'withdelay') !== false ? $execution->end : '';
$chartData = $this->execution->buildBurnData($executionID, $dateList, $type, 'left', $executionEnd);
+2 -1
View File
@@ -49,13 +49,14 @@ function initBurnChar()
color: '#dee0e4',
fontSize: 14
},
top: 10,
right: 0
},
color: ['#42526a', '#2567cf', 'red'],
grid: {
left: '3%',
right: '4%',
top: 40,
top: 65,
bottom: '3%',
containLabel: true
},