liuyg
2021-12-15 8409c653e725ad975b589419ddb9177f3be1e9fb
src/pcviews/orgnav/masses.vue
@@ -3,7 +3,7 @@
 * @Name: 党群机构
 * @Date: 2021-11-15 10:02:12
 * @Last Modified by: Morpheus
 * @Last Modified time: 2021-11-15 17:07:35
 * @Last Modified time: 2021-12-14 15:38:17
 */
 <template>
    <div>
@@ -13,6 +13,7 @@
</template>
<script>
import { getList } from '@/api/pc/orgnav/index'
export default {
    data () {
        return {
@@ -21,52 +22,19 @@
        }
    },
    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'
            }
        ]
        getList({ type: 1462593559077318657 }).then(res => {
            res.data.data.records.forEach(item => {
                this.list.push({
                    navTitle: item.mechanismname,
                    icon: '/img/navicon/tag.png',
                    longitude: item.jd,
                    latitude: item.wd,
                    alt: item.gd,
                    bgImg: item.tpurl,
                    QRImg: item.codeurl
                })
            })
        })
    },
    methods: {
        closeModel () {