fixed 任务提交
This commit is contained in:
parent
170bf379ae
commit
ad93d3f05c
@ -407,20 +407,20 @@ class TaskController extends BaseApiController
|
||||
$stage = $parmas['stage']; // 当前做的是任务第几阶段
|
||||
$extend['stage'] = $stage;
|
||||
if ($stage == 1) {
|
||||
$extend['stage1']['file'] = $parmas['stage1'];
|
||||
$remark = $extend['stage1']['remark'];
|
||||
$extend = $parmas['stage1'];
|
||||
$remark = $parmas['stage1']['remark'];
|
||||
}
|
||||
if ($stage == 2) {
|
||||
$extend['stage2']['file'] = $parmas['stage2'];
|
||||
$remark = $extend['stage2']['remark'];
|
||||
$extend = $parmas['stage2'];
|
||||
$remark = $parmas['stage2']['remark'];
|
||||
}
|
||||
if ($stage == 3) {
|
||||
$extend['stage3']['file'] = $parmas['stage3'];
|
||||
$remark = $extend['stage3']['remark'];
|
||||
$extend = $parmas['stage3'];
|
||||
$remark = $parmas['stage3']['remark'];
|
||||
}
|
||||
if ($stage == 4) {
|
||||
$extend['stage4']['file'] = $parmas['stage4'];
|
||||
$remark = $extend['stage4']['remark'];
|
||||
$extend = $parmas['stage4'];
|
||||
$remark = $parmas['stage4']['remark'];
|
||||
}
|
||||
|
||||
// Task::where(['id' => $parmas['id']])->update(['extend' => json_encode($extend), 'update_time'=>time(), 'director_uid'=>$this->userId]); // director_uid 指派人
|
||||
|
Loading…
x
Reference in New Issue
Block a user