Browse Source

修改大数据中心版本

pkq 1 year ago
parent
commit
67b027dc8f
2 changed files with 9 additions and 4 deletions
  1. 1 1
      src/views/devCenter/OnlineTest.vue
  2. 8 3
      src/views/home/HomeView.vue

+ 1 - 1
src/views/devCenter/OnlineTest.vue

@@ -19,7 +19,7 @@ export default {
       this.$nextTick(()=>{
         bridge = new CityGis.Bridge({
           id: "i_map",
-          url: "http://10.81.66.1:8080/jk_map_tool_widget/#/test",
+          url: "http://172.20.105.160:6080/map_tool_widget/#/test",
           onReady: function () {
             // console.log("地图创建完成");
           }

+ 8 - 3
src/views/home/HomeView.vue

@@ -47,21 +47,21 @@ import { RouterView, useRouter, useRoute } from 'vue-router'
 
 const menuList = ref([
   { menuName: '数据中心', routeName: 'DataCenter' },
-  { menuName: '工具中心', routeName: 'ToolsCenter' },
+  // { menuName: '工具中心', routeName: 'ToolsCenter' },
   { menuName: '开发中心', routeName: 'DevCenter',
     children: [
       { menuName: '开发文档', routeName: 'DevDocs' },
       { menuName: '在线测试', routeName: 'OnlineTest' },
     ]
   },
-  { menuName: '场景定制', routeName: 'SceneCustomize' },
-  // { menuName: '在线制图', routeName: 'OnlineDraw' },
+  // { menuName: '场景定制', routeName: 'SceneCustomize' },
   { menuName: '个人中心', routeName: 'PersonalCenter',
     children: [
       { menuName: '我的工具', routeName: 'MyTools' },
       { menuName: '我的资源', routeName: 'MyResources' },
     ]
   },
+  { menuName: '大屏系统', routeName: 'OnlineDraw' },
 ])
 
 const route = reactive(useRoute())
@@ -73,6 +73,11 @@ const currentMenu = computed(() => {
 const router = reactive(useRouter()) 
 
 function handleChangeRoute(route) {
+  // console.log("route")
+  if("OnlineDraw" == route){
+    window.open("http://172.20.105.160:6080/dapin")
+    return
+  }
   router.push({
     name: route
   })