|
|
@@ -49,7 +49,16 @@ switch ($action) {
|
|
|
echo operation_log::getInstance()->operation_log();
|
|
|
break;
|
|
|
case 'main':
|
|
|
- //todo
|
|
|
+ $menuList = array();
|
|
|
+ $menuList[] = array("index"=>'1',"label"=>"Dashboard","icon"=>"icon_data_fill_b","path"=>"/dashboard");
|
|
|
+ $menuList[] = array("index"=>'3',"label"=>"Booking","icon"=>"icon_booking__fill_b","path"=>"/booking");
|
|
|
+ $menuList[] = array("index"=>'4',"label"=>"Tracking","icon"=>"icon_tracking__fill_b","path"=>"/tracking");
|
|
|
+ if(_isApexLogin()){
|
|
|
+ $menuList[] = array("index"=>'6',"label"=>"System Management","icon"=>"icon_system__management_fill_b","type"=>"list",
|
|
|
+ "children"=>array(array("index" =>'5-4',"label" =>"Operation Log","path"=>"/Operationlog")));
|
|
|
+ }
|
|
|
+ common::echo_json_encode(200, $menuList);
|
|
|
+ exit();
|
|
|
break;
|
|
|
case 'main_report':
|
|
|
$type = $_REQUEST["r_type"];
|