From f115a31cdd4f394101c707c69995f9fe65f1114b Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Tue, 18 Nov 2025 19:57:55 +0800 Subject: [PATCH] feat: remove user management feature and set permits as default tab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove "用户与系统管理" tab and its content from db_admin page - Delete admin-only CSS styles and role-based logic - Set "许可事项管理" as the default active tab - Simplify setupTabsByRole function to remove role checks - Update DOMContentLoaded handler to use simplified logic Now users accessing /db_admin will directly see the permits management interface by default. --- static/db_admin.html | 108 ++++++++----------------------------------- 1 file changed, 20 insertions(+), 88 deletions(-) diff --git a/static/db_admin.html b/static/db_admin.html index 1aeb02a..b416e6e 100644 --- a/static/db_admin.html +++ b/static/db_admin.html @@ -81,10 +81,6 @@ gap: 8px; } - .admin-only { - display: none; - } - .tab-button:hover { color: #2c5282; background: #f7fafc; @@ -2235,11 +2231,8 @@