Update teacher profiles and record summaries
This commit is contained in:
+84
-3
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>管理后台</title>
|
||||
<link rel="stylesheet" href="/static/styles.css?v=20260615-summary-review-drawer" />
|
||||
<link rel="stylesheet" href="/static/styles.css?v=20260615-summary-time-review" />
|
||||
</head>
|
||||
<body>
|
||||
<header class="topbar">
|
||||
@@ -22,6 +22,7 @@
|
||||
<main class="layout account-layout admin-layout">
|
||||
<nav class="admin-tabs" aria-label="管理后台功能">
|
||||
<button class="admin-tab is-active" data-admin-tab="accounts" type="button">课时账户</button>
|
||||
<button class="admin-tab" data-admin-tab="teachers" type="button">老师档案</button>
|
||||
<button class="admin-tab" data-admin-tab="reviews" type="button">纠错审核</button>
|
||||
<button class="admin-tab" data-admin-tab="summaries" type="button">课程小结审核</button>
|
||||
<button class="admin-tab" data-admin-tab="summarySearch" type="button">课程小结查询</button>
|
||||
@@ -110,6 +111,81 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="teachersPanel" class="panel admin-panel" hidden>
|
||||
<div class="section-head">
|
||||
<h2>老师档案</h2>
|
||||
<div class="quick-actions">
|
||||
<select id="teacherStatus" aria-label="老师状态筛选">
|
||||
<option value="">全部状态</option>
|
||||
<option value="在岗">在岗</option>
|
||||
<option value="离职">离职</option>
|
||||
</select>
|
||||
<button id="newTeacherBtn" class="chip" type="button">新增老师</button>
|
||||
</div>
|
||||
</div>
|
||||
<form id="teacherForm" class="search-row account-search-row">
|
||||
<input id="teacherQuery" autocomplete="off" placeholder="教师姓名、别名、教师ID或学科" />
|
||||
<button type="submit">查询</button>
|
||||
</form>
|
||||
<div id="teacherMeta" class="summary-grid"></div>
|
||||
<div id="teacherEditor" class="admin-editor" hidden>
|
||||
<div class="section-head compact-head">
|
||||
<h2 id="teacherEditorTitle">新增老师</h2>
|
||||
<button id="cancelTeacherEditBtn" class="secondary-button" type="button">取消</button>
|
||||
</div>
|
||||
<form id="teacherEditForm" class="admin-form">
|
||||
<div class="form-grid">
|
||||
<label>
|
||||
教师ID
|
||||
<input id="editTeacherId" autocomplete="off" placeholder="新增时自动生成" />
|
||||
</label>
|
||||
<label>
|
||||
教师姓名
|
||||
<input id="editTeacherName" autocomplete="off" required />
|
||||
</label>
|
||||
<label>
|
||||
别名
|
||||
<input id="editTeacherAlias" autocomplete="off" placeholder="对外展示名称;空则显示教师姓名" />
|
||||
</label>
|
||||
<label>
|
||||
状态
|
||||
<select id="editTeacherStatus">
|
||||
<option value="在岗">在岗</option>
|
||||
<option value="离职">离职</option>
|
||||
</select>
|
||||
</label>
|
||||
<label class="span-2">
|
||||
任教学科
|
||||
<input id="editTeacherSubjects" autocomplete="off" placeholder="数学、物理、生物" required />
|
||||
</label>
|
||||
<label class="span-2">
|
||||
备注
|
||||
<textarea id="editTeacherNote" rows="3"></textarea>
|
||||
</label>
|
||||
</div>
|
||||
<p id="teacherEditError" class="correction-error" hidden></p>
|
||||
<div class="modal-actions">
|
||||
<button type="submit">保存老师档案</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="table-wrap account-table-wrap">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>教师</th>
|
||||
<th>别名</th>
|
||||
<th>任教学科</th>
|
||||
<th>状态</th>
|
||||
<th>备注</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="teacherRows"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="reviewsPanel" class="panel admin-panel" hidden>
|
||||
<div class="section-head">
|
||||
<h2>纠错审核</h2>
|
||||
@@ -223,6 +299,10 @@
|
||||
<input id="summarySearchSubject" autocomplete="off" placeholder="科目" />
|
||||
<input id="summarySearchDateFrom" type="date" aria-label="开始日期" />
|
||||
<input id="summarySearchDateTo" type="date" aria-label="结束日期" />
|
||||
<select id="summarySearchMissingTime" aria-label="时间状态筛选">
|
||||
<option value="">全部时间</option>
|
||||
<option value="1">缺少时间</option>
|
||||
</select>
|
||||
<button type="submit">查询</button>
|
||||
</form>
|
||||
<div id="summarySearchMeta" class="summary-grid"></div>
|
||||
@@ -231,11 +311,12 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>日期</th>
|
||||
<th>时间</th>
|
||||
<th>学生</th>
|
||||
<th>老师/科目</th>
|
||||
<th>标题</th>
|
||||
<th>小结正文</th>
|
||||
<th>来源</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="summarySearchRows"></tbody>
|
||||
@@ -319,6 +400,6 @@
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<script src="/static/admin.js?v=20260615-summary-register-complete"></script>
|
||||
<script src="/static/admin.js?v=20260615-summary-time-review"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user