From f63b411abc9a9cc86a415242875169a5ea5aed1a Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 20 Dec 2021 17:33:56 +0800
Subject: [PATCH] +增加弹窗间互联,加入接口数据

---
 src/components/mobilePopupOurAfter/index.vue |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/src/components/mobilePopupOurAfter/index.vue b/src/components/mobilePopupOurAfter/index.vue
index 9847d54..5d8e20c 100644
--- a/src/components/mobilePopupOurAfter/index.vue
+++ b/src/components/mobilePopupOurAfter/index.vue
@@ -41,35 +41,77 @@
         {
           name: "机构单位",
           icon: "el-icon-s-cooperation",
+          opendata: "openData1",
         },
         {
           name: "校园建筑",
+          opendata: "openData2",
           icon: "el-icon-s-management",
         },
         {
           name: "生活设施",
+          opendata: "openData3",
           icon: "el-icon-s-flag",
         },
       ],
       choiceDataDown: [
         {
           name: "文化风景",
+          opendata: "openData4",
           icon: "el-icon-s-opportunity",
         },
         {
           name: "出入口",
+          opendata: "openData5",
           icon: "el-icon-s-promotion",
         },
         {
           name: "停车场",
+          opendata: "openData6",
           icon: "el-icon-s-flag",
         },
       ],
+      openData1: [
+        { name: "党群机构", type: 1 },
+        { name: "职能部处", type: 2 },
+        { name: "直属及附属单位", type: 3 },
+        { name: "教学与科研机构", type: 4 },
+        { name: "其他机构", type: 5 },
+      ],
+      openData2: [
+        { name: "行政办公", type: 1 },
+        { name: "教学科研", type: 2 },
+        { name: "校内场馆", type: 3 },
+        { name: "宿舍公寓", type: 4 },
+        { name: "文化风景", type: 5 },
+        { name: "家属住宅", type: 6 },
+        { name: "其他楼宇", type: 7 },
+      ],
+      openData3: [
+        { name: "食堂餐厅", type: 1 },
+        { name: "购物超市", type: 2 },
+        { name: "校内医疗", type: 3 },
+        { name: "邮寄快递", type: 4 },
+        { name: "学生浴室", type: 5 },
+        { name: "圈存机", type: 6 },
+        { name: "打字复印", type: 7 },
+        { name: "AED", type: 8 },
+        { name: "银行网点", type: 9 },
+        { name: "通信营业厅", type: 10 },
+      ],
+      openData4: [{ name: "文化风景", type: 1 }],
+      openData5: [{ name: "出入口", type: 1 }],
+      openData6: [{ name: "停车场", type: 1 }],
     };
   },
   mounted() {},
   methods: {
     openBigPopup(val) {
+      let d = {
+        main: this[val.opendata],
+        qurey: val.name,
+      };
+      this.$store.commit("MSET_POPUPOUROPENDATA", d);
       this.$store.commit("MSET_BIGPOPUP", val);
     },
     closeBigPopupAfter() {

--
Gitblit v1.9.3