feat: add public h5 dashboard and publish traceability

This commit is contained in:
Wyndham ARR
2026-08-03 13:04:41 +08:00
parent 7e7470821b
commit 2107f00e32
29 changed files with 1047 additions and 71 deletions

View File

@@ -224,6 +224,14 @@
<div class="company-card-heading">
<h3 id="company-source-title">上传 Excel 报表</h3>
</div>
<div class="company-source-current" id="company-source-current" hidden>
<div class="company-source-current-top">
<span class="company-source-current-label">当前启用来源</span>
<span class="status-chip success">已启用</span>
</div>
<strong id="company-source-current-filename"></strong>
<span id="company-source-current-meta"></span>
</div>
<div class="company-source-action">
<label class="company-excel-dropzone" id="company-excel-dropzone" for="company-excel-file">
<input id="company-excel-file" type="file" accept=".xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
@@ -241,6 +249,7 @@
</button>
</div>
<p class="company-source-error" id="company-source-error" role="alert" hidden></p>
<p class="company-source-status" id="company-source-status" role="status" aria-live="polite" hidden></p>
</section>
<button class="company-period-button" type="button" data-company-period="01-10" disabled>
@@ -329,6 +338,13 @@
<strong id="company-report-success-count">0 / 5</strong>
</div>
</div>
<div class="company-job-source" id="company-report-job-source">
<span class="company-job-source-label">来源 Excel提交时</span>
<div>
<strong id="company-report-job-source-file">历史任务未记录来源</strong>
<small id="company-report-job-source-meta"></small>
</div>
</div>
<div class="company-progress-wrap">
<div><span id="company-report-progress-label">等待生成</span><strong id="company-report-progress-percent">0%</strong></div>
<div class="company-progress-track" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0" id="company-report-progress-track"><span id="company-report-progress-bar"></span></div>
@@ -366,8 +382,8 @@
</div>
<div class="table-scroll">
<table class="company-history-table">
<thead><tr><th>提交时间(曼谷)</th><th>报表月份</th><th>截止期间</th><th>状态</th><th>已生成</th><th>需复核</th><th>详情</th></tr></thead>
<tbody id="company-history-rows"><tr><td class="empty-cell" colspan="7">正在读取公司渠道明细任务…</td></tr></tbody>
<thead><tr><th>提交时间(曼谷)</th><th>报表月份</th><th>截止期间</th><th>状态</th><th>已生成</th><th>需复核</th><th>来源 Excel</th><th>详情</th></tr></thead>
<tbody id="company-history-rows"><tr><td class="empty-cell" colspan="8">正在读取公司渠道明细任务…</td></tr></tbody>
</table>
</div>
<nav class="pagination-bar" aria-label="生成记录分页">