update process

This commit is contained in:
2025-09-15 09:47:59 +08:00
parent 1d06e25626
commit c5cf6c0c22
48 changed files with 163 additions and 59 deletions

View File

@@ -0,0 +1,30 @@
(function () {
"use strict";
kintone.events.on(["app.record.create.show","app.record.edit.show"], function(event) {
var record = event.record;
record.担任1.value = record.担当1.value.map(function(user) {return user.name}).join(",");
record.担任2.value = record.担当2.value.map(function(user) {return user.name}).join(",");
record.担任3.value = record.担当3.value.map(function(user) {return user.name}).join(",");
return event;
});
kintone.events.on(["app.record.create.change.担当1","app.record.edit.change.担当1"], function(event) {
var record = event.record;
record.担任1.value = record.担当1.value.map(function(user) {return user.name}).join(",");
return event;
});
kintone.events.on(["app.record.create.change.担当2","app.record.edit.change.担当2"], function(event) {
var record = event.record;
record.担任2.value = record.担当2.value.map(function(user) {return user.name}).join(",");
return event;
});
kintone.events.on(["app.record.create.change.担当3","app.record.edit.change.担当3"], function(event) {
var record = event.record;
record.担任3.value = record.担当3.value.map(function(user) {return user.name}).join(",");
return event;
});
})();