1
mayisheng
2022-08-15 81f54040c2cb65537c6c6e1db8358a39a57dea0d
src/pcviews/arc/rest.vue
@@ -1,15 +1,42 @@
/* * @Author: Morpheus * @Name: 主要楼宇 * @Date: 2021-11-15 17:14:47 * @Last
Modified by: Morpheus * @Last Modified time: 2021-12-30 14:25:28 */
<template>
  <div>
      校内建筑
  </div>
  <div></div>
</template>
<script>
export default {
import { mapGetters } from "vuex";
}
export default {
  data() {
    return {};
  },
  computed: {
    ...mapGetters([
      // 校区内导航的显示关闭
      "orgNavBarFlag",
      "arcNavBarFlag",
    ]),
  },
  mounted() {
    if (this.orgNavBarFlag == true) {
      this.$store.commit("SET_ORGNAVBARTITLE", "");
      this.$store.commit("SET_ORGNAVBARLIST", []);
      this.$store.commit("SET_ORGNAVBARFLAG", false);
    }
    this.$store.commit("SET_ARCNAVBARTITLE", "主要楼宇");
    this.$store.commit("SET_ARCNAVBARCODE", 7);
    this.$store.commit("SET_ARCNAVBARFLAG", true);
  },
  methods: {},
  beforeDestroy() {
    if (this.arcNavBarFlag == true) {
      this.$store.commit("SET_ARCNAVBARTITLE", "");
      this.$store.commit("SET_ARCNAVBARCODE", "");
      this.$store.commit("SET_ARCNAVBARFLAG", false);
    }
  },
};
</script>
<style>
</style>
<style></style>