From 8409c653e725ad975b589419ddb9177f3be1e9fb Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 15 Dec 2021 08:41:37 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/school-web
---
src/pcviews/orgnav/masses.vue | 62 +++++++-----------------------
1 files changed, 15 insertions(+), 47 deletions(-)
diff --git a/src/pcviews/orgnav/masses.vue b/src/pcviews/orgnav/masses.vue
index 779b877..17f630b 100644
--- a/src/pcviews/orgnav/masses.vue
+++ b/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 () {
--
Gitblit v1.9.3