* Define table.

This commit is contained in:
zhujinyong
2022-08-15 11:10:09 +08:00
parent 9ebd84ddcb
commit 7e67e54fe9
2 changed files with 15 additions and 0 deletions
+4
View File
@@ -333,6 +333,10 @@ if(!defined('TABLE_PROJECTSPEC')) define('TABLE_PROJECTSPEC', '`' . $config->db-
if(!defined('TABLE_SEARCHINDEX')) define('TABLE_SEARCHINDEX', $config->db->prefix . 'searchindex');
if(!defined('TABLE_SEARCHDICT')) define('TABLE_SEARCHDICT', $config->db->prefix . 'searchdict');
define('TABLE_CHART', '`' . $config->db->prefix . 'chart`');
define('TABLE_DASHBOARD', '`' . $config->db->prefix . 'dashboard`');
define('TABLE_DATASET', '`' . $config->db->prefix . 'dataset`');
$config->objectTables['product'] = TABLE_PRODUCT;
$config->objectTables['productplan'] = TABLE_PRODUCTPLAN;
$config->objectTables['story'] = TABLE_STORY;
+11
View File
@@ -207,6 +207,17 @@ class tree extends control
$title = $this->lang->tree->manageLine;
$position[] = $this->lang->tree->manageLine;
}
elseif($viewType == 'dashboard')
{
$root = new stdclass();
$root->name = $this->lang->dashboard->common;
$this->view->root = $root;
$this->lang->tree->menu = $this->lang->report->menu;
$title = $this->lang->tree->manageDashboard;
$position[] = $this->lang->tree->manageDashboard;
}
elseif($viewType == 'trainskill')
{
$this->lang->tree->menu = $this->lang->trainskill->menu;