@shisyamo4131/air-guard-v2-schemas 2.4.2-dev.8 → 2.4.2-dev.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +12 -0
- package/package.json +45 -47
- package/src/Agreement.js +17 -24
- package/src/AgreementV2.js +185 -0
- package/src/ArrangementNotification.js +16 -8
- package/src/Billing.js +5 -34
- package/src/Company.js +162 -25
- package/src/Customer.js +39 -59
- package/src/Employee.js +591 -297
- package/src/FcmToken.js +73 -0
- package/src/Insurance.js +409 -0
- package/src/Notification.js +95 -0
- package/src/NotificationRecipient.js +68 -0
- package/src/Operation.js +272 -280
- package/src/OperationBilling.js +126 -192
- package/src/OperationDetail.js +115 -85
- package/src/OperationResult.js +257 -254
- package/src/OperationResultDetail.js +65 -56
- package/src/Site.js +160 -137
- package/src/SiteOperationSchedule.js +187 -247
- package/src/SiteOperationScheduleDetail.js +75 -65
- package/src/SiteOrder.js +18 -29
- package/src/User.js +44 -47
- package/src/WorkTimeBase.js +205 -0
- package/src/WorkingResult.js +83 -255
- package/src/constants/day-type.js +20 -12
- package/src/constants/index.js +4 -0
- package/src/constants/insurance-status.js +15 -0
- package/src/constants/shift-type.js +5 -2
- package/src/errorDefinitions.js +173 -0
- package/src/parts/fieldDefinitions/array.js +50 -0
- package/src/parts/fieldDefinitions/check.js +53 -0
- package/src/parts/fieldDefinitions/code.js +8 -0
- package/src/parts/fieldDefinitions/constants.js +9 -0
- package/src/parts/fieldDefinitions/dateAt.js +63 -0
- package/src/parts/fieldDefinitions/dateTimeAt.js +8 -0
- package/src/parts/fieldDefinitions/defaultDefinition.js +118 -0
- package/src/parts/fieldDefinitions/multipleLine.js +16 -0
- package/src/parts/fieldDefinitions/number.js +69 -0
- package/src/parts/fieldDefinitions/object.js +38 -0
- package/src/parts/fieldDefinitions/oneLine.js +409 -0
- package/src/parts/fieldDefinitions/radio.js +8 -0
- package/src/parts/fieldDefinitions/select.js +267 -0
- package/src/parts/fieldDefinitions/time.js +8 -0
- package/src/parts/fieldDefinitions.js +46 -669
- package/src/utils/CutoffDate.js +11 -15
- package/src/utils/index.js +44 -8
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
import { generalDefinitions } from "./defaultDefinition.js";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* ONE LINE型のフィールド定義
|
|
5
|
+
* {
|
|
6
|
+
* type: String,
|
|
7
|
+
* default: null,
|
|
8
|
+
* label: undefined,
|
|
9
|
+
* length: undefined,
|
|
10
|
+
* required: undefined,
|
|
11
|
+
* hidden: undefined,
|
|
12
|
+
* validator: undefined,
|
|
13
|
+
* component: { name: "air-text-field", attrs: {} },
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
16
|
+
export const oneLineFields = {
|
|
17
|
+
oneLine: generalDefinitions.oneLine,
|
|
18
|
+
|
|
19
|
+
/** 略称 */
|
|
20
|
+
abbreviation: {
|
|
21
|
+
...generalDefinitions.oneLine,
|
|
22
|
+
label: "略称",
|
|
23
|
+
length: 20,
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
/** 町域名・番地 */
|
|
27
|
+
address: {
|
|
28
|
+
...generalDefinitions.oneLine,
|
|
29
|
+
label: "町域名・番地",
|
|
30
|
+
length: 30,
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
/** 支店名など */
|
|
34
|
+
branchName: {
|
|
35
|
+
...generalDefinitions.oneLine,
|
|
36
|
+
label: "支店名など",
|
|
37
|
+
length: 20,
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
/** 建物名・階数 */
|
|
41
|
+
building: {
|
|
42
|
+
...generalDefinitions.oneLine,
|
|
43
|
+
label: "建物名・階数",
|
|
44
|
+
length: 30,
|
|
45
|
+
},
|
|
46
|
+
|
|
47
|
+
/** 市区町村 */
|
|
48
|
+
city: {
|
|
49
|
+
...generalDefinitions.oneLine,
|
|
50
|
+
label: "市区町村",
|
|
51
|
+
length: 20,
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
/** 会社ID */
|
|
55
|
+
companyId: {
|
|
56
|
+
...generalDefinitions.oneLine,
|
|
57
|
+
label: "会社ID",
|
|
58
|
+
},
|
|
59
|
+
|
|
60
|
+
/** 会社名 */
|
|
61
|
+
companyName: {
|
|
62
|
+
...generalDefinitions.oneLine,
|
|
63
|
+
label: "会社名",
|
|
64
|
+
length: 20,
|
|
65
|
+
},
|
|
66
|
+
|
|
67
|
+
/** 会社名(カナ) */
|
|
68
|
+
companyNameKana: {
|
|
69
|
+
...generalDefinitions.oneLine,
|
|
70
|
+
label: "会社名(カナ)",
|
|
71
|
+
length: 40,
|
|
72
|
+
component: {
|
|
73
|
+
name: generalDefinitions.oneLine.component.name,
|
|
74
|
+
attrs: {
|
|
75
|
+
inputType: "katakana",
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* 取引先
|
|
82
|
+
* - アプリ側で `useFetchXxxx` コンポーザブルを使用するため
|
|
83
|
+
* 使用するクラス側で api 関連の設定は不要。
|
|
84
|
+
*/
|
|
85
|
+
customerId: {
|
|
86
|
+
...generalDefinitions.oneLine,
|
|
87
|
+
label: "取引先",
|
|
88
|
+
// アプリ側で `useFetchXxxx` コンポーザブルを使用するため
|
|
89
|
+
// 使用するクラス側で api 関連の設定は不要。
|
|
90
|
+
component: {
|
|
91
|
+
name: "air-autocomplete-api",
|
|
92
|
+
attrs: {
|
|
93
|
+
itemValue: "docId",
|
|
94
|
+
itemTitle: "name",
|
|
95
|
+
noFilter: true,
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* 取引先名
|
|
102
|
+
* - 2文字以上最大20文字
|
|
103
|
+
*/
|
|
104
|
+
customerName: {
|
|
105
|
+
...generalDefinitions.oneLine,
|
|
106
|
+
label: "取引先名",
|
|
107
|
+
length: 20,
|
|
108
|
+
component: {
|
|
109
|
+
name: generalDefinitions.oneLine.component.name,
|
|
110
|
+
attrs: { minLength: 2 },
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
|
|
114
|
+
/** 表示名 */
|
|
115
|
+
displayName: {
|
|
116
|
+
...generalDefinitions.oneLine,
|
|
117
|
+
label: "表示名",
|
|
118
|
+
length: 6,
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
/** 本籍地 */
|
|
122
|
+
domicile: {
|
|
123
|
+
...generalDefinitions.oneLine,
|
|
124
|
+
label: "本籍地",
|
|
125
|
+
length: 50,
|
|
126
|
+
},
|
|
127
|
+
|
|
128
|
+
/** email */
|
|
129
|
+
email: {
|
|
130
|
+
...generalDefinitions.oneLine,
|
|
131
|
+
label: "email",
|
|
132
|
+
length: 50,
|
|
133
|
+
component: {
|
|
134
|
+
name: generalDefinitions.oneLine.component.name,
|
|
135
|
+
attrs: {
|
|
136
|
+
inputType: "email",
|
|
137
|
+
inputmode: "email",
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
|
|
142
|
+
/** 緊急連絡先住所 */
|
|
143
|
+
emergencyContactAddress: {
|
|
144
|
+
...generalDefinitions.oneLine,
|
|
145
|
+
label: "緊急連絡先住所",
|
|
146
|
+
length: 50,
|
|
147
|
+
},
|
|
148
|
+
|
|
149
|
+
/** 緊急連絡先氏名 */
|
|
150
|
+
emergencyContactName: {
|
|
151
|
+
...generalDefinitions.oneLine,
|
|
152
|
+
label: "緊急連絡先氏名",
|
|
153
|
+
length: 20,
|
|
154
|
+
},
|
|
155
|
+
|
|
156
|
+
/** 緊急連絡先続柄詳細 */
|
|
157
|
+
emergencyContactRelationDetail: {
|
|
158
|
+
...generalDefinitions.oneLine,
|
|
159
|
+
label: "緊急連絡先続柄詳細",
|
|
160
|
+
length: 20,
|
|
161
|
+
},
|
|
162
|
+
|
|
163
|
+
/** 緊急連絡先電話番号 */
|
|
164
|
+
emergencyContactPhone: {
|
|
165
|
+
...generalDefinitions.oneLine,
|
|
166
|
+
label: "緊急連絡先電話番号",
|
|
167
|
+
length: 13,
|
|
168
|
+
component: {
|
|
169
|
+
name: generalDefinitions.oneLine.component.name,
|
|
170
|
+
attrs: {
|
|
171
|
+
counter: true,
|
|
172
|
+
inputType: "tel",
|
|
173
|
+
inputmode: "tel",
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
|
|
178
|
+
/** FAX番号 */
|
|
179
|
+
fax: {
|
|
180
|
+
...generalDefinitions.oneLine,
|
|
181
|
+
label: "FAX番号",
|
|
182
|
+
length: 13,
|
|
183
|
+
component: {
|
|
184
|
+
name: generalDefinitions.oneLine.component.name,
|
|
185
|
+
attrs: {
|
|
186
|
+
counter: true,
|
|
187
|
+
inputType: "tel",
|
|
188
|
+
inputmode: "tel",
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
|
|
193
|
+
/** 名 */
|
|
194
|
+
firstName: {
|
|
195
|
+
...generalDefinitions.oneLine,
|
|
196
|
+
label: "名",
|
|
197
|
+
length: 20,
|
|
198
|
+
},
|
|
199
|
+
|
|
200
|
+
/** メイ */
|
|
201
|
+
firstNameKana: {
|
|
202
|
+
...generalDefinitions.oneLine,
|
|
203
|
+
label: "メイ",
|
|
204
|
+
length: 40,
|
|
205
|
+
component: {
|
|
206
|
+
name: generalDefinitions.oneLine.component.name,
|
|
207
|
+
attrs: {
|
|
208
|
+
inputType: "katakana",
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
/** 本名 */
|
|
214
|
+
foreignName: {
|
|
215
|
+
...generalDefinitions.oneLine,
|
|
216
|
+
label: "本名",
|
|
217
|
+
length: 50,
|
|
218
|
+
component: {
|
|
219
|
+
name: generalDefinitions.oneLine.component.name,
|
|
220
|
+
attrs: {
|
|
221
|
+
hint: "パスポート等の表記をご入力ください。",
|
|
222
|
+
persistentHint: true,
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
|
|
227
|
+
/** 被保険者番号(整理記号) */
|
|
228
|
+
insuranceNumber: {
|
|
229
|
+
...generalDefinitions.oneLine,
|
|
230
|
+
label: "被保険者番号(整理記号)",
|
|
231
|
+
length: 20,
|
|
232
|
+
},
|
|
233
|
+
|
|
234
|
+
/** 発行元 */
|
|
235
|
+
issuedBy: {
|
|
236
|
+
...generalDefinitions.oneLine,
|
|
237
|
+
label: "発行元",
|
|
238
|
+
length: 20,
|
|
239
|
+
},
|
|
240
|
+
|
|
241
|
+
/** 姓 */
|
|
242
|
+
lastName: {
|
|
243
|
+
...generalDefinitions.oneLine,
|
|
244
|
+
label: "姓",
|
|
245
|
+
length: 20,
|
|
246
|
+
},
|
|
247
|
+
|
|
248
|
+
/** セイ */
|
|
249
|
+
lastNameKana: {
|
|
250
|
+
...generalDefinitions.oneLine,
|
|
251
|
+
label: "セイ",
|
|
252
|
+
length: 40,
|
|
253
|
+
component: {
|
|
254
|
+
name: generalDefinitions.oneLine.component.name,
|
|
255
|
+
attrs: {
|
|
256
|
+
inputType: "katakana",
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
|
|
261
|
+
/** 喪失理由 */
|
|
262
|
+
lossReason: {
|
|
263
|
+
...generalDefinitions.oneLine,
|
|
264
|
+
label: "喪失理由",
|
|
265
|
+
length: 40,
|
|
266
|
+
},
|
|
267
|
+
|
|
268
|
+
/** 携帯電話 */
|
|
269
|
+
mobile: {
|
|
270
|
+
...generalDefinitions.oneLine,
|
|
271
|
+
label: "携帯電話",
|
|
272
|
+
length: 13,
|
|
273
|
+
component: {
|
|
274
|
+
name: generalDefinitions.oneLine.component.name,
|
|
275
|
+
attrs: {
|
|
276
|
+
counter: true,
|
|
277
|
+
inputType: "tel",
|
|
278
|
+
inputmode: "tel",
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
|
|
283
|
+
/** 名前 */
|
|
284
|
+
name: {
|
|
285
|
+
...generalDefinitions.oneLine,
|
|
286
|
+
label: "名前",
|
|
287
|
+
length: 20,
|
|
288
|
+
},
|
|
289
|
+
|
|
290
|
+
/** 名前(カナ) */
|
|
291
|
+
nameKana: {
|
|
292
|
+
...generalDefinitions.oneLine,
|
|
293
|
+
label: "名前(カナ)",
|
|
294
|
+
length: 40,
|
|
295
|
+
component: {
|
|
296
|
+
name: generalDefinitions.oneLine.component.name,
|
|
297
|
+
attrs: {
|
|
298
|
+
inputType: "katakana",
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
},
|
|
302
|
+
|
|
303
|
+
/** 国籍 */
|
|
304
|
+
nationality: {
|
|
305
|
+
...generalDefinitions.oneLine,
|
|
306
|
+
label: "国籍",
|
|
307
|
+
length: 50,
|
|
308
|
+
},
|
|
309
|
+
|
|
310
|
+
/** 在留資格 */
|
|
311
|
+
residenceStatus: {
|
|
312
|
+
...generalDefinitions.oneLine,
|
|
313
|
+
label: "在留資格",
|
|
314
|
+
length: 10,
|
|
315
|
+
},
|
|
316
|
+
|
|
317
|
+
/** 退職理由 */
|
|
318
|
+
reasonOfTermination: {
|
|
319
|
+
...generalDefinitions.oneLine,
|
|
320
|
+
label: "退職理由",
|
|
321
|
+
length: 20,
|
|
322
|
+
},
|
|
323
|
+
|
|
324
|
+
/** 証明書番号 */
|
|
325
|
+
serialNumber: {
|
|
326
|
+
...generalDefinitions.oneLine,
|
|
327
|
+
label: "証明書番号",
|
|
328
|
+
length: 20,
|
|
329
|
+
},
|
|
330
|
+
|
|
331
|
+
/** 現場ID */
|
|
332
|
+
siteId: {
|
|
333
|
+
...generalDefinitions.oneLine,
|
|
334
|
+
label: "現場",
|
|
335
|
+
component: {
|
|
336
|
+
name: "air-autocomplete-api",
|
|
337
|
+
attrs: {
|
|
338
|
+
itemValue: "docId",
|
|
339
|
+
itemTitle: "name",
|
|
340
|
+
noFilter: true,
|
|
341
|
+
},
|
|
342
|
+
},
|
|
343
|
+
},
|
|
344
|
+
|
|
345
|
+
/** 電話番号 */
|
|
346
|
+
tel: {
|
|
347
|
+
...generalDefinitions.oneLine,
|
|
348
|
+
label: "電話番号",
|
|
349
|
+
length: 13,
|
|
350
|
+
component: {
|
|
351
|
+
name: generalDefinitions.oneLine.component.name,
|
|
352
|
+
attrs: {
|
|
353
|
+
counter: true,
|
|
354
|
+
inputType: "tel",
|
|
355
|
+
inputmode: "tel",
|
|
356
|
+
},
|
|
357
|
+
},
|
|
358
|
+
},
|
|
359
|
+
|
|
360
|
+
/** 肩書 */
|
|
361
|
+
title: {
|
|
362
|
+
...generalDefinitions.oneLine,
|
|
363
|
+
label: "肩書",
|
|
364
|
+
length: 20,
|
|
365
|
+
},
|
|
366
|
+
|
|
367
|
+
/** token */
|
|
368
|
+
token: {
|
|
369
|
+
...generalDefinitions.oneLine,
|
|
370
|
+
label: "トークン",
|
|
371
|
+
},
|
|
372
|
+
|
|
373
|
+
/** ユーザーID */
|
|
374
|
+
uid: {
|
|
375
|
+
...generalDefinitions.oneLine,
|
|
376
|
+
label: "ユーザーID",
|
|
377
|
+
},
|
|
378
|
+
|
|
379
|
+
/** 作業内容 */
|
|
380
|
+
workDescription: {
|
|
381
|
+
...generalDefinitions.oneLine,
|
|
382
|
+
label: "作業内容",
|
|
383
|
+
length: 20,
|
|
384
|
+
},
|
|
385
|
+
|
|
386
|
+
/** 郵便番号 */
|
|
387
|
+
zipcode: {
|
|
388
|
+
...generalDefinitions.oneLine,
|
|
389
|
+
default: null,
|
|
390
|
+
label: "郵便番号",
|
|
391
|
+
component: {
|
|
392
|
+
name: "air-postal-code",
|
|
393
|
+
attrs: {
|
|
394
|
+
counter: true,
|
|
395
|
+
inputType: "zipcode",
|
|
396
|
+
"onUpdate:address": ({ item, updateProperties }) => {
|
|
397
|
+
return (result) => {
|
|
398
|
+
updateProperties({
|
|
399
|
+
prefCode: result.prefcode,
|
|
400
|
+
prefecture: result.address1,
|
|
401
|
+
city: result.address2,
|
|
402
|
+
address: result.address3,
|
|
403
|
+
});
|
|
404
|
+
};
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
};
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { generalDefinitions } from "./defaultDefinition.js";
|
|
2
|
+
import {
|
|
3
|
+
VALUES as ARRANGEMENT_NOTIFICATION_STATUS_VALUES,
|
|
4
|
+
OPTIONS as ARRANGEMENT_NOTIFICATION_STATUS_OPTIONS,
|
|
5
|
+
} from "../../constants/arrangement-notification-status.js";
|
|
6
|
+
import {
|
|
7
|
+
VALUES as BILLING_UNIT_TYPE_VALUES,
|
|
8
|
+
OPTIONS as BILLING_UNIT_TYPE_OPTIONS,
|
|
9
|
+
} from "../../constants/billing-unit-type.js";
|
|
10
|
+
import {
|
|
11
|
+
VALUES as BLOOD_TYPE_VALUES,
|
|
12
|
+
OPTIONS as BLOOD_TYPE_OPTIONS,
|
|
13
|
+
} from "../../constants/blood-type.js";
|
|
14
|
+
import {
|
|
15
|
+
VALUES as CERTIFICATION_TYPE_VALUES,
|
|
16
|
+
OPTIONS as CERTIFICATION_TYPE_OPTIONS,
|
|
17
|
+
} from "../../constants/certification-type.js";
|
|
18
|
+
import {
|
|
19
|
+
VALUES as CONTRACT_STATUS_VALUES,
|
|
20
|
+
OPTIONS as CONTRACT_STATUS_OPTIONS,
|
|
21
|
+
} from "../../constants/contract-status.js";
|
|
22
|
+
import {
|
|
23
|
+
OPTIONS as DAY_TYPE_OPTIONS,
|
|
24
|
+
VALUES as DAY_TYPE_VALUES,
|
|
25
|
+
} from "../../constants/day-type.js";
|
|
26
|
+
import {
|
|
27
|
+
VALUES as EMERGENCY_CONTACT_RELATION_VALUES,
|
|
28
|
+
OPTIONS as EMERGENCY_CONTACT_RELATION_OPTIONS,
|
|
29
|
+
} from "../../constants/emergency-contact-relation.js";
|
|
30
|
+
import {
|
|
31
|
+
VALUES as EMPLOYMENT_STATUS_VALUES,
|
|
32
|
+
OPTIONS as EMPLOYMENT_STATUS_OPTIONS,
|
|
33
|
+
} from "../../constants/employment-status.js";
|
|
34
|
+
import {
|
|
35
|
+
VALUES as GENDER_VALUES,
|
|
36
|
+
OPTIONS as GENDER_OPTIONS,
|
|
37
|
+
} from "../../constants/gender.js";
|
|
38
|
+
import {
|
|
39
|
+
VALUES as INSURANCE_STATUS_VALUES,
|
|
40
|
+
OPTIONS as INSURANCE_STATUS_OPTIONS,
|
|
41
|
+
} from "../../constants/insurance-status.js";
|
|
42
|
+
import { OPTIONS as PREFECTURES_OPTIONS } from "../../constants/prefectures.js";
|
|
43
|
+
import {
|
|
44
|
+
VALUES as PAYMENT_MONTH_VALUES,
|
|
45
|
+
OPTIONS as PAYMENT_MONTH_OPTIONS,
|
|
46
|
+
} from "../../constants/payment-month.js";
|
|
47
|
+
import {
|
|
48
|
+
VALUES as SHIFT_TYPE_VALUES,
|
|
49
|
+
OPTIONS as SHIFT_TYPE_OPTIONS,
|
|
50
|
+
} from "../../constants/shift-type.js";
|
|
51
|
+
import {
|
|
52
|
+
VALUES as SITE_STATUS_VALUES,
|
|
53
|
+
OPTIONS as SITE_STATUS_OPTIONS,
|
|
54
|
+
} from "../../constants/site-status.js";
|
|
55
|
+
import {
|
|
56
|
+
VALUES as TAG_SIZE_VALUES,
|
|
57
|
+
OPTIONS as TAG_SIZE_OPTIONS,
|
|
58
|
+
} from "../../constants/tag-size.js";
|
|
59
|
+
import CutoffDate from "../../utils/CutoffDate.js";
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* SELECT型のフィールド定義
|
|
63
|
+
* {
|
|
64
|
+
* type: String,
|
|
65
|
+
* default: null,
|
|
66
|
+
* label: undefined,
|
|
67
|
+
* length: undefined,
|
|
68
|
+
* required: undefined,
|
|
69
|
+
* hidden: undefined,
|
|
70
|
+
* validator: undefined,
|
|
71
|
+
* component: { name: "air-select", attrs: {} },
|
|
72
|
+
* }
|
|
73
|
+
*/
|
|
74
|
+
export const selectFields = {
|
|
75
|
+
select: generalDefinitions.select,
|
|
76
|
+
arrangementNotificationStatus: {
|
|
77
|
+
...generalDefinitions.select,
|
|
78
|
+
default: ARRANGEMENT_NOTIFICATION_STATUS_VALUES.ARRANGED.value,
|
|
79
|
+
label: "状態",
|
|
80
|
+
component: {
|
|
81
|
+
name: generalDefinitions.select.component.name,
|
|
82
|
+
attrs: {
|
|
83
|
+
items: ARRANGEMENT_NOTIFICATION_STATUS_OPTIONS,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
/** 請求単位 */
|
|
88
|
+
billingUnitType: {
|
|
89
|
+
...generalDefinitions.select,
|
|
90
|
+
default: BILLING_UNIT_TYPE_VALUES.PER_DAY.value,
|
|
91
|
+
label: "請求単位",
|
|
92
|
+
component: {
|
|
93
|
+
name: generalDefinitions.select.component.name,
|
|
94
|
+
attrs: {
|
|
95
|
+
items: BILLING_UNIT_TYPE_OPTIONS,
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
bloodType: {
|
|
100
|
+
...generalDefinitions.select,
|
|
101
|
+
label: "血液型",
|
|
102
|
+
default: BLOOD_TYPE_VALUES.A.value,
|
|
103
|
+
component: {
|
|
104
|
+
name: generalDefinitions.select.component.name,
|
|
105
|
+
attrs: {
|
|
106
|
+
items: BLOOD_TYPE_OPTIONS,
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
certificationType: {
|
|
111
|
+
...generalDefinitions.select,
|
|
112
|
+
label: "資格種別",
|
|
113
|
+
default: null,
|
|
114
|
+
component: {
|
|
115
|
+
name: generalDefinitions.select.component.name,
|
|
116
|
+
attrs: {
|
|
117
|
+
items: CERTIFICATION_TYPE_OPTIONS,
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
// contractStatus -> Used in Customer.js and Outsourcer.js
|
|
122
|
+
contractStatus: {
|
|
123
|
+
...generalDefinitions.select,
|
|
124
|
+
default: CONTRACT_STATUS_VALUES.ACTIVE.value,
|
|
125
|
+
label: "契約状態",
|
|
126
|
+
component: {
|
|
127
|
+
name: generalDefinitions.select.component.name,
|
|
128
|
+
attrs: {
|
|
129
|
+
items: CONTRACT_STATUS_OPTIONS,
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
cutoffDate: {
|
|
134
|
+
...generalDefinitions.select,
|
|
135
|
+
default: CutoffDate.VALUES[0].value,
|
|
136
|
+
label: "締日",
|
|
137
|
+
component: {
|
|
138
|
+
name: generalDefinitions.select.component.name,
|
|
139
|
+
attrs: {
|
|
140
|
+
items: CutoffDate.OPTIONS,
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
dayType: {
|
|
145
|
+
...generalDefinitions.select,
|
|
146
|
+
default: DAY_TYPE_VALUES.WEEKDAY.value,
|
|
147
|
+
label: "曜日区分",
|
|
148
|
+
component: {
|
|
149
|
+
name: generalDefinitions.select.component.name,
|
|
150
|
+
attrs: {
|
|
151
|
+
items: DAY_TYPE_OPTIONS,
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
emergencyContactRelation: {
|
|
156
|
+
...generalDefinitions.select,
|
|
157
|
+
default: EMERGENCY_CONTACT_RELATION_VALUES.PARENT.value,
|
|
158
|
+
label: "緊急連絡先続柄",
|
|
159
|
+
component: {
|
|
160
|
+
name: generalDefinitions.select.component.name,
|
|
161
|
+
attrs: {
|
|
162
|
+
items: EMERGENCY_CONTACT_RELATION_OPTIONS,
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
employmentStatus: {
|
|
167
|
+
...generalDefinitions.select,
|
|
168
|
+
default: EMPLOYMENT_STATUS_VALUES.ACTIVE.value,
|
|
169
|
+
label: "雇用状態",
|
|
170
|
+
component: {
|
|
171
|
+
name: generalDefinitions.select.component.name,
|
|
172
|
+
attrs: {
|
|
173
|
+
items: EMPLOYMENT_STATUS_OPTIONS,
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
gender: {
|
|
178
|
+
...generalDefinitions.select,
|
|
179
|
+
default: GENDER_VALUES.MALE.value,
|
|
180
|
+
label: "性別",
|
|
181
|
+
component: {
|
|
182
|
+
name: generalDefinitions.select.component.name,
|
|
183
|
+
attrs: {
|
|
184
|
+
items: GENDER_OPTIONS,
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
insuranceStatus: {
|
|
189
|
+
...generalDefinitions.select,
|
|
190
|
+
default: INSURANCE_STATUS_VALUES.NOT_ENROLLED.value,
|
|
191
|
+
label: "保険状態",
|
|
192
|
+
component: {
|
|
193
|
+
name: generalDefinitions.select.component.name,
|
|
194
|
+
attrs: {
|
|
195
|
+
items: INSURANCE_STATUS_OPTIONS,
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
paymentDate: {
|
|
200
|
+
...generalDefinitions.select,
|
|
201
|
+
default: CutoffDate.VALUES[0].value,
|
|
202
|
+
label: "入金サイト(日)",
|
|
203
|
+
component: {
|
|
204
|
+
name: generalDefinitions.select.component.name,
|
|
205
|
+
attrs: {
|
|
206
|
+
items: CutoffDate.OPTIONS,
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
paymentMonth: {
|
|
211
|
+
...generalDefinitions.select,
|
|
212
|
+
default: PAYMENT_MONTH_VALUES[1].value,
|
|
213
|
+
label: "入金サイト(月数)",
|
|
214
|
+
component: {
|
|
215
|
+
name: generalDefinitions.select.component.name,
|
|
216
|
+
attrs: {
|
|
217
|
+
items: PAYMENT_MONTH_OPTIONS,
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
prefCode: {
|
|
222
|
+
...generalDefinitions.select,
|
|
223
|
+
label: "都道府県",
|
|
224
|
+
length: 2,
|
|
225
|
+
component: {
|
|
226
|
+
name: generalDefinitions.select.component.name,
|
|
227
|
+
attrs: {
|
|
228
|
+
items: PREFECTURES_OPTIONS,
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
shiftType: {
|
|
233
|
+
...generalDefinitions.select,
|
|
234
|
+
default: SHIFT_TYPE_VALUES.DAY.value,
|
|
235
|
+
label: "勤務区分",
|
|
236
|
+
component: {
|
|
237
|
+
name: generalDefinitions.select.component.name,
|
|
238
|
+
attrs: {
|
|
239
|
+
items: SHIFT_TYPE_OPTIONS,
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
siteStatus: {
|
|
244
|
+
...generalDefinitions.select,
|
|
245
|
+
default: SITE_STATUS_VALUES.ACTIVE.value,
|
|
246
|
+
label: "状態",
|
|
247
|
+
component: {
|
|
248
|
+
name: generalDefinitions.select.component.name,
|
|
249
|
+
attrs: {
|
|
250
|
+
items: SITE_STATUS_OPTIONS,
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
|
|
255
|
+
/** タグサイズ */
|
|
256
|
+
tagSize: {
|
|
257
|
+
...generalDefinitions.select,
|
|
258
|
+
label: "タグサイズ",
|
|
259
|
+
default: TAG_SIZE_VALUES.MEDIUM.value,
|
|
260
|
+
component: {
|
|
261
|
+
name: generalDefinitions.select.component.name,
|
|
262
|
+
attrs: {
|
|
263
|
+
items: TAG_SIZE_OPTIONS,
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
};
|