update 個別支援計画
This commit is contained in:
23
src/10.個別支援計画/pvc.main.js
Normal file
23
src/10.個別支援計画/pvc.main.js
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
(function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
kintone.events.on(["app.record.create.show","app.record.edit.show"], function(event) {
|
||||||
|
var record = event.record;
|
||||||
|
record.担当_文字列.value = record.担当.value.map(function(user) {return user.name}).join(",");
|
||||||
|
record.コーディネーター_文字列.value = record.コーディネーター.value.map(function(user) {return user.name}).join(",");
|
||||||
|
return event;
|
||||||
|
});
|
||||||
|
|
||||||
|
kintone.events.on(["app.record.create.change.担当","app.record.edit.change.担当"], function(event) {
|
||||||
|
var record = event.record;
|
||||||
|
record.担当_文字列.value = record.担当.value.map(function(user) {return user.name}).join(",");
|
||||||
|
return event;
|
||||||
|
});
|
||||||
|
|
||||||
|
kintone.events.on(["app.record.create.change.コーディネーター","app.record.edit.change.コーディネーター"], function(event) {
|
||||||
|
var record = event.record;
|
||||||
|
record.コーディネーター_文字列.value = record.コーディネーター.value.map(function(user) {return user.name}).join(",");
|
||||||
|
return event;
|
||||||
|
});
|
||||||
|
|
||||||
|
})();
|
||||||
Reference in New Issue
Block a user