This commit is contained in:
chenbo 2023-09-22 10:02:12 +08:00
parent 6234922e05
commit d8c8f016b3

View File

@ -82,6 +82,7 @@ class TaskController extends BaseApiController
$res[$k]['extend']['transaction'] = '';
}
}
if (isset($townTaskTypeList[$item['type']])) {
if ($townTaskTypeList[$item['type']] == 'town_task_type_1') {
// 协助总负责人开展工作任务
$groupServiceCompanyCount = 0; // 已安排任务的小组服务公司总数
@ -114,6 +115,8 @@ class TaskController extends BaseApiController
$doneContractCount = Contract::where(['party_a' => $townCompany['id'], 'status' => 1, 'contract_type' => 25])->count();
$res[$k]['extend'] = ['total' => $contractCount, 'done_count' => $doneContractCount];
}
}
// break;
// case 'town_task_type_2':
// // 拓展小组服务团队工作任务