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/teaching.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/pcviews/orgnav/teaching.vue b/src/pcviews/orgnav/teaching.vue
index 2f131ab..33e1bcb 100644
--- a/src/pcviews/orgnav/teaching.vue
+++ b/src/pcviews/orgnav/teaching.vue
@@ -13,6 +13,9 @@
             list: []
         }
     },
+
+    inject: ["layoutElement"],
+
     computed: {
         ...mapGetters([
             // 校园内导航的显示关闭
@@ -31,7 +34,7 @@
 
         this.$store.commit('SET_ORGNAVBARFLAG', true)
 
-        getList({ type: 4 }).then((res) => {
+        getList({ type: 4, campus: this.layoutElement.campusValue }).then((res) => {
             res.data.data.records.forEach((item) => {
                 this.list.push({
                     navTitle: item.mechanismname,

--
Gitblit v1.9.3