feat: 加入【项目管理】任务列表流程筛选被回滚功能

This commit is contained in:
韦荣超
2022-01-24 10:20:59 +08:00
parent a8c0978f0d
commit 11d1f26724
4 changed files with 95 additions and 10 deletions
@@ -1579,8 +1579,9 @@ class ProjectController extends AbstractController
User::auth();
//
$project_id = intval(Request::input('project_id'));
$is_filter = intval(Request::input('is_filter',0));
//
$project = Project::userProject($project_id, true, true);
$project = Project::userProject($project_id, true, true, $is_filter);
//
$list = ProjectFlow::with(['ProjectFlowItem'])->whereProjectId($project->id)->get();
return Base::retSuccess('success', $list);