Browse Source

跳转能源系统

develop
gaoguangchao 3 weeks ago
parent
commit
3074eca0f2
  1. 9
      ruoyi-ui/src/common/menuData.js
  2. 14
      ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/CustomMenu.vue

9
ruoyi-ui/src/common/menuData.js

@ -307,7 +307,7 @@ export default [
}, },
], ],
}, },
{ /*{
title: "安全生产", title: "安全生产",
name: "safe", name: "safe",
position: "right", position: "right",
@ -320,6 +320,13 @@ export default [
component: "safe/files/index.vue", component: "safe/files/index.vue",
}, },
] ]
},*/
{
title: "零碳能源",
name: "carbon",
position: "right",
path: "/carbon",
component: "developing.vue",
}, },
{ {
title: "系统管理", title: "系统管理",

14
ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/CustomMenu.vue

@ -92,23 +92,29 @@ export default {
} else if(node.title==='桥梁监测'){ } else if(node.title==='桥梁监测'){
this.activeIndex = key this.activeIndex = key
window.open('http://iot.sdhscloud.com/home?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTc1MSwidWlkIjoiM2M2NTZjOGUtMzgwZC0xMWVmLWFhNmItYmVhNGE2MDZhMzE2IiwidXNlcm5hbWUiOiJKSFpIR1MiLCJuaWNrbmFtZSI6Ilx1NmQ0ZVx1ODNjZlx1NjY3YVx1NjE2N1x1OWFkOFx1OTAxZiIsImVtYWlsIjoiMjU4NTQwMjg0MEBxcS5jb20iLCJ0ZWwiOiIiLCJpc19zdXBlcnVzZXIiOmZhbHNlLCJpc19tYXN0ZXIiOmZhbHNlLCJpc19hY3RpdmUiOnRydWUsInRlbmFudF9pZCI6NDUsImF0dHJzIjp7Imdyb3VwIjoiIn0sImhhc3VyYSI6eyJ4LWhhc3VyYS11c2VyLWlkIjoiM2M2NTZjOGUtMzgwZC0xMWVmLWFhNmItYmVhNGE2MDZhMzE2IiwieC1oYXN1cmEtdGVuYW50Ijo0NSwieC1oYXN1cmEtYWN0aXZlIjp0cnVlLCJ4LWhhc3VyYS1tYX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CJhcHBfaWQiOjUyLCJyb2xlX2lkIjo1MjcsInNlcnZpY2VfaWQiOjQsImNsaWVudF9pZCI6IjA1ZTI1NzU4LTBhYTQtMTFlYS1iYTM0LTAyNDJhYzEwMDExZiIsImV4cCI6NDg3MzUxMzk1M30.JR5dwFCmNfaDFkSISOF5ZhRyPBulzDwG1bg4BA-Jqog')
} }
// else if(node.title===''){ // else if(node.title===''){
// this.activeIndex = key // this.activeIndex = key
// getConfigKey("digitalTollStation").then((response) => { // getConfigKey("digitalTollStation").then((response) => {
// window.open(response.msg===''?'https://10.0.86.63:9000/s?loadType=auto&group=15ai1k13748d&runType=box':response.msg); // window.open(response.msg===''?'https://10.0.86.63:9000/s?loadType=auto&group=15ai1k13748d&runType=box':response.msg);
// }) // })
// } // }
else if(node.title==='GIS+BIM可视化'){ else if(node.title==='GIS+BIM可视化'){
this.activeIndex = key this.activeIndex = key
getConfigKey("dc.gisAndBim").then((response) => { getConfigKey("dc.gisAndBim").then((response) => {
window.open(response.msg===''?'https://10.0.86.63:9000/s?loadType=auto&group=15ai1k13748d&runType=box':response.msg); window.open(response.msg===''?'https://10.0.86.63:9000/s?loadType=auto&group=15ai1k13748d&runType=box':response.msg);
}) })
} }
else if(node.title==='零碳能源'){
this.activeIndex = key
getConfigKey("carbon").then((response) => {
window.open(response.msg===''?'https://10.0.111.11:100/single?key=jhszyy&route=home':response.msg);
})
}
else if (this.$route.path != node.path){ else if (this.$route.path != node.path){
this.$router.push(node.path); this.$router.push(node.path);
} }
} }
} }
}; };

Loading…
Cancel
Save