diff --git a/.env.tiankongdi b/.env.tiankongdi
index c0e67aaf..cf4e7d10 100644
--- a/.env.tiankongdi
+++ b/.env.tiankongdi
@@ -12,7 +12,13 @@ VITE_BUILD_COMPRESS = 'none'
# Basic interface address SPA
# 天空地项目
-VITE_GLOB_API_URL=http://120.222.154.7:6050
+# VITE_GLOB_API_URL=http://120.222.154.7:6050
+VITE_GLOB_API_URL=http://192.168.10.102:9023
+# VITE_GLOB_API_URL=http://120.222.154.7:6050
+# VITE_GLOB_API_URL=http://120.222.154.7:6050
+# VITE_GLOB_API_URL=http://192.168.10.131:8989
+
+VITE_INFO_IMAGE_URL=http://120.222.154.48:6050
# File upload address, optional
# It can be forwarded by nginx or write the actual address directly
diff --git a/src/utils/env.ts b/src/utils/env.ts
index 3aad5d79..1466c3d4 100644
--- a/src/utils/env.ts
+++ b/src/utils/env.ts
@@ -35,6 +35,7 @@ export function getAppEnvConfig() {
VITE_GLOB_API_URL_PREFIX,
VITE_GLOB_UPLOAD_URL,
VITE_GLOB_APP_LOGO,
+ VITE_INFO_IMAGE_URL,
} = ENV;
let { VITE_GLOB_API_URL } = ENV;
if (localStorage.getItem(API_ADDRESS)) {
@@ -47,6 +48,7 @@ export function getAppEnvConfig() {
VITE_GLOB_API_URL_PREFIX,
VITE_GLOB_UPLOAD_URL,
VITE_GLOB_APP_LOGO,
+ VITE_INFO_IMAGE_URL,
};
}
diff --git a/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue b/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue
index 84efe313..25e8695d 100644
--- a/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue
+++ b/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue
@@ -24,38 +24,33 @@
{{ typename }}
{{ countyname }}
{{ streetname }}
- {{ communityname }}
+ {{ case_description }}
+ {{ address }}
+ {{ remark }}
+ {{ createtime }}
+ {{ area }}
+ {{ nongyongdi_area }}
+ {{ gengdi_area }}
+ {{ yongjiujibennongtian_area }}
+ {{ zhongdianquyu_area }}
+ {{ shengtaibaohuhongxian_area }}
+ {{ guotukongjianguihua_area }}
{{ lng }}
{{ lat }}
- {{ nongyongdi_area }}
- {{ gengdi_area }}
- {{
- yongjiujibennongtian_area
- }}
- {{
- shengtaibaohuhongxian_area
- }}
- {{
- guotukongjianguihua_area
- }}
- {{ area }}
- {{ case_description }}
- {{ identification_time }}
- {{ remark }}
- {{ createtime }}
-
-
-
-
-
+
+
@@ -78,14 +73,15 @@
{{
getLabel('weifaleixing', weifaleixing)
}}
- {{
+ {{ qita_use_to }}
+
+
{{
pandingyijushuoming
}}
@@ -103,20 +99,19 @@
-
-
{{ examiner_name }}
{{ examine_time }}
@@ -146,26 +141,24 @@
{{ item }}
-
-
-
@@ -212,7 +205,7 @@
const { createMessage } = useMessage();
import Icon from '@/components/Icon/Icon.vue';
import { getAppEnvConfig } from '@/utils/env';
- const { VITE_GLOB_API_URL } = getAppEnvConfig();
+ const { VITE_INFO_IMAGE_URL } = getAppEnvConfig();
import {
mapTypeOptions,
illegalTypeOptions,
@@ -412,7 +405,7 @@
}
}
const downLoadFile = (url) => {
- window.open(`${VITE_GLOB_API_URL}/${url}`, 'mozillaTab');
+ window.open(`${VITE_INFO_IMAGE_URL}/${url}`, 'mozillaTab');
};
const getContainer = () => {
return document.getElementById('info-container')
@@ -420,9 +413,15 @@
diff --git a/types/config.d.ts b/types/config.d.ts
index 11a80daa..eef4c17c 100644
--- a/types/config.d.ts
+++ b/types/config.d.ts
@@ -161,4 +161,6 @@ export interface GlobEnvConfig {
VITE_GLOB_UPLOAD_URL?: string;
// logo
VITE_GLOB_APP_LOGO?: string;
+ // info image video
+ VITE_INFO_IMAGE_URL?: string;
}