add:任务10提交接口,新增说明字段

This commit is contained in:
chenbo 2023-10-18 16:30:33 +08:00
parent 7601aca958
commit f75900d0b8

View File

@ -418,6 +418,7 @@ class TaskController extends BaseApiController
if ($stage == 4) {
$extend['stage4'] = $parmas['stage4'];
}
// Task::where(['id' => $parmas['id']])->update(['extend' => json_encode($extend), 'update_time'=>time(), 'director_uid'=>$this->userId]); // director_uid 指派人
// 片区经理
@ -437,6 +438,7 @@ class TaskController extends BaseApiController
$approveModel->check_status = 1; // 状态 0待审核,1审核中,2审核通过,3审核不通过,4撤销审核
$approveModel->other_type = 6;
$approveModel->extend = $extend;
$approveModel->remark = $parmas['remark'];
$approveModel->create_time = time();
$approveModel->update_time = time();
$approveModel->save();