diff --git a/.env.development b/.env.development index eef15ee..ec05528 100644 --- a/.env.development +++ b/.env.development @@ -19,6 +19,8 @@ VITE_APP_BASE_API = 'http://192.168.110.149:8899' # ws VITE_APP_BASE_WS_API = 'ws://192.168.110.149:8899/resource/websocket' +# EARTH +VITE_APP_BASE_EARTH_API="http://192.168.110.2:8895" # 无人机接口地址 VITE_APP_BASE_DRONE_API = 'http://58.17.134.85:9512' diff --git a/src/api/projectScreen/index.ts b/src/api/projectScreen/index.ts index dbb7da7..ef4e94c 100644 --- a/src/api/projectScreen/index.ts +++ b/src/api/projectScreen/index.ts @@ -87,4 +87,13 @@ export const setSelect = (data) => { method: 'post', data }); +}; + +// 获取模型列表 +export const getModelList = (params) => { + return request({ + url: '/yjearth4.0/api/v1/source/list', + method: 'get', + params + }); }; \ No newline at end of file diff --git a/src/views/projectLarge/ProjectScreen/components/newmap.vue b/src/views/projectLarge/ProjectScreen/components/newmap.vue index 6c15ca4..f616954 100644 --- a/src/views/projectLarge/ProjectScreen/components/newmap.vue +++ b/src/views/projectLarge/ProjectScreen/components/newmap.vue @@ -1,33 +1,35 @@