add approve flow action
This commit is contained in:
BIN
document/PVC.one
BIN
document/PVC.one
Binary file not shown.
BIN
document/⑤仕様書_学年別保育計画_20250214.xlsx
Normal file
BIN
document/⑤仕様書_学年別保育計画_20250214.xlsx
Normal file
Binary file not shown.
BIN
document/⑥仕様書_保育計画月案_20250214.xlsx
Normal file
BIN
document/⑥仕様書_保育計画月案_20250214.xlsx
Normal file
Binary file not shown.
BIN
document/⑦仕様書_保育計画週案_20250214.xlsx
Normal file
BIN
document/⑦仕様書_保育計画週案_20250214.xlsx
Normal file
Binary file not shown.
BIN
document/⑧仕様書_学期反省・評価_20250214.xlsx
Normal file
BIN
document/⑧仕様書_学期反省・評価_20250214.xlsx
Normal file
Binary file not shown.
Binary file not shown.
@@ -2,6 +2,8 @@
|
||||
"use strict";
|
||||
const APP_ENV = env["0,1歳日誌出力用"];
|
||||
|
||||
addApproveFlowAction();
|
||||
|
||||
kintone.events.on("app.record.detail.show", (event) => {
|
||||
const headerSpace = getHeaderSpace('', true);
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
"use strict";
|
||||
const APP_ENV = env["2歳以上日誌出力用"];
|
||||
|
||||
addApproveFlowAction();
|
||||
|
||||
kintone.events.on("app.record.detail.show", (event) => {
|
||||
const headerSpace = getHeaderSpace('', true);
|
||||
|
||||
|
||||
@@ -48,9 +48,11 @@
|
||||
|
||||
.customized-record-header-space {
|
||||
padding-top: 16px;
|
||||
padding-left: 8px;
|
||||
}
|
||||
.customized-record-header-space > .btn-group-area{
|
||||
padding-right: 0;
|
||||
.customized-record-header-space > .btn-group-area {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.customized-header-space-wrapper.single-label-line {
|
||||
margin-top: 33px;
|
||||
|
||||
17
src/utils.js
17
src/utils.js
@@ -499,4 +499,21 @@ function groupingBySex(list) {
|
||||
}
|
||||
return [male, female];
|
||||
}, [[], []]);
|
||||
}
|
||||
|
||||
const statusFieldMap = {
|
||||
'指導教諭確認中': '担任',
|
||||
'主幹確認中': '指導',
|
||||
'園長確認中': '主幹',
|
||||
'完了': '園長'
|
||||
}
|
||||
function getUpdateFieldByNextFlow(nextStatus) {
|
||||
return statusFieldMap[nextStatus];
|
||||
}
|
||||
|
||||
function addApproveFlowAction() {
|
||||
return kintone.events.on("app.record.detail.process.proceed", (event) => {
|
||||
event.record[getUpdateFieldByNextFlow(event.nextStatus.value)].value = kintone.getLoginUser().name;
|
||||
return event;
|
||||
});
|
||||
}
|
||||
@@ -2,6 +2,8 @@
|
||||
"use strict";
|
||||
const APP_ENV = env["個別配慮"];
|
||||
|
||||
addApproveFlowAction();
|
||||
|
||||
kintone.events.on("app.record.index.show", (event) => {
|
||||
const headerSpace = getHeaderSpace('single-label-line');
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
"use strict";
|
||||
const APP_ENV = env["園児別出欠簿入力"];
|
||||
|
||||
addApproveFlowAction();
|
||||
|
||||
kintone.events.on("app.record.index.show", (event) => {
|
||||
const headerSpace = getHeaderSpace('single-label-line');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user