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