From ca58dee1c5df6e020ff950fc85c704593fdff1be Mon Sep 17 00:00:00 2001
From: zhangtao <9480807882@qq.com>
Date: Mon, 6 Oct 2025 01:37:27 +0800
Subject: [PATCH] =?UTF-8?q?feat(=E7=B3=BB=E7=BB=9F=E5=8F=82=E6=95=B0):=20?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=B3=BB=E7=BB=9F=E5=8F=82=E6=95=B0=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
refactor(前端): 统一按钮权限属性顺序
style(前端): 格式化代码缩进和换行
---
backend/app/scripts/data/system_menu.json | 6 +--
frontend/src/views/application/ai/index.vue | 49 ++-----------------
frontend/src/views/application/job/index.vue | 11 +----
frontend/src/views/current/profile.vue | 12 ++---
frontend/src/views/monitor/cache/index.vue | 15 +++---
frontend/src/views/monitor/resource/index.vue | 18 +++----
frontend/src/views/system/dept/index.vue | 14 +++---
frontend/src/views/system/dict/index.vue | 16 +++---
frontend/src/views/system/log/index.vue | 10 ++--
frontend/src/views/system/menu/index.vue | 16 +++---
frontend/src/views/system/notice/index.vue | 23 ++++-----
.../components/ConfigInfoDrawer.vue | 2 +-
.../views/system/{config => param}/index.vue | 16 +++---
frontend/src/views/system/position/index.vue | 18 +++----
.../role/components/PermissonDrawer.vue | 11 +++--
frontend/src/views/system/role/index.vue | 12 ++---
.../views/system/user/components/DeptTree.vue | 5 +-
frontend/src/views/system/user/index.vue | 14 +++---
18 files changed, 113 insertions(+), 155 deletions(-)
rename frontend/src/views/system/{config => param}/components/ConfigInfoDrawer.vue (98%)
rename frontend/src/views/system/{config => param}/index.vue (94%)
diff --git a/backend/app/scripts/data/system_menu.json b/backend/app/scripts/data/system_menu.json
index 18d3b5f6..939820bd 100644
--- a/backend/app/scripts/data/system_menu.json
+++ b/backend/app/scripts/data/system_menu.json
@@ -838,9 +838,9 @@
"icon": "setting",
"order": 8,
"permission": "system:param:query",
- "route_name": "Config",
- "route_path": "/system/config",
- "component_path": "system/config/index",
+ "route_name": "Params",
+ "route_path": "/system/param",
+ "component_path": "system/param/index",
"status": true,
"keep_alive": true,
"hidden": false,
diff --git a/frontend/src/views/application/ai/index.vue b/frontend/src/views/application/ai/index.vue
index 511afa33..9f77eab6 100644
--- a/frontend/src/views/application/ai/index.vue
+++ b/frontend/src/views/application/ai/index.vue
@@ -16,23 +16,8 @@
{{ connectionStatusText }}
-