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

@@ -465,4 +465,12 @@ function columnToLetter(columnIndex) {
columnIndex = Math.floor((columnIndex - 1) / 26);
}
return letter;
}
}
function fillApproveArea(baseCells, worksheet, record) {
const signLabels = ['園長', '主幹', '指導', '担任'];
const signRow = baseCells['園長'][0].row + 1;
for (let i = 0; i < signLabels.length; i++) {
worksheet.getCell(signRow, baseCells['園長'][0].col + i).value = (record[signLabels[i]]?.value || '');
}
}