update to 0824-0830 report
This commit is contained in:
+2
-1
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>成本周报 - 0817-0823</title>
|
<title>成本周报</title>
|
||||||
<style>
|
<style>
|
||||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||||
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f7fa; color: #333; padding: 20px; }
|
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f7fa; color: #333; padding: 20px; }
|
||||||
@@ -87,6 +87,7 @@ function showTab(name) {
|
|||||||
|
|
||||||
fetch('data.json').then(r => r.json()).then(data => {
|
fetch('data.json').then(r => r.json()).then(data => {
|
||||||
document.getElementById('subtitle').textContent = `${data.week} | 生成于 ${data.generated}`;
|
document.getElementById('subtitle').textContent = `${data.week} | 生成于 ${data.generated}`;
|
||||||
|
document.title = `成本周报 - ${data.week}`;
|
||||||
|
|
||||||
// KPIs from 合计 row
|
// KPIs from 合计 row
|
||||||
const total = data.summary.find(r => r.biz === '合计') || {};
|
const total = data.summary.find(r => r.biz === '合计') || {};
|
||||||
|
|||||||
Reference in New Issue
Block a user