+
liuyg
2021-12-31 b41db64b0dc4c5fecb40caf788a1a80e7e4e7eb5
src/components/map/components/campusBuildingSearch.vue
@@ -62,36 +62,42 @@
                    bgimg: '/img/search/org.png',
                    title: '党群机构',
                    type: 'orgnav',
                    path: '/pcLayout/default/orgnav/masses',
                    code: 1
                },
                {
                    bgimg: '/img/search/ofc.png',
                    title: '职能部处',
                    type: 'orgnav',
                    path: '/pcLayout/default/orgnav/ofc',
                    code: 2
                },
                {
                    bgimg: '/img/search/teach.png',
                    title: '教学科研',
                    type: 'orgnav',
                    code: 4
                    type: 'arc',
                    path: '/pcLayout/default/arc/teaching',
                    code: 2
                },
                {
                    bgimg: '/img/search/venue.png',
                    title: '校内场馆',
                    type: 'arc',
                    path: '/pcLayout/default/arc/venue',
                    code: 3
                },
                {
                    bgimg: '/img/search/dorm.png',
                    title: '学生宿舍',
                    type: 'arc',
                    path: '/pcLayout/default/arc/dorm',
                    code: 4
                },
                {
                    bgimg: '/img/search/scenery.png',
                    title: '文化风景',
                    type: 'arc',
                    path: '/pcLayout/default/arc/culture',
                    code: 5
                }
            ],
@@ -136,6 +142,11 @@
        openModelPopup (param) {
            var list = []
            if (this.$route.path.indexOf('/service') != -1) {
                this.$store.dispatch('delVisitedViews', this.$route)
                this.$router.push('/pcLayout/default')
            }
            if (param.type == 'orgnav') {
                var path = this.$route.path
                if (path.indexOf('/arc') != -1) {
@@ -172,7 +183,8 @@
                            QRImg: item.codeurl,
                            address: item.address,
                            telephone: item.telephone,
                            introduce: item.introduce
                            introduce: item.introduce,
                            videourl: item.videourl
                        })
                    })
@@ -234,7 +246,7 @@
            if (result.panoramaurl != '') {
                this.$store.commit('SET_PANORAMAURL', result.panoramaurl)
            }
            if (result.videourl != '') {
            if (result.videourl && result.videourl != '') {
                this.$store.commit('SET_MONITORURL', result.videourl)
            }
            this.$store.commit('SET_POPUPIMGATLAS', imgArr)