From 2f8555410f031e66ee91ee60f64d1cc9a34cc7d9 Mon Sep 17 00:00:00 2001
From: dangsn <dangsn@vci-tech.com>
Date: 星期三, 25 十二月 2024 17:44:38 +0800
Subject: [PATCH] 1、首页配置 2、调整BaseModelDTO的位置

---
 Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue b/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue
index 170ffa4..3762f5b 100644
--- a/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue
+++ b/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue
@@ -14,7 +14,7 @@
                   :key="item[labelKey]"
                   :index="item[pathKey]">
         <template slot="title">
-          <i :class="item[iconKey]"></i>
+          <i :class="item[iconKey]" style="margin-right: 10px"></i>
           <span slot="title"
                 :class="{'el-menu--display':collapse && first}">{{ generateTitle(item) }}</span>
         </template>
@@ -24,7 +24,7 @@
                         :class="{'is-active':vaildActive(child)}"
                         :index="child[pathKey],cindex"
                         @click="open(child)">
-            <i :class="child[iconKey]"></i>
+            <i :class="child[iconKey]" style="margin-right: 10px"></i>
             <span slot="title">{{ generateTitle(child) }}</span>
           </el-menu-item>
           <sidebar-item v-else
@@ -125,6 +125,10 @@
       }
     },
     open(item) {
+      const query = {
+        ...item.query,
+        id:item.id
+      }
       if (this.screen <= 1) this.$store.commit("SET_COLLAPSE");
       if (this.validIsOpen(item)) {
         window.open(item[this.pathKey]);
@@ -136,7 +140,7 @@
             name: item[this.labelKey],
             src: item[this.pathKey]
           }, item.meta),
-          query: item.query
+          query: query
         });
       }
     }

--
Gitblit v1.9.3