Browse Source

低空修改250330-01

zhiyuan-007 1 day ago
parent
commit
e480db1556
7 changed files with 8 additions and 8 deletions
  1. 2 2
      .env.production
  2. BIN
      dist.zip
  3. BIN
      dist_test.zip
  4. 2 2
      src/components/mapJK.vue
  5. 1 1
      src/components/mapTest.vue
  6. 1 1
      src/main.js
  7. 2 2
      vite.config.js

+ 2 - 2
.env.production

@@ -4,5 +4,5 @@ VITE_BASE_URL='http://172.16.8.44:9250/low-altitude/'
 VITE_ZW_API='https://cimweb.zjw.sh.cegn.cn:2008/'
 VITE_ZW_URL='https://cimweb.zjw.sh.cegn.cn:2008/'
 
-VITE_NET_API='http://58.34.215.19:8095/low-altitude/'
-VITE_NET_URL='http://58.34.215.19:8095/low-altitude/'
+VITE_NET_API='http://192.168.2.140:9250/low-altitude/'
+VITE_NET_URL='http://192.168.2.140:9250/low-altitude/'

BIN
dist.zip


BIN
dist_test.zip


+ 2 - 2
src/components/mapJK.vue

@@ -436,8 +436,8 @@ export default {
           title:params.title,
           visible:params.visible,
           opacity:params.opacity,
-          url:"https://serve2d21.gis.cn:6443/geoscene/rest/services/google_shanghai_black/MapServer",
-          //url:"https://192.168.2.140:6443/geoscene/rest/services/JC_dark/MapServer",
+          //url:"https://serve2d21.gis.cn:6443/geoscene/rest/services/google_shanghai_black/MapServer",
+          url:"https://192.168.2.140:6443/geoscene/rest/services/JC_dark/MapServer",
           m_spatialReference,
           m_fullExtent,
         })

+ 1 - 1
src/components/mapTest.vue

@@ -76,7 +76,7 @@ export default {
         id:"i_map",
         //url:'https://cimweb.zjw.sh.cegn.cn:2007/map-tool-widget/#/jk_map',
         //url:'http://localhost:5173/map-tool-widget/#/jk_map',
-        url: 'http://58.34.215.19:8095/map-tool-widget/#/jk_map',
+        url: 'http://192.168.2.140:9250/map-tool-widget-interface/#/jk_map',
         onReady:function (){
           // console.log("地图创建完成");
         }

+ 1 - 1
src/main.js

@@ -7,7 +7,7 @@ import router from "./router/index.js";
 import './assets/global.scss'
 import esriConfig from  '@arcgis/core/config.js'
 //esriConfig.assetsPath = '/public/assets';
-esriConfig.assetsPath = '/map-tool-widget/assets';
+esriConfig.assetsPath = '/map-tool-widget-interface/assets';
 import mitt from 'mitt'
 app.use(ElementPlus, {
     locale: zhCn,

+ 2 - 2
vite.config.js

@@ -39,7 +39,7 @@ export default defineConfig({
       },
       '/netapi': {
         // 代理请求之后的请求地址(你的真实接口地址)
-        target: 'http://58.34.215.19:8095/low-altitude/',
+        target: 'http://192.168.2.140:9250/low-altitude/',
         //target: 'http://10.1.161.53:8095/',
         //target: 'http://localhost:9250/',
         secure: false,
@@ -51,6 +51,6 @@ export default defineConfig({
     }
   },
   plugins: [vue()],
-  base:'/map-tool-widget/',
+  base:'/map-tool-widget-interface/',
   publicDir: resolve('static'),
 })