這版已不是純 prototype:前端會打 Lite backend API。現在可以做「新增日誌」並寫進 SQLite。之後要接 Telegram / agent,就是沿這個資料骨架走。
交通部公路局北區公路新建工程分局
公共工程施工日誌
{{ currentProject.name }}
表報編號:{{ currentLog.dailyLog.reportNo || '—' }}
本日天氣: 上午{{ currentLog.dailyLog.weatherAm || '—' }} / 下午{{ currentLog.dailyLog.weatherPm || '—' }}
填報日期:{{ fmtDate(currentLog.dailyLog.logDate) }}({{ currentLog.dailyLog.weekday || '—' }})
| 工程名稱 | {{ currentProject.name }} | 承攬廠商 | {{ currentProject.contractor || '—' }} | ||||
|---|---|---|---|---|---|---|---|
| 核定工期 | {{ currentLog.dailyLog.totalDays ?? '—' }} | 累計工期 | {{ currentLog.dailyLog.elapsedDays ?? '—' }} | 剩餘工期 | {{ currentLog.dailyLog.remainingDays ?? '—' }} | 工期展延 | {{ currentLog.dailyLog.extendedDays ?? '—' }} |
| 開工日期 | {{ currentLog.dailyLog.startDate || '—' }} | 完工日期 | {{ currentLog.dailyLog.finishDate || '—' }} | 預定進度(%) | {{ currentLog.dailyLog.plannedProgress ?? '—' }} | 實際進度(%) | {{ currentLog.dailyLog.actualProgress ?? '—' }} |
一、依施工計畫執行按圖施工概況
| 施工項目 | 單位 | 契約數量 | 本日完成數量 | 累計完成數量 | 備註 |
|---|---|---|---|---|---|
| {{ row.name }} | {{ row.unit }} | {{ row.contractQty }} | {{ row.todayQty }} | {{ row.totalQty }} | {{ row.note }} |
| 尚無資料 | |||||
二、工地材料管理概況
| 材料名稱 | 單位 | 契約數量 | 本日使用數量 | 累計使用數量 | 備註 |
|---|---|---|---|---|---|
| {{ row.name }} | {{ row.unit }} | {{ row.contractQty }} | {{ row.todayQty }} | {{ row.totalQty }} | {{ row.note }} |
| 尚無資料 | |||||
三、工地人員及機具管理
| 工別 | 本日人數 | 累計人數 | 機具名稱 | 本日使用數量 | 累計使用數量 | 備註 |
|---|---|---|---|---|---|---|
| {{ row.workerType }} | {{ row.todayPeople }} | {{ row.totalPeople }} | {{ row.machineName }} | {{ row.todayMachineQty }} | {{ row.totalMachineQty }} | {{ row.note }} |
| 尚無資料 | ||||||
四~八、其他記事
| 技術士設置 | {{ currentLog.dailyLog.techSummary || '—' }} |
|---|---|
| 安全衛生事項 | {{ currentLog.dailyLog.safetySummary || '—' }} |
| 施工取樣試驗 | {{ currentLog.dailyLog.testingSummary || '—' }} |
| 通知協力廠商 | {{ currentLog.dailyLog.vendorNotice || '—' }} |
| 重要事項記錄 |
尚無資料 |
這版已可持久化到 SQLite,下一步就能接 Telegram / agent write API,不再只是畫面玩具。
簽章:工地負責人(簽名,註3)
{{ currentLog.dailyLog.signer || '—' }}