1
mayisheng
2022-08-15 81f54040c2cb65537c6c6e1db8358a39a57dea0d
src/pcviews/orgnav/teaching.vue
@@ -1,14 +1,7 @@
/*
 * @Author: Morpheus
 * @Name: 教学与科研机构
 * @Date: 2021-11-15 10:02:12
 * @Last Modified by: Morpheus
 * @Last Modified time: 2021-12-25 15:11:00
 */
 <template>
    <div>
    </div>
/* * @Author: Morpheus * @Name: 教学与科研机构 * @Date: 2021-11-15 10:02:12 *
@Last Modified by: Morpheus * @Last Modified time: 2021-12-30 14:26:13 */
<template>
    <div></div>
</template>
<script>
@@ -24,11 +17,12 @@
    },
    computed: {
        ...mapGetters([
            // 校内导航的显示关闭
            // 校区内导航的显示关闭
            'orgNavBarFlag',
            'arcNavBarFlag'
        ])
    },
    created () {
    mounted () {
        if (this.arcNavBarFlag == true) {
            this.$store.commit('SET_ARCNAVBARTITLE', '')
            this.$store.commit('SET_ARCNAVBARCODE', '')
@@ -39,8 +33,8 @@
        this.$store.commit('SET_ORGNAVBARFLAG', true)
        getList({ type: 4 }).then(res => {
            res.data.data.records.forEach(item => {
        getList({ type: 4 }).then((res) => {
            res.data.data.records.forEach((item) => {
                this.list.push({
                    navTitle: item.mechanismname,
                    icon: '/img/navicon/tag.png',
@@ -54,18 +48,24 @@
                    QRImg: item.codeurl,
                    address: item.address,
                    telephone: item.telephone,
                    introduce: item.introduce
                    introduce: item.introduce,
                    videourl: item.videourl,
                    x: item.x
                })
            })
            this.$store.commit('SET_ORGNAVBARLIST', this.list)
        })
    },
    methods: {
    methods: {},
    beforeDestroy () {
        if (this.orgNavBarFlag == true) {
            this.$store.commit('SET_ORGNAVBARTITLE', '')
            this.$store.commit('SET_ORGNAVBARLIST', [])
            this.$store.commit('SET_ORGNAVBARFLAG', false)
        }
    }
}
</script>
<style>
</style>
<style></style>