From 9d960ed0058f9087f49e9741a9af06c3f9116eb0 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期六, 19 四月 2025 11:23:02 +0800
Subject: [PATCH] feat(auth): 添加 Keycloak 认证支持

---
 zhitan-vue/src/views/modelconfiguration/indexwarehouse/indexWarehouse.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/zhitan-vue/src/views/modelconfiguration/indexwarehouse/indexWarehouse.vue b/zhitan-vue/src/views/modelconfiguration/indexwarehouse/indexWarehouse.vue
index 39fe733..a39fc47 100644
--- a/zhitan-vue/src/views/modelconfiguration/indexwarehouse/indexWarehouse.vue
+++ b/zhitan-vue/src/views/modelconfiguration/indexwarehouse/indexWarehouse.vue
@@ -65,7 +65,7 @@
     <treeNodeModal
       ref="treeNodeModalRef"
       @getList="getTreeList"
-      modelCode="JCZBK_CODE"
+      :modelCode="modelCode"
       @addTreeList="addTreeList"
       @addTreeSelectList="addTreeSelectList"
     />
@@ -83,6 +83,7 @@
 let treeRef = ref()
 let tab = ref(1)
 let treeData = ref([])
+const modelCode = proxy.$route.query.modelCode || "JCZBK_CODE"
 
 const defaultProps = ref({
   children: "children",
@@ -113,7 +114,7 @@
 let statisticalIndicatorManagementRef = ref(null)
 //鑾峰彇鏍戝垪琛�
 function getTreeList() {
-  treeList({ modelCode: "JCZBK_CODE" }).then((res) => {
+  treeList({ modelCode: proxy.$route.query.modelCode || "JCZBK_CODE" }).then((res) => {
     let { data } = res
     treeData.value = data
     let chooseNode = null

--
Gitblit v1.9.3