fix file name

This commit is contained in:
2025-09-22 12:56:54 +08:00
parent 301e202c49
commit 2ff79c58ee
23 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
(function () {
"use strict";
const statusFieldMap = {
'指導教諭確認中0~2歳': '担任',
'指導教諭確認中3~5歳': '担任',
'園長確認中': '指導',
'完了': '園長'
}
window._StatusFieldMap = statusFieldMap
kintone.events.on("app.record.detail.process.proceed", (event) => {
const field = statusFieldMap[event.nextStatus.value];
if (field) {
event.record[field].value = kintone.getLoginUser().name;
}
return event;
});
})();