This commit is contained in:
2025-02-16 15:45:27 +08:00
parent 971ae816b8
commit 93172cc1c4
8 changed files with 2949 additions and 14 deletions

View File

@@ -61,12 +61,7 @@
}
const baseCells = findCellsInfo(worksheet, ['園長', '月', '児童名']);
const signLabels = ['園長', '主幹', '指導', '担任'];
const signRow = baseCells['園長'][0].row + 1;
for (let i = 0; i < signLabels.length; i++) {
worksheet.getCell(signRow, baseCells['園長'][0].col + i).value = (records[0][signLabels[i]]?.value || ''); // TODO force use records[0]?
}
fillApproveArea(baseCells, worksheet, records[0]); // TODO force use records[0]?
const pageSize = 10;
const totalPages = Math.ceil(records.length / pageSize);
@@ -126,4 +121,4 @@
}
})();
})();