diff --git a/js/libs/Leaflet.GLMarkers.js b/js/libs/Leaflet.GLMarkers.js
index ed5a690732cdf488bd30a3e65ae273d861d7feee..835fab390ba9dc1a655ca0178578b35442491e6c 100644
--- a/js/libs/Leaflet.GLMarkers.js
+++ b/js/libs/Leaflet.GLMarkers.js
@@ -4,7 +4,7 @@
 
 // 所有返回4x4矩阵的操作都是基于表示为16个元素数组的矩阵
 
-console.log("Leaflet.GLMarkers 正在运行");
+console.log("------ Leaflet.GLMarkers:严格模式 debug ------");
 
 // 将两个4x4矩阵相乘,以16个元素数组的形式给出
 function matrixMultiply(a, b) {
@@ -95,9 +95,7 @@ L.GLMarker = L.Class.extend({
 
 // 设置一个全局变量
 L.Browser.gl = false;
-console.log("------- Leaflet.GLMarker 调试 ----------");
 try {
-  console.log("------- Leaflet.GLMarker 调试 ----------");
   // return
   // 创建一个canvas元素并获取WebGL上下文
   var canvas = document.createElement("canvas");
@@ -257,4 +255,4 @@ L.GLMarkerGroup = L.Layer.extend({
   },
 });
 
-console.log("------- Leaflet.GLMarker 调试 ----------");
+console.log("------- Leaflet.GLMarker 调试 -------");
diff --git a/js/libs/graph3d/three.min.js b/js/libs/graph3d/three.min.js
index a66b7caef9bdd1d9b78ef6a29ad481aa938c2e68..d67cf4bc136f450f0b2a6491d52afbf18346cd1c 100644
--- a/js/libs/graph3d/three.min.js
+++ b/js/libs/graph3d/three.min.js
@@ -3036,7 +3036,7 @@
             return 1020 === a && (b = ka.get("WEBGL_depth_texture"),
             null !== b) ? b.UNSIGNED_INT_24_8_WEBGL : 0
         }
-        console.log("THREE.WebGLRenderer", "82");
+        // console.log("THREE.WebGLRenderer", "82");
         a = a || {};
         var v = void 0 !== a.canvas ? a.canvas : document.createElementNS("http://www.w3.org/1999/xhtml", "canvas")
           , I = void 0 !== a.context ? a.context : null
diff --git a/js/libs/leaflet-echarts/echarts.source.js b/js/libs/leaflet-echarts/echarts.source.js
index a8303938a41a9b4cc8b6a30bc6f1d5c879433540..48d5d6c6bb23329332224527ee65e97d22adb13d 100644
--- a/js/libs/leaflet-echarts/echarts.source.js
+++ b/js/libs/leaflet-echarts/echarts.source.js
@@ -4374,7 +4374,7 @@
              * 特殊地区投射数据
              */
             _getSpecialProjectionData: function(mapType, mapData, areaName, mapSize, position) {
-                //console.log('_getSpecialProjectionData--------------')
+                //console.log('_getSpecialProjectionData-----------')
                 // 构造单独的geoJson地图数据
                 mapData = this._getSubMapData('x|' + areaName, mapData);
 
@@ -16642,7 +16642,7 @@
                     // 玫瑰线 不准确
                 case 'rose':
                     return isInsideCircle(area, x, y, area.maxr);
-                    // 路径,椭圆,曲线等-----------------13
+                    // 路径,椭圆,曲线等--------------13
                 default:
                     return false; // Todo,暂不支持
             }
diff --git a/js/q/datav3.q.data.js b/js/q/datav3.q.data.js
index de3349c9e80477920b43c2f690ab1b09dda78cb3..0b13e1115283aaef2039411c8d6607aca413e756 100644
--- a/js/q/datav3.q.data.js
+++ b/js/q/datav3.q.data.js
@@ -1,3 +1,4 @@
+console.log("------ datav3.q.data.js debug ------");
 var _ajax_url_ = datav_config.server_url;
 var img_url = datav_config.images_url;
 // var img_url = datav_config.ajax_images_url;
@@ -1854,13 +1855,8 @@ var fetchData = (function () {
     $infos.each(function (i, d) {
       $(this).html(infos_data[i]);
     });
-	// ------------------
-    console.log("--------debug--------");
     console.log(data.countryTop5);
     $global.find(".top5 img").each(function (i, d) {
-	  // ------------------
-      console.log(i);
-      // ------------------
       var imgsrc = "./images/qi/" + data.countryTop5[i] + ".png";
       $(this).attr("src", imgsrc);
       $(this).next().html(data.countryTop5[i]);
diff --git a/js/q/datav3.q.index.js b/js/q/datav3.q.index.js
index 59bfe29eb6fb128bb62308f931b46043add8481c..75edbebf25d7d82ca65a25be19ff38ad04913712 100644
--- a/js/q/datav3.q.index.js
+++ b/js/q/datav3.q.index.js
@@ -1,1643 +1,2105 @@
-console.log("-----datav3.q.index debug--------")
+console.log("------- datav3.q.index debug -------");
 // var phyTopoin =null;
 var switchMap;
 var showInfo = null;
 var type_current = "global";
 // type_current为:"global","countryin","countryout","asin","asout"
-var type_current_global = 'global_init';
-// type_current_global为: global_init, 'global_as','global_country' 
-var contentlist_btnstatus = '1';
-var is_phy_log = "log";  // 物理图或逻辑图
-var select_tit_cur = "全球";  // 选择框
-var input_record ={
-    select_cur:"全球",
-    input_value: '',  // 全球二次搜索,或国家、AS一级搜索。
-    input_value_plus_type: '',  // 国家或者AS二级搜索类型(国家、AS,线)"AS","linkAS","countrytext","countrylink"
-    input_value_plus_value: '',  // 国家或者AS二级搜索值
-    // subinput_asin: 'all',
-    subinput_asin: ''//域内二级搜索框的记录值
+var type_current_global = "global_init";
+// type_current_global为: global_init, 'global_as','global_country'
+var contentlist_btnstatus = "1";
+var is_phy_log = "log"; // 物理图或逻辑图
+var select_tit_cur = "全球"; // 选择框
+var input_record = {
+  select_cur: "全球",
+  input_value: "", // 全球二次搜索,或国家、AS一级搜索。
+  input_value_plus_type: "", // 国家或者AS二级搜索类型(国家、AS,线)"AS","linkAS","countrytext","countrylink"
+  input_value_plus_value: "", // 国家或者AS二级搜索值
+  // subinput_asin: 'all',
+  subinput_asin: "", //域内二级搜索框的记录值
 };
-var rbtn_searchvalue_record= '';
+var rbtn_searchvalue_record = "";
 
 require.config({
-  waitSeconds: 0
+  waitSeconds: 0,
 });
 
-var showTags = function (arr){
-  var lis = $('.mymiddle .tips .notes li');
-  lis.each(function(i,d){
-      $(this).hide();
-  })
-   arr.forEach(function(d,i){
-       lis.eq(d).show();
-   })
-}
-
-requirejs(["./js/q/datav3.q.map.js"],
-function(mapjs) {
-
-  jQuery(function(){  
-    
-    // 初始化状态信息
-    
-    // 初始化为全球逻辑图
-    datavjs.log_world_init("neither", true);
-  
-    // 选择器变量
-    var $_middle = $('.mymiddle');
-    var $_mtips = $_middle.find('.tips');    // webGL图例
-    var $_mtips_phyrouter = $_middle.find('.phyrouter_tips');    // webGL图例
-    var $_mtips_logrouter = $_middle.find('.logrouter_tips');    // webGL图例
-    var $_choseicon = $_middle.find('.chose_icon');   // 4个状态框
-    var $_intodomain = $('.intodomain');  // 域内拓扑标签
-    var $_b2outer = $('.backtodomainouter');  // 域内拓扑返回标签
-    var $_info_router1 = $('.info_router1');
-    var $_info_router2 = $('.info_router2');
-    var $_currentHeaderCountrycode = $('.logic_info_country .info_right .infos .countryCode');
-    var currentHeaderCountrycode;
-    var $_currentHeaderAs = $('.logic_info_as .info_right .colum1 span').eq(1);
-    var currentHeaderAs;
-    var $_export_input = $('#export-form .search-input');
-
-
-    //********* 功能封装*************
-    // 有展示各项信息接口showInfo
-    // showInfo.initGlobal()
-    // showInfo.initAS(as)
-    // showInfo.initCountry(country)
-    // showInfo.initRoutertopo()
-    // showInfo.clickCountryEdgeinAS()
-    // showInfo.dblclickEdgeinCountry()
-    // 双击地图切换效果接口switchMap
-    // switchMap.switchToAS()
-    // switchMap.switchToCountry()
-    // switchMap.swicthToGlobe()
-    //******** 功能封装**************
-    // 地图的图例切换
-    // showTags([0,1,2,5,7,8]);
-     function showTags(arr){
-        var lis = $('.mymiddle .tips .notes li');
-        lis.each(function(i,d){
-            $(this).hide();
-        })
-         arr.forEach(function(d,i){
-             lis.eq(d).show();
-         })
-     }
- 
-    showInfo = {
-      initGlobal: function(){
-        fetchData.getASInfoOfGlobal();
-        fetchData.getAllCountruInfoOfGlobal();
-        showTags([0,1,2,5,7,8]);
-        // fetchData.getASTypeStatisticsOfGlobal();
-        $('.right-btm').show();
-        $('.right-btm .title p').text('国家(地区)列表');
-        $('.right-btm .aslist').show();  
-        showRbbtn(1); 
-      },
-      initAS: function(inputValue){
-        fetchData.getASInfo(inputValue);
-        fetchData.getParentASListByASN({as: inputValue});
-        showTags([0,1,2,3,4,5,6,7]);
-        showRbbtn(2);
-      },
-      initCountry: function(inputValue){
-        fetchData.getCountryInfoBetweenCountry(inputValue);
-        fetchData.getCountriesAsCountByCountry({countryCode:inputValue});
-        showTags([0,1,2,3,5,7,8]);
-        // fetchData.getAsNumberListByCountry(inputValue);
-        showRbbtn(1);
-      },
-      initMultCountry: function(country1,country2){
-        fetchData.getCountryInfoBetweenCountry(country1);
-        fetchData.getEdgeInfoBetweenCountry({'countryCode1':country1,'countryCode2':country2});
-        // fetchData.getAsNumberListByCountry({countryCode:country1});
-        showTags([0,1,2,4,5,6,7]);
-        showRbbtn(2);
-      },
-      initRoutertopo: function(inputValue){
-        fetchData.getEdgeInfoWithinAS(inputValue);
-        fetchData.getRouterInfoWithinAS({as:inputValue});
-        // showTags([]);
-        // showRbbtn(0);
-        showRbbtn(0);
-      },
-      initInterRouter: function(as1,as2){// 多个AS路由器
-        fetchData.getASInfo(as1);
-        fetchData.getInterfaceByASnumber({as1:as1,as2:as2});
-        // showTags([]);
-        showRbbtn(3);
-      },
-      clickCountryEdgeinAS: function(country){
-        clickCountryEdgeinAS(country);
-        showRbbtn(2);
-      },
-      dblclickEdgeinCountry: function(country1,country2){
-        fetchData.getEdgeInfoBetweenCountry({countryCode1:country1,countryCode2:country2});
-        showRbbtn(2);
-      },
-      clickAsInGlobal: function(as){
-        if(contentlist_btnstatus === '2'){
-          fetchData.getASTypeStatisticsOfGlobal({key:as});
-        }else{
-           rbtn_searchvalue_record = as;
-           $('.rb-btn3-2').click();
-        }
-        $('#export-form .search-input').val(as);
-      },
-      clickCountryInGlobal: function(country){
-       
-        if(contentlist_btnstatus === '1'){
-          fetchData.getAllCountruInfoOfGlobal({key:country});
-        }else{
-          rbtn_searchvalue_record = country;
-          $('.rb-btn3-1').click();
-        }
-         $('#export-form .search-input').val(country);
-      },
-      clickAsInAsout: function(as){
+var showTags = function (arr) {
+  var lis = $(".mymiddle .tips .notes li");
+  lis.each(function (i, d) {
+    $(this).hide();
+  });
+  arr.forEach(function (d, i) {
+    lis.eq(d).show();
+  });
+};
+
+requirejs(
+  ["./js/q/datav3.q.map.js"],
+
+  function (mapjs) {
+    console.log("------ datav3.q.map.js 加载完成 -----")
+    jQuery(function () {
+      // 初始化状态信息
+
+      // 初始化为全球逻辑图
+      datavjs.log_world_init("neither", true);
+
+      // 选择器变量
+      var $_middle = $(".mymiddle");
+      var $_mtips = $_middle.find(".tips"); // webGL图例
+      var $_mtips_phyrouter = $_middle.find(".phyrouter_tips"); // webGL图例
+      var $_mtips_logrouter = $_middle.find(".logrouter_tips"); // webGL图例
+      var $_choseicon = $_middle.find(".chose_icon"); // 4个状态框
+      var $_intodomain = $(".intodomain"); // 域内拓扑标签
+      var $_b2outer = $(".backtodomainouter"); // 域内拓扑返回标签
+      var $_info_router1 = $(".info_router1");
+      var $_info_router2 = $(".info_router2");
+      var $_currentHeaderCountrycode = $(
+        ".logic_info_country .info_right .infos .countryCode"
+      );
+      var currentHeaderCountrycode;
+      var $_currentHeaderAs = $(".logic_info_as .info_right .colum1 span").eq(
+        1
+      );
+      var currentHeaderAs;
+      var $_export_input = $("#export-form .search-input");
+
+      //********* 功能封装*************
+      // 有展示各项信息接口showInfo
+      // showInfo.initGlobal()
+      // showInfo.initAS(as)
+      // showInfo.initCountry(country)
+      // showInfo.initRoutertopo()
+      // showInfo.clickCountryEdgeinAS()
+      // showInfo.dblclickEdgeinCountry()
+      // 双击地图切换效果接口switchMap
+      // switchMap.switchToAS()
+      // switchMap.switchToCountry()
+      // switchMap.swicthToGlobe()
+      //******** 功能封装**************
+      // 地图的图例切换
+      // showTags([0,1,2,5,7,8]);
+      function showTags(arr) {
+        var lis = $(".mymiddle .tips .notes li");
+        lis.each(function (i, d) {
+          $(this).hide();
+        });
+        arr.forEach(function (d, i) {
+          lis.eq(d).show();
+        });
+      }
+
+      showInfo = {
+        initGlobal: function () {
+          fetchData.getASInfoOfGlobal();
+          fetchData.getAllCountruInfoOfGlobal();
+          showTags([0, 1, 2, 5, 7, 8]);
+          // fetchData.getASTypeStatisticsOfGlobal();
+          $(".right-btm").show();
+          $(".right-btm .title p").text("国家(地区)列表");
+          $(".right-btm .aslist").show();
+          showRbbtn(1);
+        },
+        initAS: function (inputValue) {
+          fetchData.getASInfo(inputValue);
+          fetchData.getParentASListByASN({ as: inputValue });
+          showTags([0, 1, 2, 3, 4, 5, 6, 7]);
+          showRbbtn(2);
+        },
+        initCountry: function (inputValue) {
+          fetchData.getCountryInfoBetweenCountry(inputValue);
+          fetchData.getCountriesAsCountByCountry({ countryCode: inputValue });
+          showTags([0, 1, 2, 3, 5, 7, 8]);
+          // fetchData.getAsNumberListByCountry(inputValue);
+          showRbbtn(1);
+        },
+        initMultCountry: function (country1, country2) {
+          fetchData.getCountryInfoBetweenCountry(country1);
+          fetchData.getEdgeInfoBetweenCountry({
+            countryCode1: country1,
+            countryCode2: country2,
+          });
+          // fetchData.getAsNumberListByCountry({countryCode:country1});
+          showTags([0, 1, 2, 4, 5, 6, 7]);
+          showRbbtn(2);
+        },
+        initRoutertopo: function (inputValue) {
+          fetchData.getEdgeInfoWithinAS(inputValue);
+          fetchData.getRouterInfoWithinAS({ as: inputValue });
+          // showTags([]);
+          // showRbbtn(0);
+          showRbbtn(0);
+        },
+        initInterRouter: function (as1, as2) {
+          // 多个AS路由器
+          fetchData.getASInfo(as1);
+          fetchData.getInterfaceByASnumber({ as1: as1, as2: as2 });
+          // showTags([]);
+          showRbbtn(3);
+        },
+        clickCountryEdgeinAS: function (country) {
+          clickCountryEdgeinAS(country);
+          showRbbtn(2);
+        },
+        dblclickEdgeinCountry: function (country1, country2) {
+          fetchData.getEdgeInfoBetweenCountry({
+            countryCode1: country1,
+            countryCode2: country2,
+          });
+          showRbbtn(2);
+        },
+        clickAsInGlobal: function (as) {
+          if (contentlist_btnstatus === "2") {
+            fetchData.getASTypeStatisticsOfGlobal({ key: as });
+          } else {
+            rbtn_searchvalue_record = as;
+            $(".rb-btn3-2").click();
+          }
+          $("#export-form .search-input").val(as);
+        },
+        clickCountryInGlobal: function (country) {
+          if (contentlist_btnstatus === "1") {
+            fetchData.getAllCountruInfoOfGlobal({ key: country });
+          } else {
+            rbtn_searchvalue_record = country;
+            $(".rb-btn3-1").click();
+          }
+          $("#export-form .search-input").val(country);
+        },
+        clickAsInAsout: function (as) {
           filterContentInAsout(as);
-          $('#export-form .search-input').val(as);
-      },
-      clickCountryInAsout: function(country){
+          $("#export-form .search-input").val(as);
+        },
+        clickCountryInAsout: function (country) {
           filterContentInAsout(country);
-           $('#export-form .search-input').val(country);
-      },
-      clickLineInAsout: function(as){      
+          $("#export-form .search-input").val(country);
+        },
+        clickLineInAsout: function (as) {
           // 同点击AS 效果,调用clickAsInAsout接口
-      },
-      clickAsInAsin: function(ip){         
+        },
+        clickAsInAsin: function (ip) {
           filterContentInAsin(ip);
-      },
-      // clickCountryInAsin: function(country){
-      //     filterContentInAsin(country);
-      // },     
-      clickAsInCountryout: function(as){
+        },
+        // clickCountryInAsin: function(country){
+        //     filterContentInAsin(country);
+        // },
+        clickAsInCountryout: function (as) {
           filterContentInDblClickCountry(as);
-          $('#export-form .search-input').val(as);
-      },
-      clickCountryInCountryout: function(country){
+          $("#export-form .search-input").val(as);
+        },
+        clickCountryInCountryout: function (country) {
           // 无对应信息效果,同初始化,不调用
-          $('#export-form .search-input').val('');
-      },
-      clickLineInCountryout: function(as){
+          $("#export-form .search-input").val("");
+        },
+        clickLineInCountryout: function (as) {
           // 无对应信息效果,同初始化,不调用
-          $('#export-form .search-input').val('');
-      },
-      clickAsInCountryin: function(as){
-        
-        if(contentlist_btnstatus === '2'){
-          filterContentInCountry(as);
-        }else{
-           rbtn_searchvalue_record = as;
-           $('.rb-btn3-2').click();
-        }
-        $('#export-form .search-input').val(as);
-      },
-      clickCountryInCountryin: function(country){
-        
-        if(contentlist_btnstatus === '1'){
-           filterContentInCountry(country);
-        }else{
-          rbtn_searchvalue_record = country;
-          $('.rb-btn3-1').click();
-        }
-        $('#export-form .search-input').val(country);
-      }
-    }
-
- 
-   // type_current = "asinterface";
-   // // phyInterRouter = new PhyInterRouter('4134','3462');
-   // phyInterRouter = new PhyInterRouter('3462','4134');
-   // setTimeout(function(){
-   //    // phyInterRouter.searchRouter(['220.128.3.13','220.128.6.245']);
-   //    phyInterRouter.searchRouter('220.128.6.245');
-   // },2000)
-   
-   showInfo.initGlobal();
-   // showInfo.initInterRouter('3462','4134');
-   // input_record.input_value = ['3462','4134'];
-   // type_current = 'asin';zoomToShowLayer
-   // is_phy_log = "log";
-   // showInfo.initRoutertopo(18182);
-   // showInfo.initInterRouter(10010,17682);
-   // getRouterInData('18182');
-   // phyTopoin = new PhyTopoin('18182');
-
-   // 双击地图切换效果接口
-   // 调用示例
-   // switchMap.switchToAS(1);
-   // showInfo.initRoutertopo('4780');
-   // showInfo.dblclickEdgeinCountry('CN','US');
-    switchMap={
-      switchToAS:function(as){
-        input_record.input_value = as;
-        contentlist_btnstatus = '1';
-        switchSelect('AS');
-        changeInput(as);
-        searchInAS(as,"neither");
-        
-      },
-      switchToCountry : function(country){
+          $("#export-form .search-input").val("");
+        },
+        clickAsInCountryin: function (as) {
+          if (contentlist_btnstatus === "2") {
+            filterContentInCountry(as);
+          } else {
+            rbtn_searchvalue_record = as;
+            $(".rb-btn3-2").click();
+          }
+          $("#export-form .search-input").val(as);
+        },
+        clickCountryInCountryin: function (country) {
+          if (contentlist_btnstatus === "1") {
+            filterContentInCountry(country);
+          } else {
+            rbtn_searchvalue_record = country;
+            $(".rb-btn3-1").click();
+          }
+          $("#export-form .search-input").val(country);
+        },
+      };
+
+      // type_current = "asinterface";
+      // // phyInterRouter = new PhyInterRouter('4134','3462');
+      // phyInterRouter = new PhyInterRouter('3462','4134');
+      // setTimeout(function(){
+      //    // phyInterRouter.searchRouter(['220.128.3.13','220.128.6.245']);
+      //    phyInterRouter.searchRouter('220.128.6.245');
+      // },2000)
+
+      showInfo.initGlobal();
+      // showInfo.initInterRouter('3462','4134');
+      // input_record.input_value = ['3462','4134'];
+      // type_current = 'asin';zoomToShowLayer
+      // is_phy_log = "log";
+      // showInfo.initRoutertopo(18182);
+      // showInfo.initInterRouter(10010,17682);
+      // getRouterInData('18182');
+      // phyTopoin = new PhyTopoin('18182');
+
+      // 双击地图切换效果接口
+      // 调用示例
+      // switchMap.switchToAS(1);
+      // showInfo.initRoutertopo('4780');
+      // showInfo.dblclickEdgeinCountry('CN','US');
+      switchMap = {
+        switchToAS: function (as) {
+          input_record.input_value = as;
+          contentlist_btnstatus = "1";
+          switchSelect("AS");
+          changeInput(as);
+          searchInAS(as, "neither");
+        },
+        switchToCountry: function (country) {
           input_record.input_value = country;
-          contentlist_btnstatus = '1';
-          switchSelect('国家');
+          contentlist_btnstatus = "1";
+          switchSelect("国家");
           changeInput(country);
-          searchInCountry(country,"neither");     
-      },
-      switchToMulcountry: function(country2){
-        var country1 = $('.logic_info_as .info_right .colum1 span').eq(1).text();
-        contentlist_btnstatus = '1';
-        input_record.input_value = [country1,country2];
-        showInfo.dblclickEdgeinCountry(country1,country2);
-        switchSelect('国家');
-        changeInput(country);
-        handleMapinSearchcountry([country1,country2],datavjs.phy_countryout_init);
-      },
-      swicthToGlobe: function(inputValue){
-        input_record.input_value = inputValue;
-        contentlist_btnstatus = '1';
-        switchSelect('全球');
-        changeInput(inputValue);
-        searchInGlobal(inputValue,false,"neither");   
-      }
-    };
-
-    function switchSelect(data_sel){
-      
-      var img_wrap =$('.leftinfo .left-wrap div').each(function(i,d){
-        if($(this).data('sel') == data_sel){
+          searchInCountry(country, "neither");
+        },
+        switchToMulcountry: function (country2) {
+          var country1 = $(".logic_info_as .info_right .colum1 span")
+            .eq(1)
+            .text();
+          contentlist_btnstatus = "1";
+          input_record.input_value = [country1, country2];
+          showInfo.dblclickEdgeinCountry(country1, country2);
+          switchSelect("国家");
+          changeInput(country);
+          handleMapinSearchcountry(
+            [country1, country2],
+            datavjs.phy_countryout_init
+          );
+        },
+        swicthToGlobe: function (inputValue) {
+          input_record.input_value = inputValue;
+          contentlist_btnstatus = "1";
+          switchSelect("全球");
+          changeInput(inputValue);
+          searchInGlobal(inputValue, false, "neither");
+        },
+      };
+
+      function switchSelect(data_sel) {
+        var img_wrap = $(".leftinfo .left-wrap div").each(function (i, d) {
+          if ($(this).data("sel") == data_sel) {
             $(this).click();
-        }        
-      });
-    }
-
-    function changeInput(inputValue){
-
-      $('#input-topo').val(inputValue);
-    }
-
-    // **************************************左搜索框******************************************/
-    $('#input-topo').click(function(){
-      $(this).removeClass('error');
-      $(this).val('');
-    })
-
-    jQuery('#input-topo').focus(function(){
-      $('.error_msg').slideUp();    
-      if($(this).val()==''){
-        $(this).val('');
+          }
+        });
       }
-        $(this).attr('placeholder','');
-      })
-
-    jQuery(".left .left-wrap div").each(function(i,d){
-        jQuery(this).click(function(){
-            $('#input-topo').val('');
-            $('#export-form').find('.search-input').val('');
-            select_tit_cur = jQuery(this).data('sel');
-            type_current = "global"; 
-            type_current_global = "global_init"; 
-            // input_record.input_value = ''; 
-            $('.backtodomainouter').hide();
-            $_intodomain.hide();
-            // $_mtips.show();
-            $_mtips_logrouter.hide();
-            $_mtips_phyrouter.hide();
 
-            // 逻辑图的全球选项特殊效果(reset)
-            if(select_tit_cur === "全球"){
-              // resetExport();
-              // $('#export-form .search-input').val('');
-              input_record.input_value = '';
-              contentlist_btnstatus = '1';
-              // showGlobalinitInfo();
-              showInfo.initGlobal();
-              $(".tips").show();
-
-              jQuery(".chose_icon").find(".myicon").each(function(){
-                    $(this).show();
-                    if ($(this).data("val")=="neither"){
-                        $(this).addClass("active");
-                    }else{
-                        $(this).removeClass("active");
-                    }
-              });
+      function changeInput(inputValue) {
+        $("#input-topo").val(inputValue);
+      }
 
+      // **************************************左搜索框******************************************/
+      $("#input-topo").click(function () {
+        $(this).removeClass("error");
+        $(this).val("");
+      });
 
-              if(is_phy_log === "log"){
-                removePhyTopoin();
-                clearRouterIn() ;                                                      
-                datavjs.log_world_init("neither", false);
-                $_choseicon.show();
-                         
-              } else if(is_phy_log === "phy"){
-                removePhyTopoin();
+      jQuery("#input-topo").focus(function () {
+        $(".error_msg").slideUp();
+        if ($(this).val() == "") {
+          $(this).val("");
+        }
+        $(this).attr("placeholder", "");
+      });
 
-                datavjs.phy_world_init("neither");
-                $_choseicon.show();              
-              }
+      jQuery(".left .left-wrap div").each(function (i, d) {
+        jQuery(this).click(function () {
+          $("#input-topo").val("");
+          $("#export-form").find(".search-input").val("");
+          select_tit_cur = jQuery(this).data("sel");
+          type_current = "global";
+          type_current_global = "global_init";
+          // input_record.input_value = '';
+          $(".backtodomainouter").hide();
+          $_intodomain.hide();
+          // $_mtips.show();
+          $_mtips_logrouter.hide();
+          $_mtips_phyrouter.hide();
+
+          // 逻辑图的全球选项特殊效果(reset)
+          if (select_tit_cur === "全球") {
+            // resetExport();
+            // $('#export-form .search-input').val('');
+            input_record.input_value = "";
+            contentlist_btnstatus = "1";
+            // showGlobalinitInfo();
+            showInfo.initGlobal();
+            $(".tips").show();
 
+            jQuery(".chose_icon")
+              .find(".myicon")
+              .each(function () {
+                $(this).show();
+                if ($(this).data("val") == "neither") {
+                  $(this).addClass("active");
+                } else {
+                  $(this).removeClass("active");
+                }
+              });
 
-              $('#input-topo').attr('placeholder','AS/国家(地区)');    
+            if (is_phy_log === "log") {
+              removePhyTopoin();
+              clearRouterIn();
+              datavjs.log_world_init("neither", false);
+              $_choseicon.show();
+            } else if (is_phy_log === "phy") {
+              removePhyTopoin();
 
-            }else if(select_tit_cur == "AS"){
-              $('#input-topo').attr('placeholder','AS');
-            }else if(select_tit_cur == "国家"){
-              $('#input-topo').attr('placeholder','一个或多个国家(地区)');
+              datavjs.phy_world_init("neither");
+              $_choseicon.show();
             }
-        })
-    });
 
-    jQuery("#search-topo-logic").click(function(){
-        $('.error_msg').slideUp();
-        $('#export-form').find('.search-input').val('');
+            $("#input-topo").attr("placeholder", "AS/国家(地区)");
+          } else if (select_tit_cur == "AS") {
+            $("#input-topo").attr("placeholder", "AS");
+          } else if (select_tit_cur == "国家") {
+            $("#input-topo").attr("placeholder", "一个或多个国家(地区)");
+          }
+        });
+      });
+
+      jQuery("#search-topo-logic").click(function () {
+        $(".error_msg").slideUp();
+        $("#export-form").find(".search-input").val("");
         var inputValue = jQuery(this).prev().val().trim();
-        if(select_tit_cur == "全球"){
-          searchInGlobal(inputValue,false,"neither");
-          input_record.select_cur = '全球';
-        }else if(select_tit_cur == "AS"){
-          searchInAS(inputValue,"neither");  
+        if (select_tit_cur == "全球") {
+          searchInGlobal(inputValue, false, "neither");
+          input_record.select_cur = "全球";
+        } else if (select_tit_cur == "AS") {
+          searchInAS(inputValue, "neither");
           input_record.select_cur = "AS";
-        }else if(select_tit_cur == "国家"){
-          searchInCountry(inputValue,"neither");
+        } else if (select_tit_cur == "国家") {
+          searchInCountry(inputValue, "neither");
           input_record.select_cur = "国家";
         }
         // input_record.input_value = inputValue;
-    });
+      });
+
+      function searchInGlobal(inputValue, flag, topo_flag) {
+        // contentlist_btnstatus = '1';
+        // resetExport();
+        $(".tips").show();
+        $(".marker-msg").fadeOut();
+        $("#export-form .search-input").val("");
+        input_record.subinput_asin = "";
+        input_record.input_value_plus_value = "";
+        type_current = "global";
+        $(".backtodomainouter").hide();
+        $_intodomain.hide();
+        $_mtips_logrouter.hide();
+        $_mtips_phyrouter.hide();
+
+        jQuery(".chose_icon").find(".active").removeClass("active");
+        jQuery(".chose_icon")
+          .find(".myicon")
+          .each(function () {
+            jQuery(this).show();
+            if (jQuery(this).data("val") == topo_flag) {
+              jQuery(this).addClass("active");
+            } else {
+            }
+          });
 
-    function searchInGlobal(inputValue,flag,topo_flag){
-      // contentlist_btnstatus = '1';
-      // resetExport();
-      $(".tips").show();
-       $('.marker-msg').fadeOut();
-      $('#export-form .search-input').val('');
-      input_record.subinput_asin = '';
-      input_record.input_value_plus_value = '';
-      type_current = "global";
-      $('.backtodomainouter').hide();
-      $_intodomain.hide();
-      $_mtips_logrouter.hide();
-      $_mtips_phyrouter.hide();
-
-      jQuery(".chose_icon").find(".active").removeClass("active");
-      jQuery(".chose_icon").find(".myicon").each(function(){
-        jQuery(this).show();
-        if (jQuery(this).data("val")==topo_flag){
-            jQuery(this).addClass("active");
-        }else{
-            ;
+        if (inputValue !== "string") {
+          inputValue = inputValue.toString();
         }
-      });
 
-      if(inputValue !== 'string'){
-         inputValue = inputValue.toString();
-      }
+        if (inputValue && isAsnumber(inputValue)) {
+          type_current_global = "global_as";
+          showInfo.clickAsInGlobal(inputValue);
+
+          // $('.rb-btn2').show();
+          // $('.rb-btn3').hide();
+          // $('.rb-btn4').hide();
+          showTags([0, 1, 2, 4, 5, 6, 7]);
+
+          is_phy_log === "log"
+            ? datavjs.log_world_search_AS(inputValue, flag, topo_flag)
+            : datavjs.phy_world_search_AS(inputValue, topo_flag);
+        } else if (isCountry(inputValue) && inputValue.length > 0) {
+          type_current_global = "global_country";
+          var countryCode = util.judgeCountry(inputValue);
+
+          if (countryCode) {
+            var inputValue = countryCode;
+            showInfo.clickCountryInGlobal(inputValue);
 
-       if(inputValue && isAsnumber(inputValue)){
-            type_current_global = 'global_as';
-            showInfo.clickAsInGlobal(inputValue);
-         
-            // $('.rb-btn2').show();
-            // $('.rb-btn3').hide();
+            // $('.rb-btn2').hide();
+            // $('.rb-btn3').show();
             // $('.rb-btn4').hide();
-            showTags([0,1,2,4,5,6,7]);
-            
-            is_phy_log === "log" ? datavjs.log_world_search_AS(inputValue,flag,topo_flag) : datavjs.phy_world_search_AS(inputValue,topo_flag);
-       }else if(isCountry(inputValue) && inputValue.length>0){
-            type_current_global = 'global_country';
-            var countryCode = util.judgeCountry(inputValue);
-
-            if(countryCode){
-              var inputValue = countryCode;
-              showInfo.clickCountryInGlobal(inputValue);
-
-               // $('.rb-btn2').hide();
-               // $('.rb-btn3').show();
-               // $('.rb-btn4').hide();
-              showTags([0,1,2,5,7,8]);
-              is_phy_log === "log" ? datavjs.log_world_search_country(inputValue,flag,topo_flag): datavjs.phy_world_search_country(inputValue,topo_flag);
-            }else{
-              // console.log('请输入正确国家或地区')
-              $('#input-topo').val('输入信息有误'); 
-              $('#input-topo').addClass('error');
-            }
-            
-       }else{
-            $('#input-topo').val('输入信息有误'); 
-            $('#input-topo').addClass('error');
-       }
-
-      input_record.input_value = inputValue;
-      input_record.select_cur = '全球';
-    }
-
-    function searchInCountry(inputValue,topo_flag){
-      // resetExport();
-      $(".tips").show();
-       $('.marker-msg').fadeOut();
-      $('#export-form .search-input').val('');
-      input_record.subinput_asin = '';
-      input_record.input_value_plus_value = '';
-      contentlist_btnstatus = '1';
-      if(inputValue.indexOf(',') !== -1){
-        var inputValue = inputValue.replace(',',',');
-      }
-      
-      if(typeof inputValue == 'string'){
-        var countrysArr = inputValue.split(",");
-      }else{
-        var countrysArr = inputValue;
+            showTags([0, 1, 2, 5, 7, 8]);
+            is_phy_log === "log"
+              ? datavjs.log_world_search_country(inputValue, flag, topo_flag)
+              : datavjs.phy_world_search_country(inputValue, topo_flag);
+          } else {
+            // console.log('请输入正确国家或地区')
+            $("#input-topo").val("输入信息有误");
+            $("#input-topo").addClass("error");
+          }
+        } else {
+          $("#input-topo").val("输入信息有误");
+          $("#input-topo").addClass("error");
+        }
+
+        input_record.input_value = inputValue;
+        input_record.select_cur = "全球";
       }
-      
-     
-      countrysArr.forEach(function(d,i){
-        var countryCode = util.judgeCountry(countrysArr[i]);
-        if(countryCode){
-          countrysArr[i] = countryCode;
-        }else{
-          countrysArr = [];
-           // console.log('请输入正确国家或地区')
-           $('#input-topo').val('输入国家或地区有误'); 
-           $('#input-topo').addClass('error');
+
+      function searchInCountry(inputValue, topo_flag) {
+        // resetExport();
+        $(".tips").show();
+        $(".marker-msg").fadeOut();
+        $("#export-form .search-input").val("");
+        input_record.subinput_asin = "";
+        input_record.input_value_plus_value = "";
+        contentlist_btnstatus = "1";
+        if (inputValue.indexOf(",") !== -1) {
+          var inputValue = inputValue.replace(",", ",");
         }
-      })
 
+        if (typeof inputValue == "string") {
+          var countrysArr = inputValue.split(",");
+        } else {
+          var countrysArr = inputValue;
+        }
 
+        countrysArr.forEach(function (d, i) {
+          var countryCode = util.judgeCountry(countrysArr[i]);
+          if (countryCode) {
+            countrysArr[i] = countryCode;
+          } else {
+            countrysArr = [];
+            // console.log('请输入正确国家或地区')
+            $("#input-topo").val("输入国家或地区有误");
+            $("#input-topo").addClass("error");
+          }
+        });
 
-      input_record.input_value = countrysArr;
+        input_record.input_value = countrysArr;
 
-      $('.backtodomainouter').hide();
-      $_intodomain.hide();
-      $_mtips.show();  
-      $_mtips_logrouter.hide();
-      $_mtips_phyrouter.hide();
+        $(".backtodomainouter").hide();
+        $_intodomain.hide();
+        $_mtips.show();
+        $_mtips_logrouter.hide();
+        $_mtips_phyrouter.hide();
 
-      if((isCountry(countrysArr[0]) && countrysArr.length === 1) || (countrysArr.length > 1 && countrysArr[0] == countrysArr[1])){
-      // if((isCountry(countrysArr[0]) )){
-        type_current = "countryin";
+        if (
+          (isCountry(countrysArr[0]) && countrysArr.length === 1) ||
+          (countrysArr.length > 1 && countrysArr[0] == countrysArr[1])
+        ) {
+          // if((isCountry(countrysArr[0]) )){
+          type_current = "countryin";
           jQuery(".chose_icon").find(".active").removeClass("active");
-          jQuery(".chose_icon").find(".myicon").each(function(){
-            var topo_flag_dom = jQuery(this).data("val")
-            if (topo_flag_dom==topo_flag){
+          jQuery(".chose_icon")
+            .find(".myicon")
+            .each(function () {
+              var topo_flag_dom = jQuery(this).data("val");
+              if (topo_flag_dom == topo_flag) {
                 jQuery(this).addClass("active");
-            }else{
-                ;
-            }
-            if (topo_flag_dom=="neither" || topo_flag_dom=="in"){
+              } else {
+              }
+              if (topo_flag_dom == "neither" || topo_flag_dom == "in") {
                 jQuery(this).show();
-            }else{
+              } else {
                 jQuery(this).hide();
-            }
-          });
-        var inputValue = countrysArr[0];
+              }
+            });
+          var inputValue = countrysArr[0];
 
-        // fetchData.getCountryInfoBetweenCountry(inputValue);
-         showInfo.initCountry(inputValue) 
-        if (topo_flag=="neither"){
+          // fetchData.getCountryInfoBetweenCountry(inputValue);
+          showInfo.initCountry(inputValue);
+          if (topo_flag == "neither") {
             var topo_flag_bool = false;
-        }else{
+          } else {
             var topo_flag_bool = true;
-        }
-        switch(is_phy_log){
-          case "log":
-            clearRouterIn();                 
-            //绘制单个国家内拓扑
-            datavjs.log_countryin_init(inputValue,topo_flag_bool);
-            break;
-          case 'phy':   
-            removePhyTopoin();  
-            datavjs.phy_countryin_init(inputValue,topo_flag_bool);  
-            break; 
-        }
-        
-      }else if(isCountry(countrysArr[0]) && isCountry(countrysArr[1]) && countrysArr.length > 1){
-        type_current = "countryout";
+          }
+          switch (is_phy_log) {
+            case "log":
+              clearRouterIn();
+              //绘制单个国家内拓扑
+              datavjs.log_countryin_init(inputValue, topo_flag_bool);
+              break;
+            case "phy":
+              removePhyTopoin();
+              datavjs.phy_countryin_init(inputValue, topo_flag_bool);
+              break;
+          }
+        } else if (
+          isCountry(countrysArr[0]) &&
+          isCountry(countrysArr[1]) &&
+          countrysArr.length > 1
+        ) {
+          type_current = "countryout";
           jQuery(".chose_icon").find(".active").removeClass("active");
-          jQuery(".chose_icon").find(".myicon").each(function(){
-            var flag = jQuery(this).data("val")
-            if (flag==topo_flag){
+          jQuery(".chose_icon")
+            .find(".myicon")
+            .each(function () {
+              var flag = jQuery(this).data("val");
+              if (flag == topo_flag) {
                 jQuery(this).addClass("active");
-            }else{
-                ;
-            }
-            if (flag=="neither" || flag=="out"){
+              } else {
+              }
+              if (flag == "neither" || flag == "out") {
                 jQuery(this).show();
-            }else{
+              } else {
                 jQuery(this).hide();
-            }
-          });
+              }
+            });
 
-        showInfo.initMultCountry(countrysArr[0],countrysArr[1]);
-        
+          showInfo.initMultCountry(countrysArr[0], countrysArr[1]);
 
-        $('.button .back').hide();
-        (topo_flag=="neither") ? topo_flag_bool=false : topo_flag_bool=true;
-        switch(is_phy_log){
-        case "log":
-          clearRouterIn();
-          
-          datavjs.log_countryout_init(countrysArr,false,topo_flag_bool);
+          $(".button .back").hide();
+          topo_flag == "neither"
+            ? (topo_flag_bool = false)
+            : (topo_flag_bool = true);
+          switch (is_phy_log) {
+            case "log":
+              clearRouterIn();
 
-          break;
-        case 'phy':
-          datavjs.phy_countryout_init(countrysArr,topo_flag_bool); 
-          break; 
-      }
-        
-      }else{
-     
-        $('#input-topo').val('输入信息有误'); 
-        $('#input-topo').addClass('error');
+              datavjs.log_countryout_init(countrysArr, false, topo_flag_bool);
 
+              break;
+            case "phy":
+              datavjs.phy_countryout_init(countrysArr, topo_flag_bool);
+              break;
+          }
+        } else {
+          $("#input-topo").val("输入信息有误");
+          $("#input-topo").addClass("error");
+        }
       }
-    }
-
-    function searchInAS(inputValue,topo_flag){
-      // resetExport();
-       $('.marker-msg').fadeOut();
-      $('#export-form .search-input').val('');
-      input_record.subinput_asin = '';
-      input_record.input_value_plus_value = '';
-      $_mtips.show(); 
-      $_mtips_logrouter.hide();
-      $_mtips_phyrouter.hide(); 
-      contentlist_btnstatus = '1'; 
-      $('.backtodomainouter').hide();
-      $_intodomain.hide();
-
-      var regexp = /^\d*[,,]\d*$/g;//匹配两个AS输入
-      if(inputValue && regexp.test(inputValue)){
-        type_current = "asinterface"
-        input_record.input_value = inputValue.replace(",",",").split(",");
-        input_record.select_cur = 'AS';
-        input_record.input_value_plus_type = '';
-        input_record.input_value_plus_value = '';
-        //如果输入的是逗号分隔的多个AS
-        var AS_first = input_record.input_value[0];
-        var AS_second = input_record.input_value[1];
-        if(is_phy_log === "log"){
+
+      function searchInAS(inputValue, topo_flag) {
+        // resetExport();
+        $(".marker-msg").fadeOut();
+        $("#export-form .search-input").val("");
+        input_record.subinput_asin = "";
+        input_record.input_value_plus_value = "";
+        $_mtips.show();
+        $_mtips_logrouter.hide();
+        $_mtips_phyrouter.hide();
+        contentlist_btnstatus = "1";
+        $(".backtodomainouter").hide();
+        $_intodomain.hide();
+
+        var regexp = /^\d*[,,]\d*$/g; //匹配两个AS输入
+        if (inputValue && regexp.test(inputValue)) {
+          type_current = "asinterface";
+          input_record.input_value = inputValue.replace(",", ",").split(",");
+          input_record.select_cur = "AS";
+          input_record.input_value_plus_type = "";
+          input_record.input_value_plus_value = "";
+          //如果输入的是逗号分隔的多个AS
+          var AS_first = input_record.input_value[0];
+          var AS_second = input_record.input_value[1];
+          if (is_phy_log === "log") {
             datavjs.log_ASinterface_init(AS_first, AS_second, topo_flag);
-        }else{
-            jQuery(".chose_icon").find(".myicon").each(function(){
+          } else {
+            jQuery(".chose_icon")
+              .find(".myicon")
+              .each(function () {
                 jQuery(this).hide();
-            });
+              });
             phyInterRouter = new PhyInterRouter(AS_first, AS_second);
-        }
-        showInfo.initInterRouter(AS_first, AS_second);
-        jQuery(".chose_icon").find(".active").removeClass("active");
-        jQuery(".chose_icon").find(".myicon").each(function(){
-          var topo_flag_dom = jQuery(this).data("val");
-          if (topo_flag_dom == topo_flag){
-              jQuery(this).addClass("active");
-          }else{
-              ;
-          }
-          if (topo_flag_dom == "neither" || topo_flag_dom == "both"){
-              jQuery(this).show();
-          }else{
-              jQuery(this).hide();
           }
-        });
-        $(".tips").hide();
-        showTags([]);
-      }else if(inputValue && isAsnumber(inputValue)){
-            $(".tips").show();
-            jQuery(".chose_icon").find(".active").removeClass("active");
-            jQuery(".chose_icon").find(".myicon").each(function(){
-            var topo_flag_dom = jQuery(this).data("val");
-            if (topo_flag_dom==topo_flag){
+          showInfo.initInterRouter(AS_first, AS_second);
+          jQuery(".chose_icon").find(".active").removeClass("active");
+          jQuery(".chose_icon")
+            .find(".myicon")
+            .each(function () {
+              var topo_flag_dom = jQuery(this).data("val");
+              if (topo_flag_dom == topo_flag) {
                 jQuery(this).addClass("active");
-            }else{
-                ;
-            }
-            if (topo_flag_dom == "neither" || topo_flag_dom == "in"){
+              } else {
+              }
+              if (topo_flag_dom == "neither" || topo_flag_dom == "both") {
                 jQuery(this).show();
-            }else{
+              } else {
                 jQuery(this).hide();
-            }
-          });
+              }
+            });
+          $(".tips").hide();
+          showTags([]);
+        } else if (inputValue && isAsnumber(inputValue)) {
+          $(".tips").show();
+          jQuery(".chose_icon").find(".active").removeClass("active");
+          jQuery(".chose_icon")
+            .find(".myicon")
+            .each(function () {
+              var topo_flag_dom = jQuery(this).data("val");
+              if (topo_flag_dom == topo_flag) {
+                jQuery(this).addClass("active");
+              } else {
+              }
+              if (topo_flag_dom == "neither" || topo_flag_dom == "in") {
+                jQuery(this).show();
+              } else {
+                jQuery(this).hide();
+              }
+            });
 
-         type_current = "asout";
-         input_record.input_value = inputValue;
-         input_record.select_cur = 'AS';
+          type_current = "asout";
+          input_record.input_value = inputValue;
+          input_record.select_cur = "AS";
 
-         showInfo.initAS(inputValue);
-         var isTopoin = isTopoinAS(inputValue);
+          showInfo.initAS(inputValue);
+          var isTopoin = isTopoinAS(inputValue);
 
-         if(isTopoin){
-           $_intodomain.show();
-         }else{
-           $_intodomain.hide();
-           // $('.backtodomainouter').hide();
-         }
-         if (topo_flag=="neither"){
+          if (isTopoin) {
+            $_intodomain.show();
+          } else {
+            $_intodomain.hide();
+            // $('.backtodomainouter').hide();
+          }
+          if (topo_flag == "neither") {
             var topo_flag_bool = false;
-         }else{
+          } else {
             var topo_flag_bool = true;
-         }
-         if(is_phy_log === "log"){
-           clearRouterIn();
-           datavjs.log_ASout_init(inputValue,topo_flag_bool);
-         }else if(is_phy_log === "phy"){
-           removePhyTopoin();
-           datavjs.phy_ASout_init(inputValue,topo_flag_bool);
-         }
-         $('.backtodomainouter').hide();
-         // $_intodomain.hide();
-          
-      }else{
-       
-        $('#input-topo').val('请输入正确的AS号'); 
-        $('#input-topo').addClass('error');
+          }
+          if (is_phy_log === "log") {
+            clearRouterIn();
+            datavjs.log_ASout_init(inputValue, topo_flag_bool);
+          } else if (is_phy_log === "phy") {
+            removePhyTopoin();
+            datavjs.phy_ASout_init(inputValue, topo_flag_bool);
+          }
+          $(".backtodomainouter").hide();
+          // $_intodomain.hide();
+        } else {
+          $("#input-topo").val("请输入正确的AS号");
+          $("#input-topo").addClass("error");
+        }
       }
-    }
 
-    // ************************************左逻辑和地理切换按钮操作***********************************
+      // ************************************左逻辑和地理切换按钮操作***********************************
 
-    jQuery('.swith_log_phy .phy').click(function(){
-        if (is_phy_log == "phy"){
+      jQuery(".swith_log_phy .phy").click(function () {
+        if (is_phy_log == "phy") {
           return;
-        }else{
-            is_phy_log = "phy";
-            jQuery('.backtodomainouter').hide();     
-            $('.info5').hide();
-             $('.marker-msg').fadeOut();
-            if(type_current == "asin"){  // 特殊处理
-                jQuery('.chose_icon').hide();
-                logicRouterIn.clear();
-
-                phyTopoin = new PhyTopoin(input_record.input_value,input_record.subinput_asin);
-                $('.backtodomainouter').show();
-                $(".mymiddle .info_router").hide();
-                $_mtips_logrouter.hide();
-                $_mtips_phyrouter.show();
-            }else{
-                jQuery('.chose_icon').show();
-                clearRouterIn();
-                var inputValue = jQuery.trim(input_record.input_value);
-                var topo_flag = jQuery('.chose_icon').find(".active").data("val");
-                if (type_current == "global"){  // 特殊处理
-                    if (inputValue == ""){
-                        datavjs.phy_world_init(topo_flag);
-                    }else{
-                        searchInGlobal(inputValue,false,topo_flag);
-                    }
-                }else{
-                    var input_value_plus_type = input_record.input_value_plus_type;
-                    var input_value_plus_value = input_record.input_value_plus_value;
-                    topo_flag = topo_flag == "neither"?false:true;
-                    if (type_current == "countryin"){
-                        if (input_value_plus_type == "AS"){
-                            datavjs.phy_countryin_search_AS(input_value_plus_value, inputValue, topo_flag);
-                        }else if (input_value_plus_type == "countrytext"){
-                            datavjs.phy_countryin_search_country(input_value_plus_value, inputValue, topo_flag);
-                        }else if (input_value_plus_type == "countrylink"){
-                            datavjs.phy_countryin_search_linkcountry(input_value_plus_value, inputValue, topo_flag);
-                        }else{
-                            datavjs.phy_countryin_init(inputValue,topo_flag);
-                        }
-                    }else if (type_current == "countryout"){
-                        if (input_value_plus_type == "AS"){
-                            datavjs.phy_countryout_search_AS(input_value_plus_value, input_record.input_value, topo_flag);
-                        }else if (input_value_plus_type == "countrytext"){
-                            datavjs.phy_countryout_search_country(input_value_plus_value, input_record.input_value);
-                        }else if (input_value_plus_type == "countrylink"){
-                            datavjs.phy_countryout_search_country(input_value_plus_value, input_record.input_value);
-                        }else{
-                            datavjs.phy_countryout_init(input_record.input_value,topo_flag);
-                        }
-                    }else if (type_current == "asout"){
-                        if (input_value_plus_type == "AS"){
-                            datavjs.phy_ASout_search_AS(input_value_plus_value, inputValue, topo_flag);
-                        }else if (input_value_plus_type == "linkAS"){
-                            datavjs.phy_ASout_search_linkAS(input_value_plus_value, inputValue, topo_flag);
-                        }else if (input_value_plus_type == "countrytext"){
-                            datavjs.phy_ASout_search_country(input_value_plus_value, inputValue, topo_flag);
-                        }else if (input_value_plus_type == "countrylink"){
-                            datavjs.phy_ASout_search_linkcountry(input_value_plus_value, inputValue);
-                        }else{
-                            datavjs.phy_ASout_init(inputValue,topo_flag);
-                        }
-                    }else if (type_current == "asinterface"){
-                        jQuery(".chose_icon").find(".myicon").each(function(){
-                            jQuery(this).hide();
-                        });
-                        
-                        var searchip = $('#export-form .search-input').val().trim();
-                        phyInterRouter = new PhyInterRouter(input_record.input_value[0], input_record.input_value[1],searchip);
-                        
-                        
-                    }else{
-                        console.log("Error");
-                    }
+        } else {
+          is_phy_log = "phy";
+          jQuery(".backtodomainouter").hide();
+          $(".info5").hide();
+          $(".marker-msg").fadeOut();
+          if (type_current == "asin") {
+            // 特殊处理
+            jQuery(".chose_icon").hide();
+            logicRouterIn.clear();
+
+            phyTopoin = new PhyTopoin(
+              input_record.input_value,
+              input_record.subinput_asin
+            );
+            $(".backtodomainouter").show();
+            $(".mymiddle .info_router").hide();
+            $_mtips_logrouter.hide();
+            $_mtips_phyrouter.show();
+          } else {
+            jQuery(".chose_icon").show();
+            clearRouterIn();
+            var inputValue = jQuery.trim(input_record.input_value);
+            var topo_flag = jQuery(".chose_icon").find(".active").data("val");
+            if (type_current == "global") {
+              // 特殊处理
+              if (inputValue == "") {
+                datavjs.phy_world_init(topo_flag);
+              } else {
+                searchInGlobal(inputValue, false, topo_flag);
+              }
+            } else {
+              var input_value_plus_type = input_record.input_value_plus_type;
+              var input_value_plus_value = input_record.input_value_plus_value;
+              topo_flag = topo_flag == "neither" ? false : true;
+              if (type_current == "countryin") {
+                if (input_value_plus_type == "AS") {
+                  datavjs.phy_countryin_search_AS(
+                    input_value_plus_value,
+                    inputValue,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "countrytext") {
+                  datavjs.phy_countryin_search_country(
+                    input_value_plus_value,
+                    inputValue,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "countrylink") {
+                  datavjs.phy_countryin_search_linkcountry(
+                    input_value_plus_value,
+                    inputValue,
+                    topo_flag
+                  );
+                } else {
+                  datavjs.phy_countryin_init(inputValue, topo_flag);
                 }
+              } else if (type_current == "countryout") {
+                if (input_value_plus_type == "AS") {
+                  datavjs.phy_countryout_search_AS(
+                    input_value_plus_value,
+                    input_record.input_value,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "countrytext") {
+                  datavjs.phy_countryout_search_country(
+                    input_value_plus_value,
+                    input_record.input_value
+                  );
+                } else if (input_value_plus_type == "countrylink") {
+                  datavjs.phy_countryout_search_country(
+                    input_value_plus_value,
+                    input_record.input_value
+                  );
+                } else {
+                  datavjs.phy_countryout_init(
+                    input_record.input_value,
+                    topo_flag
+                  );
+                }
+              } else if (type_current == "asout") {
+                if (input_value_plus_type == "AS") {
+                  datavjs.phy_ASout_search_AS(
+                    input_value_plus_value,
+                    inputValue,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "linkAS") {
+                  datavjs.phy_ASout_search_linkAS(
+                    input_value_plus_value,
+                    inputValue,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "countrytext") {
+                  datavjs.phy_ASout_search_country(
+                    input_value_plus_value,
+                    inputValue,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "countrylink") {
+                  datavjs.phy_ASout_search_linkcountry(
+                    input_value_plus_value,
+                    inputValue
+                  );
+                } else {
+                  datavjs.phy_ASout_init(inputValue, topo_flag);
+                }
+              } else if (type_current == "asinterface") {
+                jQuery(".chose_icon")
+                  .find(".myicon")
+                  .each(function () {
+                    jQuery(this).hide();
+                  });
+
+                var searchip = $("#export-form .search-input").val().trim();
+                phyInterRouter = new PhyInterRouter(
+                  input_record.input_value[0],
+                  input_record.input_value[1],
+                  searchip
+                );
+              } else {
+                console.log("Error");
+              }
             }
+          }
         }
-    });
+      });
 
-    jQuery('.swith_log_phy .log').click(function(){
-        
-        if (is_phy_log == "log"){
-            return;
-        }else{
-             // jQuery('.mymiddle .tips').show();  
-            is_phy_log = "log";
-             $('.marker-msg').fadeOut();
-            var inputValue = jQuery.trim(input_record.input_value);
-            if(type_current == "asin"){
-                 datavjs.util_clear_geometry();
-                // phyTopoin.remove();
-                removePhyTopoin();
-          
-                getRouterInData(input_record.input_value,input_record.subinput_asin);
-                $('.backtodomainouter').show();
-                $_mtips_phyrouter.hide();
-                $_mtips_logrouter.show();
-              
-            }else{
-                var topo_flag = jQuery('.chose_icon').find(".active").data("val");
-                if (type_current == "global"){  // 特殊处理
-                    if (inputValue == ""){
-                        datavjs.log_world_init(topo_flag, false);
-                    }else{
-                        searchInGlobal(inputValue,false,topo_flag);
+      jQuery(".swith_log_phy .log").click(function () {
+        if (is_phy_log == "log") {
+          return;
+        } else {
+          // jQuery('.mymiddle .tips').show();
+          is_phy_log = "log";
+          $(".marker-msg").fadeOut();
+          var inputValue = jQuery.trim(input_record.input_value);
+          if (type_current == "asin") {
+            datavjs.util_clear_geometry();
+            // phyTopoin.remove();
+            removePhyTopoin();
+
+            getRouterInData(
+              input_record.input_value,
+              input_record.subinput_asin
+            );
+            $(".backtodomainouter").show();
+            $_mtips_phyrouter.hide();
+            $_mtips_logrouter.show();
+          } else {
+            var topo_flag = jQuery(".chose_icon").find(".active").data("val");
+            if (type_current == "global") {
+              // 特殊处理
+              if (inputValue == "") {
+                datavjs.log_world_init(topo_flag, false);
+              } else {
+                searchInGlobal(inputValue, false, topo_flag);
+              }
+            } else {
+              var input_value_plus_type = input_record.input_value_plus_type;
+              var input_value_plus_value = input_record.input_value_plus_value;
+              topo_flag = topo_flag == "neither" ? false : true;
+              if (type_current == "countryin") {
+                if (input_value_plus_type == "AS") {
+                  datavjs.log_countryin_search_AS(
+                    input_value_plus_value,
+                    inputValue,
+                    false,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "countrytext") {
+                  datavjs.log_countryin_search_country(
+                    input_value_plus_value,
+                    inputValue,
+                    false
+                  );
+                } else if (input_value_plus_type == "countrylink") {
+                  datavjs.log_countryin_search_linkcountry(
+                    input_value_plus_value,
+                    inputValue,
+                    inputValue,
+                    false
+                  );
+                } else {
+                  datavjs.log_countryin_init(inputValue, topo_flag);
+                }
+              } else if (type_current == "countryout") {
+                if (input_value_plus_type == "AS") {
+                  datavjs.log_countryout_search_AS(
+                    input_value_plus_value,
+                    input_record.input_value,
+                    false,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "countrytext") {
+                  datavjs.log_countryout_search_country(
+                    input_value_plus_value,
+                    input_record.input_value,
+                    false
+                  );
+                } else if (input_value_plus_type == "countrylink") {
+                  datavjs.log_countryout_search_linkcountry(
+                    input_value_plus_value,
+                    input_record.input_value,
+                    false
+                  );
+                } else {
+                  datavjs.log_countryout_init(
+                    input_record.input_value,
+                    false,
+                    topo_flag
+                  );
+                }
+              } else if (type_current == "asout") {
+                if (input_value_plus_type == "AS") {
+                  datavjs.log_ASout_search_AS(
+                    input_value_plus_value,
+                    inputValue,
+                    false,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "linkAS") {
+                  datavjs.log_ASout_search_linkAS(
+                    input_value_plus_value,
+                    inputValue,
+                    false,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "countrytext") {
+                  datavjs.log_ASout_search_country(
+                    input_value_plus_value,
+                    inputValue,
+                    false,
+                    topo_flag
+                  );
+                } else if (input_value_plus_type == "countrylink") {
+                  datavjs.log_ASout_search_linkcountry(
+                    input_value_plus_value,
+                    inputValue,
+                    false,
+                    topo_flag
+                  );
+                } else {
+                  datavjs.log_ASout_init(inputValue, topo_flag);
+                }
+              } else if (type_current == "asinterface") {
+                jQuery(".chose_icon").find(".active").removeClass("active");
+                jQuery(".chose_icon")
+                  .find(".myicon")
+                  .each(function () {
+                    var topo_flag_dom = jQuery(this).data("val");
+                    if (topo_flag_dom == "neither") {
+                      jQuery(this).addClass("active");
+                    } else {
                     }
-                }else{
-                    var input_value_plus_type = input_record.input_value_plus_type;
-                    var input_value_plus_value = input_record.input_value_plus_value;
-                    topo_flag = topo_flag == "neither"?false:true;
-                    if (type_current == "countryin"){
-                        if (input_value_plus_type == "AS"){
-                            datavjs.log_countryin_search_AS(input_value_plus_value, inputValue, false, topo_flag);
-                        }else if (input_value_plus_type == "countrytext"){
-                            datavjs.log_countryin_search_country(input_value_plus_value, inputValue, false);
-                        }else if (input_value_plus_type == "countrylink"){
-                            datavjs.log_countryin_search_linkcountry(input_value_plus_value, inputValue, inputValue, false);
-                        }else{
-                            datavjs.log_countryin_init(inputValue,topo_flag);
-                        }
-                    }else if (type_current == "countryout"){
-                        if (input_value_plus_type == "AS"){
-                            datavjs.log_countryout_search_AS(input_value_plus_value, input_record.input_value, false, topo_flag);
-                        }else if (input_value_plus_type == "countrytext"){
-                            datavjs.log_countryout_search_country(input_value_plus_value, input_record.input_value, false);
-                        }else if (input_value_plus_type == "countrylink"){
-                            datavjs.log_countryout_search_linkcountry(input_value_plus_value, input_record.input_value, false);
-                        }else{
-                            datavjs.log_countryout_init(input_record.input_value,false,topo_flag)
-                        }
-                    }else if (type_current == "asout"){
-                        if (input_value_plus_type == "AS"){
-                            datavjs.log_ASout_search_AS(input_value_plus_value, inputValue, false, topo_flag);
-                        }else if (input_value_plus_type == "linkAS"){
-                            datavjs.log_ASout_search_linkAS(input_value_plus_value, inputValue, false, topo_flag);
-                        }else if (input_value_plus_type == "countrytext"){
-                            datavjs.log_ASout_search_country(input_value_plus_value, inputValue, false, topo_flag);
-                        }else if (input_value_plus_type == "countrylink"){
-                            datavjs.log_ASout_search_linkcountry(input_value_plus_value, inputValue, false, topo_flag);
-                        }else{
-                             datavjs.log_ASout_init(inputValue,topo_flag)
-                        }
-                    }else if (type_current == "asinterface"){
-                        jQuery(".chose_icon").find(".active").removeClass("active");
-                        jQuery(".chose_icon").find(".myicon").each(function(){
-                        var topo_flag_dom = jQuery(this).data("val");
-                        if (topo_flag_dom=="neither"){
-                            jQuery(this).addClass("active");
-                        }else{
-                            ;
-                        }
-                        if (topo_flag_dom == "neither" || topo_flag_dom == "both"){
-                            jQuery(this).show();
-                        }else{
-                            jQuery(this).hide();
-                        }
-                      });
-                        datavjs.log_ASinterface_init(input_record.input_value[0],input_record.input_value[1],"neither");
-                    }else{
-                        console.log("Error");
+                    if (topo_flag_dom == "neither" || topo_flag_dom == "both") {
+                      jQuery(this).show();
+                    } else {
+                      jQuery(this).hide();
                     }
-                }
+                  });
+                datavjs.log_ASinterface_init(
+                  input_record.input_value[0],
+                  input_record.input_value[1],
+                  "neither"
+                );
+              } else {
+                console.log("Error");
+              }
             }
+          }
         }
-    });
+      });
 
-    // ******************************** 中逻辑图图形中交互相关***********************************
-    var raycaster = new THREE.Raycaster();
-    var mouse = new THREE.Vector2();  
-    var clock = new THREE.Clock();
-
-    document.getElementById("WebGL-output").addEventListener( 'click', clickHandle, false );
-    function clickHandle(event){
-      if(event.target.nodeName == 'CANVAS'){
-            var rect = event.target.getBoundingClientRect();
-            mouse.x = ( (event.clientX-rect.left) / containerW ) * 2 - 1;
-            mouse.y = - ( (event.clientY-rect.top) / containerH ) * 2 + 1;
-            raycaster.setFromCamera( mouse, camera );
-            
-            if(type_current === "global" && is_phy_log === "log"){
-                datavjs.log_click_in_world(raycaster,event.clientX,event.clientY);
-            }else if(type_current === "asin" && is_phy_log === "log"){
-              
-              // logicRouterIn.showRoutersMsg(raycaster,event.clientX,event.clientY); 
-              if(logicRouterIn){
-                logicRouterIn.clickRouters(raycaster,event.clientX,event.clientY,event);
-              }
-              
-            }else if(type_current === "asout" &&  is_phy_log === "log"){
-              datavjs.log_click_in_asout(raycaster,event.clientX,event.clientY);
-              //模拟点击连线
-              // fetchData.getEdgeInfoBetweenAS('1','US');
-            }else if(type_current === "countryin" &&  is_phy_log === "log"){
-              datavjs.log_click_in_countryin(raycaster,event.clientX,event.clientY);
-              // 在国家内点击国家标签返回的信息
-              // fetchData.getLinkedCountryInfoWithinCountry("US");
-              // // //点击国家连线获取信息
-              // fetchData.getEdgeInfoWithinCountry("US","CN");
-              
-            }else if(type_current === "countryout" &&  is_phy_log === "log"){
-              datavjs.log_click_in_countryout(raycaster,event.clientX,event.clientY)
-              // getCountryInfoBetweenCountry("US");
-              //点击国家连线获取信息
-              // fetchData.getEdgeInfoBetweenCountry("GB", "US");
-            }else if (type_current === "asinterface" &&  is_phy_log === "log"){
-              datavjs.log_click_in_ASinterface(raycaster,event.clientX,event.clientY)
+      // ******************************** 中逻辑图图形中交互相关***********************************
+      var raycaster = new THREE.Raycaster();
+      var mouse = new THREE.Vector2();
+      var clock = new THREE.Clock();
+
+      document
+        .getElementById("WebGL-output")
+        .addEventListener("click", clickHandle, false);
+      function clickHandle(event) {
+        if (event.target.nodeName == "CANVAS") {
+          var rect = event.target.getBoundingClientRect();
+          mouse.x = ((event.clientX - rect.left) / containerW) * 2 - 1;
+          mouse.y = -((event.clientY - rect.top) / containerH) * 2 + 1;
+          raycaster.setFromCamera(mouse, camera);
+
+          if (type_current === "global" && is_phy_log === "log") {
+            datavjs.log_click_in_world(raycaster, event.clientX, event.clientY);
+          } else if (type_current === "asin" && is_phy_log === "log") {
+            // logicRouterIn.showRoutersMsg(raycaster,event.clientX,event.clientY);
+            if (logicRouterIn) {
+              logicRouterIn.clickRouters(
+                raycaster,
+                event.clientX,
+                event.clientY,
+                event
+              );
             }
+          } else if (type_current === "asout" && is_phy_log === "log") {
+            datavjs.log_click_in_asout(raycaster, event.clientX, event.clientY);
+            //模拟点击连线
+            // fetchData.getEdgeInfoBetweenAS('1','US');
+          } else if (type_current === "countryin" && is_phy_log === "log") {
+            datavjs.log_click_in_countryin(
+              raycaster,
+              event.clientX,
+              event.clientY
+            );
+            // 在国家内点击国家标签返回的信息
+            // fetchData.getLinkedCountryInfoWithinCountry("US");
+            // // //点击国家连线获取信息
+            // fetchData.getEdgeInfoWithinCountry("US","CN");
+          } else if (type_current === "countryout" && is_phy_log === "log") {
+            datavjs.log_click_in_countryout(
+              raycaster,
+              event.clientX,
+              event.clientY
+            );
+            // getCountryInfoBetweenCountry("US");
+            //点击国家连线获取信息
+            // fetchData.getEdgeInfoBetweenCountry("GB", "US");
+          } else if (type_current === "asinterface" && is_phy_log === "log") {
+            datavjs.log_click_in_ASinterface(
+              raycaster,
+              event.clientX,
+              event.clientY
+            );
+          }
+        }
       }
-    }
 
-    //进入域内和返回域间按钮操作
+      //进入域内和返回域间按钮操作
 
-    $_intodomain.click(function(){
-      // forbExport();
-      $('#export-form .search-input').val('');
-      var currentHeaderAs = $('.logic_info_as .info_right .colum1 span').eq(1).text();
-      showInfo.initRoutertopo(currentHeaderAs);
-      input_record.as = input_record.input_value;
+      $_intodomain.click(function () {
+        // forbExport();
+        $("#export-form .search-input").val("");
+        var currentHeaderAs = $(".logic_info_as .info_right .colum1 span")
+          .eq(1)
+          .text();
+        showInfo.initRoutertopo(currentHeaderAs);
+        input_record.as = input_record.input_value;
 
-      $_mtips.hide();
-      
-      if(is_phy_log == "log" && type_current === "asout"){     
+        $_mtips.hide();
 
+        if (is_phy_log == "log" && type_current === "asout") {
           datavjs.util_clear_geometry();
-          getRouterInData(input_record.input_value,input_record.subinput_asin);
-          $_mtips_logrouter.show();   
-
-      }else if(is_phy_log == "phy" && type_current === "asout"){
+          getRouterInData(input_record.input_value, input_record.subinput_asin);
+          $_mtips_logrouter.show();
+        } else if (is_phy_log == "phy" && type_current === "asout") {
+          datavjs.util_clear_geometry();
+          phyTopoin = new PhyTopoin(
+            input_record.input_value,
+            input_record.subinput_asin
+          );
 
-          datavjs.util_clear_geometry();                         
-          phyTopoin = new PhyTopoin(input_record.input_value,input_record.subinput_asin);
-         
           $_mtips_phyrouter.show();
-      }
-
-      $_choseicon.find('.myicon').hide();  
-      $(".intodomain").hide();
-      $(".backtodomainouter").show();
-      type_current = "asin";   
-    })
-
-    $('.backtodomainouter').click(function(){
-      // resetExport();
-      $('#export-form .search-input').val('');
-      type_current = "asout";
-      var currentHeaderAs = $_currentHeaderAs.text();
-      showInfo.initAS(currentHeaderAs);
-      var myicon_active = $('.myicon.active').data().val;
-      if(is_phy_log == "log"){
-        clearRouterIn();
-        if(myicon_active == "neither"){
-          datavjs.log_ASout_init(input_record.as,false);
-        }else if(myicon_active == "in"){
-          datavjs.log_ASout_init(input_record.as,true);
-        }else{
-          console.log("Error");
-          datavjs.log_ASout_init(input_record.as,true);
         }
-        
-      }else if(is_phy_log == "phy"){
-         removePhyTopoin();
-         if(myicon_active == "neither"){
-          datavjs.phy_ASout_init(input_record.as,false);
-        }else if(myicon_active == "in"){
-          datavjs.phy_ASout_init(input_record.as,true);
-        }else{
-          console.log("Error");
-          datavjs.phy_ASout_init(input_record.as,true);
+
+        $_choseicon.find(".myicon").hide();
+        $(".intodomain").hide();
+        $(".backtodomainouter").show();
+        type_current = "asin";
+      });
+
+      $(".backtodomainouter").click(function () {
+        // resetExport();
+        $("#export-form .search-input").val("");
+        type_current = "asout";
+        var currentHeaderAs = $_currentHeaderAs.text();
+        showInfo.initAS(currentHeaderAs);
+        var myicon_active = $(".myicon.active").data().val;
+        if (is_phy_log == "log") {
+          clearRouterIn();
+          if (myicon_active == "neither") {
+            datavjs.log_ASout_init(input_record.as, false);
+          } else if (myicon_active == "in") {
+            datavjs.log_ASout_init(input_record.as, true);
+          } else {
+            console.log("Error");
+            datavjs.log_ASout_init(input_record.as, true);
+          }
+        } else if (is_phy_log == "phy") {
+          removePhyTopoin();
+          if (myicon_active == "neither") {
+            datavjs.phy_ASout_init(input_record.as, false);
+          } else if (myicon_active == "in") {
+            datavjs.phy_ASout_init(input_record.as, true);
+          } else {
+            console.log("Error");
+            datavjs.phy_ASout_init(input_record.as, true);
+          }
         }
-      }
-     
-      $(this).hide();
-      $(".intodomain").show();
-      $_choseicon.show();
-      $_choseicon.find('.myicon').show();
-      $_choseicon.find('.myicon').eq(0).hide();
-      $_choseicon.find('.myicon').eq(2).hide();
-      $_mtips.show();
-      $_mtips_logrouter.hide();
-      $_mtips_phyrouter.hide();
-    });
 
-    //进入域内和返回域间按钮操作end
+        $(this).hide();
+        $(".intodomain").show();
+        $_choseicon.show();
+        $_choseicon.find(".myicon").show();
+        $_choseicon.find(".myicon").eq(0).hide();
+        $_choseicon.find(".myicon").eq(2).hide();
+        $_mtips.show();
+        $_mtips_logrouter.hide();
+        $_mtips_phyrouter.hide();
+      });
+
+      //进入域内和返回域间按钮操作end
 
-    function clearRouterIn(){
-      if(logicRouterIn){
-        logicRouterIn.clear();
-        logicRouterIn = null;
+      function clearRouterIn() {
+        if (logicRouterIn) {
+          logicRouterIn.clear();
+          logicRouterIn = null;
+        }
       }
-    }
 
-    function removePhyTopoin(){
-      if(phyTopoin && phyTopoin.remove){
-        phyTopoin.remove();
-        phyTopoin = null;
+      function removePhyTopoin() {
+        if (phyTopoin && phyTopoin.remove) {
+          phyTopoin.remove();
+          phyTopoin = null;
+        }
       }
-    }
 
-  //地理拓扑中的右上四个按钮操作
-   // var  activeIndex = 0;
-    jQuery(".chose_icon").find(".myicon").each(function(){
-        jQuery(this).click(function(){
+      //地理拓扑中的右上四个按钮操作
+      // var  activeIndex = 0;
+      jQuery(".chose_icon")
+        .find(".myicon")
+        .each(function () {
+          jQuery(this).click(function () {
             var input_value = jQuery.trim(input_record.input_value);
             var input_value_plus_type = input_record.input_value_plus_type;
             var input_value_plus_value = input_record.input_value_plus_value;
             var picking_flag = true;
-            if (type_current=="global"){
-                if(jQuery(this).hasClass("active")){
-                    ;
-                }else{
-                    var topo_flag = jQuery(this).data("val");
-                    if (input_value==""){
-                        if (is_phy_log=="log"){
-                          datavjs.log_world_init(topo_flag, false);
-                        }else if (is_phy_log=="phy"){
-                          datavjs.phy_world_init(topo_flag, false);
-                        }else{
-                          ;
-                        }
-                        jQuery(".chose_icon").find(".active").removeClass("active");
-                        jQuery(this).addClass("active");
-                    }else{
-                        searchInGlobal(input_value,picking_flag,topo_flag);
-                    }
+            if (type_current == "global") {
+              if (jQuery(this).hasClass("active")) {
+              } else {
+                var topo_flag = jQuery(this).data("val");
+                if (input_value == "") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_world_init(topo_flag, false);
+                  } else if (is_phy_log == "phy") {
+                    datavjs.phy_world_init(topo_flag, false);
+                  } else {
+                  }
+                  jQuery(".chose_icon").find(".active").removeClass("active");
+                  jQuery(this).addClass("active");
+                } else {
+                  searchInGlobal(input_value, picking_flag, topo_flag);
                 }
-            }else if(type_current=="countryin"){
-                if(jQuery(this).hasClass("active")){
-                    ;
-                }else{
-                    var topo_flag = jQuery(this).data("val")=="neither"?false:true;
-                    if (input_value_plus_type == ""){
-                        if (is_phy_log == "log"){
-                            datavjs.log_countryin_init(input_value,topo_flag);
-                        }else{
-                            datavjs.phy_countryin_init(input_value,topo_flag);
-                        }
-                    }else if (input_value_plus_type == "AS"){
-                        if (is_phy_log == "log"){
-                            datavjs.log_countryin_search_AS(input_value_plus_value, input_value, false, topo_flag);
-                        }else{
-                            datavjs.phy_countryin_search_AS(input_value_plus_value, input_value, topo_flag);
-                        }
-                    }else if (input_value_plus_type == "countrytext"){
-                        if (is_phy_log == "log"){
-                            datavjs.log_countryin_search_country(input_value_plus_value, input_value, false);
-                        }else{
-                            datavjs.phy_countryin_search_country(input_value_plus_value, input_value, topo_flag);
-                        }
-                    }else if (input_value_plus_type == "countrylink"){
-                        if (is_phy_log == "log"){
-                            datavjs.log_countryin_search_linkcountry(input_value_plus_value, input_value, false, topo_flag);
-                        }else{
-                            datavjs.phy_countryin_search_linkcountry(input_value_plus_value, input_value, topo_flag);
-                        }
-                    }else{
-                        console.log("Error");
-                    }
-                    jQuery(".chose_icon").find(".active").removeClass("active");
-                    jQuery(this).addClass("active");
+              }
+            } else if (type_current == "countryin") {
+              if (jQuery(this).hasClass("active")) {
+              } else {
+                var topo_flag =
+                  jQuery(this).data("val") == "neither" ? false : true;
+                if (input_value_plus_type == "") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_countryin_init(input_value, topo_flag);
+                  } else {
+                    datavjs.phy_countryin_init(input_value, topo_flag);
+                  }
+                } else if (input_value_plus_type == "AS") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_countryin_search_AS(
+                      input_value_plus_value,
+                      input_value,
+                      false,
+                      topo_flag
+                    );
+                  } else {
+                    datavjs.phy_countryin_search_AS(
+                      input_value_plus_value,
+                      input_value,
+                      topo_flag
+                    );
+                  }
+                } else if (input_value_plus_type == "countrytext") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_countryin_search_country(
+                      input_value_plus_value,
+                      input_value,
+                      false
+                    );
+                  } else {
+                    datavjs.phy_countryin_search_country(
+                      input_value_plus_value,
+                      input_value,
+                      topo_flag
+                    );
+                  }
+                } else if (input_value_plus_type == "countrylink") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_countryin_search_linkcountry(
+                      input_value_plus_value,
+                      input_value,
+                      false,
+                      topo_flag
+                    );
+                  } else {
+                    datavjs.phy_countryin_search_linkcountry(
+                      input_value_plus_value,
+                      input_value,
+                      topo_flag
+                    );
+                  }
+                } else {
+                  console.log("Error");
                 }
-            }else if(type_current=="countryout"){
-                if(jQuery(this).hasClass("active")){
-                    ;
-                }else{
-                    var topo_flag = jQuery(this).data("val")=="neither"?false:true;
-                    if (input_value_plus_type == ""){
-                        if (is_phy_log == "log"){
-                            datavjs.log_countryout_init(input_record.input_value,false,topo_flag);
-                        }else{
-                            datavjs.phy_countryout_init(input_record.input_value,topo_flag);
-                        }
-                    }else if (input_value_plus_type == "AS"){
-                        if (is_phy_log == "log"){
-                            datavjs.log_countryout_search_AS(input_value_plus_value, input_record.input_value, false, topo_flag);
-                        }else{
-                            datavjs.phy_countryout_search_AS(input_value_plus_value, input_record.input_value, topo_flag);
-                        }
-                      
-                    }else if (input_value_plus_type == "countrytext"){
-                        if (is_phy_log == "log"){
-                            datavjs.log_countryout_search_country(input_value_plus_value, input_record.input_value, false);
-                        }else{
-                            datavjs.phy_countryout_search_country(input_value_plus_value, input_record.input_value);
-                        }
-                    }else if  (input_value_plus_type == "countrylink"){
-                        if (is_phy_log == "log"){
-                            datavjs.log_countryout_init(input_record.input_value,false,topo_flag);
-                        }else{
-                            datavjs.phy_countryout_init(input_record.input_value,topo_flag);
-                        }
-                    }else{
-                      console.log("Error");
-                    }
-                    jQuery(".chose_icon").find(".active").removeClass("active");
-                    jQuery(this).addClass("active");
+                jQuery(".chose_icon").find(".active").removeClass("active");
+                jQuery(this).addClass("active");
+              }
+            } else if (type_current == "countryout") {
+              if (jQuery(this).hasClass("active")) {
+              } else {
+                var topo_flag =
+                  jQuery(this).data("val") == "neither" ? false : true;
+                if (input_value_plus_type == "") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_countryout_init(
+                      input_record.input_value,
+                      false,
+                      topo_flag
+                    );
+                  } else {
+                    datavjs.phy_countryout_init(
+                      input_record.input_value,
+                      topo_flag
+                    );
+                  }
+                } else if (input_value_plus_type == "AS") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_countryout_search_AS(
+                      input_value_plus_value,
+                      input_record.input_value,
+                      false,
+                      topo_flag
+                    );
+                  } else {
+                    datavjs.phy_countryout_search_AS(
+                      input_value_plus_value,
+                      input_record.input_value,
+                      topo_flag
+                    );
+                  }
+                } else if (input_value_plus_type == "countrytext") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_countryout_search_country(
+                      input_value_plus_value,
+                      input_record.input_value,
+                      false
+                    );
+                  } else {
+                    datavjs.phy_countryout_search_country(
+                      input_value_plus_value,
+                      input_record.input_value
+                    );
+                  }
+                } else if (input_value_plus_type == "countrylink") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_countryout_init(
+                      input_record.input_value,
+                      false,
+                      topo_flag
+                    );
+                  } else {
+                    datavjs.phy_countryout_init(
+                      input_record.input_value,
+                      topo_flag
+                    );
+                  }
+                } else {
+                  console.log("Error");
                 }
-            }else if(type_current=="asout"){
-                if(jQuery(this).hasClass("active")){
-                    ;
-                }else{
-                    var topo_flag = jQuery(this).data("val")=="neither"?false:true;
-                    if (input_value_plus_type == ""){
-                        if (is_phy_log == "log"){
-                            datavjs.log_ASout_init(input_value,topo_flag);
-                        }else{
-                            datavjs.phy_ASout_init(input_value,topo_flag);
-                        }
-                      
-                    }else if (input_value_plus_type == "AS"){
-                        if (is_phy_log == "log"){
-                            datavjs.log_ASout_search_AS(input_value_plus_value, input_value, false, topo_flag);
-                        }else{
-                            datavjs.phy_ASout_search_AS(input_value_plus_value, input_value, topo_flag);
-                        }
-                      
-                    }else if (input_value_plus_type == "linkAS"){
-                        if (is_phy_log == "log"){
-                            datavjs.log_ASout_search_linkAS(input_value_plus_value, input_value, false, topo_flag);
-                        }else{
-                            datavjs.phy_ASout_search_linkAS(input_value_plus_value, input_value, topo_flag);
-                        }
-                      
-                    }else if (input_value_plus_type == "countrytext"){
-                        if (is_phy_log == "log"){
-                            datavjs.log_ASout_search_country(input_value_plus_value, input_value, false, topo_flag);
-                        }else{
-                            datavjs.phy_ASout_search_country(input_value_plus_value, input_value, topo_flag);
-                        }
-                      
-                    }else if  (input_value_plus_type == "countrylink"){
-                        if (is_phy_log == "log"){
-                            datavjs.log_ASout_search_country(input_value_plus_value, input_value, false, topo_flag);
-                        }else{
-                            datavjs.phy_ASout_search_country(input_value_plus_value, input_value, topo_flag);
-                        }
-                    }else{
-                      console.log("Error");
-                    }
-                    jQuery(".chose_icon").find(".active").removeClass("active");
-                    jQuery(this).addClass("active");
+                jQuery(".chose_icon").find(".active").removeClass("active");
+                jQuery(this).addClass("active");
+              }
+            } else if (type_current == "asout") {
+              if (jQuery(this).hasClass("active")) {
+              } else {
+                var topo_flag =
+                  jQuery(this).data("val") == "neither" ? false : true;
+                if (input_value_plus_type == "") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_ASout_init(input_value, topo_flag);
+                  } else {
+                    datavjs.phy_ASout_init(input_value, topo_flag);
+                  }
+                } else if (input_value_plus_type == "AS") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_ASout_search_AS(
+                      input_value_plus_value,
+                      input_value,
+                      false,
+                      topo_flag
+                    );
+                  } else {
+                    datavjs.phy_ASout_search_AS(
+                      input_value_plus_value,
+                      input_value,
+                      topo_flag
+                    );
+                  }
+                } else if (input_value_plus_type == "linkAS") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_ASout_search_linkAS(
+                      input_value_plus_value,
+                      input_value,
+                      false,
+                      topo_flag
+                    );
+                  } else {
+                    datavjs.phy_ASout_search_linkAS(
+                      input_value_plus_value,
+                      input_value,
+                      topo_flag
+                    );
+                  }
+                } else if (input_value_plus_type == "countrytext") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_ASout_search_country(
+                      input_value_plus_value,
+                      input_value,
+                      false,
+                      topo_flag
+                    );
+                  } else {
+                    datavjs.phy_ASout_search_country(
+                      input_value_plus_value,
+                      input_value,
+                      topo_flag
+                    );
+                  }
+                } else if (input_value_plus_type == "countrylink") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_ASout_search_country(
+                      input_value_plus_value,
+                      input_value,
+                      false,
+                      topo_flag
+                    );
+                  } else {
+                    datavjs.phy_ASout_search_country(
+                      input_value_plus_value,
+                      input_value,
+                      topo_flag
+                    );
+                  }
+                } else {
+                  console.log("Error");
                 }
-            }else if (type_current == "asinterface"){
-                if(jQuery(this).hasClass("active")){
-                    ;
-                }else{
-                    var topo_flag = jQuery(this).data("val");
-                    if (input_value_plus_type == ""){
-                        if (is_phy_log == "log"){
-                            datavjs.log_ASinterface_init (input_record.input_value[0],input_record.input_value[1],topo_flag);
-                        }else{
-                            console.log("phy need add");
-                        }
-                    }else{
-                        console.log("log condition need add");
-                    }
-                    jQuery(".chose_icon").find(".active").removeClass("active");
-                    jQuery(this).addClass("active");
+                jQuery(".chose_icon").find(".active").removeClass("active");
+                jQuery(this).addClass("active");
+              }
+            } else if (type_current == "asinterface") {
+              if (jQuery(this).hasClass("active")) {
+              } else {
+                var topo_flag = jQuery(this).data("val");
+                if (input_value_plus_type == "") {
+                  if (is_phy_log == "log") {
+                    datavjs.log_ASinterface_init(
+                      input_record.input_value[0],
+                      input_record.input_value[1],
+                      topo_flag
+                    );
+                  } else {
+                    console.log("phy need add");
+                  }
+                } else {
+                  console.log("log condition need add");
                 }
-            }else {
-                console.log("Error");
+                jQuery(".chose_icon").find(".active").removeClass("active");
+                jQuery(this).addClass("active");
+              }
+            } else {
+              console.log("Error");
             }
+          });
         });
-    });
 
-   jQuery(".chose_icon").find(".myicon").each(function(){
-     jQuery(this).hover(function(){
-       jQuery(this).find("span").css({"opacity": 1})
-     },function(){
-           jQuery(this).find("span").css({"opacity": 0})
-     }) ;
-   });
-  
-  //***************************8*******************右下信息操作*********************************************/
-  //初始化各图形及图形操作对应的信息对应的调用  
-
-    function clickCountryEdgeinAS(countryCode){
-       if(type_current == "asout"){
-          filterContentlist(countryCode,'CODE');
-       }
-    }
+      jQuery(".chose_icon")
+        .find(".myicon")
+        .each(function () {
+          jQuery(this).hover(
+            function () {
+              jQuery(this).find("span").css({ opacity: 1 });
+            },
+            function () {
+              jQuery(this).find("span").css({ opacity: 0 });
+            }
+          );
+        });
 
-    function filterContentlist(lt,val){
+      //***************************8*******************右下信息操作*********************************************/
+      //初始化各图形及图形操作对应的信息对应的调用
 
-      var content_list = $('.right-btm .listContainer .content-list');
-      var index = 1;
+      function clickCountryEdgeinAS(countryCode) {
+        if (type_current == "asout") {
+          filterContentlist(countryCode, "CODE");
+        }
+      }
 
-      $('.right-btm .listContainer .content-title th').each(function(i,d){
+      function filterContentlist(lt, val) {
+        var content_list = $(".right-btm .listContainer .content-list");
+        var index = 1;
 
-         if($(this).text() == val){
+        $(".right-btm .listContainer .content-title th").each(function (i, d) {
+          if ($(this).text() == val) {
             index = i;
             return false;
-         }
-      })
+          }
+        });
 
-      content_list.each(function(i,d){
+        content_list.each(function (i, d) {
+          var lt_text = $(this).find("td").eq(index).text();
 
-        var lt_text = $(this).find('td').eq(index).text();
+          if (lt_text !== lt) {
+            $(this).css({ display: "none" });
+          } else if (lt_text == lt) {
+            $(this).css({ display: "table" });
+          }
+        });
+      }
 
-        if(lt_text !== lt){
-           $(this).css({display:'none'})
-        }else if(lt_text == lt){
-           $(this).css({display:'table'})
+      function showRbbtn(index) {
+        //0,1,2 分别对应2,3,4个按钮
+        switch (index) {
+          case 0:
+            $(".rb-btn2 .rb-btn-outer").css({
+              webkitTransform: "rotate(-40deg)",
+              transform: "rotate(0deg)",
+            });
+            break;
+          case 1:
+            $(".rb-btn3 .rb-btn-outer").css({
+              webkitTransform: "rotate(0deg)",
+              transform: "rotate(0deg)",
+            });
+            break;
+          case 2:
+            $(".rb-btn4 .rb-btn-outer").css({
+              webkitTransform: "rotate(0deg)",
+              transform: "rotate(0deg)",
+            });
+            break;
         }
-      })
-    }
-
-    function showRbbtn(index){//0,1,2 分别对应2,3,4个按钮
-      switch(index){
-        case 0: $('.rb-btn2 .rb-btn-outer').css({webkitTransform:'rotate(-40deg)',transform: 'rotate(0deg)'}); break;
-        case 1: $('.rb-btn3 .rb-btn-outer').css({webkitTransform:'rotate(0deg)',transform: 'rotate(0deg)'}); break;
-        case 2: $('.rb-btn4 .rb-btn-outer').css({webkitTransform:'rotate(0deg)',transform: 'rotate(0deg)'}); break;
-      }
 
-      $('.right-btm .rb-btn').each(function(i,d){
-          if(i==index){
-             $(this).css({display: 'block'})
-          }else{
-            $(this).css({display: 'none'})
+        $(".right-btm .rb-btn").each(function (i, d) {
+          if (i == index) {
+            $(this).css({ display: "block" });
+          } else {
+            $(this).css({ display: "none" });
           }
-      })
-    }
-
-    // function setCirtext(){
-
-    // }
-
-  //全球初始化信息展示
-   function showGlobalinitInfo(){
-     $('.logic_info_as').hide();
-     $('.logic_info_country').hide();
-     $('.logic_info_global').show();
-
-     $('.right-btm .content').each(function(){
-       $(this).css({display:'none'})
-     })
-     $('.right-btm .title p').text('国家(地区)列表');
-     $('.right-btm .aslist').css({display:'block'})
-   }
-
-  // 搜索过滤
-  // $('.search-input').blur(function(){
-  //   $(this).val('');
-  // })
-
-   $('#logic-export-search').click(function(){
-      var searchValue = $.trim($('.search-input').val());
-      if(type_current == 'asin'){
-        input_record.subinput_asin = searchValue;
-      }else{
-        input_record.input_value_plus_value = searchValue;
+        });
       }
-      
-      // filterContentInDblClickCountry(searchValue)
-      // if(type_current == 'global' && type_current_global == 'global_init'){
-      searchInRblist(searchValue);
-   })
-
-   function searchInRblist(searchValue){
-      if(type_current == 'global'){
-           filterInGlobalinit(searchValue);
-      // }else if(type_current == 'global' && type_current_global == 'global_as'){
-      //      filterContentInAsout(searchValue);
-      // }else if(type_current == 'global' && type_current_global == 'global_country'){
-      //      filterContentInCountry(searchValue);
-      }else if(type_current == 'asin'){
+
+      // function setCirtext(){
+
+      // }
+
+      //全球初始化信息展示
+      function showGlobalinitInfo() {
+        $(".logic_info_as").hide();
+        $(".logic_info_country").hide();
+        $(".logic_info_global").show();
+
+        $(".right-btm .content").each(function () {
+          $(this).css({ display: "none" });
+        });
+        $(".right-btm .title p").text("国家(地区)列表");
+        $(".right-btm .aslist").css({ display: "block" });
+      }
+
+      // 搜索过滤
+      // $('.search-input').blur(function(){
+      //   $(this).val('');
+      // })
+
+      $("#logic-export-search").click(function () {
+        var searchValue = $.trim($(".search-input").val());
+        if (type_current == "asin") {
+          input_record.subinput_asin = searchValue;
+        } else {
+          input_record.input_value_plus_value = searchValue;
+        }
+
+        // filterContentInDblClickCountry(searchValue)
+        // if(type_current == 'global' && type_current_global == 'global_init'){
+        searchInRblist(searchValue);
+      });
+
+      function searchInRblist(searchValue) {
+        if (type_current == "global") {
+          filterInGlobalinit(searchValue);
+          // }else if(type_current == 'global' && type_current_global == 'global_as'){
+          //      filterContentInAsout(searchValue);
+          // }else if(type_current == 'global' && type_current_global == 'global_country'){
+          //      filterContentInCountry(searchValue);
+        } else if (type_current == "asin") {
           filterContentInAsin(searchValue);
-      }else if(type_current == 'asout'){
+        } else if (type_current == "asout") {
           filterContentInAsout(searchValue);
-      }else if(type_current == 'countryin'){
+        } else if (type_current == "countryin") {
           filterContentInCountry(searchValue);
-      }else if(type_current == 'countryout'){
+        } else if (type_current == "countryout") {
           // filterContentInCountry(searchValue);
           filterContentInDblClickCountry(searchValue);
-      }else if(type_current == 'asinterface'){
+        } else if (type_current == "asinterface") {
           filterContentInAsinterface(searchValue);
+        }
       }
-   }
 
-    // 全球单击AS
-    function icon_world_click_AS(){
-        jQuery(".chose_icon").find(".myicon").each(function(){
-          jQuery(this).show();
-        });
-    }
+      // 全球单击AS
+      function icon_world_click_AS() {
+        jQuery(".chose_icon")
+          .find(".myicon")
+          .each(function () {
+            jQuery(this).show();
+          });
+      }
 
-    // 全球单击国家
-    function icon_world_click_country(){
-        jQuery(".chose_icon").find(".myicon").each(function(){
-          jQuery(this).show();
-        });
-    }
-
-  function filterInGlobalinit(searchValue){
-
-    input_record.input_value = searchValue;
-    var is_ASnum = isAsnumber(searchValue);
-    var is_country = isCountry(searchValue);
-    var topo_flag = jQuery(".chose_icon").find(".active").data("val");
-    switch(contentlist_btnstatus){
-        case '1': fetchData.getAllCountruInfoOfGlobal({key:searchValue});
-        if (is_phy_log == "log"){
-            if (is_country){
+      // 全球单击国家
+      function icon_world_click_country() {
+        jQuery(".chose_icon")
+          .find(".myicon")
+          .each(function () {
+            jQuery(this).show();
+          });
+      }
+
+      function filterInGlobalinit(searchValue) {
+        input_record.input_value = searchValue;
+        var is_ASnum = isAsnumber(searchValue);
+        var is_country = isCountry(searchValue);
+        var topo_flag = jQuery(".chose_icon").find(".active").data("val");
+        switch (contentlist_btnstatus) {
+          case "1":
+            fetchData.getAllCountruInfoOfGlobal({ key: searchValue });
+            if (is_phy_log == "log") {
+              if (is_country) {
                 icon_world_click_country();
-                datavjs.log_world_search_country(searchValue.toUpperCase(), false, topo_flag)
-            }else if(searchValue === ''){
-                datavjs.log_world_init(topo_flag, false)
-            }else{
+                datavjs.log_world_search_country(
+                  searchValue.toUpperCase(),
+                  false,
+                  topo_flag
+                );
+              } else if (searchValue === "") {
+                datavjs.log_world_init(topo_flag, false);
+              } else {
                 console.log("No graph api.");
-            }
-        }else if(is_phy_log == "phy"){
-            if (is_country){
+              }
+            } else if (is_phy_log == "phy") {
+              if (is_country) {
                 icon_world_click_country();
-                datavjs.phy_world_search_country(searchValue.toUpperCase(), topo_flag)
-            }else if(searchValue === ''){
+                datavjs.phy_world_search_country(
+                  searchValue.toUpperCase(),
+                  topo_flag
+                );
+              } else if (searchValue === "") {
                 icon_world_click_country();
                 datavjs.phy_world_init(topo_flag);
-            }else{
+              } else {
                 console.log("No graph api.");
+              }
+            } else {
+              console.log("Not log or phy!");
             }
-        }else{
-            console.log("Not log or phy!");
-        }
-        break;//初始化
-        case '2': fetchData.getASTypeStatisticsOfGlobal({key:searchValue});
-        if (is_phy_log == "log"){
-            if (is_ASnum){
+            break; //初始化
+          case "2":
+            fetchData.getASTypeStatisticsOfGlobal({ key: searchValue });
+            if (is_phy_log == "log") {
+              if (is_ASnum) {
                 icon_world_click_AS();
-                datavjs.log_world_search_AS(searchValue.toUpperCase(), false, topo_flag);
-            }else if (is_country){
+                datavjs.log_world_search_AS(
+                  searchValue.toUpperCase(),
+                  false,
+                  topo_flag
+                );
+              } else if (is_country) {
                 icon_world_click_country();
-                datavjs.log_world_search_country(searchValue.toUpperCase(), false, topo_flag)
-            }else if(searchValue === ''){
-                datavjs.log_world_init(topo_flag, false)
-            }else{
+                datavjs.log_world_search_country(
+                  searchValue.toUpperCase(),
+                  false,
+                  topo_flag
+                );
+              } else if (searchValue === "") {
+                datavjs.log_world_init(topo_flag, false);
+              } else {
                 console.log("No graph api.");
-            }
-        }else if(is_phy_log == "phy"){
-            if (is_ASnum){
+              }
+            } else if (is_phy_log == "phy") {
+              if (is_ASnum) {
                 icon_world_click_AS();
-                datavjs.phy_world_search_AS(searchValue.toUpperCase(), topo_flag);
-            }else if (is_country){
+                datavjs.phy_world_search_AS(
+                  searchValue.toUpperCase(),
+                  topo_flag
+                );
+              } else if (is_country) {
                 icon_world_click_country();
-                datavjs.phy_world_search_country(searchValue.toUpperCase(), topo_flag)
-            }else if(searchValue === ''){
+                datavjs.phy_world_search_country(
+                  searchValue.toUpperCase(),
+                  topo_flag
+                );
+              } else if (searchValue === "") {
                 icon_world_click_country();
                 datavjs.phy_world_init(topo_flag);
-            }else{
+              } else {
                 console.log("No graph api.");
+              }
+            } else {
+              console.log("Not log or phy!");
             }
-        }else{
-            console.log("Not log or phy!");
-        }
-        break;//初始化
-        case '3': fetchData.getASEdgeofGlobal({key:searchValue});
-          if (is_phy_log == "log"){
-              if (is_ASnum){
-                  icon_world_click_AS();
-                  datavjs.log_world_search_AS(searchValue.toUpperCase(), false, topo_flag);
-              }else if(searchValue === ''){
-                datavjs.log_world_init(topo_flag, false)
-              }else{
-                  console.log("No graph api.");
+            break; //初始化
+          case "3":
+            fetchData.getASEdgeofGlobal({ key: searchValue });
+            if (is_phy_log == "log") {
+              if (is_ASnum) {
+                icon_world_click_AS();
+                datavjs.log_world_search_AS(
+                  searchValue.toUpperCase(),
+                  false,
+                  topo_flag
+                );
+              } else if (searchValue === "") {
+                datavjs.log_world_init(topo_flag, false);
+              } else {
+                console.log("No graph api.");
               }
-          }else if(is_phy_log == "phy"){
-              if (is_ASnum){
-                  icon_world_click_AS();
-                  datavjs.phy_world_search_AS(searchValue.toUpperCase(), topo_flag);
-              }else if(searchValue === ''){
-                datavjs.phy_world_init(topo_flag)
-              }else{
-                  console.log("No graph api.");
+            } else if (is_phy_log == "phy") {
+              if (is_ASnum) {
+                icon_world_click_AS();
+                datavjs.phy_world_search_AS(
+                  searchValue.toUpperCase(),
+                  topo_flag
+                );
+              } else if (searchValue === "") {
+                datavjs.phy_world_init(topo_flag);
+              } else {
+                console.log("No graph api.");
               }
-          }else{
+            } else {
               console.log("Not log or phy!");
-          }
-        break;
-     }
-  }
-
-
-  function filterContentInAsout(searchValue){//与as间搜索as 通用
-    currentHeaderAs = $_currentHeaderAs.text();
-    fetchData.getParentASListByASN({as: currentHeaderAs,key:searchValue});
-    //对应的图形调用程序
-    var is_ASnum = isAsnumber(searchValue);
-    var topo_flag = jQuery(".chose_icon").find(".active").data("val")=="neither"?false:true;
-    input_record.input_value_plus_type = "AS";
-
-
-            if (is_phy_log == "log"){
-                if (isAsnumber(searchValue)){
-                    icon_countryin_click_AS();
-                    datavjs.log_ASout_search_AS(searchValue, currentHeaderAs, topo_flag);
-                }else if(searchValue === ''){
-                    datavjs.log_ASout_init(currentHeaderAs,topo_flag)
-                }else{
-                    console.log('输入正确的as');
-                }
-            }else if(is_phy_log == "phy"){
-                if (isAsnumber(searchValue)){
-                    icon_countryin_click_AS();
-                    datavjs.phy_ASout_search_AS(searchValue, currentHeaderAs,topo_flag);
-                }else if(searchValue === ''){
-                    datavjs.phy_ASout_init(currentHeaderAs,topo_flag)
-                }else{
-                  console.log('输入正确的as');
-                }
             }
-  };
+            break;
+        }
+      }
 
-// 4种状态的切换
-    function icon_countryin_click_country(){
-        jQuery(".chose_icon").find(".myicon").each(function(){
-          jQuery(this).hide();
+      function filterContentInAsout(searchValue) {
+        //与as间搜索as 通用
+        currentHeaderAs = $_currentHeaderAs.text();
+        fetchData.getParentASListByASN({
+          as: currentHeaderAs,
+          key: searchValue,
         });
-    }
-    function icon_countryin_click_AS(){
-        jQuery(".chose_icon").find(".myicon").each(function(){
+        //对应的图形调用程序
+        var is_ASnum = isAsnumber(searchValue);
+        var topo_flag =
+          jQuery(".chose_icon").find(".active").data("val") == "neither"
+            ? false
+            : true;
+        input_record.input_value_plus_type = "AS";
+
+        if (is_phy_log == "log") {
+          if (isAsnumber(searchValue)) {
+            icon_countryin_click_AS();
+            datavjs.log_ASout_search_AS(
+              searchValue,
+              currentHeaderAs,
+              topo_flag
+            );
+          } else if (searchValue === "") {
+            datavjs.log_ASout_init(currentHeaderAs, topo_flag);
+          } else {
+            console.log("输入正确的as");
+          }
+        } else if (is_phy_log == "phy") {
+          if (isAsnumber(searchValue)) {
+            icon_countryin_click_AS();
+            datavjs.phy_ASout_search_AS(
+              searchValue,
+              currentHeaderAs,
+              topo_flag
+            );
+          } else if (searchValue === "") {
+            datavjs.phy_ASout_init(currentHeaderAs, topo_flag);
+          } else {
+            console.log("输入正确的as");
+          }
+        }
+      }
+
+      // 4种状态的切换
+      function icon_countryin_click_country() {
+        jQuery(".chose_icon")
+          .find(".myicon")
+          .each(function () {
+            jQuery(this).hide();
+          });
+      }
+      function icon_countryin_click_AS() {
+        jQuery(".chose_icon")
+          .find(".myicon")
+          .each(function () {
             var dom_val = jQuery(this).data("val");
-            if (dom_val=="neither" || dom_val=="in"){
-                jQuery(this).show();
-            }else{
-                jQuery(this).hide();
+            if (dom_val == "neither" || dom_val == "in") {
+              jQuery(this).show();
+            } else {
+              jQuery(this).hide();
             }
-        });
-    }
-
-  function filterContentInCountry(searchValue){//与国家搜索国家通用
-    currentHeaderCountrycode = $_currentHeaderCountrycode.text();
-    var is_ASnum = isAsnumber(searchValue);
-    var is_country = isCountry(searchValue);
-    var topo_flag = jQuery(".chose_icon").find(".active").data("val")=="neither"?false:true;
+          });
+      }
 
-    switch(contentlist_btnstatus){
-        case '1'://相邻国家列表接口
-            fetchData.getCountriesAsCountByCountry({countryCode:currentHeaderCountrycode,key:searchValue});
+      function filterContentInCountry(searchValue) {
+        //与国家搜索国家通用
+        currentHeaderCountrycode = $_currentHeaderCountrycode.text();
+        var is_ASnum = isAsnumber(searchValue);
+        var is_country = isCountry(searchValue);
+        var topo_flag =
+          jQuery(".chose_icon").find(".active").data("val") == "neither"
+            ? false
+            : true;
+
+        switch (contentlist_btnstatus) {
+          case "1": //相邻国家列表接口
+            fetchData.getCountriesAsCountByCountry({
+              countryCode: currentHeaderCountrycode,
+              key: searchValue,
+            });
             input_record.input_value_plus_type = "countrytext";
             input_record.input_value_plus_value = searchValue.toUpperCase();
-            if (is_phy_log == "log"){
-                if (is_country){
-                    icon_countryin_click_country();
-                    datavjs.log_countryin_search_country(searchValue.toUpperCase(), currentHeaderCountrycode.toUpperCase(), false);
-                }else if(searchValue === ''){
-                    datavjs.log_countryin_init(currentHeaderCountrycode.toUpperCase(), false);
-                }else{
-                    console.log("No graph api.");
-                }
-            }else if(is_phy_log == "phy"){
-                if (is_country){
-                    icon_countryin_click_country();
-                    datavjs.phy_countryin_search_country(searchValue.toUpperCase(), currentHeaderCountrycode.toUpperCase());
-                }else if(searchValue === ''){
-                    datavjs.phy_countryin_init(currentHeaderCountrycode.toUpperCase());
-                }else{
-                    console.log("No graph api.");
-                }
-            }else{
-                console.log("Not log or phy!");
+            if (is_phy_log == "log") {
+              if (is_country) {
+                icon_countryin_click_country();
+                datavjs.log_countryin_search_country(
+                  searchValue.toUpperCase(),
+                  currentHeaderCountrycode.toUpperCase(),
+                  false
+                );
+              } else if (searchValue === "") {
+                datavjs.log_countryin_init(
+                  currentHeaderCountrycode.toUpperCase(),
+                  false
+                );
+              } else {
+                console.log("No graph api.");
+              }
+            } else if (is_phy_log == "phy") {
+              if (is_country) {
+                icon_countryin_click_country();
+                datavjs.phy_countryin_search_country(
+                  searchValue.toUpperCase(),
+                  currentHeaderCountrycode.toUpperCase()
+                );
+              } else if (searchValue === "") {
+                datavjs.phy_countryin_init(
+                  currentHeaderCountrycode.toUpperCase()
+                );
+              } else {
+                console.log("No graph api.");
+              }
+            } else {
+              console.log("Not log or phy!");
             }
             break;
-        case '2':// 国家内AS列表
-            fetchData.getAsNumberListByCountry({countryCode:currentHeaderCountrycode,key:searchValue});
+          case "2": // 国家内AS列表
+            fetchData.getAsNumberListByCountry({
+              countryCode: currentHeaderCountrycode,
+              key: searchValue,
+            });
             input_record.input_value_plus_type = "AS";
             input_record.input_value_plus_value = searchValue;
-            if (is_phy_log == "log"){
-                if (is_ASnum){
-                    icon_countryin_click_AS();
-                    datavjs.log_countryin_search_AS(searchValue, currentHeaderCountrycode.toUpperCase(), false, topo_flag);
-                }else{
-                    console.log("No graph api.");
-                }
-            }else if(is_phy_log == "phy"){
-                if (is_ASnum){
-                    icon_countryin_click_AS();
-                    datavjs.phy_countryin_search_AS(searchValue, currentHeaderCountrycode.toUpperCase(), topo_flag);
-                }else{
-                    console.log("No graph api.");
-                }
-            }else{
-                console.log("Not log or phy!");
+            if (is_phy_log == "log") {
+              if (is_ASnum) {
+                icon_countryin_click_AS();
+                datavjs.log_countryin_search_AS(
+                  searchValue,
+                  currentHeaderCountrycode.toUpperCase(),
+                  false,
+                  topo_flag
+                );
+              } else {
+                console.log("No graph api.");
+              }
+            } else if (is_phy_log == "phy") {
+              if (is_ASnum) {
+                icon_countryin_click_AS();
+                datavjs.phy_countryin_search_AS(
+                  searchValue,
+                  currentHeaderCountrycode.toUpperCase(),
+                  topo_flag
+                );
+              } else {
+                console.log("No graph api.");
+              }
+            } else {
+              console.log("Not log or phy!");
             }
             break;
-        case '3':// 国家内AS边列表
-            fetchData.getASEdgeofGlobal({areaCode:currentHeaderCountrycode,key:searchValue});           
+          case "3": // 国家内AS边列表
+            fetchData.getASEdgeofGlobal({
+              areaCode: currentHeaderCountrycode,
+              key: searchValue,
+            });
             break;
-    }  
-  }
+        }
+      }
 
-  function filterContentInAsin(searchValue){
-   currentHeaderAs = $_currentHeaderAs.text();
-      // fetchData.getRouterInfoWithinAS({as: currentHeaderAs,key:searchValue});
-    switch(contentlist_btnstatus){
-      case '1': fetchData.getRouterInfoWithinAS({as: currentHeaderAs,key:searchValue});break;
-      case '2': 
-          if(is_phy_log == "log"){
+      function filterContentInAsin(searchValue) {
+        currentHeaderAs = $_currentHeaderAs.text();
+        // fetchData.getRouterInfoWithinAS({as: currentHeaderAs,key:searchValue});
+        switch (contentlist_btnstatus) {
+          case "1":
+            fetchData.getRouterInfoWithinAS({
+              as: currentHeaderAs,
+              key: searchValue,
+            });
+            break;
+          case "2":
+            if (is_phy_log == "log") {
               logicRouterIn.searchEdges(searchValue);
-          }else if(is_phy_log == "phy"){
-             phyTopoin.searchEdges(searchValue);
-          };
-          fetchData.getEdgeInfoInAS({as: currentHeaderAs,key:searchValue});
-      break;
-    }
-  }
-
-  function filterContentInDblClickCountry(searchValue){//filterContentInCountryout
-    var countryCode = input_record.input_value;
-    fetchData.getEdgeInfoBetweenCountry({countryCode1: countryCode[0],countryCode2:countryCode[1],key:searchValue});
-    var topo_flag = jQuery(".chose_icon").find(".active").data("val")=="neither"?false:true;
-    input_record.input_value_plus_type = "linkAS";
+            } else if (is_phy_log == "phy") {
+              phyTopoin.searchEdges(searchValue);
+            }
+            fetchData.getEdgeInfoInAS({
+              as: currentHeaderAs,
+              key: searchValue,
+            });
+            break;
+        }
+      }
 
-    if (is_phy_log == "log"){
-        if (isAsnumber(searchValue)){
+      function filterContentInDblClickCountry(searchValue) {
+        //filterContentInCountryout
+        var countryCode = input_record.input_value;
+        fetchData.getEdgeInfoBetweenCountry({
+          countryCode1: countryCode[0],
+          countryCode2: countryCode[1],
+          key: searchValue,
+        });
+        var topo_flag =
+          jQuery(".chose_icon").find(".active").data("val") == "neither"
+            ? false
+            : true;
+        input_record.input_value_plus_type = "linkAS";
+
+        if (is_phy_log == "log") {
+          if (isAsnumber(searchValue)) {
             icon_countryin_click_country();
-            datavjs.log_countryout_search_AS(searchValue,countryCode,false,topo_flag);
-        }else if(searchValue === ''){
-
-            datavjs.log_countryout_init(countryCode,false,topo_flag)
-        }else{
-            console.log('输入正确的as');
-        }
-    }else if(is_phy_log == "phy"){
-        if (isAsnumber(searchValue)){
+            datavjs.log_countryout_search_AS(
+              searchValue,
+              countryCode,
+              false,
+              topo_flag
+            );
+          } else if (searchValue === "") {
+            datavjs.log_countryout_init(countryCode, false, topo_flag);
+          } else {
+            console.log("输入正确的as");
+          }
+        } else if (is_phy_log == "phy") {
+          if (isAsnumber(searchValue)) {
             icon_countryin_click_country();
-            datavjs.phy_countryout_search_AS(searchValue,countryCode,false,topo_flag);
-        }else if(searchValue === ''){
-            datavjs.phy_countryout_init(countryCode,false,topo_flag)
-        }else{
-          console.log('输入正确的as');
+            datavjs.phy_countryout_search_AS(
+              searchValue,
+              countryCode,
+              false,
+              topo_flag
+            );
+          } else if (searchValue === "") {
+            datavjs.phy_countryout_init(countryCode, false, topo_flag);
+          } else {
+            console.log("输入正确的as");
+          }
         }
-    }
-  }
-
-  function filterContentInAsinterface(searchValue){
-    var asNumber = input_record.input_value;
-    fetchData.getInterfaceByASnumber({ as1: asNumber[0], as2: asNumber[1],key:searchValue });
-    if(is_phy_log == 'phy'){
-      phyInterRouter.searchRouter(searchValue);
-    }else if(is_phy_log == 'log'){
-      datavjs.log_ASinterface_search_ip(asNumber[0], asNumber[1], searchValue);
-    }
-  }
-  
-  $('.rb-btn4 .rb-btn-center').click(handleClickRbbtn4);
-
-  $('.rb-btn3 .rb-btn-center').click(handleClickRbbtn3);
-
-  function handleClickRbbtn2(){
-    // if(type_current == 'global'){
-    //   filterInGlobalinit('');
-    // }
-  }
-
-  function handleClickRbbtn3(){
-    var currentHeaderAs = $('.logic_info_as .info_right .colum1 span').eq(1).text();
-
-    if(type_current == 'asin'){
-         filterContentInAsin('');
-     }else if(type_current == 'asout'){
-         filterContentInAsout('');
-     }else if(type_current == 'global'){
-         filterInGlobalinit('');
-     }else if(type_current == 'countryout'){
-         filterContentInDblClickCountry('');
-     }
-  }
-
-  function handleClickRbbtn4(){
-  
-    if(type_current === 'countryin'){
-         filterContentInCountry('');
-     }
-  }
-
-  //删除两个按钮状态下all功能,在搜索框右侧添加清除按钮操作
-  $('#export-form .icon-qingchu').click(function(){
-    handleClickRbbtn2();
-    handleClickRbbtn3();
-    handleClickRbbtn4();
-    if(type_current == 'asinterface'){
-       filterContentInAsinterface('');
-    }
-    $(this).siblings('input').val('');
-    input_record.subinput_asin = '';
-    input_record.input_value_plus_value = '';
-    input_record.input_value_plus_type = '';
-  })
-  
-  $('.rb-btn4 .rb-btn-outer img').each(function(){
-    $(this).click(function(){
-      var item = $(this).data('item');
-      if(type_current == 'countryout'){
-        var countryCode = input_record.input_value;
+      }
 
-        switch(item){
-          case 1: fetchData.getEdgeInfoBetweenCountry({countryCode1: countryCode[0],countryCode2:countryCode[1],'key':'pp'});contentlist_btnstatus = '1';break;
-          case 2: fetchData.getEdgeInfoBetweenCountry({countryCode1: countryCode[0],countryCode2:countryCode[1],'key':'cp'});contentlist_btnstatus = '2';break;
-          case 3: fetchData.getEdgeInfoBetweenCountry({countryCode1: countryCode[0],countryCode2:countryCode[1],'key':'ss'});contentlist_btnstatus = '3';break;
-          case 4: fetchData.getEdgeInfoBetweenCountry({countryCode1: countryCode[0],countryCode2:countryCode[1],'key':'pc'});contentlist_btnstatus = '4';break;
-        }
-      }else if(type_current == 'asout'){
-        var currentHeaderAs = $('.logic_info_as .info_right .colum1 span').eq(1).text();
-
-        switch(item){
-          case 1: fetchData.getParentASListByASN({as:currentHeaderAs,'lt':'pp'});contentlist_btnstatus = '1';break;
-          case 2: fetchData.getParentASListByASN({as:currentHeaderAs,'lt':'cp'});contentlist_btnstatus = '2';break;
-          case 3: fetchData.getParentASListByASN({as:currentHeaderAs,'lt':'ss'});contentlist_btnstatus = '3';break;
-          case 4: fetchData.getParentASListByASN({as:currentHeaderAs,'lt':'pc'});contentlist_btnstatus = '4';break;
+      function filterContentInAsinterface(searchValue) {
+        var asNumber = input_record.input_value;
+        fetchData.getInterfaceByASnumber({
+          as1: asNumber[0],
+          as2: asNumber[1],
+          key: searchValue,
+        });
+        if (is_phy_log == "phy") {
+          phyInterRouter.searchRouter(searchValue);
+        } else if (is_phy_log == "log") {
+          datavjs.log_ASinterface_search_ip(
+            asNumber[0],
+            asNumber[1],
+            searchValue
+          );
         }
       }
-    })
-  })
 
-  $('.rb-btn3 .rb-btn-outer img').each(function(){
-    $(this).click(function(){
+      $(".rb-btn4 .rb-btn-center").click(handleClickRbbtn4);
 
-      var item = $(this).data('item');
+      $(".rb-btn3 .rb-btn-center").click(handleClickRbbtn3);
 
-      if(type_current === 'asin'){
-        // var currentHeaderAs = $('.logic_info_as .info_right .colum1 span').eq(1).text();
-        // var index_lt = $('.content-list .lt').index();
-        // switch(item){
-        //   case 1: fetchData.getRouterInfoWithinAS({as:currentHeaderAs,'role':'area'});contentlist_btnstatus = '1';break;
-        //   case 2: fetchData.getRouterInfoWithinAS({as:currentHeaderAs,'role':'core'});contentlist_btnstatus = '2';break;
-        //   case 3: fetchData.getRouterInfoWithinAS({as:currentHeaderAs,'role':'intermediate'});contentlist_btnstatus = '3';break;
+      function handleClickRbbtn2() {
+        // if(type_current == 'global'){
+        //   filterInGlobalinit('');
         // }
+      }
 
-      }else if(type_current === 'global'){
-        switch(item){
-          case 1: contentlist_btnstatus = '1';fetchData.getAllCountruInfoOfGlobal({key:rbtn_searchvalue_record});break;
-          case 2: contentlist_btnstatus = '2';fetchData.getASTypeStatisticsOfGlobal({key:rbtn_searchvalue_record});break;
-          case 3: contentlist_btnstatus = '3';fetchData.getASEdgeofGlobal({key:rbtn_searchvalue_record});break;
+      function handleClickRbbtn3() {
+        var currentHeaderAs = $(".logic_info_as .info_right .colum1 span")
+          .eq(1)
+          .text();
+
+        if (type_current == "asin") {
+          filterContentInAsin("");
+        } else if (type_current == "asout") {
+          filterContentInAsout("");
+        } else if (type_current == "global") {
+          filterInGlobalinit("");
+        } else if (type_current == "countryout") {
+          filterContentInDblClickCountry("");
         }
-        rbtn_searchvalue_record = ''; 
-      }else if(type_current === 'countryin'){
-         var currentHeaderCountrycode = $('.logic_info_country .info_right .infos .countryCode').text();
-        switch(item){
-         case 1: contentlist_btnstatus = '1';fetchData.getCountriesAsCountByCountry({countryCode:currentHeaderCountrycode,key:rbtn_searchvalue_record});break;
-         case 2: contentlist_btnstatus = '2';fetchData.getAsNumberListByCountry({countryCode:currentHeaderCountrycode,key:rbtn_searchvalue_record});break;
-         case 3: contentlist_btnstatus = '3';fetchData.getASEdgeofGlobal({"areaCode":currentHeaderCountrycode,key:rbtn_searchvalue_record});break;
-        }
-        rbtn_searchvalue_record = ''; 
       }
-    })
-  })
-
-  $('.rb-btn2 .rb-btn-outer img').each(function(){
-    $(this).click(function(){
-
-      var item = $(this).data('item');
-
-      if(type_current === 'asin'){
-        var currentHeaderAs = $('.logic_info_as .info_right .colum1 span').eq(1).text();
-
-        switch(item){
-          case 1: contentlist_btnstatus = '1';fetchData.getRouterInfoWithinAS({as:currentHeaderAs,key: input_record.subinput_asin});break;
-          case 2: contentlist_btnstatus = '2';fetchData.getEdgeInfoInAS({as:currentHeaderAs,key: input_record.subinput_asin});
-                  if(is_phy_log == "log"){
-                      logicRouterIn.searchEdges(input_record.subinput_asin);
-                  }else if(is_phy_log == "phy"){
-                     phyTopoin.searchEdges(input_record.subinput_asin);
-                  };
-                  break;
+
+      function handleClickRbbtn4() {
+        if (type_current === "countryin") {
+          filterContentInCountry("");
         }
       }
-    })
-  })
 
-// 清空输入框
-$('.rb-btn-outer img').click(function(){
-  if(type_current != 'asin'){
-    $('#export-form .search-input').val('');
-  }
-})
+      //删除两个按钮状态下all功能,在搜索框右侧添加清除按钮操作
+      $("#export-form .icon-qingchu").click(function () {
+        handleClickRbbtn2();
+        handleClickRbbtn3();
+        handleClickRbbtn4();
+        if (type_current == "asinterface") {
+          filterContentInAsinterface("");
+        }
+        $(this).siblings("input").val("");
+        input_record.subinput_asin = "";
+        input_record.input_value_plus_value = "";
+        input_record.input_value_plus_type = "";
+      });
 
-$('.rb-btn-center').click(function(){
-  $('#export-form .search-input').val('');
-})
+      $(".rb-btn4 .rb-btn-outer img").each(function () {
+        $(this).click(function () {
+          var item = $(this).data("item");
+          if (type_current == "countryout") {
+            var countryCode = input_record.input_value;
+
+            switch (item) {
+              case 1:
+                fetchData.getEdgeInfoBetweenCountry({
+                  countryCode1: countryCode[0],
+                  countryCode2: countryCode[1],
+                  key: "pp",
+                });
+                contentlist_btnstatus = "1";
+                break;
+              case 2:
+                fetchData.getEdgeInfoBetweenCountry({
+                  countryCode1: countryCode[0],
+                  countryCode2: countryCode[1],
+                  key: "cp",
+                });
+                contentlist_btnstatus = "2";
+                break;
+              case 3:
+                fetchData.getEdgeInfoBetweenCountry({
+                  countryCode1: countryCode[0],
+                  countryCode2: countryCode[1],
+                  key: "ss",
+                });
+                contentlist_btnstatus = "3";
+                break;
+              case 4:
+                fetchData.getEdgeInfoBetweenCountry({
+                  countryCode1: countryCode[0],
+                  countryCode2: countryCode[1],
+                  key: "pc",
+                });
+                contentlist_btnstatus = "4";
+                break;
+            }
+          } else if (type_current == "asout") {
+            var currentHeaderAs = $(".logic_info_as .info_right .colum1 span")
+              .eq(1)
+              .text();
+
+            switch (item) {
+              case 1:
+                fetchData.getParentASListByASN({
+                  as: currentHeaderAs,
+                  lt: "pp",
+                });
+                contentlist_btnstatus = "1";
+                break;
+              case 2:
+                fetchData.getParentASListByASN({
+                  as: currentHeaderAs,
+                  lt: "cp",
+                });
+                contentlist_btnstatus = "2";
+                break;
+              case 3:
+                fetchData.getParentASListByASN({
+                  as: currentHeaderAs,
+                  lt: "ss",
+                });
+                contentlist_btnstatus = "3";
+                break;
+              case 4:
+                fetchData.getParentASListByASN({
+                  as: currentHeaderAs,
+                  lt: "pc",
+                });
+                contentlist_btnstatus = "4";
+                break;
+            }
+          }
+        });
+      });
 
-  })
-})
+      $(".rb-btn3 .rb-btn-outer img").each(function () {
+        $(this).click(function () {
+          var item = $(this).data("item");
+
+          if (type_current === "asin") {
+            // var currentHeaderAs = $('.logic_info_as .info_right .colum1 span').eq(1).text();
+            // var index_lt = $('.content-list .lt').index();
+            // switch(item){
+            //   case 1: fetchData.getRouterInfoWithinAS({as:currentHeaderAs,'role':'area'});contentlist_btnstatus = '1';break;
+            //   case 2: fetchData.getRouterInfoWithinAS({as:currentHeaderAs,'role':'core'});contentlist_btnstatus = '2';break;
+            //   case 3: fetchData.getRouterInfoWithinAS({as:currentHeaderAs,'role':'intermediate'});contentlist_btnstatus = '3';break;
+            // }
+          } else if (type_current === "global") {
+            switch (item) {
+              case 1:
+                contentlist_btnstatus = "1";
+                fetchData.getAllCountruInfoOfGlobal({
+                  key: rbtn_searchvalue_record,
+                });
+                break;
+              case 2:
+                contentlist_btnstatus = "2";
+                fetchData.getASTypeStatisticsOfGlobal({
+                  key: rbtn_searchvalue_record,
+                });
+                break;
+              case 3:
+                contentlist_btnstatus = "3";
+                fetchData.getASEdgeofGlobal({ key: rbtn_searchvalue_record });
+                break;
+            }
+            rbtn_searchvalue_record = "";
+          } else if (type_current === "countryin") {
+            var currentHeaderCountrycode = $(
+              ".logic_info_country .info_right .infos .countryCode"
+            ).text();
+            switch (item) {
+              case 1:
+                contentlist_btnstatus = "1";
+                fetchData.getCountriesAsCountByCountry({
+                  countryCode: currentHeaderCountrycode,
+                  key: rbtn_searchvalue_record,
+                });
+                break;
+              case 2:
+                contentlist_btnstatus = "2";
+                fetchData.getAsNumberListByCountry({
+                  countryCode: currentHeaderCountrycode,
+                  key: rbtn_searchvalue_record,
+                });
+                break;
+              case 3:
+                contentlist_btnstatus = "3";
+                fetchData.getASEdgeofGlobal({
+                  areaCode: currentHeaderCountrycode,
+                  key: rbtn_searchvalue_record,
+                });
+                break;
+            }
+            rbtn_searchvalue_record = "";
+          }
+        });
+      });
 
+      $(".rb-btn2 .rb-btn-outer img").each(function () {
+        $(this).click(function () {
+          var item = $(this).data("item");
+
+          if (type_current === "asin") {
+            var currentHeaderAs = $(".logic_info_as .info_right .colum1 span")
+              .eq(1)
+              .text();
+
+            switch (item) {
+              case 1:
+                contentlist_btnstatus = "1";
+                fetchData.getRouterInfoWithinAS({
+                  as: currentHeaderAs,
+                  key: input_record.subinput_asin,
+                });
+                break;
+              case 2:
+                contentlist_btnstatus = "2";
+                fetchData.getEdgeInfoInAS({
+                  as: currentHeaderAs,
+                  key: input_record.subinput_asin,
+                });
+                if (is_phy_log == "log") {
+                  logicRouterIn.searchEdges(input_record.subinput_asin);
+                } else if (is_phy_log == "phy") {
+                  phyTopoin.searchEdges(input_record.subinput_asin);
+                }
+                break;
+            }
+          }
+        });
+      });
+
+      // 清空输入框
+      $(".rb-btn-outer img").click(function () {
+        if (type_current != "asin") {
+          $("#export-form .search-input").val("");
+        }
+      });
 
+      $(".rb-btn-center").click(function () {
+        $("#export-form .search-input").val("");
+      });
+    });
+  }
+);
diff --git a/js/q/datav3.q.map.js b/js/q/datav3.q.map.js
index e279cc181e0952f1a93e711f541c38b533528eaa..7a9cfa5110a43c7c2e39a5f8b33f8f92a6491686 100644
--- a/js/q/datav3.q.map.js
+++ b/js/q/datav3.q.map.js
@@ -1,6 +1,6 @@
 //自动执行函数
 (function () {
-  console.log("-----datav3.q.map debug--------")
+  console.log("------ datav3.q.map debug ------")
   // 公共鼠标拾取变量
   var raycaster = new THREE.Raycaster();
   var mouse = new THREE.Vector2();
@@ -525,7 +525,7 @@
         country_AScount_list.push(_.size(country_ASes));
       }
       var country_AScount_max = _.max(country_AScount_list);
-      console.log("---------------")
+      console.log("------------")
       // 点处理
       var Land_points = new THREE.Geometry();
       valid_country_names = []; // 实际有效的绘图国家列表