<!doctype html>
|
<html lang="zh-CN">
|
<head>
|
<meta charset="UTF-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<title>角色管理 - 访客机自助登记管理平台</title>
|
<link rel="stylesheet" href="../css/dashboard.css">
|
<link rel="stylesheet" href="../css/components.css">
|
<link rel="stylesheet" href="../css/role-management.css">
|
</head>
|
<body>
|
<div class="app-shell">
|
<aside class="sidebar">
|
<div class="brand">
|
<img src="../assets/login-avatar.svg" alt="">
|
<strong>访客机自助登记管理平台</strong>
|
</div>
|
<nav class="menu" aria-label="主菜单">
|
<a class="menu-item" href="./dashboard.html"><span class="menu-icon home"></span><span>首页</span></a>
|
<section class="menu-group open">
|
<button class="menu-title" type="button"><span class="menu-icon screen"></span><span>系统</span><span class="chevron"></span></button>
|
<a href="./system-config.html">系统配置</a>
|
<a href="./protocol-config.html">入园承诺</a>
|
<a href="./version-update.html">访客机版本更新</a>
|
</section>
|
<section class="menu-group open">
|
<button class="menu-title" type="button"><span class="menu-icon device"></span><span>设备管理</span><span class="chevron"></span></button>
|
<a href="./visitor-machine.html">访客机管理</a>
|
<a href="./door-management.html">门禁管理</a>
|
</section>
|
<section class="menu-group open">
|
<button class="menu-title" type="button"><span class="menu-icon people"></span><span>人员管理</span><span class="chevron"></span></button>
|
<a href="./department-management.html">部门</a>
|
<a href="./employee-management.html">员工管理</a>
|
</section>
|
<a class="menu-item" href="./area-management.html"><span class="menu-icon map"></span><span>区域管理</span></a>
|
<section class="menu-group open">
|
<button class="menu-title" type="button"><span class="menu-icon log"></span><span>记录与日志</span><span class="chevron"></span></button>
|
<a href="./visitor-record.html">访客登记记录</a>
|
<a href="./operation-log.html">操作日志</a>
|
</section>
|
<section class="menu-group open">
|
<button class="menu-title" type="button"><span class="menu-icon account"></span><span>账号管理</span><span class="chevron"></span></button>
|
<a href="./platform-admin.html">平台管理员</a>
|
<a class="active" href="./role-management.html">角色</a>
|
</section>
|
</nav>
|
</aside>
|
|
<section class="main">
|
<header class="topbar">
|
<div></div>
|
<div class="top-actions">
|
<button class="icon-button" type="button" title="全屏"><span class="expand-icon"></span></button>
|
<span class="user-avatar">用</span>
|
<div class="user-menu">
|
<button id="userMenuButton" class="user-name" type="button" aria-haspopup="true" aria-expanded="false">
|
<span id="userDisplayName">用户</span><span class="user-caret"></span>
|
</button>
|
<div id="userDropdown" class="user-dropdown" hidden>
|
<button type="button" data-action="home">返回首页</button>
|
<button type="button" data-action="logout">退出登录</button>
|
</div>
|
</div>
|
</div>
|
</header>
|
|
<div class="tabs">
|
<span class="home-tab"></span>
|
<span class="tab-divider"></span>
|
<span class="tab active">角色管理</span>
|
</div>
|
|
<main class="role-page">
|
<section class="role-card">
|
<h1>角色管理</h1>
|
<form id="queryForm" class="role-query">
|
<label><span>角色名称:</span><input id="queryRoleName" type="text" placeholder="请输入"></label>
|
<div class="role-query-actions">
|
<button id="resetButton" class="role-reset" type="button">重置</button>
|
<button class="role-search" type="submit">搜索</button>
|
</div>
|
</form>
|
|
<div class="role-toolbar">
|
<button id="addRoleButton" type="button">新增</button>
|
</div>
|
|
<table class="role-table">
|
<thead>
|
<tr>
|
<th>序号</th>
|
<th>角色名称</th>
|
<th>关联账号数</th>
|
<th>创建时间</th>
|
<th>备注</th>
|
<th>操作</th>
|
</tr>
|
</thead>
|
<tbody id="roleTableBody"></tbody>
|
</table>
|
<div id="roleEmpty" class="role-empty" hidden>暂无角色数据</div>
|
<div id="pagination" class="role-pagination"></div>
|
</section>
|
</main>
|
</section>
|
</div>
|
|
<script src="../js/components.js"></script>
|
<script src="../js/config.js"></script>
|
<script src="../js/role-management.js"></script>
|
</body>
|
</html>
|