flx:拉取旧版大屏 提交河南信阳配置
This commit is contained in:
parent
971f74a4f9
commit
0397588c96
@ -44,13 +44,15 @@ VITE_API_URL = 'http://101.43.164.214:11111'
|
|||||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
|
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
|
||||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:34568'
|
# VITE_API_URL = 'http://jxj.zhgdyun.com:34568'
|
||||||
# 新能源智慧基建管理平台|中新建电力集团(外网)
|
# 新能源智慧基建管理平台|中新建电力集团(外网)
|
||||||
VITE_API_URL = 'http://117.146.73.156:9820'
|
# VITE_API_URL = 'http://117.146.73.156:9820'
|
||||||
# 九柱集团
|
# 九柱集团
|
||||||
# VITE_API_URL = 'http://218.95.151.122:31004'
|
# VITE_API_URL = 'http://218.95.151.122:31004'
|
||||||
# 包头化工
|
# 包头化工
|
||||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
|
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
|
||||||
# 大连金笔
|
# 大连金笔
|
||||||
# VITE_API_URL = 'http://101.43.164.214:11126'
|
# VITE_API_URL = 'http://101.43.164.214:11126'
|
||||||
|
VITE_API_URL = 'http://121.37.106.37:9809'
|
||||||
|
|
||||||
# 上传
|
# 上传
|
||||||
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,7 @@ 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 = "zhzrf"; //中海·臻如府
|
||||||
export const COMPANY: string = "zsbf"; //中水北方
|
// export const COMPANY: string = "zsbf"; //中水北方
|
||||||
// export const COMPANY: string = "as"; //鞍山项目
|
// export const COMPANY: string = "as"; //鞍山项目
|
||||||
// export const COMPANY: string = "agjt"; //鞍钢集团
|
// export const COMPANY: string = "agjt"; //鞍钢集团
|
||||||
// export const COMPANY: string = "tj"; // 同济项目
|
// export const COMPANY: string = "tj"; // 同济项目
|
||||||
@ -53,7 +53,8 @@ export const COMPANY: string = "zsbf"; //中水北方
|
|||||||
// export const COMPANY: string = "jzjt"; //九柱集团
|
// export const COMPANY: string = "jzjt"; //九柱集团
|
||||||
// export const COMPANY: string = "whzt"; //武汉中铁
|
// export const COMPANY: string = "whzt"; //武汉中铁
|
||||||
// export const COMPANY: string = "ztsyj"; // 中铁十一局
|
// export const COMPANY: string = "ztsyj"; // 中铁十一局
|
||||||
export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台|中新建
|
// export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台|中新建
|
||||||
|
export const COMPANY: string = "hnxy"; // 信阳项目 河南省 出山店水库
|
||||||
// export const COMPANY: string = "gwkj"; // 国维科技
|
// export const COMPANY: string = "gwkj"; // 国维科技
|
||||||
// export const COMPANY: string = "allxm"; // 安立路项目
|
// export const COMPANY: string = "allxm"; // 安立路项目
|
||||||
// export const COMPANY: string = "hbla"; // 湖北龙澳
|
// export const COMPANY: string = "hbla"; // 湖北龙澳
|
||||||
|
|||||||
@ -24,8 +24,8 @@ export const staticRouter: RouteRecordRaw[] = [
|
|||||||
{
|
{
|
||||||
path: "/large",
|
path: "/large",
|
||||||
name: "大屏",
|
name: "大屏",
|
||||||
// component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版
|
component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版
|
||||||
component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏
|
// component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏
|
||||||
// component: () => import("@/views/agjtLiveScreen/indexLive.vue"), //鞍钢现场大屏
|
// component: () => import("@/views/agjtLiveScreen/indexLive.vue"), //鞍钢现场大屏
|
||||||
// component: () => import("@/views/overviewScreen/indexCommand.vue"), //总览大屏
|
// component: () => import("@/views/overviewScreen/indexCommand.vue"), //总览大屏
|
||||||
// component: () => import("@/views/locationLive/locationL.vue"), //人员定位大屏
|
// component: () => import("@/views/locationLive/locationL.vue"), //人员定位大屏
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
<div class="icon"><img src="@/assets/images/dustNoise/userIcon.png" /></div>
|
<div class="icon"><img src="@/assets/images/dustNoise/userIcon.png" /></div>
|
||||||
<div class="userName">{{ adminName }}</div>
|
<div class="userName">{{ adminName }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="COMPANY === 'xnyzhjj'" class="loginOut" @click="jumpBgd">
|
<div v-if="COMPANY === 'xnyzhjj' || COMPANY === 'hnxy'" class="loginOut" @click="jumpBgd">
|
||||||
<div class="loginOutIcon"><img src="@/assets/images/dustNoise/jumpIcon.png" /></div>
|
<div class="loginOutIcon"><img src="@/assets/images/dustNoise/jumpIcon.png" /></div>
|
||||||
<div class="userName">项目后台</div>
|
<div class="userName">项目后台</div>
|
||||||
</div>
|
</div>
|
||||||
@ -209,7 +209,7 @@ function jumpBgd() {
|
|||||||
if (COMPANY === "as") {
|
if (COMPANY === "as") {
|
||||||
window.location.replace("http://182.90.224.237:15551/#/projectIndex"); // 鞍山项目
|
window.location.replace("http://182.90.224.237:15551/#/projectIndex"); // 鞍山项目
|
||||||
}
|
}
|
||||||
if (COMPANY === "xnyzhjj") {
|
if (COMPANY === "xnyzhjj" || COMPANY === "hnxy") {
|
||||||
window.location.replace("http://117.146.73.156:9809/#/login?token=" + store.token);
|
window.location.replace("http://117.146.73.156:9809/#/login?token=" + store.token);
|
||||||
}
|
}
|
||||||
if(COMPANY === "agjtCommand"){
|
if(COMPANY === "agjtCommand"){
|
||||||
|
|||||||
@ -781,7 +781,7 @@ function jumpBgd() {
|
|||||||
window.location.replace("http://117.146.73.156:9809/#/login?token=" + store.token);
|
window.location.replace("http://117.146.73.156:9809/#/login?token=" + store.token);
|
||||||
} else if (COMPANY === "gwkj") {
|
} else if (COMPANY === "gwkj") {
|
||||||
window.location.replace("http://10.216.103.99:9809/#/login?token=" + store.token);
|
window.location.replace("http://10.216.103.99:9809/#/login?token=" + store.token);
|
||||||
} else if (COMPANY === "xnyzhjj") {
|
} else if (COMPANY === "xnyzhjj" || COMPANY === "hnxy") {
|
||||||
window.location.replace("http://121.37.106.37:9809/#/login?token=" + store.token);
|
window.location.replace("http://121.37.106.37:9809/#/login?token=" + store.token);
|
||||||
} else if (envList.includes(COMPANY)) {
|
} else if (envList.includes(COMPANY)) {
|
||||||
window.location.replace(BASEURL + "/#/login?token=" + store.token);
|
window.location.replace(BASEURL + "/#/login?token=" + store.token);
|
||||||
@ -814,7 +814,7 @@ function jumpBgd() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.largeScreen {
|
.largeScreen {
|
||||||
background: url("@/assets/images/bigImg.png") no-repeat;
|
background: url("@/assets/images/bigImg3.gif") no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ import Card from "@/components/card.vue";
|
|||||||
import { GlobalStore } from "@/stores";
|
import { GlobalStore } from "@/stores";
|
||||||
const store = GlobalStore();
|
const store = GlobalStore();
|
||||||
import { countPoisonousGasAlarmType } from "@/api/modules/toxicGasMonitor";
|
import { countPoisonousGasAlarmType } from "@/api/modules/toxicGasMonitor";
|
||||||
|
import { COMPANY } from "@/config/config";
|
||||||
// const airType = ref(1);
|
// const airType = ref(1);
|
||||||
// let gasName = ref(1 as any);
|
// let gasName = ref(1 as any);
|
||||||
let selectDayType = ref(1 as any);
|
let selectDayType = ref(1 as any);
|
||||||
@ -116,7 +116,7 @@ let dataList = ref([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 0,
|
value: 0,
|
||||||
show: true,
|
show: COMPANY === 'hnxy' ? false : true,
|
||||||
name: "一氧化碳",
|
name: "一氧化碳",
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
@ -126,7 +126,7 @@ let dataList = ref([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 0,
|
value: 0,
|
||||||
show: true,
|
show: COMPANY === 'hnxy' ? false : true,
|
||||||
name: "二氧化碳",
|
name: "二氧化碳",
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
@ -146,7 +146,7 @@ let dataList = ref([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 0,
|
value: 0,
|
||||||
show: true,
|
show: COMPANY === 'hnxy' ? false : true,
|
||||||
name: "二氧化硫",
|
name: "二氧化硫",
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
@ -192,6 +192,10 @@ const getToxicGasList = async () => {
|
|||||||
const res: any = await countPoisonousGasAlarmType({ projectSn: store.sn, type: selectDayType.value });
|
const res: any = await countPoisonousGasAlarmType({ projectSn: store.sn, type: selectDayType.value });
|
||||||
console.log("气体含量报警统计", res);
|
console.log("气体含量报警统计", res);
|
||||||
dataList.value = res.result.data.map((item: any) => {
|
dataList.value = res.result.data.map((item: any) => {
|
||||||
|
if(COMPANY === 'hnxy') {
|
||||||
|
const includesList = ['一氧化碳', '二氧化碳', '二氧化硫']
|
||||||
|
if(includesList.includes(item.name)) return undefined;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
value: Number(item.count),
|
value: Number(item.count),
|
||||||
show: true,
|
show: true,
|
||||||
@ -202,7 +206,8 @@ const getToxicGasList = async () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
}).filter((item: any) => item !== undefined);
|
||||||
|
|
||||||
// let gaxList = res.result;
|
// let gaxList = res.result;
|
||||||
// list.value = gaxList.concat(res.result);
|
// list.value = gaxList.concat(res.result);
|
||||||
drawEchart();
|
drawEchart();
|
||||||
|
|||||||
@ -12,29 +12,28 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<div class="bottomLeft">
|
<div class="bottomLeft" :class="{'hnxyCenter': COMPANY == 'hnxy'}">
|
||||||
<BottomLeft></BottomLeft>
|
<BottomLeft></BottomLeft>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottomCenter">
|
<div class="bottomCenter" :class="{'hnxyCenter hnxyCenter1': COMPANY == 'hnxy'}">
|
||||||
<BottomCenter></BottomCenter>
|
<BottomCenter></BottomCenter>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottomRight">
|
<div class="bottomRight" v-if="COMPANY !== 'hnxy'">
|
||||||
<BottomRight></BottomRight>
|
<BottomRight></BottomRight>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script setup>
|
||||||
import TopLeft from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/topLeft.vue";
|
import TopLeft from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/topLeft.vue";
|
||||||
import TopCenter from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/topCenter.vue";
|
import TopCenter from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/topCenter.vue";
|
||||||
import TopRight from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/topRight.vue";
|
import TopRight from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/topRight.vue";
|
||||||
import BottomLeft from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/bottomLeft.vue";
|
import BottomLeft from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/bottomLeft.vue";
|
||||||
import BottomCenter from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/bottomCenter.vue";
|
import BottomCenter from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/bottomCenter.vue";
|
||||||
import BottomRight from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/bottomRight.vue";
|
import BottomRight from "@/views/sevenLargeScreen/safetyManagement/toxicGasMonitor/bottomRight.vue";
|
||||||
export default {
|
import { COMPANY } from "@/config/config";
|
||||||
components: { TopLeft, TopCenter, TopRight, BottomLeft, BottomRight, BottomCenter }
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@ -72,6 +71,12 @@ export default {
|
|||||||
.bottomRight {
|
.bottomRight {
|
||||||
width: 33%;
|
width: 33%;
|
||||||
}
|
}
|
||||||
|
.hnxyCenter {
|
||||||
|
width: 49.5%;
|
||||||
|
}
|
||||||
|
.hnxyCenter1 {
|
||||||
|
margin: 0% 0% 0% 1%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user