Compare commits
2 Commits
e0f790647f
...
9c86cfe045
Author | SHA1 | Date |
---|---|---|
|
9c86cfe045 | |
|
c90c2c589b |
|
@ -244,9 +244,15 @@ export default {
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
this.$router.push("/greenCarbon");
|
this.$router.push("/greenCarbon");
|
||||||
|
<<<<<<< HEAD
|
||||||
|
break;
|
||||||
|
case 702:
|
||||||
|
this.$router.push("/bimRoaming");
|
||||||
|
=======
|
||||||
break;
|
break;
|
||||||
case 701:
|
case 701:
|
||||||
this.$router.push("/bimManage");
|
this.$router.push("/bimManage");
|
||||||
|
>>>>>>> origin/dev_xd
|
||||||
break;
|
break;
|
||||||
case 102:
|
case 102:
|
||||||
this.$router.push("/labor");
|
this.$router.push("/labor");
|
||||||
|
|
|
@ -60,6 +60,13 @@ const routes = [
|
||||||
component: () =>
|
component: () =>
|
||||||
import(/* webpackChunkName: "bimManage" */ "../views/bimManage.vue"),
|
import(/* webpackChunkName: "bimManage" */ "../views/bimManage.vue"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/bimRoaming",
|
||||||
|
name: "bimRoaming",
|
||||||
|
meta: { nav: 702 },
|
||||||
|
component: () =>
|
||||||
|
import(/* webpackChunkName: "bimRoaming" */ "../views/bimRoaming.vue"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "/videoMonitor",
|
path: "/videoMonitor",
|
||||||
name: "videoMonitor",
|
name: "videoMonitor",
|
||||||
|
|
|
@ -353,6 +353,7 @@ export default {
|
||||||
devicTypes: [1],
|
devicTypes: [1],
|
||||||
viewPoint: null,
|
viewPoint: null,
|
||||||
project: null,
|
project: null,
|
||||||
|
selProject:null,
|
||||||
addLabels: [],
|
addLabels: [],
|
||||||
devices: [],
|
devices: [],
|
||||||
showDevices: [],
|
showDevices: [],
|
||||||
|
|
|
@ -0,0 +1,42 @@
|
||||||
|
<template>
|
||||||
|
<div class="bim-roaming main-page">
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'BIMRoaming',
|
||||||
|
data(){
|
||||||
|
return {
|
||||||
|
dpi: "",
|
||||||
|
selProject:null,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted(){
|
||||||
|
this.$store.dispatch("ChangeNav", 702);
|
||||||
|
this.dpi = this.$dpi();
|
||||||
|
window.addEventListener("resize", () => {
|
||||||
|
if (this.dpi != this.$dpi()) {
|
||||||
|
this.dpi = this.$dpi();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
this.$bus.$on(
|
||||||
|
"projectChange",
|
||||||
|
debounce((prj) => {
|
||||||
|
this.selProject = prj;
|
||||||
|
this.elId++;
|
||||||
|
})
|
||||||
|
);
|
||||||
|
this.selProject = this.$store.getters.selProject;
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
.bim-roaming{
|
||||||
|
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in New Issue