* Fix the bug of import jira data.

This commit is contained in:
xieqiyu
2023-12-12 11:15:27 +08:00
parent e83bc3804b
commit 288c7af94d
3 changed files with 78 additions and 60 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ class adminModel extends model
$menu['disabled'] = true;
if(!isset($menu['link'])) $menu['link'] = '';
if($menuKey == 'company')
if($menuKey == 'company' && $this->app->rawModule != 'convert')
{
$dept = $this->dao->select('id')->from(TABLE_DEPT)->fetch();
if($dept && common::hasPriv('company', 'browse')) $menu['link'] = helper::createLink('company', 'browse');