HEL-155: 合计列表状态列头与首页 7 月账期对齐
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -20,3 +20,5 @@ nul
|
|||||||
.kimi/
|
.kimi/
|
||||||
|
|
||||||
vendor_pkgs/
|
vendor_pkgs/
|
||||||
|
node_modules/
|
||||||
|
package-lock.json
|
||||||
|
|||||||
+4
-1
@@ -1239,7 +1239,10 @@ async function loadAdminDashboard() {
|
|||||||
updateDashAuditCard(data.audit);
|
updateDashAuditCard(data.audit);
|
||||||
state.dashAuditFromApi = true;
|
state.dashAuditFromApi = true;
|
||||||
const statusHead = $("#dashStatusHead");
|
const statusHead = $("#dashStatusHead");
|
||||||
if (statusHead && data.period_month) statusHead.textContent = `${data.period_month}月状态`;
|
if (statusHead) {
|
||||||
|
// Align with the static「7 月账期」cards on the same page until monthly-close exists.
|
||||||
|
statusHead.textContent = "7月状态";
|
||||||
|
}
|
||||||
const listSub = $("#dashListSub");
|
const listSub = $("#dashListSub");
|
||||||
if (listSub) listSub.textContent = `${data.from_date} 至 ${data.cutoff} · 单位:万元`;
|
if (listSub) listSub.textContent = `${data.from_date} 至 ${data.cutoff} · 单位:万元`;
|
||||||
renderBarChart(state.dashCompanies);
|
renderBarChart(state.dashCompanies);
|
||||||
|
|||||||
Reference in New Issue
Block a user