任务10 提交接口

This commit is contained in:
chenbo 2023-10-18 18:20:49 +08:00
parent 9dde757e8a
commit a85a59cbd9

View File

@ -437,11 +437,12 @@ class TaskController extends BaseApiController
$approveModel->check_admin_ids = $areaManagerId; // 当前审批人ID 片区经理的admin_id
$approveModel->check_status = 1; // 状态 0待审核,1审核中,2审核通过,3审核不通过,4撤销审核
$approveModel->other_type = 6;
$approveModel->extend = $extend;
$approveModel->extend = json_encode($extend);
$approveModel->remark = $parmas['remark'];
$approveModel->create_time = time();
$approveModel->update_time = time();
$approveModel->strict(false)->save();
$re = $approveModel->save();
} else {
// 有则更新状态
$approveModel->check_status = 1; // 状态 0待审核,1审核中,2审核通过,3审核不通过,4撤销审核