Merge branch 'sprint/217_tianshujie_fixbug' into 'master'

Sprint/217 tianshujie fixbug

See merge request easycorp/zentaopms!4620
This commit is contained in:
王怡栋
2022-07-21 05:08:47 +00:00
11 changed files with 22 additions and 81 deletions
+2 -2
View File
@@ -2751,8 +2751,8 @@ class projectModel extends model
$menu .= $this->buildFlowMenu('project', $project, 'view', 'direct');
$menu .= "<div class='divider'></div>";
$menu .= $this->buildMenu('project', 'edit', "project=$project->id&from=view", $project, 'button', 'edit', '', '', '', '', $this->lang->edit);
$menu .= $this->buildMenu('project', 'delete', "project=$project->id", $project, 'button', 'trash', 'hiddenwin', '', '', '', $this->lang->delete);
$menu .= $this->buildMenu('project', 'edit', "project=$project->id&from=view", $project, 'button', 'edit', '', '', '', '', $this->lang->edit);
$menu .= $this->buildMenu('project', 'delete', "project=$project->id&confirm=no&from=view", $project, 'button', 'trash', 'hiddenwin', '', '', '', $this->lang->delete);
return $menu;
}