This commit is contained in:
2025-02-11 13:41:32 +08:00
commit 1a99fa6ba3
20 changed files with 2960 additions and 0 deletions

25
src/個別配慮/main.js Normal file
View File

@@ -0,0 +1,25 @@
(function () {
"use strict";
const APP_ENV = env["個別配慮"];
kintone.events.on("app.record.index.show", (event) => {
const headerSpace = getHeaderSpace('single-label-line');
const elements = createBtnGroupArea('extract-action-area', '帳票出力', handleButtonClick, {
btnElId: 'extract-btn',
yearElId: 'extract-year',
monthElId: 'extract-month',
})
if (!elements) {
return;
}
headerSpace.appendChild(elements['extract-action-area']);
});
function handleButtonClick(e, { year, month }) {
const fileName = getExcelName(APP_ENV, year + month);
console.log(fileName);
}
})();