细节修改
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
5b9b704788
commit
aed4985019
@ -31,6 +31,9 @@ class ProjectReport extends CommonModel
|
||||
$projectList[$projectCode] = [];
|
||||
}
|
||||
@$projectList[$projectCode]['task']++;
|
||||
if (!isset($projectList[$projectCode]['task:undone'])) {
|
||||
$projectList[$projectCode]['task:undone'] = 0;
|
||||
}
|
||||
!$task['done'] && @$projectList[$projectCode]['task:undone']++;
|
||||
}
|
||||
if ($projectList) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user