From 81f54040c2cb65537c6c6e1db8358a39a57dea0d Mon Sep 17 00:00:00 2001
From: mayisheng <admin>
Date: Mon, 15 Aug 2022 16:14:01 +0800
Subject: [PATCH] 1

---
 src/pcviews/arc/rest.vue |   43 +++++++++++++++++++++++++++++++++++--------
 1 files changed, 35 insertions(+), 8 deletions(-)

diff --git a/src/pcviews/arc/rest.vue b/src/pcviews/arc/rest.vue
index 4171422..b749d26 100644
--- a/src/pcviews/arc/rest.vue
+++ b/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>

--
Gitblit v1.9.3