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/edifact.vue | 100 +++++++++++++++-----------------------------------
1 files changed, 30 insertions(+), 70 deletions(-)
diff --git a/src/pcviews/arc/edifact.vue b/src/pcviews/arc/edifact.vue
index 048bea7..ce48781 100644
--- a/src/pcviews/arc/edifact.vue
+++ b/src/pcviews/arc/edifact.vue
@@ -1,82 +1,42 @@
-/*
- * @Author: Morpheus
- * @Name: 行政办公
- * @Date: 2021-11-15 17:10:23
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-11-15 17:12:12
- *
- /
- <template>
- <div>
- <arc-nav-bar :navList="list"
- :title="title"></arc-nav-bar>
- </div>
+/* * @Author: Morpheus * @Name: 行政办公 * @Date: 2021-11-15 17:14:47 * @Last
+Modified by: Morpheus * @Last Modified time: 2021-12-30 14:23:28 */
+<template>
+ <div></div>
</template>
<script>
+import { mapGetters } from 'vuex'
+
export default {
data () {
- return {
- title: '行政办公',
- list: []
+ 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', 1)
+ this.$store.commit('SET_ARCNAVBARFLAG', true)
},
- created () {
- this.list = [
- {
- navTitle: '学校办公室',
- icon: '/img/navicon/tag.png'
- },
- {
- navTitle: '组织部',
- icon: '/img/navicon/tag.png'
- },
- {
- navTitle: '宣传部',
- icon: '/img/navicon/tag.png'
- },
- {
- navTitle: '博物馆',
- icon: '/img/navicon/tag.png'
- },
- {
- navTitle: '统战部',
- icon: '/img/navicon/tag.png'
- },
- {
- navTitle: '纪委办公室',
- icon: '/img/navicon/tag.png'
- },
- {
- navTitle: '巡查办公室',
- icon: '/img/navicon/tag.png'
- },
- {
- navTitle: '学生工作部(处)/团委',
- icon: '/img/navicon/tag.png'
- },
- {
- navTitle: '研究生工作部',
- icon: '/img/navicon/tag.png'
- },
- {
- navTitle: '保卫部',
- icon: '/img/navicon/tag.png'
- },
- {
- navTitle: '工会',
- icon: '/img/navicon/tag.png'
- }
- ]
- },
- methods: {
- closeModel () {
- this.$store.dispatch('delVisitedViews', this.$route)
- this.$router.push('/pcLayout/default')
+ 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