From b186f5b20c4f83773f51786da0cd3e85130540c2 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 22 五月 2026 16:32:01 +0800
Subject: [PATCH] feat(审批模板): 增强审批流程编辑器功能,新增只读模式——为 TemplateFlowEditor 添加了只读属性,以在流程不可编辑时防止进行修改。——更新审批模板表单部分,使其能够根据 flowEditable 状态条件性地显示可编辑选项。——优化了用户反馈机制,通过动态消息显示审批流程是否可进行修改。

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

diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index 011e118..a511014 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -37,30 +37,29 @@
 </script>
 
 <style lang="scss" scoped>
-.app-main {
-  /* 50= navbar  50  */
-  min-height: calc(100vh - 50px);
-  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: 0;
-}
-
-.hasTagsView {
-  .app-main {
-    /* 84 = navbar + tags-view = 50 + 34 */
-    min-height: calc(100vh - 84px);
-  }
+.app-main {
+  min-height: calc(100vh - var(--topbar-height));
+  width: 100%;
+  position: relative;
+  overflow: visible;
+  background: transparent;
+}
+
+.route-view-wrapper {
+  width: 100%;
+  height: 100%;
+  padding: var(--content-gap);
+  padding-top: 0;
+}
+
+.fixed-header + .app-main {
+  padding-top: 0;
+}
+
+.hasTagsView {
+  .app-main {
+    min-height: calc(100vh - var(--topbar-height) - var(--tagsbar-height));
+  }
 
   .fixed-header + .app-main {
     padding-top: 0;

--
Gitblit v1.9.3