| | |
| | | * @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> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getList } from '@/api/pc/orgnav/index' |
| | | export default { |
| | | data () { |
| | | return { |
| | |
| | | } |
| | | }, |
| | | 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 () { |