From 09d137249b4ee41603a8e4becc41923b99f13e95 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 20 Jan 2022 11:31:49 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/school-web
---
src/components/mobilePopupOurAfter/index.vue | 142 ++++++++++++++++++++++++-----------------------
1 files changed, 73 insertions(+), 69 deletions(-)
diff --git a/src/components/mobilePopupOurAfter/index.vue b/src/components/mobilePopupOurAfter/index.vue
index c0fbf14..a90857f 100644
--- a/src/components/mobilePopupOurAfter/index.vue
+++ b/src/components/mobilePopupOurAfter/index.vue
@@ -17,7 +17,7 @@
:key="index"
>
<div class="m_p_a_c_o_up"><i :class="[item.icon]"></i></div>
- <div class="m_p_a_c_o_down">{{ item.name }}</div>
+ <div class="m_p_a_c_o_down">{{ item.seeName || item.name }}</div>
</div>
</div>
<div class="m_p_a_center_group">
@@ -28,7 +28,7 @@
:key="index"
>
<div class="m_p_a_c_o_up"><i :class="[item.icon]"></i></div>
- <div class="m_p_a_c_o_down">{{ item.name }}</div>
+ <div class="m_p_a_c_o_down">{{ item.seeName || item.name }}</div>
</div>
</div>
</div>
@@ -36,9 +36,9 @@
</template>
<script>
-import { mapGetters } from "vuex";
-import { getList } from "@/api/mobile/orgnav/index"; //机构单位
-import { getChildNavList } from "@/api/mobile/public/arc"; //社区建筑
+import { mapGetters } from 'vuex'
+import { getList } from '@/api/mobile/orgnav/index' // 机构单位
+import { getChildNavList } from '@/api/mobile/public/arc' // 社区建筑
import {
// getListlivingFacilitiesr,
// getListsupermarket,
@@ -50,67 +50,69 @@
// getListaed,
// getListsignal,
// getListtransference,
- getListLifeOnce, //所有的
-} from "@/api/mobile/livingFacilities/index"; //生活设施
+ getListLifeOnce // 所有的
+} from '@/api/mobile/livingFacilities/index' // 生活设施
// import { getListdoor } from "@/api/mobile/outIn/index"; //出入口
// import { getListparking } from "@/api/mobile/stop/index"; //停车场
export default {
- name: "mobilePopupOurAfter",
+ name: 'mobilePopupOurAfter',
computed: {
- ...mapGetters(["mBigPopupAfter"]),
+ ...mapGetters(['mBigPopupAfter'])
},
- data() {
+ data () {
return {
- choiceValue: "",
+ choiceValue: '',
choiceDataUp: [
{
- name: "机构单位",
- icon: "el-icon-s-cooperation",
- opendata: "openData1",
+ // seeName: "社区内机构导览",
+ name: '机构单位',
+ icon: 'el-icon-s-cooperation',
+ opendata: 'openData1'
},
{
- name: "社区建筑",
- opendata: "openData2",
- icon: "el-icon-s-management",
+ name: '社区建筑',
+ opendata: 'openData2',
+ icon: 'el-icon-s-management'
},
{
- name: "生活设施",
- opendata: "openData3",
- icon: "el-icon-s-flag",
- },
+ // seeName: "生活服务设施",
+ name: '生活设施',
+ opendata: 'openData3',
+ icon: 'el-icon-s-flag'
+ }
],
choiceDataDown: [
{
- name: "文化风景",
- opendata: "openData4",
- icon: "el-icon-s-opportunity",
+ name: '文化风景',
+ opendata: 'openData4',
+ icon: 'el-icon-s-opportunity'
},
{
- name: "出入口",
- opendata: "openData5",
- icon: "el-icon-s-promotion",
+ name: '出入口',
+ opendata: 'openData5',
+ icon: 'el-icon-s-promotion'
},
{
- name: "停车场",
- opendata: "openData6",
- icon: "el-icon-s-flag",
- },
+ name: '停车场',
+ opendata: 'openData6',
+ icon: 'el-icon-s-flag'
+ }
],
openData1: [
- { name: "党群机构", type: 1, method: getList },
- { name: "职能部处", type: 2, method: getList },
- { name: "直属及附属单位", type: 3, method: getList },
- { name: "教学与科研机构", type: 4, method: getList },
- { name: "其他机构", type: 5, method: getList },
+ { name: '党群机构', type: 1, method: getList },
+ { name: '职能部处', type: 2, method: getList },
+ { name: '直属及附属单位', type: 3, method: getList },
+ // { name: "教学与科研机构", type: 4, method: getList },
+ { name: '其他机构', type: 5, method: getList }
],
openData2: [
- { name: "行政办公", type: 1, method: getChildNavList },
- { name: "教学科研", type: 2, method: getChildNavList },
- { name: "社区场馆", type: 3, method: getChildNavList },
- { name: "宿舍公寓", type: 4, method: getChildNavList },
- { name: "文化风景", type: 5, method: getChildNavList },
- { name: "家属住宅", type: 6, method: getChildNavList },
- { name: "主要楼宇", type: 7, method: getChildNavList },
+ { name: '行政办公', type: 1, method: getChildNavList },
+ // { name: "教学科研", type: 2, method: getChildNavList },
+ { name: '社区场馆', type: 3, method: getChildNavList },
+ { name: '宿舍公寓', type: 4, method: getChildNavList },
+ { name: '文化风景', type: 5, method: getChildNavList },
+ { name: '家属住宅', type: 6, method: getChildNavList },
+ { name: '主要楼宇', type: 7, method: getChildNavList }
],
// openData3: [
// { name: "食堂餐厅", type: 1, method: getListlivingFacilitiesr },
@@ -127,37 +129,39 @@
// openData6: [{ name: "停车场", type: 1, method: getListparking }],
// openData5: [{ name: "出入口", type: 1, method: getListdoor }],
openData3: [
- { name: "食堂餐厅", type: 1, method: getListLifeOnce },
- { name: "购物超市", type: 2, method: getListLifeOnce },
- { name: "社区内医疗", type: 3, method: getListLifeOnce },
- { name: "邮寄快递", type: 4, method: getListLifeOnce },
- { name: "社区浴室", type: 5, method: getListLifeOnce },
- { name: "圈存机", type: 6, method: getListLifeOnce },
- { name: "打字复印", type: 7, method: getListLifeOnce },
- { name: "银行网点", type: 8, method: getListLifeOnce },
- { name: "AED", type: 9, method: getListLifeOnce },
- { name: "通信营业厅", type: 10, method: getListLifeOnce },
+ // { name: "食堂餐厅", type: 1, method: getListLifeOnce },
+ { name: '购物超市', type: 2, method: getListLifeOnce },
+ { name: '社区医疗', type: 3, method: getListLifeOnce },
+ { name: '邮寄快递', type: 4, method: getListLifeOnce },
+ { name: '社区浴室', type: 5, method: getListLifeOnce },
+ // { name: "圈存机", type: 6, method: getListLifeOnce },
+ { name: '打字复印', type: 7, method: getListLifeOnce },
+ { name: '银行网点', type: 8, method: getListLifeOnce },
+ { name: 'AED', type: 9, method: getListLifeOnce },
+ { name: '通信营业厅', type: 10, method: getListLifeOnce },
+ { name: '停车场', type: 11, method: getListLifeOnce },
+ { name: '出入口', type: 12, method: getListLifeOnce }
],
- openData6: [{ name: "停车场", type: 11, method: getListLifeOnce }],
- openData5: [{ name: "出入口", type: 12, method: getListLifeOnce }],
- openData4: [{ name: "文化风景", type: 5, method: getChildNavList }],
- };
+ openData6: [{ name: '停车场', type: 11, method: getListLifeOnce }],
+ openData5: [{ name: '出入口', type: 12, method: getListLifeOnce }],
+ openData4: [{ name: '文化风景', type: 5, method: getChildNavList }]
+ }
},
- mounted() {},
+ mounted () {},
methods: {
- openBigPopup(val) {
- let d = {
+ openBigPopup (val) {
+ const d = {
main: this[val.opendata],
- qurey: val.name,
- };
- this.$store.commit("MSET_POPUPOUROPENDATA", d);
- this.$store.commit("MSET_BIGPOPUP", val);
+ qurey: val.name
+ }
+ this.$store.commit('MSET_POPUPOUROPENDATA', d)
+ this.$store.commit('MSET_BIGPOPUP', val)
},
- closeBigPopupAfter() {
- this.$store.commit("MSET_BIGPOPUPAFTER", false);
- },
- },
-};
+ closeBigPopupAfter () {
+ this.$store.commit('MSET_BIGPOPUPAFTER', false)
+ }
+ }
+}
</script>
<style lang="scss" scoped>
--
Gitblit v1.9.3