@neutron.co.id/operasional-interfaces 1.17.16-beta.1 → 1.17.16
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/build/@office/common/providers/api/apiUrl.d.ts +3 -0
- package/build/@office/common/providers/api/apiUrl.mjs +43 -0
- package/build/@office/common/providers/api/index.d.ts +1 -0
- package/build/@office/common/providers/api/index.mjs +1 -0
- package/build/@office/common/providers/index.d.ts +1 -0
- package/build/@office/common/providers/index.mjs +1 -0
- package/build/@office/models/personalia/attendance/AttendanceDelegate.vue +86 -15
- package/build/@office/models/personalia/attendance/AttendanceManager.vue +129 -15
- package/build/@office/models/personalia/attendance/AttendanceSingle/AttendanceSingle.vue +3 -1
- package/build/@office/models/personalia/attendance/AttendanceStaff.vue +182 -45
- package/build/@office/models/personalia/attendance/AttendanceSupervisor.vue +161 -37
- package/build/@office/models/personalia/leaveConflict/LeaveConflictCollection/LeaveConflictCollection.vue +1 -1
- package/build/@office/models/personalia/leaveConflict/LeaveConflictSingle/LeaveConflictSingle.vue +2 -2
- package/build/@office/models/personalia/leaveQuota/LeaveQuotaSingle/LeaveQuotaSingle.vue +20 -5
- package/build/@office/models/personalia/leaveStaff/LeaveStaffSingle/LeaveStaffSingle.vue +2 -2
- package/build/@office/models/personalia/shift/ShiftAdministrator.vue +1 -33
- package/build/@office/models/personalia/shift/ShiftSupervisor.vue +0 -1
- package/build/@office/models/personalia/shiftStaff/ShiftStaffCollectionBranch.vue +1 -1
- package/build/@office/models/personalia/shiftStaff/ShiftStaffCollectionStaff.vue +2 -1
- package/build/@office/models/personalia/shiftStaff/ShiftStaffWrapper/ShiftStaffDisplay.vue +4 -2
- package/build/@office/models/personalia/shiftStaff/ShiftStaffWrapper/ShiftStaffWrapper.vue +9 -13
- package/build/@package/@office/common/providers/api/apiUrl.d.ts +3 -0
- package/build/@package/@office/common/providers/api/index.d.ts +1 -0
- package/build/@package/@office/common/providers/index.d.ts +1 -0
- package/build/mock/index.cjs +1470 -1040
- package/build/mock/index.mjs +1470 -1040
- package/build/mock/style.css +16 -16
- package/build/module.json +1 -1
- package/build/nuxt.json +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export function apiUrl() {
|
|
2
|
+
const url = `${window.location.protocol}//${window.location.host}`;
|
|
3
|
+
const cleanUrl = url.replace(/^https?:\/\//, "");
|
|
4
|
+
const parts = cleanUrl.split(".");
|
|
5
|
+
if (parts.length < 3) {
|
|
6
|
+
return {
|
|
7
|
+
action: "http://localhost:7021"
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
const subDomainWithDev = parts[1];
|
|
11
|
+
const subDomain = parts[0];
|
|
12
|
+
let action;
|
|
13
|
+
if (subDomain === "dev") {
|
|
14
|
+
action = switchUrl(subDomainWithDev, true);
|
|
15
|
+
} else {
|
|
16
|
+
action = switchUrl(subDomain, false);
|
|
17
|
+
}
|
|
18
|
+
return { action };
|
|
19
|
+
}
|
|
20
|
+
function switchUrl(subdomain, isDev) {
|
|
21
|
+
let action;
|
|
22
|
+
switch (subdomain) {
|
|
23
|
+
case "aplikasi":
|
|
24
|
+
action = "api.office.neutron.neon.id";
|
|
25
|
+
break;
|
|
26
|
+
case "office":
|
|
27
|
+
action = "api.office.ion.neutron.neon.id";
|
|
28
|
+
break;
|
|
29
|
+
case "kantor":
|
|
30
|
+
action = "api.office.holding.neutron.neon.id";
|
|
31
|
+
break;
|
|
32
|
+
case "operasional":
|
|
33
|
+
action = "api.office.operasional.neutron.neon.id";
|
|
34
|
+
break;
|
|
35
|
+
default:
|
|
36
|
+
action = "127.0.0.1:7020";
|
|
37
|
+
}
|
|
38
|
+
if (isDev) {
|
|
39
|
+
return `https://dev.${action}`;
|
|
40
|
+
} else {
|
|
41
|
+
return `https://${action}`;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './apiUrl';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./apiUrl.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { GraphUtil, NeonSingle, useSingle } from '@neon.id/context'
|
|
2
|
+
import { GraphUtil, NeonSingle, useSingle, useAppStore } from '@neon.id/context'
|
|
3
3
|
import { NeonCheck, NeonField, NeonForm } from '@neon.id/form'
|
|
4
4
|
import {
|
|
5
5
|
NeonAlert,
|
|
@@ -18,9 +18,10 @@ import {
|
|
|
18
18
|
type Schema,
|
|
19
19
|
} from '@neutron.co.id/personalia-models'
|
|
20
20
|
import { DateUtil } from '../../../common/utils/util.date'
|
|
21
|
-
import { NeonTime, useOperasional } from '../../../common'
|
|
21
|
+
import { NeonTime, useOperasional, apiUrl } from '../../../common'
|
|
22
22
|
import { AttendanceNoteTab } from './sections'
|
|
23
23
|
import { useClientHandle } from '@urql/vue'
|
|
24
|
+
import { ofetch } from 'ofetch'
|
|
24
25
|
|
|
25
26
|
const {
|
|
26
27
|
fields,
|
|
@@ -164,7 +165,7 @@ async function generateAttendance() {
|
|
|
164
165
|
// Attendance input.
|
|
165
166
|
status: values.value.status,
|
|
166
167
|
submitStaffId: values.value.submitStaffId,
|
|
167
|
-
|
|
168
|
+
typeId: values.value.type?.id,
|
|
168
169
|
decideStaffId: values.value.decideStaffId,
|
|
169
170
|
delegateStaffIds: values.value.delegateStaffIds,
|
|
170
171
|
monitoringStaffIds: values.value.monitoringStaffIds,
|
|
@@ -185,6 +186,70 @@ async function generate() {
|
|
|
185
186
|
await getNotified()
|
|
186
187
|
await syncOne()
|
|
187
188
|
}
|
|
189
|
+
|
|
190
|
+
const appStore = useAppStore()
|
|
191
|
+
const officeAppUrl = computed(() => {
|
|
192
|
+
const url = apiUrl()
|
|
193
|
+
|
|
194
|
+
return url.action
|
|
195
|
+
})
|
|
196
|
+
|
|
197
|
+
const type = ref('')
|
|
198
|
+
const showLeaveQuota = ref(true)
|
|
199
|
+
const quota = ref(0)
|
|
200
|
+
const maxDuration = ref(0)
|
|
201
|
+
const quotaTaken = ref(0)
|
|
202
|
+
|
|
203
|
+
function checkDurationLeave() {
|
|
204
|
+
if (!values.value.startedAt || !values.value.endedAt) {
|
|
205
|
+
return true
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
const startedAt = new Date(values.value.startedAt)
|
|
209
|
+
const endedAt = new Date(values.value.endedAt)
|
|
210
|
+
|
|
211
|
+
const durationMilliseconds = endedAt.getTime() - startedAt.getTime()
|
|
212
|
+
|
|
213
|
+
const days = Math.floor(durationMilliseconds / (1000 * 60 * 60 * 24))
|
|
214
|
+
quotaTaken.value = days
|
|
215
|
+
|
|
216
|
+
if (days > maxDuration.value) return false
|
|
217
|
+
|
|
218
|
+
return true
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
watch(
|
|
222
|
+
() => values.value,
|
|
223
|
+
async (newType) => {
|
|
224
|
+
const response = await ofetch(`${officeAppUrl.value}/getAttendanceType`, {
|
|
225
|
+
method: 'POST',
|
|
226
|
+
headers: {
|
|
227
|
+
'X-Neon-Key': 'CH7JLKT6MW',
|
|
228
|
+
},
|
|
229
|
+
body: {
|
|
230
|
+
id: values.value.attendanceTypeId,
|
|
231
|
+
},
|
|
232
|
+
})
|
|
233
|
+
type.value = response.data[0].code
|
|
234
|
+
showLeaveQuota.value = response.data[0].showLeaveQuota
|
|
235
|
+
quota.value = response.data[0].leaveQuota
|
|
236
|
+
maxDuration.value = response.data[0].maxDurationDays
|
|
237
|
+
},
|
|
238
|
+
)
|
|
239
|
+
|
|
240
|
+
const isLeaveStaff = ref(false)
|
|
241
|
+
|
|
242
|
+
const showDurationAlert = ref(false)
|
|
243
|
+
async function saveData() {
|
|
244
|
+
const result = await checkDurationLeave()
|
|
245
|
+
|
|
246
|
+
if (result == true && isLeaveStaff.value == true) {
|
|
247
|
+
showDurationAlert.value = false
|
|
248
|
+
await saveOne()
|
|
249
|
+
} else {
|
|
250
|
+
showDurationAlert.value = true
|
|
251
|
+
}
|
|
252
|
+
}
|
|
188
253
|
</script>
|
|
189
254
|
|
|
190
255
|
<template>
|
|
@@ -198,14 +263,21 @@ async function generate() {
|
|
|
198
263
|
:is-changed="isChanged"
|
|
199
264
|
use-unsaved
|
|
200
265
|
@cancel="discardChanges"
|
|
201
|
-
@submit="
|
|
266
|
+
@submit="saveData"
|
|
202
267
|
>
|
|
268
|
+
<NeonAlert
|
|
269
|
+
v-if="showDurationAlert == true"
|
|
270
|
+
icon="circle-info"
|
|
271
|
+
label="Durasi Melebihi Batas!."
|
|
272
|
+
description="Durasi cuti yang diajukan melebihi batas maksimum yang telah ditentukan. Mohon sesuaikan kembali permohonan cuti sesuai dengan ketentuan yang berlaku"
|
|
273
|
+
color="#F7CF6D"
|
|
274
|
+
/>
|
|
203
275
|
<OfficeRelation
|
|
204
276
|
v-if="
|
|
205
|
-
values.type?.code == '
|
|
277
|
+
values.type?.code == 'cuti' ||
|
|
206
278
|
values.type?.code == 'dayOff' ||
|
|
207
279
|
values.type?.code == 'sick' ||
|
|
208
|
-
values.type?.code == '
|
|
280
|
+
values.type?.code == 'izin'
|
|
209
281
|
"
|
|
210
282
|
v-model="values"
|
|
211
283
|
:field="fields.delegateStaffs"
|
|
@@ -251,10 +323,10 @@ async function generate() {
|
|
|
251
323
|
/>
|
|
252
324
|
<!-- <OfficeRelation
|
|
253
325
|
v-if="
|
|
254
|
-
values.type
|
|
255
|
-
values.type
|
|
256
|
-
values.type
|
|
257
|
-
values.type
|
|
326
|
+
values.type == 'leave' ||
|
|
327
|
+
values.type == 'sick' ||
|
|
328
|
+
values.type == 'dayOff' ||
|
|
329
|
+
values.type == 'permission'
|
|
258
330
|
"
|
|
259
331
|
v-model="values"
|
|
260
332
|
:field="fields.monitoringStaffs"
|
|
@@ -264,17 +336,16 @@ async function generate() {
|
|
|
264
336
|
/> -->
|
|
265
337
|
<NeonField
|
|
266
338
|
v-if="
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
339
|
+
type == 'cuti' ||
|
|
340
|
+
type == 'dayOff' ||
|
|
341
|
+
type == 'sakit' ||
|
|
342
|
+
type == 'izin'
|
|
271
343
|
"
|
|
272
344
|
v-model="values.delegateNotes"
|
|
273
345
|
v-bind="fields.delegateNotes"
|
|
274
346
|
/>
|
|
275
347
|
</NeonForm>
|
|
276
348
|
</OfficeTab>
|
|
277
|
-
<!-- <AttendanceNoteTab /> -->
|
|
278
349
|
</OfficeTabs>
|
|
279
350
|
</NeonSingle>
|
|
280
351
|
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { NeonSingle, useSingle } from '@neon.id/context'
|
|
2
|
+
import { NeonSingle, useSingle, useAppStore } from '@neon.id/context'
|
|
3
3
|
import { NeonField, NeonForm } from '@neon.id/form'
|
|
4
4
|
import { NeonButton, NeonDivider } from '@neon.id/interfaces'
|
|
5
5
|
import { OfficeRelation, OfficeTab, OfficeTabs } from '@neon.id/office'
|
|
@@ -10,7 +10,8 @@ import type {
|
|
|
10
10
|
Schema,
|
|
11
11
|
} from '@neutron.co.id/personalia-models'
|
|
12
12
|
import { DateUtil } from '../../..//common/utils/util.date'
|
|
13
|
-
import { useOperasional, NeonTime } from '../../../common'
|
|
13
|
+
import { useOperasional, NeonTime, apiUrl } from '../../../common'
|
|
14
|
+
import { ofetch } from 'ofetch'
|
|
14
15
|
|
|
15
16
|
const {
|
|
16
17
|
fields,
|
|
@@ -108,6 +109,103 @@ const rejectedAbsensi = async () => {
|
|
|
108
109
|
await executeOne('rejectedAttendance', { attendanceId: id.value })
|
|
109
110
|
await syncOne()
|
|
110
111
|
}
|
|
112
|
+
|
|
113
|
+
const appStore = useAppStore()
|
|
114
|
+
const officeAppUrl = computed(() => {
|
|
115
|
+
const url = apiUrl()
|
|
116
|
+
return url.action
|
|
117
|
+
})
|
|
118
|
+
|
|
119
|
+
const type = ref('')
|
|
120
|
+
const showLeaveQuota = ref(true)
|
|
121
|
+
const quota = ref(0)
|
|
122
|
+
const maxDuration = ref(0)
|
|
123
|
+
const quotaTaken = ref(0)
|
|
124
|
+
|
|
125
|
+
function checkDurationLeave() {
|
|
126
|
+
if (!values.value.startedAt || !values.value.endedAt) {
|
|
127
|
+
return true
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
const startedAt = new Date(values.value.startedAt)
|
|
131
|
+
const endedAt = new Date(values.value.endedAt)
|
|
132
|
+
|
|
133
|
+
const durationMilliseconds = endedAt.getTime() - startedAt.getTime()
|
|
134
|
+
|
|
135
|
+
const days = Math.floor(durationMilliseconds / (1000 * 60 * 60 * 24)) + 1
|
|
136
|
+
quotaTaken.value = days
|
|
137
|
+
|
|
138
|
+
if (days > maxDuration.value) return false
|
|
139
|
+
|
|
140
|
+
return true
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
watch(
|
|
144
|
+
() => values.value,
|
|
145
|
+
async (newType) => {
|
|
146
|
+
checkDurationLeave()
|
|
147
|
+
const response = await ofetch(`${officeAppUrl.value}/getAttendanceType`, {
|
|
148
|
+
method: 'POST',
|
|
149
|
+
headers: {
|
|
150
|
+
'X-Neon-Key': 'CH7JLKT6MW',
|
|
151
|
+
},
|
|
152
|
+
body: {
|
|
153
|
+
id: values.value.attendanceTypeId,
|
|
154
|
+
},
|
|
155
|
+
})
|
|
156
|
+
type.value = response.data[0].code
|
|
157
|
+
showLeaveQuota.value = response.data[0].showLeaveQuota
|
|
158
|
+
quota.value = response.data[0].leaveQuota
|
|
159
|
+
maxDuration.value = response.data[0].maxDurationDays
|
|
160
|
+
},
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
const isLeaveStaff = ref(false)
|
|
164
|
+
|
|
165
|
+
watch(
|
|
166
|
+
() => [values.value.startedAt, values.value.endedAt],
|
|
167
|
+
async (newType) => {
|
|
168
|
+
if (values.value.startedAt && values.value.endedAt) {
|
|
169
|
+
const leaveStaff = await ofetch(`${officeAppUrl.value}/getLeaveQuota`, {
|
|
170
|
+
method: 'POST',
|
|
171
|
+
headers: {
|
|
172
|
+
'X-Neon-Key': 'CH7JLKT6MW',
|
|
173
|
+
},
|
|
174
|
+
body: {
|
|
175
|
+
id: values.value.attendanceTypeId,
|
|
176
|
+
staffId: initialValues.value.submitStaffId,
|
|
177
|
+
startedAt: values.value.startedAt,
|
|
178
|
+
endedAt: values.value.endedAt,
|
|
179
|
+
},
|
|
180
|
+
})
|
|
181
|
+
|
|
182
|
+
if (leaveStaff.code === 200 && leaveStaff.data.quota > 0) {
|
|
183
|
+
isLeaveStaff.value = true
|
|
184
|
+
quota.value = leaveStaff.data.quota
|
|
185
|
+
maxDuration.value = leaveStaff.data.quota
|
|
186
|
+
} else {
|
|
187
|
+
isLeaveStaff.value = false
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
const showDurationAlert = ref(false)
|
|
194
|
+
async function saveData() {
|
|
195
|
+
const result = await checkDurationLeave()
|
|
196
|
+
|
|
197
|
+
if (
|
|
198
|
+
(result === true && isLeaveStaff.value === true) ||
|
|
199
|
+
(type.value !== 'cuti' && type.value !== 'izin' && type.value !== 'sakit')
|
|
200
|
+
) {
|
|
201
|
+
showDurationAlert.value = false
|
|
202
|
+
console.log('save')
|
|
203
|
+
await saveOne()
|
|
204
|
+
} else {
|
|
205
|
+
showDurationAlert.value = true
|
|
206
|
+
console.log('error')
|
|
207
|
+
}
|
|
208
|
+
}
|
|
111
209
|
</script>
|
|
112
210
|
|
|
113
211
|
<template>
|
|
@@ -121,8 +219,22 @@ const rejectedAbsensi = async () => {
|
|
|
121
219
|
:is-changed="isChanged"
|
|
122
220
|
use-unsaved
|
|
123
221
|
@cancel="discardChanges"
|
|
124
|
-
@submit="
|
|
222
|
+
@submit="saveData"
|
|
125
223
|
>
|
|
224
|
+
<NeonStat
|
|
225
|
+
v-if="showLeaveQuota"
|
|
226
|
+
class="w-36 mb-2"
|
|
227
|
+
label="Cuti Pribadi"
|
|
228
|
+
icon="person-to-door"
|
|
229
|
+
>{{ quota }} hari</NeonStat
|
|
230
|
+
>
|
|
231
|
+
<NeonAlert
|
|
232
|
+
v-if="showDurationAlert == true"
|
|
233
|
+
icon="circle-info"
|
|
234
|
+
label="Durasi Melebihi Batas!."
|
|
235
|
+
description="Durasi cuti yang diajukan melebihi batas maksimum yang telah ditentukan. Mohon sesuaikan kembali permohonan cuti sesuai dengan ketentuan yang berlaku"
|
|
236
|
+
color="#F7CF6D"
|
|
237
|
+
/>
|
|
126
238
|
<div class="flex flex-wrap">
|
|
127
239
|
<div class="mt-2">
|
|
128
240
|
<NeonField>
|
|
@@ -197,13 +309,14 @@ const rejectedAbsensi = async () => {
|
|
|
197
309
|
/>
|
|
198
310
|
|
|
199
311
|
<OfficeRelation
|
|
200
|
-
v-if="
|
|
312
|
+
v-if="type === 'cuti'"
|
|
201
313
|
v-model="values"
|
|
202
314
|
:field="fields.delegateStaffs"
|
|
203
315
|
:is-disabled="
|
|
204
316
|
values.status == 'approved' || values.status == 'rejected'
|
|
205
317
|
"
|
|
206
318
|
/>
|
|
319
|
+
<NeonField v-model="values.image" v-bind="fields.image" />
|
|
207
320
|
|
|
208
321
|
<NeonField
|
|
209
322
|
v-if="isNew || isReady"
|
|
@@ -211,14 +324,18 @@ const rejectedAbsensi = async () => {
|
|
|
211
324
|
v-bind="fields.notes"
|
|
212
325
|
/>
|
|
213
326
|
|
|
214
|
-
<NeonDivider
|
|
327
|
+
<NeonDivider
|
|
328
|
+
v-if="values.attendanceTypeId"
|
|
329
|
+
is-dashed
|
|
330
|
+
label="Keterangan"
|
|
331
|
+
/>
|
|
215
332
|
|
|
216
333
|
<NeonField
|
|
217
334
|
v-if="
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
335
|
+
type == 'cuti' ||
|
|
336
|
+
type == 'dayOff' ||
|
|
337
|
+
type == 'sick' ||
|
|
338
|
+
type == 'izin'
|
|
222
339
|
"
|
|
223
340
|
v-model="values.submittedAt"
|
|
224
341
|
v-bind="fields.submittedAt"
|
|
@@ -227,7 +344,7 @@ const rejectedAbsensi = async () => {
|
|
|
227
344
|
|
|
228
345
|
<!-- EARLY GO HOME -->
|
|
229
346
|
<div
|
|
230
|
-
v-if="
|
|
347
|
+
v-if="type == 'pulangLebihAwal'"
|
|
231
348
|
class="grid gap-2 sm:grid-cols-2"
|
|
232
349
|
>
|
|
233
350
|
<NeonField
|
|
@@ -275,7 +392,7 @@ const rejectedAbsensi = async () => {
|
|
|
275
392
|
|
|
276
393
|
<!-- COME TOO LATE -->
|
|
277
394
|
<div
|
|
278
|
-
v-if="
|
|
395
|
+
v-if="type == 'datangTerlambat'"
|
|
279
396
|
class="grid gap-2 sm:grid-cols-2"
|
|
280
397
|
>
|
|
281
398
|
<NeonField
|
|
@@ -322,10 +439,7 @@ const rejectedAbsensi = async () => {
|
|
|
322
439
|
</div>
|
|
323
440
|
|
|
324
441
|
<!-- TIMEOUT -->
|
|
325
|
-
<div
|
|
326
|
-
v-if="values.type?.code == 'timeout'"
|
|
327
|
-
class="grid gap-2 sm:grid-cols-2"
|
|
328
|
-
>
|
|
442
|
+
<div v-if="type == 'timeout'" class="grid gap-2 sm:grid-cols-2">
|
|
329
443
|
<NeonField
|
|
330
444
|
v-model="values.startedAt"
|
|
331
445
|
v-bind="{
|
|
@@ -30,6 +30,8 @@ const diff = computed(() => {
|
|
|
30
30
|
return DateUtil.day(values.value.endedAt).diff(values.value.startedAt)
|
|
31
31
|
})
|
|
32
32
|
|
|
33
|
+
console.log('single', values.value)
|
|
34
|
+
|
|
33
35
|
const duration = computed(() => {
|
|
34
36
|
if (isNaN(diff.value)) return '-'
|
|
35
37
|
const duration = DateUtil.day.duration(diff.value)
|
|
@@ -91,7 +93,7 @@ function onStartedAtUpdate(date: any) {
|
|
|
91
93
|
@update:model-value="onStartedAtUpdate"
|
|
92
94
|
/>
|
|
93
95
|
|
|
94
|
-
<OfficeRelation v-model="values" :field="fields.type" />
|
|
96
|
+
<OfficeRelation v-model="values.type" :field="fields.type" />
|
|
95
97
|
|
|
96
98
|
<OfficeRelation v-model="values" :field="fields.decideStaff" />
|
|
97
99
|
|