修复权限管理,角色认证,更新工单认领系统,增加表格导出支持区间选择,增加docker管理(开发中

This commit is contained in:
2026-07-09 10:06:44 +08:00
parent 0c2fe393df
commit 3b84698fd3
25 changed files with 8975 additions and 102 deletions
+3 -1
View File
@@ -3,6 +3,7 @@ $pageTitle = "系统权限管理";
$activeTab = $_GET['tab'] ?? 'role';
$conn = $connMonitor;
require_once 'auth.php';
// ========== 角色操作逻辑 ==========
if ($_POST['act'] == "save_role") {
$roleName = trim($_POST['role_name']);
@@ -123,6 +124,7 @@ $allPagePerms = [
['key'=>'history_query','name'=>'历史查询'],
['key'=>'smtp_config','name'=>'消息通知配置'],
['key'=>'system_manage','name'=>'系统权限管理'],
['key'=>'docker_mgr','name'=>'Docker容器管理'],
];
?>
<!DOCTYPE html>
@@ -259,7 +261,7 @@ input[type="number"]{-moz-appearance:textfield;}
<i class="fa fa-bell-o"></i>
<?php if($unreadMsgCount>0):?><span><?php echo $unreadMsgCount; ?></span><?php endif;?>
</span>
<span class="user-info"><i class="fa fa-user-circle-o"></i><?php echo $t['current_user']; ?><?php echo $userName; ?></span>
<span class="user-info"><i class="fa fa-user-circle"></i><?php echo $t['current_user']; ?><?php echo $userName; ?><?php echo $roleRealName; ?></span>
<span class="time-info"><i class="fa fa-clock-o"></i><span id="nowTime">--</span></span>
<div class="lang-box">
<select id="langSwitch">