Compare commits
2 Commits
e0f790647f
...
9c86cfe045
Author | SHA1 | Date |
---|---|---|
|
9c86cfe045 | |
|
c90c2c589b |
|
@ -244,9 +244,15 @@ export default {
|
|||
break;
|
||||
case 6:
|
||||
this.$router.push("/greenCarbon");
|
||||
<<<<<<< HEAD
|
||||
break;
|
||||
case 702:
|
||||
this.$router.push("/bimRoaming");
|
||||
=======
|
||||
break;
|
||||
case 701:
|
||||
this.$router.push("/bimManage");
|
||||
>>>>>>> origin/dev_xd
|
||||
break;
|
||||
case 102:
|
||||
this.$router.push("/labor");
|
||||
|
|
|
@ -60,6 +60,13 @@ const routes = [
|
|||
component: () =>
|
||||
import(/* webpackChunkName: "bimManage" */ "../views/bimManage.vue"),
|
||||
},
|
||||
{
|
||||
path: "/bimRoaming",
|
||||
name: "bimRoaming",
|
||||
meta: { nav: 702 },
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "bimRoaming" */ "../views/bimRoaming.vue"),
|
||||
},
|
||||
{
|
||||
path: "/videoMonitor",
|
||||
name: "videoMonitor",
|
||||
|
|
|
@ -353,6 +353,7 @@ export default {
|
|||
devicTypes: [1],
|
||||
viewPoint: null,
|
||||
project: null,
|
||||
selProject:null,
|
||||
addLabels: [],
|
||||
devices: [],
|
||||
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