From df2328ea56438bf534ad2df79d7f761606cd9cce Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 26 六月 2026 17:34:40 +0800
Subject: [PATCH] 已完成状态的生产订单,工艺路线不能修改,新增编辑按钮都不要展示

---
 src/layout/index.vue |   28 +++++++++++++++++++---------
 1 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/src/layout/index.vue b/src/layout/index.vue
index 11949df..aa1bfb5 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -11,7 +11,7 @@
          class="main-container main-layout">
       <div :class="{ 'fixed-header': fixedHeader, 'with-tags': showTagsView }">
         <navbar @setLayout="setLayout" />
-        <tags-view v-if="showTagsView" />
+        <tags-view />
       </div>
       <app-main />
       <settings ref="settingRef" />
@@ -42,11 +42,15 @@
   const sidebar = computed(() => useAppStore().sidebar);
   const device = computed(() => useAppStore().device);
   const needTagsView = computed(() => settingsStore.tagsView);
-  const showTagsView = computed(() => needTagsView.value && tagsViewStore.visitedViews.length > 1);
+  const showTagsView = computed(
+    () => needTagsView.value && tagsViewStore.visitedViews.length > 1
+  );
   const fixedHeader = computed(() => settingsStore.fixedHeader);
   const aiEnabled = computed(() => Number(userStore.aiEnabled) === 1);
   const showGlobalAiChat = computed(() => {
-    const isIndustrialBrainRoute = String(route.path || "").startsWith("/ai-industrial-brain");
+    const isIndustrialBrainRoute = String(route.path || "").startsWith(
+      "/ai-industrial-brain"
+    );
     return !isIndustrialBrainRoute && aiEnabled.value;
   });
 
@@ -96,9 +100,16 @@
     position: relative;
     min-height: 100%;
     width: 100%;
-    background:
-      radial-gradient(circle at 14% -8%, rgba(59, 130, 246, 0.14), transparent 36%),
-      radial-gradient(circle at 88% -12%, rgba(56, 189, 248, 0.1), transparent 30%),
+    background: radial-gradient(
+        circle at 14% -8%,
+        rgba(59, 130, 246, 0.14),
+        transparent 36%
+      ),
+      radial-gradient(
+        circle at 88% -12%,
+        rgba(56, 189, 248, 0.1),
+        transparent 30%
+      ),
       linear-gradient(165deg, #f3f7fc 0%, #eef5ff 56%, #f8fbff 100%);
 
     &.mobile.openSidebar {
@@ -129,12 +140,11 @@
     top: 0;
     z-index: var(--layout-header-z);
     width: 100%;
-    padding: 8px var(--content-gap) 0;
+    padding: 8px var(--content-gap) 8px;
     display: flex;
     flex-direction: column;
     gap: 6px;
-    background: transparent;
-    backdrop-filter: none;
+    background: var(--app-bg, #f3f7fc);
   }
 
   .fixed-header.with-tags {

--
Gitblit v1.9.3