Manage daily reports by date and refresh monthly reports after deletion
This commit is contained in:
1 parent
976a4fa7b2
commit
2a54838d59
41 files changed
+2757
-89
No files matched your search
@@ -124,17 +124,18 @@
|
||||
<article class="metric-card">
|
||||
<span>ARRIVAL DATE</span>
|
||||
<strong id="metric-arrival">—</strong>
|
||||
<small>最近成功处理日期</small>
|
||||
<small id="metric-arrival-note">当前查看日期</small>
|
||||
<small id="metric-current-version" hidden>当前有效日报仍保留</small>
|
||||
</article>
|
||||
<article class="metric-card">
|
||||
<span>处理耗时</span>
|
||||
<strong id="metric-duration">—</strong>
|
||||
<small>从提交至完成</small>
|
||||
<small id="metric-duration-note">从提交至完成</small>
|
||||
</article>
|
||||
<article class="metric-card accent-card">
|
||||
<span>NO. OF ROOM</span>
|
||||
<strong id="metric-rooms">—</strong>
|
||||
<small>保留记录的售出房数</small>
|
||||
<small id="metric-rooms-note">保留记录的售出房数</small>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
@@ -214,6 +215,7 @@
|
||||
<div class="panel-heading table-heading">
|
||||
<div>
|
||||
<h2 id="daily-history-title">Daily Report</h2>
|
||||
<p class="daily-history-note">每天仅展示当前有效日报;新版本处理成功后替换,月报同步更新。</p>
|
||||
</div>
|
||||
<div class="history-heading-actions">
|
||||
<div class="history-month-control" data-history-scope="jobs">
|
||||
@@ -228,7 +230,7 @@
|
||||
</div>
|
||||
<div class="table-scroll">
|
||||
<table>
|
||||
<thead><tr><th>文件</th><th>状态</th><th>ARRIVAL DATE</th><th>NO. OF ROOM</th><th>处理耗时</th><th>提交时间</th><th>日报</th></tr></thead>
|
||||
<thead><tr><th>文件</th><th>状态</th><th>ARRIVAL DATE</th><th>NO. OF ROOM</th><th>处理耗时</th><th>提交时间</th><th>操作</th></tr></thead>
|
||||
<tbody id="jobs-body"><tr><td class="empty-cell" colspan="7">正在读取本月记录…</td></tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
@@ -510,6 +512,29 @@
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<dialog class="daily-history-dialog" id="daily-history-dialog" aria-labelledby="daily-history-dialog-title" aria-describedby="daily-history-description">
|
||||
<div class="daily-history-dialog-heading">
|
||||
<div><h2 id="daily-history-dialog-title">日报历史记录</h2><p id="daily-history-description"></p></div>
|
||||
<button id="daily-history-close" type="button">关闭</button>
|
||||
</div>
|
||||
<p class="daily-history-dialog-note">旧版本仅供追溯,不计入月报。已删除记录保留操作痕迹,不会自动恢复。</p>
|
||||
<p id="daily-history-error" class="daily-delete-error" role="alert" hidden></p>
|
||||
<div class="table-scroll" tabindex="0" role="region" aria-label="日报历史版本">
|
||||
<table><thead><tr><th scope="col">文件</th><th scope="col">状态</th><th scope="col">NO. OF ROOM</th><th scope="col">提交时间</th><th scope="col">操作</th></tr></thead><tbody id="daily-history-body"></tbody></table>
|
||||
</div>
|
||||
<nav class="pagination-bar" aria-label="日报历史分页"><span id="daily-history-page-summary"></span><div class="pagination-actions"><button class="pagination-button" id="daily-history-prev" type="button">上一页</button><button class="pagination-button" id="daily-history-next" type="button">下一页</button></div></nav>
|
||||
</dialog>
|
||||
|
||||
<dialog class="daily-delete-dialog" id="daily-delete-dialog" aria-labelledby="daily-delete-title" aria-describedby="daily-delete-description daily-delete-note">
|
||||
<div class="daily-delete-card">
|
||||
<h2 id="daily-delete-title">删除日报</h2>
|
||||
<p id="daily-delete-description"></p>
|
||||
<p id="daily-delete-note">原始数据和操作记录保留;删除后不会自动恢复旧版本。</p>
|
||||
<p id="daily-delete-error" class="daily-delete-error" role="alert" hidden></p>
|
||||
<div class="daily-delete-actions"><button id="daily-delete-cancel" type="button">取消</button><button id="daily-delete-submit" type="button">确认删除</button></div>
|
||||
</div>
|
||||
</dialog>
|
||||
|
||||
<dialog class="task-log-dialog" id="task-log-dialog" aria-labelledby="process-title" aria-describedby="task-log-description">
|
||||
<section class="panel process-panel task-log-panel">
|
||||
<p class="sr-only" id="task-log-description">显示当前选中的日报处理任务从上传到下游通知的处理日志。</p>
|
||||
|
||||
Reference in new issue
Block a user