* Add dimension dropmenu for bi.

This commit is contained in:
songchenxuan
2023-10-26 12:16:10 +08:00
parent 88f68515db
commit c16c654268
6 changed files with 106 additions and 10 deletions
+5 -5
View File
@@ -21,13 +21,13 @@ class dimension extends control
* @param string type screen|pivot|chart
* @return void
*/
public function ajaxGetDropMenu($currentModule, $currentMethod, $dimensionID, $type = '')
public function ajaxGetDropMenu(int $dimensionID, string $module, string $method)
{
$this->view->currentModule = $currentModule;
$this->view->currentMethod = $currentMethod;
$this->view->dimensionID = $dimensionID;
$this->view->type = $type;
$this->view->dimensions = $this->dimension->getList();
$dimensions = $this->dimension->getList();
$this->view->dimensionTree = $this->dimensionZen->buildTree($dimensions);
$this->view->link = $this->dimensionZen->getLink($module, $method, '{id}', '', 'dimension');
$this->display();
}
}