shuishen
2022-07-21 58060e64e1fa9cf3ffcf5e29f09c4c2edf8f2126
src/pcviews/arc/edifact.vue
@@ -5,38 +5,38 @@
</template>
<script>
import { mapGetters } from "vuex";
import { mapGetters } from 'vuex'
export default {
  data() {
    return {};
        return {}
  },
  computed: {
    ...mapGetters([
      // 校区内导航的显示关闭
      "orgNavBarFlag",
      "arcNavBarFlag",
    ]),
            '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_ORGNAVBARTITLE', '')
            this.$store.commit('SET_ORGNAVBARLIST', [])
            this.$store.commit('SET_ORGNAVBARFLAG', false)
    }
    this.$store.commit("SET_ARCNAVBARTITLE", "行政办公");
    this.$store.commit("SET_ARCNAVBARCODE", 1);
    this.$store.commit("SET_ARCNAVBARFLAG", true);
        this.$store.commit('SET_ARCNAVBARTITLE', '行政办公')
        this.$store.commit('SET_ARCNAVBARCODE', 1)
        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);
            this.$store.commit('SET_ARCNAVBARTITLE', '')
            this.$store.commit('SET_ARCNAVBARCODE', '')
            this.$store.commit('SET_ARCNAVBARFLAG', false)
    }
  },
};
    }
}
</script>
<style></style>