From 4e44261ac4f6dcac2f15b3d30636d4b4823f6918 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 27 五月 2026 13:24:38 +0800
Subject: [PATCH] 君哥 1.恢复之前工艺路线模块,删除字段计件/计时字段,工资定额修改成计划工时,新增计划执行人员。工艺绑定,工艺路线恢复。仅需删除bom。 2.对于新增订单需流转协同办公进行审批,审批完成流转生产管控-生产订单 3.新增审批管理,规范管理所有节点审批人。 4.修改菜单栏样式bug

---
 src/layout/components/AppMain.vue |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index 442c185..011e118 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -2,9 +2,12 @@
   <section class="app-main">
     <router-view v-slot="{ Component, route }">
       <transition name="fade-transform" mode="out-in">
-        <keep-alive :include="tagsViewStore.cachedViews">
-          <component v-if="!route.meta.link" :is="Component" :key="route.path"/>
-        </keep-alive>
+        <div v-if="!route.meta.link" class="route-view-wrapper">
+          <keep-alive :include="tagsViewStore.cachedViews">
+            <component :is="Component" :key="route.path"/>
+          </keep-alive>
+        </div>
+        <div v-else class="route-view-wrapper"></div>
       </transition>
     </router-view>
     <iframe-toggle />
@@ -40,10 +43,17 @@
   width: 100%;
   position: relative;
   overflow: hidden;
+  background: transparent;
+}
+
+.route-view-wrapper {
+  width: 100%;
+  height: 100%;
+  padding: 120px 16px 24px 0;
 }
 
 .fixed-header + .app-main {
-  padding-top: 50px;
+  padding-top: 0;
 }
 
 .hasTagsView {
@@ -53,7 +63,7 @@
   }
 
   .fixed-header + .app-main {
-    padding-top: 84px;
+    padding-top: 0;
   }
 }
 </style>
@@ -72,11 +82,11 @@
 }
 
 ::-webkit-scrollbar-track {
-  background-color: #f1f1f1;
+  background-color: rgba(218, 225, 220, 0.8);
 }
 
 ::-webkit-scrollbar-thumb {
-  background-color: #c0c0c0;
+  background-color: #b2bdb5;
   border-radius: 3px;
 }
 </style>

--
Gitblit v1.9.3