* Finish task #41721.

This commit is contained in:
tianshujie98
2021-08-23 14:39:58 +08:00
parent 2a86dffc93
commit 6fdb4fd97f
3 changed files with 12 additions and 0 deletions

View File

@@ -1125,6 +1125,10 @@ class actionModel extends model
{
$action->objectLink = !isset($deptUsers[$action->objectID]) ? 'javascript:void(0)' : helper::createLink($moduleName, $methodName, sprintf($vars, $action->objectID));
}
elseif($action->objectType == 'stakeholder' and empty($action->project) and strpos($action->product, ',0,') !== false)
{
$action->objectLink = '';
}
else
{
$action->objectLink = helper::createLink($moduleName, $methodName, sprintf($vars, $action->objectID));

View File

@@ -68,6 +68,10 @@
{
echo '#' . $action->objectID;
}
elseif(empty($action->objectLink))
{
echo $action->objectName;
}
else
{
echo html::a($action->objectLink, $action->objectName, '', $openApp);

View File

@@ -64,6 +64,10 @@
{
echo '#' . $action->objectID;
}
elseif(empty($action->objectLink))
{
echo $action->objectName;
}
else
{
echo html::a($action->objectLink, $action->objectName, '', $openApp);