From 8200b1203c5f442c4aaecae50d00755ff04bde55 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Fri, 28 Jun 2024 20:00:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20AI=E9=A2=84=E8=AD=A6-=E4=BB=8A=E6=97=A5?= =?UTF-8?q?=E5=91=8A=E8=AD=A6=E5=BC=B9=E7=AA=97=E6=A0=B7=E5=BC=8FBUG?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++- .env.production | 4 +-- src/config/config.ts | 4 +-- src/routers/modules/staticRouter.ts | 4 +-- .../aIEarlyWarning/bottomRight.vue | 36 +++++++++++++++++-- .../aIEarlyWarning/index.vue | 1 + 6 files changed, 43 insertions(+), 10 deletions(-) diff --git a/.env.development b/.env.development index 7ed4e2e..7b26a8c 100644 --- a/.env.development +++ b/.env.development @@ -3,7 +3,7 @@ NODE_ENV = 'development' # 本地环境接口地址(/api/index.ts文件中使用) # 后端本地 -VITE_API_URL = 'http://192.168.34.155:19111' +# VITE_API_URL = 'http://192.168.34.155:19111' # VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地 # VITE_API_URL = 'http://182.90.224.237:51234' #雄哥远程 # VITE_API_URL = 'http://192.168.34.221:28889' @@ -22,6 +22,8 @@ VITE_API_URL = 'http://192.168.34.155:19111' # VITE_API_URL = 'http://jxj.zhgdyun.com:15551' # 七参数标准版(测试平台) # VITE_API_URL = 'http://182.90.224.237:15551' +# 七参数标准版(演示平台) +VITE_API_URL = 'http://jxj.zhgdyun.com:9809' # agjt # VITE_API_URL = 'http://42.180.188.17:9809' #生产环境 # VITE_API_URL = 'http://42.180.188.17:11211' #测试环境 diff --git a/.env.production b/.env.production index 262ceb0..57d5fa0 100644 --- a/.env.production +++ b/.env.production @@ -12,7 +12,7 @@ NODE_ENV = "production" # VITE_API_URL = "http://183.249.224.118:9003" # 百色 新项目通用地址 -# VITE_API_URL = 'http://101.43.164.214:11111' +VITE_API_URL = 'http://101.43.164.214:11111' # 七参数标准版(演示平台) # VITE_API_URL = 'http://jxj.zhgdyun.com:9809' @@ -21,7 +21,7 @@ NODE_ENV = "production" # 七参数标准版(测试平台) # VITE_API_URL = 'http://182.90.224.237:15551' # agjt -VITE_API_URL = 'http://42.180.188.17:9809' #生产环境 +# VITE_API_URL = 'http://42.180.188.17:9809' #生产环境 # VITE_API_URL = 'http://42.180.188.17:11211' #测试环境 # 苏立信/重庆市南岸区 # VITE_API_URL = 'http://101.43.164.214:11111' diff --git a/src/config/config.ts b/src/config/config.ts index 9711206..dee2ee6 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -23,13 +23,13 @@ export const BAIDU_MAP_KEY: string = ""; export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // 项目环境标识配置 部署时需更改对应的项目 -// export const COMPANY: string = ""; //标准版 +export const COMPANY: string = ""; //标准版 // export const COMPANY: string = "zhzrf"; //中海·臻如府 // export const COMPANY: string = "zsbf"; //中水北方 // export const COMPANY: string = "as"; //鞍山项目 // export const COMPANY: string = "agjt"; //鞍钢集团 // export const COMPANY: string = "agjtLive"; //鞍钢集团现场大屏 -export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏 +// export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏 // export const COMPANY: string = "agjtProjectKanban"; //鞍钢集团项目看板大屏 // export const COMPANY: string = "agjtOverviewScreen"; //鞍钢集团项目总览 // export const COMPANY: string = "zkjc"; //中科佳成项目 diff --git a/src/routers/modules/staticRouter.ts b/src/routers/modules/staticRouter.ts index 3c85e6a..f6d8dda 100644 --- a/src/routers/modules/staticRouter.ts +++ b/src/routers/modules/staticRouter.ts @@ -24,8 +24,8 @@ export const staticRouter: RouteRecordRaw[] = [ { path: "/large", name: "大屏", - // component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版 - component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏 + component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版 + // component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏 // component: () => import("@/views/agjtLiveScreen/indexLive.vue"), //鞍钢现场大屏 // component: () => import("@/views/overviewScreen/indexCommand.vue"), //总览大屏 // component: () => import("@/views/agjtProjectKanban/indexL.vue"), //鞍钢集团项目看板大屏 diff --git a/src/views/sevenLargeScreen/digitalConstruction/aIEarlyWarning/bottomRight.vue b/src/views/sevenLargeScreen/digitalConstruction/aIEarlyWarning/bottomRight.vue index 9fc367a..a6ef1da 100644 --- a/src/views/sevenLargeScreen/digitalConstruction/aIEarlyWarning/bottomRight.vue +++ b/src/views/sevenLargeScreen/digitalConstruction/aIEarlyWarning/bottomRight.vue @@ -17,7 +17,17 @@
- + + + +
@@ -41,7 +51,9 @@
-
+
+ +
抓拍详情
@@ -60,7 +72,16 @@
- + + + +
@@ -77,6 +98,7 @@ import { getAlarmList, getAlarmTypeOption } from "@/api/modules/aIEarlyWarn"; import { GlobalStore } from "@/stores"; import { COMPANY } from "@/config/config"; import mitts from "@/utils/bus"; //兄弟组件传值 +import noDataImage from "@/assets/images/vehicleManagement/car.png"; // import { aiAlarmTypeEnum } from "@/enums/project/aiAlarmTypeEnum"; let aiAlarmTypeEnum = ref([] as any); @@ -331,6 +353,10 @@ onBeforeUnmount(async () => { width: 100%; height: 100%; } + .el-img{ + width: 100%; + height: 100%; + } } } } @@ -385,6 +411,10 @@ onBeforeUnmount(async () => { height: 100%; object-fit: contain; } + .el-img{ + width: 100%; + height: 100%; + } } } div { diff --git a/src/views/sevenLargeScreen/digitalConstruction/aIEarlyWarning/index.vue b/src/views/sevenLargeScreen/digitalConstruction/aIEarlyWarning/index.vue index 69d333b..32e6d45 100644 --- a/src/views/sevenLargeScreen/digitalConstruction/aIEarlyWarning/index.vue +++ b/src/views/sevenLargeScreen/digitalConstruction/aIEarlyWarning/index.vue @@ -116,6 +116,7 @@ onMounted(() => { .bottomRight { width: 50%; :deep(.h-card) { + position: static; .content { margin-top: 2% !important; }