diff --git a/.env.development b/.env.development index e78bf61..2faf684 100644 --- a/.env.development +++ b/.env.development @@ -24,11 +24,13 @@ NODE_ENV = 'development' # 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:11211' #测试环境 +# VITE_API_URL = 'http://42.180.188.17:11211' #测试环境 # VITE_API_URL = 'http://42.180.188.17:11211' #测试环境 # VITE_API_URL = 'http://jxj.zhgdyun.com:19812' # 苏立信 # VITE_API_URL = 'http://101.43.164.214:11111' +# 中科安信 +VITE_API_URL = 'http://8.136.222.164:8808' # 上传 VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' diff --git a/.env.production b/.env.production index 3ad70d5..0eb15ba 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' @@ -25,6 +25,8 @@ VITE_API_URL = 'http://101.43.164.214:11111' # VITE_API_URL = 'http://42.180.188.17:11211' #测试环境 # 苏立信 # VITE_API_URL = 'http://101.43.164.214:11111' +# 中科安信 +VITE_API_URL = 'http://8.136.222.164:8808' # 打包 VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url=' diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index ed3e9d0..8965a76 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -1320,4 +1320,27 @@ export const ZHZRFMenu: Array = [ ] }, -]; //中海·臻如府 \ No newline at end of file +]; //中海·臻如府 +// 中科安信大屏 +export const ZKAXMenu: Array = [ + { + moduleName: "首页概览", + modulePath: "/projectOverview" + }, + { + moduleName: "劳务管理", + modulePath: "/laborManagement" + }, + { + moduleName: "质量管理", + modulePath: "/qualityManagement" + }, + { + moduleName: "安全管理", + modulePath: "/securityManagement" + }, + { + menuName: "进度计划", + companyPath: "/schedulePlan" + } +]; \ No newline at end of file diff --git a/src/routers/modules/staticRouter.ts b/src/routers/modules/staticRouter.ts index d09e333..09a23d5 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/sevenLargeScreen/indexL_syhy.vue"), // 只有一级路由(盘锦、嘉兴、鄱湖美湾医疗项目需切换至该首页) children: [ { diff --git a/src/views/sevenLargeScreen/indexL copy.vue b/src/views/sevenLargeScreen/indexL copy.vue index d4fe750..15f9a53 100644 --- a/src/views/sevenLargeScreen/indexL copy.vue +++ b/src/views/sevenLargeScreen/indexL copy.vue @@ -97,7 +97,7 @@ import ScaleBox from "vue3-scale-box"; import { ref, reactive, onMounted, onBeforeUnmount, computed } from "vue"; import { getTaskTimeDetail } from "@/api/modules/schedulePlan"; import { jumpLargeUserInfoApi } from "@/api/modules/login"; -import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu,AGJTMenu,SLXMenu } from "@/config/staticMenu"; +import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu,AGJTMenu,SLXMenu,ZKAXMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; import { useRouter } from "vue-router"; @@ -486,7 +486,9 @@ onMounted(async () => { if (COMPANY === "slx") { menuList.value = SLXMenu; } - + if (COMPANY === "zkax") { + menuList.value = ZKAXMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); // await getAllModelMenu(); diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index a418c3e..feb0539 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -97,7 +97,7 @@ import ScaleBox from "vue3-scale-box"; import { ref, reactive, onMounted, onBeforeUnmount, computed } from "vue"; import { getTaskTimeDetail } from "@/api/modules/schedulePlan"; import { jumpLargeUserInfoApi } from "@/api/modules/login"; -import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu,AGJTMenu,SLXMenu,ZSBFMenu,ZHZRFMenu } from "@/config/staticMenu"; +import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu,AGJTMenu,SLXMenu,ZSBFMenu,ZHZRFMenu, ZKAXMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; import { useRouter } from "vue-router"; @@ -492,7 +492,9 @@ onMounted(async () => { if (COMPANY === "zhzrf") { menuList.value = ZHZRFMenu; } - + if (COMPANY === "zkax") { + menuList.value = ZKAXMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); // await getAllModelMenu();