ShuanghongS 1 月之前
父節點
當前提交
694dc215a0
共有 2 個文件被更改,包括 10 次插入10 次删除
  1. 9 9
      main_new_version.php
  2. 1 1
      service/destination_delivery.class.php

+ 9 - 9
main_new_version.php

@@ -100,16 +100,16 @@ switch ($action) {
                         }
                         //特殊处理book,需要加二级菜
                         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']];
-                            //$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;
                         }
                     }

+ 1 - 1
service/destination_delivery.class.php

@@ -60,7 +60,7 @@ class destination_delivery {
             $sql  = "select code from public.kerry_system_code 
                     where description='COUNTRY-STATION'  
                         and category = '".$country."'   
-                        and code NOT LIKE 'Online_%'";
+                        and code NOT LIKE 'Online_%' order by code";
             $rs = common::excuteListSql($sql);
             foreach($rs as $key => $val){
                 if(!empty($val['code'])){