修复:日报上传附件,编辑删除附件后附件还存在问题修复
This commit is contained in:
parent
7c134b07b3
commit
a2a8511dc6
@ -150,7 +150,7 @@ class Work extends BaseController
|
|||||||
->order('wf.create_time desc')
|
->order('wf.create_time desc')
|
||||||
->where(['wf.wid' => $id])
|
->where(['wf.wid' => $id])
|
||||||
->select()->toArray();
|
->select()->toArray();
|
||||||
$interfix_ids = array_column($file_array, 'file_id');
|
$interfix_ids = array_column($file_array, 'id');
|
||||||
$detail['file_ids'] = implode(",", $interfix_ids);
|
$detail['file_ids'] = implode(",", $interfix_ids);
|
||||||
$type = $detail['type'];
|
$type = $detail['type'];
|
||||||
View::assign('file_array', $file_array);
|
View::assign('file_array', $file_array);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user