From 75caf8524a5934b16176764f8d56d77d11cd4d2c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 04 Dec 2023 15:55:03 +0800
Subject: [PATCH] 校区切换处理---接口传参

---
 src/pcviews/orgnav/ofc.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/pcviews/orgnav/ofc.vue b/src/pcviews/orgnav/ofc.vue
index 7620e6a..e9a3e31 100644
--- a/src/pcviews/orgnav/ofc.vue
+++ b/src/pcviews/orgnav/ofc.vue
@@ -2,8 +2,8 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2022-08-29 09:04:54
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2022-08-30 14:21:58
- * @FilePath: \smart-campus\src\pcviews\orgnav\ofc.vue
+ * @LastEditTime: 2023-12-04 15:33:30
+ * @FilePath: \sd-jg-school-web-ksd\src\pcviews\orgnav\ofc.vue
  * @Description:
  *
  * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved.
@@ -23,6 +23,9 @@
             list: []
         }
     },
+
+    inject: ["layoutElement"],
+
     computed: {
         ...mapGetters([
             // 校园内导航的显示关闭
@@ -41,7 +44,7 @@
 
         this.$store.commit('SET_ORGNAVBARFLAG', true)
 
-        getList({ type: 2 }).then((res) => {
+        getList({ type: 2, campus: this.layoutElement.campusValue }).then((res) => {
             res.data.data.records.forEach((item) => {
                 this.list.push({
                     navTitle: item.mechanismname,

--
Gitblit v1.9.3