细节修改

Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
vilson 2019-07-19 13:41:28 +08:00
parent 5b9b704788
commit aed4985019

View File

@ -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) {