Sfoglia il codice sorgente

zzy + 元数据项详情

zhiyuan-007 8 mesi fa
parent
commit
5ab4e077f7

+ 7 - 4
src/views/c-views/visualizationPart/VisualizationHome.vue

@@ -1,11 +1,14 @@
 <template>
   <div id="visualizationHome">
     <VisualizationHeader />
-<!--    <ServiceTree/>-->
-<!--    <FigureLegend />-->
+    <Map/>
+    <TreeMenu />
+    <ServiceTree/>
+    <FigureLegend />
+    <BaseMapSwitch />
     <router-view/>
-<!--    <BoardSwitch />-->
-<!--    <VisualizationBottom />-->
+    <BoardSwitch />
+    <VisualizationBottom />
     <template v-if="mapStore.layerDetailShow">
       <LayerDetailDialog :dia-attrs="{modal:false}"  />
     </template>

+ 2 - 2
vite.config.js

@@ -15,8 +15,8 @@ export default defineConfig({
             // 代理所有 /api 的请求,该求情将被代理到 target 中
             '/api': {
                 // 代理请求之后的请求地址(你的真实接口地址)
-                //target: 'https://cimweb.zjw.sh.cegn.cn:2007/data-business-prod/',
-                target: 'http://localhost:9250/',
+                target: 'https://cimweb.zjw.sh.cegn.cn:2007/data-business-prod/',
+                //target: 'http://localhost:9250/',
                 secure: false,
                 ws: true,
                 // 跨域