|
@@ -100,16 +100,16 @@ switch ($action) {
|
|
|
}
|
|
}
|
|
|
//特殊处理book,需要加二级菜
|
|
//特殊处理book,需要加二级菜
|
|
|
if($v['s_column'] =="Ocean Booking"){
|
|
if($v['s_column'] =="Ocean Booking"){
|
|
|
- $urlData = $menuSetting[$v['s_column']];
|
|
|
|
|
- $menuList[] = array("index"=>"$index","label"=>$urlData['label'],"icon"=>$urlData['icon'],"path"=>$urlData['path']);
|
|
|
|
|
- //$bookingManagement = array("index"=>"$index","label"=>"Booking","icon"=>"icon_booking__fill_b","type"=>"list");
|
|
|
|
|
- //$children = array();
|
|
|
|
|
-
|
|
|
|
|
//$urlData = $menuSetting[$v['s_column']];
|
|
//$urlData = $menuSetting[$v['s_column']];
|
|
|
- //$children[] = array("index"=>$index.'-1',"label"=>"Booking Management","path"=>$urlData['path']);
|
|
|
|
|
- //$children[] = array("index"=>$index.'-2',"label"=>"Destination Delivery","path"=>"/destination-delivery");
|
|
|
|
|
- //$bookingManagement["children"] = $children;
|
|
|
|
|
- //$menuList[] = $bookingManagement;
|
|
|
|
|
|
|
+ //$menuList[] = array("index"=>"$index","label"=>$urlData['label'],"icon"=>$urlData['icon'],"path"=>$urlData['path']);
|
|
|
|
|
+ $bookingManagement = array("index"=>"$index","label"=>"Booking","icon"=>"icon_booking__fill_b","type"=>"list");
|
|
|
|
|
+ $children = array();
|
|
|
|
|
+
|
|
|
|
|
+ $urlData = $menuSetting[$v['s_column']];
|
|
|
|
|
+ $children[] = array("index"=>$index.'-1',"label"=>"Booking Management","path"=>$urlData['path']);
|
|
|
|
|
+ $children[] = array("index"=>$index.'-2',"label"=>"Destination Delivery","path"=>"/destination-delivery");
|
|
|
|
|
+ $bookingManagement["children"] = $children;
|
|
|
|
|
+ $menuList[] = $bookingManagement;
|
|
|
$index = $index + 1;
|
|
$index = $index + 1;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|