diff --git a/.env.development b/.env.development index b3eeabdfd..d1c8a3e7c 100644 --- a/.env.development +++ b/.env.development @@ -8,8 +8,7 @@ VUE_APP_API_SERVER = http://192.168.1.140/api # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn:41080/api # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api -VUE_APP_NODE_ENV=dev_sdtdt -# VUE_APP_NODE_ENV=dev +# VUE_APP_NODE_ENV=dev_sdtdt +VUE_APP_NODE_ENV=dev #项目根路径 -VUE_APP_PUBLIC_PATH=epmet-oper -VUE_APP_CUSTOMER=yantai \ No newline at end of file +VUE_APP_PUBLIC_PATH=epmet-oper \ No newline at end of file diff --git a/src/views/modules/visual/basicinfo/basicInfoMain.vue b/src/views/modules/visual/basicinfo/basicInfoMain.vue index b0275579a..b81df3453 100644 --- a/src/views/modules/visual/basicinfo/basicInfoMain.vue +++ b/src/views/modules/visual/basicinfo/basicInfoMain.vue @@ -137,6 +137,8 @@ import People from "./people"; import cptCard from "@/views/modules/visual/cpts/card"; import gridMap from "@/views/modules/visual/cpts/map/index"; import ScreenLoading from "@/views/modules/visual/cpts/loading"; +import getQueryPara from "dai-js/modules/getQueryPara"; + let loading; //加载动画 @@ -191,6 +193,15 @@ export default { }, async mounted() { + const queryOrgId = getQueryPara("orgId"); + const queryOrgLevel = getQueryPara("orgLevel"); + console.log("orgId", queryOrgId); + if(queryOrgId){ + this.orgId = queryOrgId + this.orgLevel = queryOrgLevel || '' + } + + //加载组织数据 await this.loadOrgData(); await this.loadList();