+
liuyg
2021-12-31 6851cc1e217a2af9ae62ebb3bf28e00a0d8ddadb
src/pcviews/arc/rest.vue
@@ -1,15 +1,55 @@
/*
 * @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>