@neutron.co.id/operasional-interfaces 1.8.3 → 1.8.5
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/index.cjs +1546 -378
- package/build/index.mjs +1546 -378
- package/build/style.css +41 -17
- package/build/types/components/attendance/attendance.types.d.ts +1 -1
- package/build/types/components/attendance/sheets/AttendanceSupervisor.vue.d.ts +2 -0
- package/build/types/components/attendance/sheets/index.d.ts +1 -0
- package/build/types/components/checkIn/checkIn.types.d.ts +1 -1
- package/build/types/components/checkIn/sheets/CheckInSupervisor.vue.d.ts +2 -0
- package/build/types/components/checkIn/sheets/index.d.ts +1 -0
- package/build/types/components/index.d.ts +1 -0
- package/build/types/components/progress/elements/ProgressNoteButton.vue.d.ts +2 -0
- package/build/types/components/progress/elements/index.d.ts +1 -0
- package/build/types/components/progress/progress.types.d.ts +1 -1
- package/build/types/components/progressAccess/index.d.ts +2 -0
- package/build/types/components/progressAccess/progressAccess.types.d.ts +2 -0
- package/build/types/components/progressAccess/sheets/ProgressAccessCollection.vue.d.ts +2 -0
- package/build/types/components/progressAccess/sheets/ProgressAccessSingle.vue.d.ts +2 -0
- package/build/types/components/progressAccess/sheets/ProgressAccessSupervisor.vue.d.ts +2 -0
- package/build/types/components/progressAccess/sheets/index.d.ts +3 -0
- package/build/types/components/responsibility/responsibility.types.d.ts +1 -1
- package/build/types/components/responsibility/sheets/ResponsibilitySupervisor.vue.d.ts +2 -0
- package/build/types/components/responsibility/sheets/index.d.ts +1 -0
- package/build/types/components/submission/sheets/SubmissionSupervisor.vue.d.ts +2 -0
- package/build/types/components/submission/sheets/index.d.ts +1 -0
- package/build/types/components/submission/submission.types.d.ts +1 -1
- package/build/types/gql/graphql.d.ts +304 -6
- package/build/types/providers/operasional/operasional.types.d.ts +3 -1
- package/build/types/providers/operasional/useOperasional.d.ts +2 -0
- package/package.json +6 -6
package/build/index.mjs
CHANGED
|
@@ -30,8 +30,8 @@ import Scanner from "qr-scanner";
|
|
|
30
30
|
import mitt from "mitt";
|
|
31
31
|
import { models as models$2 } from "@neutron.co.id/personalia-models";
|
|
32
32
|
import { CatatSketchPad, CatatPaperPad } from "@neon.id/catat-interfaces";
|
|
33
|
-
const _hoisted_1$
|
|
34
|
-
const _sfc_main$
|
|
33
|
+
const _hoisted_1$p = { class: "xxx-button" };
|
|
34
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
35
35
|
...{ name: "XxxButton" },
|
|
36
36
|
__name: "XxxButton",
|
|
37
37
|
props: {
|
|
@@ -42,18 +42,18 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
},
|
|
43
43
|
setup(__props) {
|
|
44
44
|
return (_ctx, _cache) => {
|
|
45
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
45
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
46
46
|
createVNode(unref(NeonButton), { label: "XXX" })
|
|
47
47
|
]);
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
|
-
const _hoisted_1$
|
|
52
|
-
const _hoisted_2$
|
|
51
|
+
const _hoisted_1$o = { class: "operasional-identitas" };
|
|
52
|
+
const _hoisted_2$h = {
|
|
53
53
|
key: 2,
|
|
54
54
|
class: "section"
|
|
55
55
|
};
|
|
56
|
-
const _sfc_main
|
|
56
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
57
57
|
...{ name: "OperasionalIdentitas" },
|
|
58
58
|
__name: "OperasionalIdentitas",
|
|
59
59
|
props: {
|
|
@@ -308,7 +308,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
308
308
|
candidateId.value = null;
|
|
309
309
|
}
|
|
310
310
|
return (_ctx, _cache) => {
|
|
311
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
311
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
312
312
|
state.value === "connect" ? (openBlock(), createBlock(unref(IdentitasConnect), {
|
|
313
313
|
key: 0,
|
|
314
314
|
user: user.value,
|
|
@@ -360,7 +360,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
360
360
|
_: 1
|
|
361
361
|
/* STABLE */
|
|
362
362
|
}, 8, ["initial-values", "is-loading", "errors"])) : createCommentVNode("v-if", true),
|
|
363
|
-
user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
363
|
+
user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
|
|
364
364
|
createVNode(unref(NeonDivider), {
|
|
365
365
|
"is-dashed": "",
|
|
366
366
|
label: "Delegasi",
|
|
@@ -409,7 +409,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
409
409
|
}
|
|
410
410
|
return target;
|
|
411
411
|
};
|
|
412
|
-
const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
412
|
+
const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-355c8370"]]);
|
|
413
413
|
dayjs.extend(durationPlugin);
|
|
414
414
|
dayjs.extend(relativeTimePlugin);
|
|
415
415
|
dayjs.extend(advancedFormat);
|
|
@@ -421,21 +421,21 @@ class DateUtil {
|
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
const _withScopeId$3 = (n) => (pushScopeId("data-v-805321b9"), n = n(), popScopeId(), n);
|
|
424
|
-
const _hoisted_1$
|
|
424
|
+
const _hoisted_1$n = {
|
|
425
425
|
key: 0,
|
|
426
426
|
class: "input-loading"
|
|
427
427
|
};
|
|
428
|
-
const _hoisted_2$
|
|
428
|
+
const _hoisted_2$g = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode(
|
|
429
429
|
"div",
|
|
430
430
|
{ class: "loading placeholder-block placeholder-wave" },
|
|
431
431
|
null,
|
|
432
432
|
-1
|
|
433
433
|
/* HOISTED */
|
|
434
434
|
));
|
|
435
|
-
const _hoisted_3$
|
|
436
|
-
_hoisted_2$
|
|
435
|
+
const _hoisted_3$8 = [
|
|
436
|
+
_hoisted_2$g
|
|
437
437
|
];
|
|
438
|
-
const _sfc_main$
|
|
438
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
439
439
|
__name: "NeonTime",
|
|
440
440
|
props: {
|
|
441
441
|
modelValue: {
|
|
@@ -472,7 +472,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
472
472
|
class: normalizeClass(["neon-time", { "is-disabled": __props.isDisabled }])
|
|
473
473
|
},
|
|
474
474
|
[
|
|
475
|
-
__props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
475
|
+
__props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$n, _hoisted_3$8)) : (openBlock(), createBlock(unref(DatePicker), mergeProps({
|
|
476
476
|
key: 1,
|
|
477
477
|
"model-value": internalValue.value
|
|
478
478
|
}, {
|
|
@@ -496,14 +496,16 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
496
496
|
});
|
|
497
497
|
const NeonTime_vue_vue_type_style_index_0_scoped_805321b9_lang = "";
|
|
498
498
|
const NeonTime_vue_vue_type_style_index_1_lang = "";
|
|
499
|
-
const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
499
|
+
const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-805321b9"]]);
|
|
500
500
|
const CheckInModel = models$1.CheckInModel;
|
|
501
501
|
const useOperasionalStore = defineStore("neu:operasional", () => {
|
|
502
502
|
const isLoading = ref(false);
|
|
503
503
|
const staff = ref(null);
|
|
504
|
+
const accesses = ref([]);
|
|
504
505
|
return {
|
|
505
506
|
isLoading,
|
|
506
507
|
staff,
|
|
508
|
+
accesses,
|
|
507
509
|
setStaff
|
|
508
510
|
};
|
|
509
511
|
function setStaff(data) {
|
|
@@ -575,11 +577,21 @@ function withOperasional() {
|
|
|
575
577
|
const authStore = useAuthStore();
|
|
576
578
|
const { userId } = storeToRefs(authStore);
|
|
577
579
|
const store = useOperasionalStore();
|
|
578
|
-
const { isLoading, staff } = storeToRefs(store);
|
|
580
|
+
const { isLoading, staff, accesses } = storeToRefs(store);
|
|
581
|
+
const supervisedStaffIds = computed(() => {
|
|
582
|
+
return accesses.value.reduce(
|
|
583
|
+
(ids, access) => {
|
|
584
|
+
return ids.concat(access.supervisedStaffIds || []);
|
|
585
|
+
},
|
|
586
|
+
[]
|
|
587
|
+
);
|
|
588
|
+
});
|
|
579
589
|
const { client } = useClientHandle();
|
|
580
590
|
const context = {
|
|
581
591
|
isLoading,
|
|
582
592
|
staff,
|
|
593
|
+
accesses,
|
|
594
|
+
supervisedStaffIds,
|
|
583
595
|
setStaff: store.setStaff,
|
|
584
596
|
getStaff,
|
|
585
597
|
init
|
|
@@ -606,7 +618,11 @@ function withOperasional() {
|
|
|
606
618
|
userId: 1,
|
|
607
619
|
branch: { id: 1, name: 1 },
|
|
608
620
|
branches: { id: 1, name: 1 },
|
|
609
|
-
note: 1
|
|
621
|
+
note: 1,
|
|
622
|
+
superviseStaffProgressAccesses: {
|
|
623
|
+
id: 1,
|
|
624
|
+
supervisedStaffIds: 1
|
|
625
|
+
}
|
|
610
626
|
}),
|
|
611
627
|
{
|
|
612
628
|
filter: { userId: userId.value },
|
|
@@ -617,16 +633,18 @@ function withOperasional() {
|
|
|
617
633
|
).toPromise();
|
|
618
634
|
const wrapper = (_a = resp.data) == null ? void 0 : _a[StaffModel$1.plural];
|
|
619
635
|
const items = (wrapper == null ? void 0 : wrapper.items) || [];
|
|
620
|
-
|
|
636
|
+
const _staff = items[0];
|
|
637
|
+
staff.value = _staff;
|
|
638
|
+
accesses.value = _staff.superviseStaffProgressAccesses || [];
|
|
621
639
|
}
|
|
622
640
|
}
|
|
623
641
|
const bus = mitt();
|
|
624
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
625
|
-
const _hoisted_1$
|
|
626
|
-
const _hoisted_2$
|
|
627
|
-
const _hoisted_3$
|
|
628
|
-
const _hoisted_4$
|
|
629
|
-
const _hoisted_5$
|
|
642
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-8637aebc"), n = n(), popScopeId(), n);
|
|
643
|
+
const _hoisted_1$m = { id: "view-checkIns" };
|
|
644
|
+
const _hoisted_2$f = { class: "summary" };
|
|
645
|
+
const _hoisted_3$7 = { class: "wrapper" };
|
|
646
|
+
const _hoisted_4$5 = { class: "header" };
|
|
647
|
+
const _hoisted_5$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode(
|
|
630
648
|
"div",
|
|
631
649
|
{ class: "start" },
|
|
632
650
|
[
|
|
@@ -636,8 +654,8 @@ const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
|
|
|
636
654
|
-1
|
|
637
655
|
/* HOISTED */
|
|
638
656
|
));
|
|
639
|
-
const _hoisted_6$
|
|
640
|
-
const _sfc_main$
|
|
657
|
+
const _hoisted_6$3 = { class: "end" };
|
|
658
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
641
659
|
...{
|
|
642
660
|
name: "CheckInPresenceCollection"
|
|
643
661
|
},
|
|
@@ -737,6 +755,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
737
755
|
id.value = await checkInStaff(data, type.value, (_a = staff.value) == null ? void 0 : _a.id);
|
|
738
756
|
}
|
|
739
757
|
async function checkInStaff(qrKey, type2, staffId) {
|
|
758
|
+
var _a;
|
|
740
759
|
const toastId = "neu:personalia:staff:checkIn";
|
|
741
760
|
let checkInId;
|
|
742
761
|
console.log("bangunan...", qrKey);
|
|
@@ -747,7 +766,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
747
766
|
userId: userId.value,
|
|
748
767
|
staffId,
|
|
749
768
|
key: qrKey,
|
|
750
|
-
type: type2
|
|
769
|
+
type: type2,
|
|
770
|
+
branchId: (_a = staff.value) == null ? void 0 : _a.branchId
|
|
751
771
|
}
|
|
752
772
|
}).toPromise();
|
|
753
773
|
const data = resp.data.executeCheckIn.output;
|
|
@@ -792,14 +812,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
792
812
|
return (_ctx, _cache) => {
|
|
793
813
|
const _component_CheckInSingleExternalView = resolveComponent("CheckInSingleExternalView");
|
|
794
814
|
const _component_CheckInCollection = resolveComponent("CheckInCollection");
|
|
795
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
815
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
796
816
|
createVNode(unref(OfficeContent), {
|
|
797
817
|
icon: "barcode-read",
|
|
798
818
|
title: "Presensi",
|
|
799
819
|
"is-expanded": ""
|
|
800
820
|
}, {
|
|
801
821
|
"header-detail": withCtx(() => [
|
|
802
|
-
createElementVNode("div", _hoisted_2$
|
|
822
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
803
823
|
createVNode(unref(NeonSlider), {
|
|
804
824
|
"per-view": 2,
|
|
805
825
|
gap: 16,
|
|
@@ -947,7 +967,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
947
967
|
])
|
|
948
968
|
]),
|
|
949
969
|
default: withCtx(() => [
|
|
950
|
-
createElementVNode("div", _hoisted_3$
|
|
970
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
951
971
|
createVNode(unref(NeonCollectionContext), {
|
|
952
972
|
definition: "neu:tempat:checkIn",
|
|
953
973
|
scope: "_checkIns",
|
|
@@ -962,9 +982,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
962
982
|
"is-main": ""
|
|
963
983
|
}, {
|
|
964
984
|
default: withCtx(() => [
|
|
965
|
-
createElementVNode("div", _hoisted_4$
|
|
966
|
-
_hoisted_5$
|
|
967
|
-
createElementVNode("div", _hoisted_6$
|
|
985
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
986
|
+
_hoisted_5$4,
|
|
987
|
+
createElementVNode("div", _hoisted_6$3, [
|
|
968
988
|
createVNode(unref(OfficeCollectionQuery), { displays: ["table"] }, {
|
|
969
989
|
default: withCtx(() => [
|
|
970
990
|
createVNode(unref(OfficeCollectionOperation), { "is-main": "" })
|
|
@@ -989,10 +1009,10 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
989
1009
|
};
|
|
990
1010
|
}
|
|
991
1011
|
});
|
|
992
|
-
const
|
|
993
|
-
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
994
|
-
const _hoisted_1$
|
|
995
|
-
const _sfc_main$
|
|
1012
|
+
const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_8637aebc_lang = "";
|
|
1013
|
+
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-8637aebc"]]);
|
|
1014
|
+
const _hoisted_1$l = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1015
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
996
1016
|
__name: "CheckInSingle",
|
|
997
1017
|
setup(__props) {
|
|
998
1018
|
const {
|
|
@@ -1050,7 +1070,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1050
1070
|
field: unref(fields).building,
|
|
1051
1071
|
"is-disabled": ""
|
|
1052
1072
|
}, null, 8, ["modelValue", "field"]),
|
|
1053
|
-
createElementVNode("div", _hoisted_1$
|
|
1073
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
1054
1074
|
createVNode(unref(NeonField), mergeProps({
|
|
1055
1075
|
modelValue: unref(values).type,
|
|
1056
1076
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
|
|
@@ -1090,9 +1110,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1090
1110
|
}
|
|
1091
1111
|
});
|
|
1092
1112
|
const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
|
|
1093
|
-
const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1094
|
-
const _hoisted_1$
|
|
1095
|
-
const _sfc_main$
|
|
1113
|
+
const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-2e2803fb"]]);
|
|
1114
|
+
const _hoisted_1$k = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1115
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
1096
1116
|
__name: "CheckInExternal",
|
|
1097
1117
|
setup(__props) {
|
|
1098
1118
|
const {
|
|
@@ -1157,15 +1177,16 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
1157
1177
|
modelValue: unref(values),
|
|
1158
1178
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
|
|
1159
1179
|
field: unref(fields).building,
|
|
1160
|
-
"is-disabled": unref(values).type === "checkin" || unref(values).type === "checkout"
|
|
1180
|
+
"is-disabled": unref(values).type === "checkin" || unref(values).type === "checkout" || unref(values).type === "out"
|
|
1161
1181
|
}, null, 8, ["modelValue", "field", "is-disabled"])) : createCommentVNode("v-if", true),
|
|
1162
|
-
createElementVNode("div", _hoisted_1$
|
|
1182
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
1163
1183
|
createVNode(unref(NeonField), mergeProps({
|
|
1164
1184
|
modelValue: unref(values).type,
|
|
1165
1185
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
|
|
1166
1186
|
}, unref(fields).type, {
|
|
1167
|
-
"is-disabled":
|
|
1187
|
+
"is-disabled": unref(values).type === "checkin" || unref(values).type === "checkout" || unref(values).type === "out" || unref(values).type === "checkpoint"
|
|
1168
1188
|
}), null, 16, ["modelValue", "is-disabled"]),
|
|
1189
|
+
createCommentVNode(" !permit.isAny(['neu:cabangOperasional', 'neu:admin']) "),
|
|
1169
1190
|
createVNode(unref(NeonField), mergeProps({
|
|
1170
1191
|
modelValue: unref(values).checkInAt,
|
|
1171
1192
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).checkInAt = $event)
|
|
@@ -1204,17 +1225,17 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
1204
1225
|
};
|
|
1205
1226
|
}
|
|
1206
1227
|
});
|
|
1207
|
-
const
|
|
1208
|
-
const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1228
|
+
const CheckInExternal_vue_vue_type_style_index_0_scoped_a269bce2_lang = "";
|
|
1229
|
+
const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-a269bce2"]]);
|
|
1209
1230
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-d23b6de5"), n = n(), popScopeId(), n);
|
|
1210
|
-
const _hoisted_1$
|
|
1231
|
+
const _hoisted_1$j = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
|
|
1211
1232
|
"h4",
|
|
1212
1233
|
{ align: "center" },
|
|
1213
1234
|
"Aktifkan kamera untuk scan QR Code",
|
|
1214
1235
|
-1
|
|
1215
1236
|
/* HOISTED */
|
|
1216
1237
|
));
|
|
1217
|
-
const _hoisted_2$
|
|
1238
|
+
const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
|
|
1218
1239
|
"p",
|
|
1219
1240
|
{ align: "center" },
|
|
1220
1241
|
[
|
|
@@ -1225,7 +1246,7 @@ const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
|
|
|
1225
1246
|
-1
|
|
1226
1247
|
/* HOISTED */
|
|
1227
1248
|
));
|
|
1228
|
-
const _sfc_main$
|
|
1249
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
1229
1250
|
__name: "CheckInAccess",
|
|
1230
1251
|
emits: ["close"],
|
|
1231
1252
|
setup(__props) {
|
|
@@ -1250,8 +1271,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
1250
1271
|
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
1251
1272
|
}, {
|
|
1252
1273
|
default: withCtx(() => [
|
|
1253
|
-
_hoisted_1$
|
|
1254
|
-
_hoisted_2$
|
|
1274
|
+
_hoisted_1$j,
|
|
1275
|
+
_hoisted_2$e,
|
|
1255
1276
|
createVNode(unref(NeonButton), {
|
|
1256
1277
|
"is-full": "",
|
|
1257
1278
|
size: "md",
|
|
@@ -1278,9 +1299,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
1278
1299
|
}
|
|
1279
1300
|
});
|
|
1280
1301
|
const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
|
|
1281
|
-
const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1282
|
-
const _hoisted_1$
|
|
1283
|
-
const _sfc_main$
|
|
1302
|
+
const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-d23b6de5"]]);
|
|
1303
|
+
const _hoisted_1$i = { class: "buttons" };
|
|
1304
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
1284
1305
|
__name: "CheckInScanError",
|
|
1285
1306
|
setup(__props) {
|
|
1286
1307
|
const attendanceStore = useAttendanceStore();
|
|
@@ -1293,7 +1314,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
1293
1314
|
default: withCtx(() => [
|
|
1294
1315
|
createVNode(unref(NeonSheet), null, {
|
|
1295
1316
|
footer: withCtx(() => [
|
|
1296
|
-
createElementVNode("div", _hoisted_1$
|
|
1317
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
1297
1318
|
createVNode(unref(NeonButton), {
|
|
1298
1319
|
"is-full": "",
|
|
1299
1320
|
"is-rounded": "",
|
|
@@ -1328,23 +1349,23 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
1328
1349
|
}
|
|
1329
1350
|
});
|
|
1330
1351
|
const _withScopeId = (n) => (pushScopeId("data-v-ef426ef3"), n = n(), popScopeId(), n);
|
|
1331
|
-
const _hoisted_1$
|
|
1352
|
+
const _hoisted_1$h = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
1332
1353
|
"div",
|
|
1333
1354
|
{ class: "invalid-message" },
|
|
1334
1355
|
"Invalid Code!",
|
|
1335
1356
|
-1
|
|
1336
1357
|
/* HOISTED */
|
|
1337
1358
|
));
|
|
1338
|
-
const _hoisted_2$
|
|
1359
|
+
const _hoisted_2$d = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
1339
1360
|
"div",
|
|
1340
1361
|
null,
|
|
1341
1362
|
null,
|
|
1342
1363
|
-1
|
|
1343
1364
|
/* HOISTED */
|
|
1344
1365
|
));
|
|
1345
|
-
const _hoisted_3$
|
|
1346
|
-
const _hoisted_4$
|
|
1347
|
-
const _sfc_main$
|
|
1366
|
+
const _hoisted_3$6 = ["onClick"];
|
|
1367
|
+
const _hoisted_4$4 = { class: "mr-2 text-sm" };
|
|
1368
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
1348
1369
|
__name: "CheckInScanner",
|
|
1349
1370
|
emits: ["start", "stop", "scanned", "close"],
|
|
1350
1371
|
setup(__props, { emit }) {
|
|
@@ -1489,15 +1510,15 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
1489
1510
|
class: "inner",
|
|
1490
1511
|
onClick: switchCamera
|
|
1491
1512
|
}, [
|
|
1492
|
-
_hoisted_1$
|
|
1493
|
-
_hoisted_2$
|
|
1513
|
+
_hoisted_1$h,
|
|
1514
|
+
_hoisted_2$d,
|
|
1494
1515
|
createElementVNode("div", {
|
|
1495
1516
|
class: "button-switch",
|
|
1496
1517
|
onClick: withModifiers(switchCamera, ["stop"])
|
|
1497
1518
|
}, [
|
|
1498
1519
|
createElementVNode(
|
|
1499
1520
|
"div",
|
|
1500
|
-
_hoisted_4$
|
|
1521
|
+
_hoisted_4$4,
|
|
1501
1522
|
toDisplayString(currentCamera.value),
|
|
1502
1523
|
1
|
|
1503
1524
|
/* TEXT */
|
|
@@ -1508,7 +1529,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
1508
1529
|
size: "sm",
|
|
1509
1530
|
"is-disabled": !canSwitch.value
|
|
1510
1531
|
}, null, 8, ["is-disabled"])
|
|
1511
|
-
], 8, _hoisted_3$
|
|
1532
|
+
], 8, _hoisted_3$6)
|
|
1512
1533
|
])
|
|
1513
1534
|
],
|
|
1514
1535
|
2
|
|
@@ -1526,15 +1547,15 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
1526
1547
|
}
|
|
1527
1548
|
});
|
|
1528
1549
|
const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
|
|
1529
|
-
const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1530
|
-
const _hoisted_1$
|
|
1550
|
+
const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-ef426ef3"]]);
|
|
1551
|
+
const _hoisted_1$g = /* @__PURE__ */ createElementVNode(
|
|
1531
1552
|
"h3",
|
|
1532
1553
|
{ align: "center" },
|
|
1533
1554
|
"Presensi Berhasil!",
|
|
1534
1555
|
-1
|
|
1535
1556
|
/* HOISTED */
|
|
1536
1557
|
);
|
|
1537
|
-
const _sfc_main$
|
|
1558
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
1538
1559
|
__name: "CheckInScanSuccess",
|
|
1539
1560
|
emits: ["close"],
|
|
1540
1561
|
setup(__props) {
|
|
@@ -1554,7 +1575,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
1554
1575
|
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
1555
1576
|
}, {
|
|
1556
1577
|
default: withCtx(() => [
|
|
1557
|
-
_hoisted_1$
|
|
1578
|
+
_hoisted_1$g
|
|
1558
1579
|
]),
|
|
1559
1580
|
_: 1
|
|
1560
1581
|
/* STABLE */
|
|
@@ -1566,7 +1587,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
1566
1587
|
};
|
|
1567
1588
|
}
|
|
1568
1589
|
});
|
|
1569
|
-
const _sfc_main$
|
|
1590
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
1570
1591
|
...{
|
|
1571
1592
|
name: "CheckInCollection"
|
|
1572
1593
|
},
|
|
@@ -1584,8 +1605,124 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1584
1605
|
};
|
|
1585
1606
|
}
|
|
1586
1607
|
});
|
|
1608
|
+
const _hoisted_1$f = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1609
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
1610
|
+
__name: "CheckInSupervisor",
|
|
1611
|
+
setup(__props) {
|
|
1612
|
+
const {
|
|
1613
|
+
fields,
|
|
1614
|
+
id,
|
|
1615
|
+
initialValues,
|
|
1616
|
+
values,
|
|
1617
|
+
isLoading,
|
|
1618
|
+
isChanged,
|
|
1619
|
+
isReady,
|
|
1620
|
+
isMain,
|
|
1621
|
+
isNew,
|
|
1622
|
+
saveOne,
|
|
1623
|
+
discardChanges,
|
|
1624
|
+
getOne
|
|
1625
|
+
} = useSingle();
|
|
1626
|
+
const route = useRoute();
|
|
1627
|
+
const permit = usePermit();
|
|
1628
|
+
const { staff } = useOperasional();
|
|
1629
|
+
const isOperasional = computed(() => {
|
|
1630
|
+
var _a;
|
|
1631
|
+
return (_a = route.name) == null ? void 0 : _a.includes("rapor");
|
|
1632
|
+
});
|
|
1633
|
+
onMounted(() => {
|
|
1634
|
+
var _a, _b, _c;
|
|
1635
|
+
console.log("idnya?", id.value);
|
|
1636
|
+
if (id.value === "new" && isOperasional) {
|
|
1637
|
+
values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
|
|
1638
|
+
values.value.staff = {
|
|
1639
|
+
id: (_b = staff.value) == null ? void 0 : _b.id,
|
|
1640
|
+
display: (_c = staff.value) == null ? void 0 : _c.display
|
|
1641
|
+
};
|
|
1642
|
+
values.value.checkInAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
1643
|
+
values.value.type = "checkpoint";
|
|
1644
|
+
} else {
|
|
1645
|
+
values.value.checkInAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
1646
|
+
}
|
|
1647
|
+
});
|
|
1648
|
+
return (_ctx, _cache) => {
|
|
1649
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-checkIn-single" }, {
|
|
1650
|
+
default: withCtx(() => [
|
|
1651
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
1652
|
+
default: withCtx(() => [
|
|
1653
|
+
createVNode(unref(OfficeTab), {
|
|
1654
|
+
handle: "info",
|
|
1655
|
+
icon: "circle-info",
|
|
1656
|
+
title: "Info"
|
|
1657
|
+
}, {
|
|
1658
|
+
default: withCtx(() => [
|
|
1659
|
+
createVNode(unref(NeonForm), {
|
|
1660
|
+
handle: "info",
|
|
1661
|
+
"initial-values": unref(initialValues),
|
|
1662
|
+
"is-loading": unref(isLoading),
|
|
1663
|
+
"is-changed": unref(isChanged),
|
|
1664
|
+
"use-unsaved": "",
|
|
1665
|
+
onCancel: unref(discardChanges),
|
|
1666
|
+
onSubmit: unref(saveOne)
|
|
1667
|
+
}, {
|
|
1668
|
+
default: withCtx(() => [
|
|
1669
|
+
unref(values).type === "in" || unref(values).type === "out" || unref(values).type === "checkin" || unref(values).type === "checkout" ? (openBlock(), createBlock(unref(OfficeRelation), {
|
|
1670
|
+
key: 0,
|
|
1671
|
+
modelValue: unref(values),
|
|
1672
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
|
|
1673
|
+
field: unref(fields).building,
|
|
1674
|
+
"is-disabled": unref(values).type === "checkin" || unref(values).type === "checkout" || unref(values).type === "out"
|
|
1675
|
+
}, null, 8, ["modelValue", "field", "is-disabled"])) : createCommentVNode("v-if", true),
|
|
1676
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
1677
|
+
createVNode(unref(NeonField), mergeProps({
|
|
1678
|
+
modelValue: unref(values).type,
|
|
1679
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
|
|
1680
|
+
}, unref(fields).type, {
|
|
1681
|
+
"is-disabled": unref(values).type === "checkin" || unref(values).type === "checkout" || unref(values).type === "out" || unref(values).type === "checkpoint"
|
|
1682
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
1683
|
+
createCommentVNode(" !permit.isAny(['neu:cabangOperasional', 'neu:admin']) "),
|
|
1684
|
+
createVNode(unref(NeonField), mergeProps({
|
|
1685
|
+
modelValue: unref(values).checkInAt,
|
|
1686
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).checkInAt = $event)
|
|
1687
|
+
}, unref(fields).checkInAt, { "is-disabled": "" }), null, 16, ["modelValue"])
|
|
1688
|
+
]),
|
|
1689
|
+
createVNode(unref(OfficeRelation), {
|
|
1690
|
+
modelValue: unref(values),
|
|
1691
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
1692
|
+
field: unref(fields).staff,
|
|
1693
|
+
"is-disabled": !unref(permit).isAny([
|
|
1694
|
+
"neu:cabangOperasional",
|
|
1695
|
+
"neu:admin",
|
|
1696
|
+
"neu:karyawan"
|
|
1697
|
+
])
|
|
1698
|
+
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
1699
|
+
createVNode(unref(NeonField), mergeProps({
|
|
1700
|
+
modelValue: unref(values).note,
|
|
1701
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).note = $event)
|
|
1702
|
+
}, unref(fields).note), null, 16, ["modelValue"])
|
|
1703
|
+
]),
|
|
1704
|
+
_: 1
|
|
1705
|
+
/* STABLE */
|
|
1706
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
1707
|
+
]),
|
|
1708
|
+
_: 1
|
|
1709
|
+
/* STABLE */
|
|
1710
|
+
})
|
|
1711
|
+
]),
|
|
1712
|
+
_: 1
|
|
1713
|
+
/* STABLE */
|
|
1714
|
+
}, 8, ["use-url"])
|
|
1715
|
+
]),
|
|
1716
|
+
_: 1
|
|
1717
|
+
/* STABLE */
|
|
1718
|
+
});
|
|
1719
|
+
};
|
|
1720
|
+
}
|
|
1721
|
+
});
|
|
1722
|
+
const CheckInSupervisor_vue_vue_type_style_index_0_scoped_235231fa_lang = "";
|
|
1723
|
+
const CheckInSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-235231fa"]]);
|
|
1587
1724
|
const StaffModel = models$2.StaffModel;
|
|
1588
|
-
const _sfc_main$
|
|
1725
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
1589
1726
|
...{
|
|
1590
1727
|
name: "StaffCollection"
|
|
1591
1728
|
},
|
|
@@ -1603,9 +1740,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
1603
1740
|
};
|
|
1604
1741
|
}
|
|
1605
1742
|
});
|
|
1606
|
-
const _hoisted_1$
|
|
1607
|
-
const _hoisted_2$
|
|
1608
|
-
const _sfc_main$
|
|
1743
|
+
const _hoisted_1$e = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
|
|
1744
|
+
const _hoisted_2$c = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1745
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
1609
1746
|
__name: "StaffSingle",
|
|
1610
1747
|
setup(__props) {
|
|
1611
1748
|
const {
|
|
@@ -1642,7 +1779,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1642
1779
|
onSubmit: unref(saveOne)
|
|
1643
1780
|
}, {
|
|
1644
1781
|
default: withCtx(() => [
|
|
1645
|
-
createElementVNode("div", _hoisted_1$
|
|
1782
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
1646
1783
|
createVNode(unref(NeonField), mergeProps({
|
|
1647
1784
|
modelValue: unref(values).name,
|
|
1648
1785
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
|
|
@@ -1652,7 +1789,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1652
1789
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).nik = $event)
|
|
1653
1790
|
}, unref(fields).nik), null, 16, ["modelValue"])
|
|
1654
1791
|
]),
|
|
1655
|
-
createElementVNode("div", _hoisted_2$
|
|
1792
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
1656
1793
|
createVNode(unref(NeonField), mergeProps({
|
|
1657
1794
|
modelValue: unref(values).birthPlace,
|
|
1658
1795
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).birthPlace = $event)
|
|
@@ -1685,7 +1822,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1685
1822
|
title: "Identitas"
|
|
1686
1823
|
}, {
|
|
1687
1824
|
default: withCtx(() => [
|
|
1688
|
-
createVNode(unref(_sfc_main$
|
|
1825
|
+
createVNode(unref(_sfc_main$N))
|
|
1689
1826
|
]),
|
|
1690
1827
|
_: 1
|
|
1691
1828
|
/* STABLE */
|
|
@@ -1756,10 +1893,10 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1756
1893
|
}
|
|
1757
1894
|
});
|
|
1758
1895
|
const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
|
|
1759
|
-
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1760
|
-
const _hoisted_1$
|
|
1761
|
-
const _hoisted_2$
|
|
1762
|
-
const _sfc_main$
|
|
1896
|
+
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-0cf4cd99"]]);
|
|
1897
|
+
const _hoisted_1$d = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
|
|
1898
|
+
const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1899
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
1763
1900
|
__name: "StaffOperasional",
|
|
1764
1901
|
setup(__props) {
|
|
1765
1902
|
const {
|
|
@@ -1796,7 +1933,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1796
1933
|
onSubmit: unref(saveOne)
|
|
1797
1934
|
}, {
|
|
1798
1935
|
default: withCtx(() => [
|
|
1799
|
-
createElementVNode("div", _hoisted_1$
|
|
1936
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
1800
1937
|
createVNode(unref(NeonField), mergeProps({
|
|
1801
1938
|
modelValue: unref(values).name,
|
|
1802
1939
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
|
|
@@ -1806,7 +1943,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1806
1943
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).nik = $event)
|
|
1807
1944
|
}, unref(fields).nik), null, 16, ["modelValue"])
|
|
1808
1945
|
]),
|
|
1809
|
-
createElementVNode("div", _hoisted_2$
|
|
1946
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
1810
1947
|
createVNode(unref(NeonField), mergeProps({
|
|
1811
1948
|
modelValue: unref(values).birthPlace,
|
|
1812
1949
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).birthPlace = $event)
|
|
@@ -1839,7 +1976,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1839
1976
|
title: "Identitas"
|
|
1840
1977
|
}, {
|
|
1841
1978
|
default: withCtx(() => [
|
|
1842
|
-
createVNode(unref(_sfc_main$
|
|
1979
|
+
createVNode(unref(_sfc_main$N))
|
|
1843
1980
|
]),
|
|
1844
1981
|
_: 1
|
|
1845
1982
|
/* STABLE */
|
|
@@ -1917,8 +2054,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1917
2054
|
}
|
|
1918
2055
|
});
|
|
1919
2056
|
const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
|
|
1920
|
-
const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1921
|
-
const _sfc_main$
|
|
2057
|
+
const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-c62cf70a"]]);
|
|
2058
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
1922
2059
|
__name: "StaffIdentity",
|
|
1923
2060
|
setup(__props) {
|
|
1924
2061
|
const { values, saveOne, executeOne, syncOne } = useSingle();
|
|
@@ -2003,6 +2140,24 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
2003
2140
|
{ id: "6309c3c2e64a1324b8663dab", name: "Karyawan" },
|
|
2004
2141
|
{ id: "646a42976af710fe3618af9a", name: "Pengawas Pengajuan" },
|
|
2005
2142
|
{ id: "646a43106af710fe3618afca", name: "Pengambil Keputusan" },
|
|
2143
|
+
// OPERASIONAL
|
|
2144
|
+
{
|
|
2145
|
+
id: "64a686ba3fe0bb481faa0f8b",
|
|
2146
|
+
name: "Pengelola SDM"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
id: "64a687823fe0bb481faa0fba",
|
|
2150
|
+
name: "Penanggungjawab Cabang"
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
id: "64a687b93fe0bb481faa0fd6",
|
|
2154
|
+
name: "Pengawas SDM"
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
id: "64a687ed3fe0bb481faa0ff2",
|
|
2158
|
+
name: "Pengelola Absensi"
|
|
2159
|
+
},
|
|
2160
|
+
// END OPERASIONAL
|
|
2006
2161
|
{ id: "63e1734b78ae4f8388b1b313", name: "Cabang Pendidikan" },
|
|
2007
2162
|
// { id: '6309c2aae64a1324b8663d96', name: 'Admin Pendidikan' },
|
|
2008
2163
|
{ id: "643f6c0bd760fc7b529d4a5d", name: "Pengelola Pengajar" },
|
|
@@ -2074,7 +2229,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
2074
2229
|
}
|
|
2075
2230
|
});
|
|
2076
2231
|
const SituationModel = models$2.SituationModel;
|
|
2077
|
-
const _sfc_main$
|
|
2232
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
2078
2233
|
...{ name: "SituationCollection" },
|
|
2079
2234
|
__name: "SituationCollection",
|
|
2080
2235
|
setup(__props) {
|
|
@@ -2090,7 +2245,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
2090
2245
|
};
|
|
2091
2246
|
}
|
|
2092
2247
|
});
|
|
2093
|
-
const _sfc_main$
|
|
2248
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
2094
2249
|
__name: "SituationSingle",
|
|
2095
2250
|
setup(__props) {
|
|
2096
2251
|
const {
|
|
@@ -2228,7 +2383,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
2228
2383
|
};
|
|
2229
2384
|
}
|
|
2230
2385
|
});
|
|
2231
|
-
const _sfc_main$
|
|
2386
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
2232
2387
|
__name: "SituationWork",
|
|
2233
2388
|
setup(__props) {
|
|
2234
2389
|
const {
|
|
@@ -2409,7 +2564,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
2409
2564
|
};
|
|
2410
2565
|
}
|
|
2411
2566
|
});
|
|
2412
|
-
const _sfc_main$
|
|
2567
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
2413
2568
|
...{ name: "SituationSupportive" },
|
|
2414
2569
|
__name: "SituationSupportive",
|
|
2415
2570
|
setup(__props) {
|
|
@@ -2548,7 +2703,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2548
2703
|
}
|
|
2549
2704
|
});
|
|
2550
2705
|
const SituationTypeModel = models$2.SituationTypeModel;
|
|
2551
|
-
const _sfc_main$
|
|
2706
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
2552
2707
|
...{ name: "SituationTypeCollection" },
|
|
2553
2708
|
__name: "SituationTypeCollection",
|
|
2554
2709
|
setup(__props) {
|
|
@@ -2564,7 +2719,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2564
2719
|
};
|
|
2565
2720
|
}
|
|
2566
2721
|
});
|
|
2567
|
-
const _sfc_main$
|
|
2722
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
2568
2723
|
__name: "SituationTypeSingle",
|
|
2569
2724
|
setup(__props) {
|
|
2570
2725
|
const {
|
|
@@ -2637,9 +2792,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
2637
2792
|
}
|
|
2638
2793
|
});
|
|
2639
2794
|
const TaskModel = models$2.TaskModel;
|
|
2640
|
-
const _hoisted_1$
|
|
2641
|
-
const _hoisted_2$
|
|
2642
|
-
const _sfc_main$
|
|
2795
|
+
const _hoisted_1$c = { key: 0 };
|
|
2796
|
+
const _hoisted_2$a = { key: 1 };
|
|
2797
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
2643
2798
|
...{ name: "TaskWorkButton" },
|
|
2644
2799
|
__name: "TaskWorkButton",
|
|
2645
2800
|
setup(__props) {
|
|
@@ -2732,7 +2887,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
2732
2887
|
Fragment,
|
|
2733
2888
|
null,
|
|
2734
2889
|
[
|
|
2735
|
-
onHandleTaskWork.value.onStartTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2890
|
+
onHandleTaskWork.value.onStartTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
2736
2891
|
createVNode(unref(NeonButton), {
|
|
2737
2892
|
"is-rounded": true,
|
|
2738
2893
|
size: "sm",
|
|
@@ -2742,7 +2897,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
2742
2897
|
onClick: onClickHandlerStartTaskWork
|
|
2743
2898
|
})
|
|
2744
2899
|
])) : createCommentVNode("v-if", true),
|
|
2745
|
-
onHandleTaskWork.value.onFinishedTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2900
|
+
onHandleTaskWork.value.onFinishedTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
2746
2901
|
createVNode(unref(NeonButton), {
|
|
2747
2902
|
"is-rounded": true,
|
|
2748
2903
|
size: "sm",
|
|
@@ -2760,7 +2915,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
2760
2915
|
};
|
|
2761
2916
|
}
|
|
2762
2917
|
});
|
|
2763
|
-
const _sfc_main$
|
|
2918
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
2764
2919
|
...{ name: "TaskCollection" },
|
|
2765
2920
|
__name: "TaskCollection",
|
|
2766
2921
|
setup(__props) {
|
|
@@ -2776,7 +2931,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
2776
2931
|
};
|
|
2777
2932
|
}
|
|
2778
2933
|
});
|
|
2779
|
-
const _sfc_main$
|
|
2934
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
2780
2935
|
__name: "TaskSingle",
|
|
2781
2936
|
setup(__props) {
|
|
2782
2937
|
const {
|
|
@@ -2999,7 +3154,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
2999
3154
|
};
|
|
3000
3155
|
}
|
|
3001
3156
|
});
|
|
3002
|
-
const _sfc_main$
|
|
3157
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
3003
3158
|
__name: "TaskWork",
|
|
3004
3159
|
setup(__props) {
|
|
3005
3160
|
const {
|
|
@@ -3222,7 +3377,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
3222
3377
|
}
|
|
3223
3378
|
});
|
|
3224
3379
|
const SubmissionModel = models$2.SubmissionModel;
|
|
3225
|
-
const _sfc_main$
|
|
3380
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
3226
3381
|
...{
|
|
3227
3382
|
name: "SubmissionCollection"
|
|
3228
3383
|
},
|
|
@@ -3240,7 +3395,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3240
3395
|
};
|
|
3241
3396
|
}
|
|
3242
3397
|
});
|
|
3243
|
-
const _sfc_main$
|
|
3398
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
3244
3399
|
__name: "SubmissionSingle",
|
|
3245
3400
|
setup(__props) {
|
|
3246
3401
|
const {
|
|
@@ -3438,8 +3593,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
3438
3593
|
}
|
|
3439
3594
|
});
|
|
3440
3595
|
const SubmissionSingle_vue_vue_type_style_index_0_scoped_db121b49_lang = "";
|
|
3441
|
-
const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3442
|
-
const _sfc_main$
|
|
3596
|
+
const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-db121b49"]]);
|
|
3597
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
3443
3598
|
__name: "SubmissionStaff",
|
|
3444
3599
|
setup(__props) {
|
|
3445
3600
|
var _a;
|
|
@@ -3723,8 +3878,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
3723
3878
|
}
|
|
3724
3879
|
});
|
|
3725
3880
|
const SubmissionStaff_vue_vue_type_style_index_0_scoped_c971a3c0_lang = "";
|
|
3726
|
-
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3727
|
-
const _sfc_main$
|
|
3881
|
+
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-c971a3c0"]]);
|
|
3882
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
3728
3883
|
__name: "SubmissionFollowUp",
|
|
3729
3884
|
setup(__props) {
|
|
3730
3885
|
const {
|
|
@@ -3916,13 +4071,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
3916
4071
|
}
|
|
3917
4072
|
});
|
|
3918
4073
|
const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_890dfdf2_lang = "";
|
|
3919
|
-
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3920
|
-
const _hoisted_1$
|
|
3921
|
-
const _hoisted_2$
|
|
3922
|
-
const _hoisted_3$
|
|
3923
|
-
const _hoisted_4$
|
|
3924
|
-
const _hoisted_5$
|
|
3925
|
-
const _sfc_main$
|
|
4074
|
+
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-890dfdf2"]]);
|
|
4075
|
+
const _hoisted_1$b = { class: "flex flex-wrap" };
|
|
4076
|
+
const _hoisted_2$9 = { class: "mt-2" };
|
|
4077
|
+
const _hoisted_3$5 = { class: "mt-2" };
|
|
4078
|
+
const _hoisted_4$3 = { class: "mt-2" };
|
|
4079
|
+
const _hoisted_5$3 = { class: "mt-2" };
|
|
4080
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
3926
4081
|
__name: "SubmissionAudit",
|
|
3927
4082
|
setup(__props) {
|
|
3928
4083
|
var _a;
|
|
@@ -4026,8 +4181,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
4026
4181
|
onSubmit: unref(saveOne)
|
|
4027
4182
|
}, {
|
|
4028
4183
|
default: withCtx(() => [
|
|
4029
|
-
createElementVNode("div", _hoisted_1$
|
|
4030
|
-
createElementVNode("div", _hoisted_2$
|
|
4184
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
4185
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
4031
4186
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4032
4187
|
input: withCtx(() => [
|
|
4033
4188
|
createVNode(unref(NeonButton), {
|
|
@@ -4049,7 +4204,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
4049
4204
|
})) : createCommentVNode("v-if", true)
|
|
4050
4205
|
]),
|
|
4051
4206
|
createTextVNode(" "),
|
|
4052
|
-
createElementVNode("div", _hoisted_3$
|
|
4207
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
4053
4208
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4054
4209
|
input: withCtx(() => [
|
|
4055
4210
|
createVNode(unref(NeonButton), {
|
|
@@ -4071,7 +4226,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
4071
4226
|
})) : createCommentVNode("v-if", true)
|
|
4072
4227
|
]),
|
|
4073
4228
|
createTextVNode(" "),
|
|
4074
|
-
createElementVNode("div", _hoisted_4$
|
|
4229
|
+
createElementVNode("div", _hoisted_4$3, [
|
|
4075
4230
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4076
4231
|
input: withCtx(() => [
|
|
4077
4232
|
createVNode(unref(NeonButton), {
|
|
@@ -4093,7 +4248,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
4093
4248
|
})) : createCommentVNode("v-if", true)
|
|
4094
4249
|
]),
|
|
4095
4250
|
createTextVNode(" "),
|
|
4096
|
-
createElementVNode("div", _hoisted_5$
|
|
4251
|
+
createElementVNode("div", _hoisted_5$3, [
|
|
4097
4252
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4098
4253
|
input: withCtx(() => [
|
|
4099
4254
|
createVNode(unref(NeonButton), {
|
|
@@ -4294,7 +4449,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
4294
4449
|
}
|
|
4295
4450
|
}),
|
|
4296
4451
|
"is-ready": unref(isReady),
|
|
4297
|
-
columns: [
|
|
4452
|
+
columns: [
|
|
4453
|
+
"startedAt",
|
|
4454
|
+
"endedAt",
|
|
4455
|
+
"detail",
|
|
4456
|
+
"staffs",
|
|
4457
|
+
"virtualIsNotes",
|
|
4458
|
+
"accessStaffs"
|
|
4459
|
+
],
|
|
4298
4460
|
sorts: ["startedAt", "startedAt", "createdAt", "updatedAt"],
|
|
4299
4461
|
filters: ["staff"],
|
|
4300
4462
|
"initial-values": {
|
|
@@ -4318,12 +4480,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
4318
4480
|
};
|
|
4319
4481
|
}
|
|
4320
4482
|
});
|
|
4321
|
-
const
|
|
4322
|
-
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4323
|
-
const _hoisted_1$
|
|
4324
|
-
const _hoisted_2$
|
|
4325
|
-
const _hoisted_3$
|
|
4326
|
-
const _sfc_main$
|
|
4483
|
+
const SubmissionAudit_vue_vue_type_style_index_0_scoped_0478202c_lang = "";
|
|
4484
|
+
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-0478202c"]]);
|
|
4485
|
+
const _hoisted_1$a = { class: "flex flex-wrap" };
|
|
4486
|
+
const _hoisted_2$8 = { class: "mt-2" };
|
|
4487
|
+
const _hoisted_3$4 = { class: "mt-2" };
|
|
4488
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
4327
4489
|
__name: "SubmissionDecision",
|
|
4328
4490
|
setup(__props) {
|
|
4329
4491
|
var _a;
|
|
@@ -4427,8 +4589,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
4427
4589
|
onSubmit: unref(saveOne)
|
|
4428
4590
|
}, {
|
|
4429
4591
|
default: withCtx(() => [
|
|
4430
|
-
createElementVNode("div", _hoisted_1$
|
|
4431
|
-
createElementVNode("div", _hoisted_2$
|
|
4592
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
4593
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
4432
4594
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4433
4595
|
input: withCtx(() => {
|
|
4434
4596
|
var _a2, _b;
|
|
@@ -4453,7 +4615,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
4453
4615
|
})) : createCommentVNode("v-if", true)
|
|
4454
4616
|
]),
|
|
4455
4617
|
createTextVNode(" "),
|
|
4456
|
-
createElementVNode("div", _hoisted_3$
|
|
4618
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
4457
4619
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4458
4620
|
input: withCtx(() => {
|
|
4459
4621
|
var _a2, _b;
|
|
@@ -4659,7 +4821,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
4659
4821
|
}
|
|
4660
4822
|
}),
|
|
4661
4823
|
"is-ready": unref(isReady),
|
|
4662
|
-
columns: [
|
|
4824
|
+
columns: [
|
|
4825
|
+
"startedAt",
|
|
4826
|
+
"endedAt",
|
|
4827
|
+
"detail",
|
|
4828
|
+
"staffs",
|
|
4829
|
+
"virtualIsNotes",
|
|
4830
|
+
"accessStaffs"
|
|
4831
|
+
],
|
|
4663
4832
|
sorts: ["startedAt", "startedAt", "createdAt", "updatedAt"],
|
|
4664
4833
|
filters: ["staff"],
|
|
4665
4834
|
"initial-values": {
|
|
@@ -4683,12 +4852,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
4683
4852
|
};
|
|
4684
4853
|
}
|
|
4685
4854
|
});
|
|
4686
|
-
const
|
|
4687
|
-
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4688
|
-
const _hoisted_1$
|
|
4689
|
-
const _hoisted_2$
|
|
4690
|
-
const _hoisted_3$
|
|
4691
|
-
const _sfc_main$
|
|
4855
|
+
const SubmissionDecision_vue_vue_type_style_index_0_scoped_59b0701c_lang = "";
|
|
4856
|
+
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-59b0701c"]]);
|
|
4857
|
+
const _hoisted_1$9 = { class: "flex flex-wrap" };
|
|
4858
|
+
const _hoisted_2$7 = { class: "mt-2" };
|
|
4859
|
+
const _hoisted_3$3 = { class: "mt-2" };
|
|
4860
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
4692
4861
|
__name: "SubmissionWaitingDecision",
|
|
4693
4862
|
setup(__props) {
|
|
4694
4863
|
var _a;
|
|
@@ -4794,8 +4963,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
4794
4963
|
onSubmit: unref(saveOne)
|
|
4795
4964
|
}, {
|
|
4796
4965
|
default: withCtx(() => [
|
|
4797
|
-
createElementVNode("div", _hoisted_1$
|
|
4798
|
-
createElementVNode("div", _hoisted_2$
|
|
4966
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
4967
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
4799
4968
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4800
4969
|
input: withCtx(() => {
|
|
4801
4970
|
var _a2, _b;
|
|
@@ -4820,7 +4989,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
4820
4989
|
})) : createCommentVNode("v-if", true)
|
|
4821
4990
|
]),
|
|
4822
4991
|
createTextVNode(" "),
|
|
4823
|
-
createElementVNode("div", _hoisted_3$
|
|
4992
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
4824
4993
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4825
4994
|
input: withCtx(() => {
|
|
4826
4995
|
var _a2, _b;
|
|
@@ -5014,28 +5183,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
5014
5183
|
}
|
|
5015
5184
|
});
|
|
5016
5185
|
const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_1f81ee74_lang = "";
|
|
5017
|
-
const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5018
|
-
const
|
|
5019
|
-
|
|
5020
|
-
...{
|
|
5021
|
-
name: "SubmissionTypeCollection"
|
|
5022
|
-
},
|
|
5023
|
-
__name: "SubmissionTypeCollection",
|
|
5024
|
-
setup(__props) {
|
|
5025
|
-
useCollection();
|
|
5026
|
-
return (_ctx, _cache) => {
|
|
5027
|
-
return openBlock(), createBlock(unref(NeonCollection), { class: "neu-submission-type-collection" }, {
|
|
5028
|
-
default: withCtx(() => [
|
|
5029
|
-
createVNode(unref(OfficeCollectionTable))
|
|
5030
|
-
]),
|
|
5031
|
-
_: 1
|
|
5032
|
-
/* STABLE */
|
|
5033
|
-
});
|
|
5034
|
-
};
|
|
5035
|
-
}
|
|
5036
|
-
});
|
|
5037
|
-
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
5038
|
-
__name: "SubmissionTypeSingle",
|
|
5186
|
+
const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-1f81ee74"]]);
|
|
5187
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
5188
|
+
__name: "SubmissionSupervisor",
|
|
5039
5189
|
setup(__props) {
|
|
5040
5190
|
const {
|
|
5041
5191
|
fields,
|
|
@@ -5047,11 +5197,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
5047
5197
|
isReady,
|
|
5048
5198
|
isMain,
|
|
5049
5199
|
isNew,
|
|
5200
|
+
syncOne,
|
|
5050
5201
|
saveOne,
|
|
5051
|
-
discardChanges
|
|
5202
|
+
discardChanges,
|
|
5203
|
+
executeOne
|
|
5052
5204
|
} = useSingle();
|
|
5205
|
+
const appStore = useAppStore();
|
|
5206
|
+
const objectDef = computed(
|
|
5207
|
+
() => `neu:operasional:submission:${id.value}`
|
|
5208
|
+
);
|
|
5053
5209
|
return (_ctx, _cache) => {
|
|
5054
|
-
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-
|
|
5210
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-single" }, {
|
|
5055
5211
|
default: withCtx(() => [
|
|
5056
5212
|
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
5057
5213
|
default: withCtx(() => [
|
|
@@ -5072,20 +5228,226 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
5072
5228
|
}, {
|
|
5073
5229
|
default: withCtx(() => [
|
|
5074
5230
|
createVNode(unref(NeonField), mergeProps({
|
|
5075
|
-
modelValue: unref(values).
|
|
5076
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).
|
|
5077
|
-
}, unref(fields).
|
|
5078
|
-
createVNode(unref(
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5231
|
+
modelValue: unref(values).title,
|
|
5232
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).title = $event)
|
|
5233
|
+
}, unref(fields).title, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
5234
|
+
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
5235
|
+
default: withCtx(() => [
|
|
5236
|
+
createVNode(unref(OfficeRelation), {
|
|
5237
|
+
modelValue: unref(values),
|
|
5238
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5239
|
+
field: unref(fields).branches,
|
|
5240
|
+
"is-disabled": ""
|
|
5241
|
+
}, null, 8, ["modelValue", "field"]),
|
|
5242
|
+
createVNode(unref(OfficeRelation), {
|
|
5243
|
+
modelValue: unref(values),
|
|
5244
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5245
|
+
field: unref(fields).type,
|
|
5246
|
+
"is-disabled": ""
|
|
5247
|
+
}, null, 8, ["modelValue", "field"])
|
|
5248
|
+
]),
|
|
5249
|
+
_: 1
|
|
5250
|
+
/* STABLE */
|
|
5251
|
+
}),
|
|
5252
|
+
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
5253
|
+
default: withCtx(() => [
|
|
5254
|
+
createVNode(unref(OfficeRelation), {
|
|
5255
|
+
modelValue: unref(values),
|
|
5256
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5257
|
+
field: unref(fields).submissionStaffs,
|
|
5258
|
+
"is-disabled": ""
|
|
5259
|
+
}, null, 8, ["modelValue", "field"]),
|
|
5260
|
+
createVNode(unref(OfficeRelation), {
|
|
5261
|
+
modelValue: unref(values),
|
|
5262
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5263
|
+
field: unref(fields).raiseStaffs,
|
|
5264
|
+
"is-disabled": ""
|
|
5265
|
+
}, null, 8, ["modelValue", "field"])
|
|
5266
|
+
]),
|
|
5267
|
+
_: 1
|
|
5268
|
+
/* STABLE */
|
|
5269
|
+
}),
|
|
5270
|
+
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
5271
|
+
default: withCtx(() => [
|
|
5272
|
+
createVNode(unref(OfficeRelation), {
|
|
5273
|
+
modelValue: unref(values),
|
|
5274
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5275
|
+
field: unref(fields).decideStaffs,
|
|
5276
|
+
"is-disabled": ""
|
|
5277
|
+
}, null, 8, ["modelValue", "field"]),
|
|
5278
|
+
createVNode(unref(OfficeRelation), {
|
|
5279
|
+
modelValue: unref(values),
|
|
5280
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5281
|
+
field: unref(fields).followUpStaffs
|
|
5282
|
+
}, null, 8, ["modelValue", "field"])
|
|
5283
|
+
]),
|
|
5284
|
+
_: 1
|
|
5285
|
+
/* STABLE */
|
|
5286
|
+
}),
|
|
5287
|
+
createCommentVNode(' <NeonField\n v-model="values.specifications"\n v-bind="fields.specifications"\n is-disabled\n /> '),
|
|
5288
|
+
createVNode(unref(NeonField), mergeProps({
|
|
5289
|
+
modelValue: unref(values).updatedAt,
|
|
5290
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).updatedAt = $event)
|
|
5291
|
+
}, {
|
|
5292
|
+
handle: "updatedAt",
|
|
5293
|
+
name: "Tanggal Diupdate",
|
|
5294
|
+
type: "date",
|
|
5295
|
+
input: "date2",
|
|
5296
|
+
options: {
|
|
5297
|
+
note: "Tanggal pengajuan diupdate."
|
|
5298
|
+
}
|
|
5299
|
+
}, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
5300
|
+
createVNode(unref(NeonDivider), {
|
|
5301
|
+
"is-dashed": "",
|
|
5302
|
+
label: "Spesifikasi"
|
|
5303
|
+
}),
|
|
5304
|
+
createVNode(unref(NeonField), mergeProps({
|
|
5305
|
+
modelValue: unref(values).nominal,
|
|
5306
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).nominal = $event)
|
|
5307
|
+
}, unref(fields).nominal, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
5308
|
+
createVNode(unref(NeonField), mergeProps({
|
|
5309
|
+
modelValue: unref(values).workingHours,
|
|
5310
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).workingHours = $event)
|
|
5311
|
+
}, unref(fields).workingHours, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
5312
|
+
createVNode(unref(NeonDivider), {
|
|
5313
|
+
"is-dashed": "",
|
|
5314
|
+
label: "Keputusan"
|
|
5315
|
+
}),
|
|
5316
|
+
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
5317
|
+
default: withCtx(() => [
|
|
5318
|
+
createVNode(unref(OfficeRelation), {
|
|
5319
|
+
modelValue: unref(values),
|
|
5320
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5321
|
+
field: unref(fields).delayStaffs,
|
|
5322
|
+
"is-disabled": ""
|
|
5323
|
+
}, null, 8, ["modelValue", "field"]),
|
|
5324
|
+
createVNode(unref(OfficeRelation), {
|
|
5325
|
+
modelValue: unref(values),
|
|
5326
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5327
|
+
field: unref(fields).agreedStaffs,
|
|
5328
|
+
"is-disabled": ""
|
|
5329
|
+
}, null, 8, ["modelValue", "field"])
|
|
5330
|
+
]),
|
|
5331
|
+
_: 1
|
|
5332
|
+
/* STABLE */
|
|
5333
|
+
})
|
|
5334
|
+
]),
|
|
5335
|
+
_: 1
|
|
5336
|
+
/* STABLE */
|
|
5337
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
5338
|
+
]),
|
|
5339
|
+
_: 1
|
|
5340
|
+
/* STABLE */
|
|
5341
|
+
}),
|
|
5342
|
+
createCommentVNode(" DOKUMEN "),
|
|
5343
|
+
!unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
5344
|
+
key: 0,
|
|
5345
|
+
handle: "dokumen",
|
|
5346
|
+
icon: "circle-info",
|
|
5347
|
+
title: "Dokumen"
|
|
5348
|
+
}, {
|
|
5349
|
+
default: withCtx(({ isTouched }) => [
|
|
5350
|
+
createVNode(
|
|
5351
|
+
unref(CatatSketchPad),
|
|
5352
|
+
normalizeProps(guardReactiveProps({
|
|
5353
|
+
applicationId: unref(appStore).appId,
|
|
5354
|
+
object: `${objectDef.value}:office`,
|
|
5355
|
+
isReady: unref(isReady) && isTouched,
|
|
5356
|
+
isLoading: unref(isLoading),
|
|
5357
|
+
isReadonly: true
|
|
5358
|
+
})),
|
|
5359
|
+
null,
|
|
5360
|
+
16
|
|
5361
|
+
/* FULL_PROPS */
|
|
5362
|
+
)
|
|
5363
|
+
]),
|
|
5364
|
+
_: 1
|
|
5365
|
+
/* STABLE */
|
|
5366
|
+
})) : createCommentVNode("v-if", true)
|
|
5367
|
+
]),
|
|
5368
|
+
_: 1
|
|
5369
|
+
/* STABLE */
|
|
5370
|
+
}, 8, ["use-url"])
|
|
5371
|
+
]),
|
|
5372
|
+
_: 1
|
|
5373
|
+
/* STABLE */
|
|
5374
|
+
});
|
|
5375
|
+
};
|
|
5376
|
+
}
|
|
5377
|
+
});
|
|
5378
|
+
const SubmissionSupervisor_vue_vue_type_style_index_0_scoped_201be0ad_lang = "";
|
|
5379
|
+
const SubmissionSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-201be0ad"]]);
|
|
5380
|
+
const SubmissionTypeModel = models$2.SubmissionTypeModel;
|
|
5381
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
5382
|
+
...{
|
|
5383
|
+
name: "SubmissionTypeCollection"
|
|
5384
|
+
},
|
|
5385
|
+
__name: "SubmissionTypeCollection",
|
|
5386
|
+
setup(__props) {
|
|
5387
|
+
useCollection();
|
|
5388
|
+
return (_ctx, _cache) => {
|
|
5389
|
+
return openBlock(), createBlock(unref(NeonCollection), { class: "neu-submission-type-collection" }, {
|
|
5390
|
+
default: withCtx(() => [
|
|
5391
|
+
createVNode(unref(OfficeCollectionTable))
|
|
5392
|
+
]),
|
|
5393
|
+
_: 1
|
|
5394
|
+
/* STABLE */
|
|
5395
|
+
});
|
|
5396
|
+
};
|
|
5397
|
+
}
|
|
5398
|
+
});
|
|
5399
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
5400
|
+
__name: "SubmissionTypeSingle",
|
|
5401
|
+
setup(__props) {
|
|
5402
|
+
const {
|
|
5403
|
+
fields,
|
|
5404
|
+
id,
|
|
5405
|
+
initialValues,
|
|
5406
|
+
values,
|
|
5407
|
+
isLoading,
|
|
5408
|
+
isChanged,
|
|
5409
|
+
isReady,
|
|
5410
|
+
isMain,
|
|
5411
|
+
isNew,
|
|
5412
|
+
saveOne,
|
|
5413
|
+
discardChanges
|
|
5414
|
+
} = useSingle();
|
|
5415
|
+
return (_ctx, _cache) => {
|
|
5416
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-type-single" }, {
|
|
5417
|
+
default: withCtx(() => [
|
|
5418
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
5419
|
+
default: withCtx(() => [
|
|
5420
|
+
createVNode(unref(OfficeTab), {
|
|
5421
|
+
handle: "info",
|
|
5422
|
+
icon: "circle-info",
|
|
5423
|
+
title: "Info"
|
|
5424
|
+
}, {
|
|
5425
|
+
default: withCtx(() => [
|
|
5426
|
+
createVNode(unref(NeonForm), {
|
|
5427
|
+
handle: "info",
|
|
5428
|
+
"initial-values": unref(initialValues),
|
|
5429
|
+
"is-loading": unref(isLoading),
|
|
5430
|
+
"is-changed": unref(isChanged),
|
|
5431
|
+
"use-unsaved": "",
|
|
5432
|
+
onCancel: unref(discardChanges),
|
|
5433
|
+
onSubmit: unref(saveOne)
|
|
5434
|
+
}, {
|
|
5435
|
+
default: withCtx(() => [
|
|
5436
|
+
createVNode(unref(NeonField), mergeProps({
|
|
5437
|
+
modelValue: unref(values).name,
|
|
5438
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
|
|
5439
|
+
}, unref(fields).name), null, 16, ["modelValue"]),
|
|
5440
|
+
createVNode(unref(OfficeRelation), {
|
|
5441
|
+
modelValue: unref(values),
|
|
5442
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5443
|
+
field: unref(fields).branches
|
|
5444
|
+
}, null, 8, ["modelValue", "field"])
|
|
5445
|
+
]),
|
|
5446
|
+
_: 1
|
|
5447
|
+
/* STABLE */
|
|
5448
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
5449
|
+
]),
|
|
5450
|
+
_: 1
|
|
5089
5451
|
/* STABLE */
|
|
5090
5452
|
})
|
|
5091
5453
|
]),
|
|
@@ -5100,9 +5462,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
5100
5462
|
}
|
|
5101
5463
|
});
|
|
5102
5464
|
const SubmissionTypeSingle_vue_vue_type_style_index_0_scoped_2b7e18ba_lang = "";
|
|
5103
|
-
const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5465
|
+
const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-2b7e18ba"]]);
|
|
5104
5466
|
const ResponsibilityTypeModel = models$2.ResponsibilityTypeModel;
|
|
5105
|
-
const _sfc_main$
|
|
5467
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
5106
5468
|
...{
|
|
5107
5469
|
name: "ResponsibilityTypeCollection"
|
|
5108
5470
|
},
|
|
@@ -5120,7 +5482,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
5120
5482
|
};
|
|
5121
5483
|
}
|
|
5122
5484
|
});
|
|
5123
|
-
const _sfc_main$
|
|
5485
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
5124
5486
|
__name: "ResponsibilityTypeSingle",
|
|
5125
5487
|
setup(__props) {
|
|
5126
5488
|
const {
|
|
@@ -5186,9 +5548,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
5186
5548
|
}
|
|
5187
5549
|
});
|
|
5188
5550
|
const ResponsibilityTypeSingle_vue_vue_type_style_index_0_scoped_3df9fac1_lang = "";
|
|
5189
|
-
const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5551
|
+
const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-3df9fac1"]]);
|
|
5190
5552
|
const ResponsibilityModel = models$2.ResponsibilityModel;
|
|
5191
|
-
const _sfc_main$
|
|
5553
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
5192
5554
|
...{
|
|
5193
5555
|
name: "ResponsibilityCollection"
|
|
5194
5556
|
},
|
|
@@ -5206,7 +5568,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
5206
5568
|
};
|
|
5207
5569
|
}
|
|
5208
5570
|
});
|
|
5209
|
-
const _sfc_main$
|
|
5571
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
5210
5572
|
__name: "ResponsibilitySingle",
|
|
5211
5573
|
setup(__props) {
|
|
5212
5574
|
const {
|
|
@@ -5234,6 +5596,29 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5234
5596
|
]
|
|
5235
5597
|
};
|
|
5236
5598
|
});
|
|
5599
|
+
const branchOptions = computed(() => {
|
|
5600
|
+
var _a;
|
|
5601
|
+
return {
|
|
5602
|
+
filter: [
|
|
5603
|
+
{
|
|
5604
|
+
handle: "_id",
|
|
5605
|
+
operator: "in",
|
|
5606
|
+
value: (_a = staff.value) == null ? void 0 : _a.branchIds
|
|
5607
|
+
}
|
|
5608
|
+
]
|
|
5609
|
+
};
|
|
5610
|
+
});
|
|
5611
|
+
const staffWorkOptions = computed(() => {
|
|
5612
|
+
return {
|
|
5613
|
+
filter: [
|
|
5614
|
+
{
|
|
5615
|
+
handle: "branchIds",
|
|
5616
|
+
operator: "in",
|
|
5617
|
+
value: values.value.branchId
|
|
5618
|
+
}
|
|
5619
|
+
]
|
|
5620
|
+
};
|
|
5621
|
+
});
|
|
5237
5622
|
return (_ctx, _cache) => {
|
|
5238
5623
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-responsibility-single" }, {
|
|
5239
5624
|
default: withCtx(() => [
|
|
@@ -5272,8 +5657,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5272
5657
|
createVNode(unref(OfficeRelation), {
|
|
5273
5658
|
modelValue: unref(values),
|
|
5274
5659
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5275
|
-
field: unref(fields).branch
|
|
5276
|
-
|
|
5660
|
+
field: unref(fields).branch,
|
|
5661
|
+
query: unref(Query).define(branchOptions.value)
|
|
5662
|
+
}, null, 8, ["modelValue", "field", "query"]),
|
|
5277
5663
|
createVNode(unref(OfficeRelation), {
|
|
5278
5664
|
modelValue: unref(values),
|
|
5279
5665
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
|
|
@@ -5289,8 +5675,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5289
5675
|
createVNode(unref(OfficeRelation), {
|
|
5290
5676
|
modelValue: unref(values),
|
|
5291
5677
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5292
|
-
field: unref(fields).staffWorks
|
|
5293
|
-
|
|
5678
|
+
field: unref(fields).staffWorks,
|
|
5679
|
+
query: unref(Query).define(staffWorkOptions.value)
|
|
5680
|
+
}, null, 8, ["modelValue", "field", "query"]),
|
|
5294
5681
|
createVNode(unref(OfficeRelation), {
|
|
5295
5682
|
modelValue: unref(values),
|
|
5296
5683
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
@@ -5344,7 +5731,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5344
5731
|
}
|
|
5345
5732
|
}),
|
|
5346
5733
|
"is-ready": unref(isReady),
|
|
5347
|
-
columns: [
|
|
5734
|
+
columns: [
|
|
5735
|
+
"startedAt",
|
|
5736
|
+
"endedAt",
|
|
5737
|
+
"detail",
|
|
5738
|
+
"staffs",
|
|
5739
|
+
"virtualIsNotes",
|
|
5740
|
+
"accessStaffs"
|
|
5741
|
+
],
|
|
5348
5742
|
sorts: ["startedAt", "createdAt", "updatedAt"],
|
|
5349
5743
|
"initial-values": {
|
|
5350
5744
|
responsibilityIds: unref(id),
|
|
@@ -5369,9 +5763,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5369
5763
|
};
|
|
5370
5764
|
}
|
|
5371
5765
|
});
|
|
5372
|
-
const
|
|
5373
|
-
const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5374
|
-
const _sfc_main$
|
|
5766
|
+
const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_9eded4a7_lang = "";
|
|
5767
|
+
const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-9eded4a7"]]);
|
|
5768
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
5375
5769
|
__name: "ResponsibilityStaff",
|
|
5376
5770
|
setup(__props) {
|
|
5377
5771
|
const {
|
|
@@ -5501,7 +5895,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
5501
5895
|
}
|
|
5502
5896
|
}),
|
|
5503
5897
|
"is-ready": unref(isReady),
|
|
5504
|
-
columns: [
|
|
5898
|
+
columns: [
|
|
5899
|
+
"startedAt",
|
|
5900
|
+
"endedAt",
|
|
5901
|
+
"detail",
|
|
5902
|
+
"staffs",
|
|
5903
|
+
"virtualIsNotes",
|
|
5904
|
+
"accessStaffs"
|
|
5905
|
+
],
|
|
5505
5906
|
sorts: ["startedAt", "createdAt", "updatedAt"],
|
|
5506
5907
|
"initial-values": {
|
|
5507
5908
|
responsibilityIds: unref(id),
|
|
@@ -5526,10 +5927,174 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
5526
5927
|
};
|
|
5527
5928
|
}
|
|
5528
5929
|
});
|
|
5529
|
-
const
|
|
5530
|
-
const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5531
|
-
const
|
|
5532
|
-
|
|
5930
|
+
const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_a1ec66a6_lang = "";
|
|
5931
|
+
const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-a1ec66a6"]]);
|
|
5932
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
5933
|
+
__name: "ResponsibilitySupervisor",
|
|
5934
|
+
setup(__props) {
|
|
5935
|
+
const {
|
|
5936
|
+
fields,
|
|
5937
|
+
id,
|
|
5938
|
+
initialValues,
|
|
5939
|
+
values,
|
|
5940
|
+
isLoading,
|
|
5941
|
+
isChanged,
|
|
5942
|
+
isReady,
|
|
5943
|
+
isMain,
|
|
5944
|
+
isNew,
|
|
5945
|
+
saveOne,
|
|
5946
|
+
discardChanges
|
|
5947
|
+
} = useSingle();
|
|
5948
|
+
const { staff } = useOperasional();
|
|
5949
|
+
return (_ctx, _cache) => {
|
|
5950
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-responsibility-single" }, {
|
|
5951
|
+
default: withCtx(() => [
|
|
5952
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
5953
|
+
default: withCtx(() => [
|
|
5954
|
+
createVNode(unref(OfficeTab), {
|
|
5955
|
+
handle: "info",
|
|
5956
|
+
icon: "circle-info",
|
|
5957
|
+
title: "Info"
|
|
5958
|
+
}, {
|
|
5959
|
+
default: withCtx(() => [
|
|
5960
|
+
createVNode(unref(NeonForm), {
|
|
5961
|
+
handle: "info",
|
|
5962
|
+
"initial-values": unref(initialValues),
|
|
5963
|
+
"is-loading": unref(isLoading),
|
|
5964
|
+
"is-changed": unref(isChanged),
|
|
5965
|
+
"use-unsaved": "",
|
|
5966
|
+
onCancel: unref(discardChanges),
|
|
5967
|
+
onSubmit: unref(saveOne)
|
|
5968
|
+
}, {
|
|
5969
|
+
default: withCtx(() => [
|
|
5970
|
+
createVNode(unref(NeonField), mergeProps({
|
|
5971
|
+
modelValue: unref(values).condition,
|
|
5972
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).condition = $event)
|
|
5973
|
+
}, unref(fields).condition, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
5974
|
+
createVNode(unref(NeonField), mergeProps({
|
|
5975
|
+
modelValue: unref(values).title,
|
|
5976
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).title = $event)
|
|
5977
|
+
}, unref(fields).title, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
5978
|
+
createVNode(unref(NeonField), mergeProps({
|
|
5979
|
+
modelValue: unref(values).score,
|
|
5980
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).score = $event)
|
|
5981
|
+
}, unref(fields).score), null, 16, ["modelValue"]),
|
|
5982
|
+
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
5983
|
+
default: withCtx(() => [
|
|
5984
|
+
createVNode(unref(OfficeRelation), {
|
|
5985
|
+
modelValue: unref(values),
|
|
5986
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5987
|
+
field: unref(fields).branch,
|
|
5988
|
+
"is-disabled": ""
|
|
5989
|
+
}, null, 8, ["modelValue", "field"]),
|
|
5990
|
+
createVNode(unref(OfficeRelation), {
|
|
5991
|
+
modelValue: unref(values),
|
|
5992
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5993
|
+
field: unref(fields).responsibilityType,
|
|
5994
|
+
"is-disabled": ""
|
|
5995
|
+
}, null, 8, ["modelValue", "field"])
|
|
5996
|
+
]),
|
|
5997
|
+
_: 1
|
|
5998
|
+
/* STABLE */
|
|
5999
|
+
}),
|
|
6000
|
+
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
6001
|
+
default: withCtx(() => [
|
|
6002
|
+
createVNode(unref(OfficeRelation), {
|
|
6003
|
+
modelValue: unref(values),
|
|
6004
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6005
|
+
field: unref(fields).staffWorks,
|
|
6006
|
+
"is-disabled": ""
|
|
6007
|
+
}, null, 8, ["modelValue", "field"]),
|
|
6008
|
+
createVNode(unref(OfficeRelation), {
|
|
6009
|
+
modelValue: unref(values),
|
|
6010
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6011
|
+
field: unref(fields).staffSupervises,
|
|
6012
|
+
"is-disabled": ""
|
|
6013
|
+
}, null, 8, ["modelValue", "field"])
|
|
6014
|
+
]),
|
|
6015
|
+
_: 1
|
|
6016
|
+
/* STABLE */
|
|
6017
|
+
}),
|
|
6018
|
+
unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
6019
|
+
key: 0,
|
|
6020
|
+
modelValue: unref(values).detail,
|
|
6021
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).detail = $event)
|
|
6022
|
+
}, unref(fields).detail, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
6023
|
+
unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
6024
|
+
key: 1,
|
|
6025
|
+
modelValue: unref(values).result,
|
|
6026
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).result = $event)
|
|
6027
|
+
}, unref(fields).result), null, 16, ["modelValue"])) : createCommentVNode("v-if", true)
|
|
6028
|
+
]),
|
|
6029
|
+
_: 1
|
|
6030
|
+
/* STABLE */
|
|
6031
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
6032
|
+
]),
|
|
6033
|
+
_: 1
|
|
6034
|
+
/* STABLE */
|
|
6035
|
+
}),
|
|
6036
|
+
createCommentVNode(" PROGRESS "),
|
|
6037
|
+
!unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
6038
|
+
key: 0,
|
|
6039
|
+
handle: "progress",
|
|
6040
|
+
icon: "info-circle",
|
|
6041
|
+
title: "Progress"
|
|
6042
|
+
}, {
|
|
6043
|
+
default: withCtx(() => {
|
|
6044
|
+
var _a;
|
|
6045
|
+
return [
|
|
6046
|
+
createVNode(unref(OfficeCollectionRelated), {
|
|
6047
|
+
definition: "neu:personalia:progress",
|
|
6048
|
+
title: "Progress",
|
|
6049
|
+
description: "Progress dari tanggungjawab.",
|
|
6050
|
+
query: unref(Query).define({
|
|
6051
|
+
filter: [
|
|
6052
|
+
{
|
|
6053
|
+
responsibilityIds: unref(id)
|
|
6054
|
+
}
|
|
6055
|
+
],
|
|
6056
|
+
sort: {
|
|
6057
|
+
handle: "startedAt",
|
|
6058
|
+
direction: "descending"
|
|
6059
|
+
}
|
|
6060
|
+
}),
|
|
6061
|
+
"is-ready": unref(isReady),
|
|
6062
|
+
columns: [
|
|
6063
|
+
"startedAt",
|
|
6064
|
+
"endedAt",
|
|
6065
|
+
"detail",
|
|
6066
|
+
"staffs",
|
|
6067
|
+
"virtualIsNotes",
|
|
6068
|
+
"accessStaffs"
|
|
6069
|
+
],
|
|
6070
|
+
sorts: ["startedAt", "createdAt", "updatedAt"],
|
|
6071
|
+
"initial-values": {
|
|
6072
|
+
responsibilityIds: unref(id),
|
|
6073
|
+
responsibilities: unref(values),
|
|
6074
|
+
staffIds: (_a = unref(staff)) == null ? void 0 : _a.id,
|
|
6075
|
+
staffs: unref(staff)
|
|
6076
|
+
}
|
|
6077
|
+
}, null, 8, ["query", "is-ready", "initial-values"])
|
|
6078
|
+
];
|
|
6079
|
+
}),
|
|
6080
|
+
_: 1
|
|
6081
|
+
/* STABLE */
|
|
6082
|
+
})) : createCommentVNode("v-if", true)
|
|
6083
|
+
]),
|
|
6084
|
+
_: 1
|
|
6085
|
+
/* STABLE */
|
|
6086
|
+
}, 8, ["use-url"])
|
|
6087
|
+
]),
|
|
6088
|
+
_: 1
|
|
6089
|
+
/* STABLE */
|
|
6090
|
+
});
|
|
6091
|
+
};
|
|
6092
|
+
}
|
|
6093
|
+
});
|
|
6094
|
+
const ResponsibilitySupervisor_vue_vue_type_style_index_0_scoped_63e476fd_lang = "";
|
|
6095
|
+
const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-63e476fd"]]);
|
|
6096
|
+
const TargetModel = models$2.TargetModel;
|
|
6097
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
5533
6098
|
...{
|
|
5534
6099
|
name: "TargetCollection"
|
|
5535
6100
|
},
|
|
@@ -5547,7 +6112,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
5547
6112
|
};
|
|
5548
6113
|
}
|
|
5549
6114
|
});
|
|
5550
|
-
const _sfc_main$
|
|
6115
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
5551
6116
|
__name: "TargetSingle",
|
|
5552
6117
|
setup(__props) {
|
|
5553
6118
|
const {
|
|
@@ -5700,8 +6265,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
5700
6265
|
}
|
|
5701
6266
|
});
|
|
5702
6267
|
const TargetSingle_vue_vue_type_style_index_0_scoped_c12b8df8_lang = "";
|
|
5703
|
-
const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5704
|
-
const _sfc_main$
|
|
6268
|
+
const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-c12b8df8"]]);
|
|
6269
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
5705
6270
|
__name: "TargetBranch",
|
|
5706
6271
|
setup(__props) {
|
|
5707
6272
|
const {
|
|
@@ -5854,9 +6419,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
5854
6419
|
}
|
|
5855
6420
|
});
|
|
5856
6421
|
const TargetBranch_vue_vue_type_style_index_0_scoped_6a5a6e80_lang = "";
|
|
5857
|
-
const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6422
|
+
const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6a5a6e80"]]);
|
|
5858
6423
|
const PlanTypeModel = models$2.PlanTypeModel;
|
|
5859
|
-
const _sfc_main$
|
|
6424
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
5860
6425
|
...{
|
|
5861
6426
|
name: "PlanTypeCollection"
|
|
5862
6427
|
},
|
|
@@ -5874,7 +6439,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
5874
6439
|
};
|
|
5875
6440
|
}
|
|
5876
6441
|
});
|
|
5877
|
-
const _sfc_main$
|
|
6442
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
5878
6443
|
__name: "PlanTypeSingle",
|
|
5879
6444
|
setup(__props) {
|
|
5880
6445
|
const {
|
|
@@ -5995,9 +6560,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
5995
6560
|
}
|
|
5996
6561
|
});
|
|
5997
6562
|
const PlanTypeSingle_vue_vue_type_style_index_0_scoped_80d2e1d3_lang = "";
|
|
5998
|
-
const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6563
|
+
const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-80d2e1d3"]]);
|
|
5999
6564
|
const PlanModel = models$2.PlanModel;
|
|
6000
|
-
const _sfc_main$
|
|
6565
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
6001
6566
|
...{
|
|
6002
6567
|
name: "PlanCollection"
|
|
6003
6568
|
},
|
|
@@ -6015,7 +6580,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
6015
6580
|
};
|
|
6016
6581
|
}
|
|
6017
6582
|
});
|
|
6018
|
-
const _sfc_main$
|
|
6583
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
6019
6584
|
__name: "PlanSingle",
|
|
6020
6585
|
setup(__props) {
|
|
6021
6586
|
const {
|
|
@@ -6167,7 +6732,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
6167
6732
|
}
|
|
6168
6733
|
}),
|
|
6169
6734
|
"is-ready": unref(isReady),
|
|
6170
|
-
columns: [
|
|
6735
|
+
columns: [
|
|
6736
|
+
"startedAt",
|
|
6737
|
+
"endedAt",
|
|
6738
|
+
"detail",
|
|
6739
|
+
"staffs",
|
|
6740
|
+
"virtualIsNotes",
|
|
6741
|
+
"accessStaffs"
|
|
6742
|
+
],
|
|
6171
6743
|
sorts: ["startedAt", "startedAt", "createdAt", "updatedAt"],
|
|
6172
6744
|
filters: ["staff"],
|
|
6173
6745
|
"initial-values": {
|
|
@@ -6190,9 +6762,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
6190
6762
|
};
|
|
6191
6763
|
}
|
|
6192
6764
|
});
|
|
6193
|
-
const
|
|
6194
|
-
const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6195
|
-
const _sfc_main$
|
|
6765
|
+
const PlanSingle_vue_vue_type_style_index_0_scoped_a39127c2_lang = "";
|
|
6766
|
+
const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-a39127c2"]]);
|
|
6767
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
6196
6768
|
__name: "PlanStaff",
|
|
6197
6769
|
setup(__props) {
|
|
6198
6770
|
const {
|
|
@@ -6344,10 +6916,10 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
6344
6916
|
}
|
|
6345
6917
|
});
|
|
6346
6918
|
const PlanStaff_vue_vue_type_style_index_0_scoped_aa8de6da_lang = "";
|
|
6347
|
-
const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6919
|
+
const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-aa8de6da"]]);
|
|
6348
6920
|
const ProgressModel = models$2.ProgressModel;
|
|
6349
|
-
const _hoisted_1$
|
|
6350
|
-
const _sfc_main$
|
|
6921
|
+
const _hoisted_1$8 = { class: "flex flex-wrap" };
|
|
6922
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
6351
6923
|
...{ name: "ProgressButton" },
|
|
6352
6924
|
__name: "ProgressButton",
|
|
6353
6925
|
setup(__props) {
|
|
@@ -6362,7 +6934,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
6362
6934
|
router.push("/penugasan/yesterday-progresses/new");
|
|
6363
6935
|
};
|
|
6364
6936
|
return (_ctx, _cache) => {
|
|
6365
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6937
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
6366
6938
|
createVNode(unref(NeonButton), {
|
|
6367
6939
|
"is-rounded": true,
|
|
6368
6940
|
size: "sm",
|
|
@@ -6393,7 +6965,30 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
6393
6965
|
};
|
|
6394
6966
|
}
|
|
6395
6967
|
});
|
|
6396
|
-
const
|
|
6968
|
+
const _hoisted_1$7 = { class: "flex flex-wrap" };
|
|
6969
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
6970
|
+
...{ name: "ProgressNoteButton" },
|
|
6971
|
+
__name: "ProgressNoteButton",
|
|
6972
|
+
setup(__props) {
|
|
6973
|
+
const router = useRouter();
|
|
6974
|
+
const noteClick = () => {
|
|
6975
|
+
router.push("/penugasan/notes/new");
|
|
6976
|
+
};
|
|
6977
|
+
return (_ctx, _cache) => {
|
|
6978
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
6979
|
+
createVNode(unref(NeonButton), {
|
|
6980
|
+
"is-rounded": true,
|
|
6981
|
+
size: "sm",
|
|
6982
|
+
color: "dark",
|
|
6983
|
+
"icon-left": "plus",
|
|
6984
|
+
label: "Catatan",
|
|
6985
|
+
onClick: noteClick
|
|
6986
|
+
})
|
|
6987
|
+
]);
|
|
6988
|
+
};
|
|
6989
|
+
}
|
|
6990
|
+
});
|
|
6991
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
6397
6992
|
...{
|
|
6398
6993
|
name: "ProgressCollection"
|
|
6399
6994
|
},
|
|
@@ -6456,10 +7051,10 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
6456
7051
|
}
|
|
6457
7052
|
});
|
|
6458
7053
|
const ProgressCollection_vue_vue_type_style_index_0_scoped_2634660f_lang = "";
|
|
6459
|
-
const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6460
|
-
const _hoisted_1$
|
|
6461
|
-
const _hoisted_2$
|
|
6462
|
-
const _sfc_main$
|
|
7054
|
+
const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-2634660f"]]);
|
|
7055
|
+
const _hoisted_1$6 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
7056
|
+
const _hoisted_2$6 = { class: "text-right text-fg-subdued text-sm" };
|
|
7057
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
6463
7058
|
__name: "ProgressSingle",
|
|
6464
7059
|
setup(__props) {
|
|
6465
7060
|
var _a;
|
|
@@ -6611,7 +7206,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
6611
7206
|
_: 1
|
|
6612
7207
|
/* STABLE */
|
|
6613
7208
|
}),
|
|
6614
|
-
createElementVNode("div", _hoisted_1$
|
|
7209
|
+
createElementVNode("div", _hoisted_1$6, [
|
|
6615
7210
|
createVNode(unref(NeonField), mergeProps({
|
|
6616
7211
|
modelValue: unref(values).startedAt,
|
|
6617
7212
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedAt = $event)
|
|
@@ -6652,7 +7247,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
6652
7247
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
6653
7248
|
createElementVNode(
|
|
6654
7249
|
"div",
|
|
6655
|
-
_hoisted_2$
|
|
7250
|
+
_hoisted_2$6,
|
|
6656
7251
|
toDisplayString(duration.value),
|
|
6657
7252
|
1
|
|
6658
7253
|
/* TEXT */
|
|
@@ -6742,10 +7337,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
6742
7337
|
}
|
|
6743
7338
|
});
|
|
6744
7339
|
const ProgressSingle_vue_vue_type_style_index_0_scoped_ca99d46c_lang = "";
|
|
6745
|
-
const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6746
|
-
const _hoisted_1$
|
|
6747
|
-
const _hoisted_2$
|
|
6748
|
-
const _sfc_main$
|
|
7340
|
+
const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-ca99d46c"]]);
|
|
7341
|
+
const _hoisted_1$5 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
7342
|
+
const _hoisted_2$5 = { class: "text-right text-fg-subdued text-sm" };
|
|
7343
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
6749
7344
|
__name: "ProgressTomorrow",
|
|
6750
7345
|
setup(__props) {
|
|
6751
7346
|
var _a;
|
|
@@ -6897,7 +7492,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6897
7492
|
_: 1
|
|
6898
7493
|
/* STABLE */
|
|
6899
7494
|
}),
|
|
6900
|
-
createElementVNode("div", _hoisted_1$
|
|
7495
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
6901
7496
|
createVNode(unref(NeonField), mergeProps({
|
|
6902
7497
|
modelValue: unref(values).startedAt,
|
|
6903
7498
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedAt = $event)
|
|
@@ -6938,7 +7533,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6938
7533
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
6939
7534
|
createElementVNode(
|
|
6940
7535
|
"div",
|
|
6941
|
-
_hoisted_2$
|
|
7536
|
+
_hoisted_2$5,
|
|
6942
7537
|
toDisplayString(duration.value),
|
|
6943
7538
|
1
|
|
6944
7539
|
/* TEXT */
|
|
@@ -7028,10 +7623,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
7028
7623
|
}
|
|
7029
7624
|
});
|
|
7030
7625
|
const ProgressTomorrow_vue_vue_type_style_index_0_scoped_41302f2e_lang = "";
|
|
7031
|
-
const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7032
|
-
const _hoisted_1$
|
|
7033
|
-
const _hoisted_2$
|
|
7034
|
-
const _sfc_main$
|
|
7626
|
+
const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-41302f2e"]]);
|
|
7627
|
+
const _hoisted_1$4 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
7628
|
+
const _hoisted_2$4 = { class: "text-right text-fg-subdued text-sm" };
|
|
7629
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
7035
7630
|
__name: "ProgressYesterday",
|
|
7036
7631
|
setup(__props) {
|
|
7037
7632
|
var _a;
|
|
@@ -7183,7 +7778,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7183
7778
|
_: 1
|
|
7184
7779
|
/* STABLE */
|
|
7185
7780
|
}),
|
|
7186
|
-
createElementVNode("div", _hoisted_1$
|
|
7781
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
7187
7782
|
createVNode(unref(NeonField), mergeProps({
|
|
7188
7783
|
modelValue: unref(values).startedAt,
|
|
7189
7784
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedAt = $event)
|
|
@@ -7224,7 +7819,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7224
7819
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
7225
7820
|
createElementVNode(
|
|
7226
7821
|
"div",
|
|
7227
|
-
_hoisted_2$
|
|
7822
|
+
_hoisted_2$4,
|
|
7228
7823
|
toDisplayString(duration.value),
|
|
7229
7824
|
1
|
|
7230
7825
|
/* TEXT */
|
|
@@ -7314,8 +7909,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7314
7909
|
}
|
|
7315
7910
|
});
|
|
7316
7911
|
const ProgressYesterday_vue_vue_type_style_index_0_scoped_78de8f41_lang = "";
|
|
7317
|
-
const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7318
|
-
const _sfc_main$
|
|
7912
|
+
const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-78de8f41"]]);
|
|
7913
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
7319
7914
|
__name: "ProgressNote",
|
|
7320
7915
|
setup(__props) {
|
|
7321
7916
|
var _a;
|
|
@@ -7474,9 +8069,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
7474
8069
|
}
|
|
7475
8070
|
});
|
|
7476
8071
|
const ProgressNote_vue_vue_type_style_index_0_scoped_cee18889_lang = "";
|
|
7477
|
-
const ProgressNote = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8072
|
+
const ProgressNote = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-cee18889"]]);
|
|
7478
8073
|
const AttendanceModel = models$2.AttendanceModel;
|
|
7479
|
-
const _sfc_main$
|
|
8074
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
7480
8075
|
...{
|
|
7481
8076
|
name: "AttendanceCollection"
|
|
7482
8077
|
},
|
|
@@ -7494,9 +8089,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
7494
8089
|
};
|
|
7495
8090
|
}
|
|
7496
8091
|
});
|
|
7497
|
-
const _hoisted_1$
|
|
7498
|
-
const _hoisted_2$
|
|
7499
|
-
const _sfc_main$
|
|
8092
|
+
const _hoisted_1$3 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
8093
|
+
const _hoisted_2$3 = { class: "text-right text-fg-subdued text-sm" };
|
|
8094
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
7500
8095
|
__name: "AttendanceSingle",
|
|
7501
8096
|
setup(__props) {
|
|
7502
8097
|
const {
|
|
@@ -7607,7 +8202,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
7607
8202
|
modelValue: unref(values).submittedAt,
|
|
7608
8203
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).submittedAt = $event)
|
|
7609
8204
|
}, unref(fields).submittedAt), null, 16, ["modelValue"]),
|
|
7610
|
-
createElementVNode("div", _hoisted_1$
|
|
8205
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
7611
8206
|
createVNode(unref(NeonField), mergeProps({
|
|
7612
8207
|
modelValue: unref(values).startedAt,
|
|
7613
8208
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).startedAt = $event)
|
|
@@ -7648,7 +8243,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
7648
8243
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
7649
8244
|
createElementVNode(
|
|
7650
8245
|
"div",
|
|
7651
|
-
_hoisted_2$
|
|
8246
|
+
_hoisted_2$3,
|
|
7652
8247
|
toDisplayString(duration.value),
|
|
7653
8248
|
1
|
|
7654
8249
|
/* TEXT */
|
|
@@ -7678,30 +8273,448 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
7678
8273
|
}
|
|
7679
8274
|
});
|
|
7680
8275
|
const AttendanceSingle_vue_vue_type_style_index_0_scoped_0c3c6187_lang = "";
|
|
7681
|
-
const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7682
|
-
const _hoisted_1$
|
|
8276
|
+
const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-0c3c6187"]]);
|
|
8277
|
+
const _hoisted_1$2 = {
|
|
7683
8278
|
key: 1,
|
|
7684
8279
|
class: "flex flex-wrap"
|
|
7685
8280
|
};
|
|
7686
|
-
const _hoisted_2$
|
|
7687
|
-
const _hoisted_3$
|
|
7688
|
-
const _hoisted_4$
|
|
8281
|
+
const _hoisted_2$2 = { class: "mt-2" };
|
|
8282
|
+
const _hoisted_3$2 = { class: "mt-2" };
|
|
8283
|
+
const _hoisted_4$2 = {
|
|
7689
8284
|
key: 5,
|
|
7690
8285
|
class: "grid gap-2 sm:grid-cols-2"
|
|
7691
8286
|
};
|
|
7692
|
-
const _hoisted_5$
|
|
7693
|
-
const _hoisted_6$
|
|
8287
|
+
const _hoisted_5$2 = { class: "text-right text-fg-subdued text-sm" };
|
|
8288
|
+
const _hoisted_6$2 = {
|
|
7694
8289
|
key: 6,
|
|
7695
8290
|
class: "grid gap-2 sm:grid-cols-2"
|
|
7696
8291
|
};
|
|
8292
|
+
const _hoisted_7$2 = { class: "text-right text-fg-subdued text-sm" };
|
|
8293
|
+
const _hoisted_8$2 = {
|
|
8294
|
+
key: 7,
|
|
8295
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
8296
|
+
};
|
|
8297
|
+
const _hoisted_9$2 = { class: "text-right text-fg-subdued text-sm" };
|
|
8298
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
8299
|
+
__name: "AttendanceStaff",
|
|
8300
|
+
setup(__props) {
|
|
8301
|
+
var _a;
|
|
8302
|
+
const {
|
|
8303
|
+
fields,
|
|
8304
|
+
id,
|
|
8305
|
+
initialValues,
|
|
8306
|
+
values,
|
|
8307
|
+
isLoading,
|
|
8308
|
+
isChanged,
|
|
8309
|
+
isReady,
|
|
8310
|
+
isMain,
|
|
8311
|
+
isNew,
|
|
8312
|
+
saveOne,
|
|
8313
|
+
discardChanges,
|
|
8314
|
+
syncOne,
|
|
8315
|
+
executeOne
|
|
8316
|
+
} = useSingle();
|
|
8317
|
+
const key = ref(0);
|
|
8318
|
+
const diff = computed(() => {
|
|
8319
|
+
return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
|
|
8320
|
+
});
|
|
8321
|
+
const duration = computed(() => {
|
|
8322
|
+
if (isNaN(diff.value))
|
|
8323
|
+
return "-";
|
|
8324
|
+
const duration2 = DateUtil.day.duration(diff.value);
|
|
8325
|
+
return duration2.format("HH [jam] mm [menit]");
|
|
8326
|
+
});
|
|
8327
|
+
function onStartedAtUpdate(date) {
|
|
8328
|
+
if (!date)
|
|
8329
|
+
return;
|
|
8330
|
+
const currentEndedendedAt = DateUtil.day(values.value.endedAt);
|
|
8331
|
+
let startedAt = DateUtil.day(date);
|
|
8332
|
+
let endedAt = DateUtil.day(date);
|
|
8333
|
+
startedAt = startedAt.second(0).millisecond(0);
|
|
8334
|
+
endedAt = endedAt.hour(currentEndedendedAt.hour()).minute(currentEndedendedAt.minute()).second(0).millisecond(0);
|
|
8335
|
+
values.value.startedAt = startedAt.toISOString();
|
|
8336
|
+
values.value.endedAt = endedAt.toISOString();
|
|
8337
|
+
conflictAtt.value = false;
|
|
8338
|
+
}
|
|
8339
|
+
const { staff } = useOperasional();
|
|
8340
|
+
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
8341
|
+
watch(
|
|
8342
|
+
isNew,
|
|
8343
|
+
(isNew2) => {
|
|
8344
|
+
if (!isNew2)
|
|
8345
|
+
return;
|
|
8346
|
+
values.value.submitStaffId = staffId;
|
|
8347
|
+
values.value.submitStaff = staff.value;
|
|
8348
|
+
},
|
|
8349
|
+
{
|
|
8350
|
+
immediate: true
|
|
8351
|
+
}
|
|
8352
|
+
);
|
|
8353
|
+
const submitAbsensi = async () => {
|
|
8354
|
+
await executeOne("submitAttendance", { attendanceId: id.value });
|
|
8355
|
+
await syncOne();
|
|
8356
|
+
};
|
|
8357
|
+
const changeAbsensi = async () => {
|
|
8358
|
+
await executeOne("changeAttendance", { attendanceId: id.value });
|
|
8359
|
+
await syncOne();
|
|
8360
|
+
};
|
|
8361
|
+
const conflictAtt = ref(false);
|
|
8362
|
+
async function conflictAttendance() {
|
|
8363
|
+
var _a2;
|
|
8364
|
+
const resp = await executeOne("checkAttendance", {
|
|
8365
|
+
staffId: (_a2 = staff.value) == null ? void 0 : _a2.id,
|
|
8366
|
+
startedAt: values.value.startedAt
|
|
8367
|
+
});
|
|
8368
|
+
const countAtt = resp.data.executeAttendance.output.countAttendance;
|
|
8369
|
+
if (values.value.startedAt) {
|
|
8370
|
+
if (countAtt > 1) {
|
|
8371
|
+
conflictAtt.value = true;
|
|
8372
|
+
} else {
|
|
8373
|
+
await submitAbsensi();
|
|
8374
|
+
await syncOne();
|
|
8375
|
+
conflictAtt.value = false;
|
|
8376
|
+
}
|
|
8377
|
+
} else {
|
|
8378
|
+
conflictAtt.value = true;
|
|
8379
|
+
}
|
|
8380
|
+
}
|
|
8381
|
+
const staffOptions = computed(() => {
|
|
8382
|
+
var _a2;
|
|
8383
|
+
return {
|
|
8384
|
+
filter: [
|
|
8385
|
+
{
|
|
8386
|
+
handle: "_id",
|
|
8387
|
+
operator: "nin",
|
|
8388
|
+
value: (_a2 = staff.value) == null ? void 0 : _a2.id
|
|
8389
|
+
}
|
|
8390
|
+
]
|
|
8391
|
+
};
|
|
8392
|
+
});
|
|
8393
|
+
return (_ctx, _cache) => {
|
|
8394
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-attendance-single" }, {
|
|
8395
|
+
default: withCtx(() => [
|
|
8396
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
8397
|
+
default: withCtx(() => [
|
|
8398
|
+
createVNode(unref(OfficeTab), {
|
|
8399
|
+
handle: "info",
|
|
8400
|
+
icon: "circle-info",
|
|
8401
|
+
title: "Info"
|
|
8402
|
+
}, {
|
|
8403
|
+
default: withCtx(() => [
|
|
8404
|
+
createVNode(unref(NeonForm), {
|
|
8405
|
+
handle: "info",
|
|
8406
|
+
"initial-values": unref(initialValues),
|
|
8407
|
+
"is-loading": unref(isLoading),
|
|
8408
|
+
"is-changed": unref(isChanged),
|
|
8409
|
+
"use-unsaved": "",
|
|
8410
|
+
onCancel: unref(discardChanges),
|
|
8411
|
+
onSubmit: unref(saveOne)
|
|
8412
|
+
}, {
|
|
8413
|
+
default: withCtx(() => [
|
|
8414
|
+
conflictAtt.value == true ? (openBlock(), createBlock(unref(NeonAlert), {
|
|
8415
|
+
key: 0,
|
|
8416
|
+
icon: "circle-info",
|
|
8417
|
+
label: "Sudah ada Absensi!. ",
|
|
8418
|
+
description: "Untuk hari ini kamu sudah ada absensi yang diajukan, silahkan cari absensi yang telah diajukan dan ajukan kembali untuk pergantiannya.",
|
|
8419
|
+
color: "#F7CF6D"
|
|
8420
|
+
})) : createCommentVNode("v-if", true),
|
|
8421
|
+
!unref(isNew) && conflictAtt.value == false ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
8422
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
8423
|
+
createVNode(unref(NeonField), null, {
|
|
8424
|
+
input: withCtx(() => [
|
|
8425
|
+
createVNode(unref(NeonButton), {
|
|
8426
|
+
size: "md",
|
|
8427
|
+
color: "success",
|
|
8428
|
+
"icon-left": "up-from-line",
|
|
8429
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved",
|
|
8430
|
+
onClick: conflictAttendance
|
|
8431
|
+
}, {
|
|
8432
|
+
default: withCtx(() => [
|
|
8433
|
+
createTextVNode("Ajukan")
|
|
8434
|
+
]),
|
|
8435
|
+
_: 1
|
|
8436
|
+
/* STABLE */
|
|
8437
|
+
}, 8, ["is-disabled"])
|
|
8438
|
+
]),
|
|
8439
|
+
_: 1
|
|
8440
|
+
/* STABLE */
|
|
8441
|
+
})
|
|
8442
|
+
]),
|
|
8443
|
+
createTextVNode(" "),
|
|
8444
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
8445
|
+
createVNode(unref(NeonField), null, {
|
|
8446
|
+
input: withCtx(() => [
|
|
8447
|
+
createVNode(unref(NeonButton), {
|
|
8448
|
+
size: "md",
|
|
8449
|
+
color: "warning",
|
|
8450
|
+
"icon-left": "arrows-retweet",
|
|
8451
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "draft",
|
|
8452
|
+
onClick: changeAbsensi
|
|
8453
|
+
}, {
|
|
8454
|
+
default: withCtx(() => [
|
|
8455
|
+
createTextVNode("Ganti")
|
|
8456
|
+
]),
|
|
8457
|
+
_: 1
|
|
8458
|
+
/* STABLE */
|
|
8459
|
+
}, 8, ["is-disabled"])
|
|
8460
|
+
]),
|
|
8461
|
+
_: 1
|
|
8462
|
+
/* STABLE */
|
|
8463
|
+
})
|
|
8464
|
+
])
|
|
8465
|
+
])) : createCommentVNode("v-if", true),
|
|
8466
|
+
createVNode(unref(OfficeRelation), {
|
|
8467
|
+
modelValue: unref(values),
|
|
8468
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
|
|
8469
|
+
field: unref(fields).submitStaff,
|
|
8470
|
+
"is-disabled": ""
|
|
8471
|
+
}, null, 8, ["modelValue", "field"]),
|
|
8472
|
+
(openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
8473
|
+
key: key.value,
|
|
8474
|
+
"model-value": unref(values).startedAt
|
|
8475
|
+
}, {
|
|
8476
|
+
handle: "startedAt",
|
|
8477
|
+
name: "Tanggal",
|
|
8478
|
+
type: "date",
|
|
8479
|
+
input: "date2",
|
|
8480
|
+
options: {
|
|
8481
|
+
note: "Tanggal absensi."
|
|
8482
|
+
}
|
|
8483
|
+
}, {
|
|
8484
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved",
|
|
8485
|
+
"onUpdate:modelValue": onStartedAtUpdate
|
|
8486
|
+
}), null, 16, ["model-value", "is-disabled"])),
|
|
8487
|
+
createVNode(unref(NeonField), mergeProps({
|
|
8488
|
+
modelValue: unref(values).type,
|
|
8489
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
|
|
8490
|
+
}, unref(fields).type, {
|
|
8491
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
8492
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
8493
|
+
createVNode(unref(OfficeRelation), {
|
|
8494
|
+
modelValue: unref(values),
|
|
8495
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
8496
|
+
field: unref(fields).decideStaff,
|
|
8497
|
+
query: unref(Query).define(staffOptions.value),
|
|
8498
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
8499
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
8500
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
8501
|
+
key: 2,
|
|
8502
|
+
modelValue: unref(values).notes,
|
|
8503
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).notes = $event)
|
|
8504
|
+
}, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
8505
|
+
unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
|
|
8506
|
+
key: 3,
|
|
8507
|
+
"is-dashed": "",
|
|
8508
|
+
label: "Keterangan"
|
|
8509
|
+
})) : createCommentVNode("v-if", true),
|
|
8510
|
+
unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
8511
|
+
key: 4,
|
|
8512
|
+
modelValue: unref(values).submittedAt,
|
|
8513
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).submittedAt = $event)
|
|
8514
|
+
}, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
8515
|
+
createCommentVNode(" EARLY GO HOME "),
|
|
8516
|
+
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
|
|
8517
|
+
createVNode(unref(NeonField), mergeProps({
|
|
8518
|
+
modelValue: unref(values).startedAt,
|
|
8519
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).startedAt = $event)
|
|
8520
|
+
}, {
|
|
8521
|
+
handle: "startedAt",
|
|
8522
|
+
name: "Jam Pulang Kerja",
|
|
8523
|
+
options: {
|
|
8524
|
+
note: "Jam pulang kerja."
|
|
8525
|
+
}
|
|
8526
|
+
}), {
|
|
8527
|
+
input: withCtx(() => [
|
|
8528
|
+
createVNode(unref(NeonTime), {
|
|
8529
|
+
modelValue: unref(values).startedAt,
|
|
8530
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).startedAt = $event),
|
|
8531
|
+
"is-loading": unref(isLoading),
|
|
8532
|
+
class: "mt-2",
|
|
8533
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
8534
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"])
|
|
8535
|
+
]),
|
|
8536
|
+
_: 1
|
|
8537
|
+
/* STABLE */
|
|
8538
|
+
}, 16, ["modelValue"]),
|
|
8539
|
+
createVNode(unref(NeonField), mergeProps({
|
|
8540
|
+
modelValue: unref(values).endedAt,
|
|
8541
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).endedAt = $event)
|
|
8542
|
+
}, {
|
|
8543
|
+
handle: "endedAt",
|
|
8544
|
+
name: "Jam Pulang Lebih Awal",
|
|
8545
|
+
options: {
|
|
8546
|
+
note: "Jam pulang lebih awal."
|
|
8547
|
+
}
|
|
8548
|
+
}), {
|
|
8549
|
+
input: withCtx(() => [
|
|
8550
|
+
createVNode(unref(NeonTime), {
|
|
8551
|
+
modelValue: unref(values).endedAt,
|
|
8552
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).endedAt = $event),
|
|
8553
|
+
"is-loading": unref(isLoading),
|
|
8554
|
+
class: "mt-2",
|
|
8555
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
8556
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
8557
|
+
createElementVNode(
|
|
8558
|
+
"div",
|
|
8559
|
+
_hoisted_5$2,
|
|
8560
|
+
toDisplayString(duration.value),
|
|
8561
|
+
1
|
|
8562
|
+
/* TEXT */
|
|
8563
|
+
)
|
|
8564
|
+
]),
|
|
8565
|
+
_: 1
|
|
8566
|
+
/* STABLE */
|
|
8567
|
+
}, 16, ["modelValue"])
|
|
8568
|
+
])) : createCommentVNode("v-if", true),
|
|
8569
|
+
createCommentVNode(" COME TOO LATE "),
|
|
8570
|
+
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
8571
|
+
createVNode(unref(NeonField), mergeProps({
|
|
8572
|
+
modelValue: unref(values).startedAt,
|
|
8573
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).startedAt = $event)
|
|
8574
|
+
}, {
|
|
8575
|
+
handle: "startedAt",
|
|
8576
|
+
name: "Jam Datang",
|
|
8577
|
+
options: {
|
|
8578
|
+
note: "Jam Datang kerja."
|
|
8579
|
+
}
|
|
8580
|
+
}), {
|
|
8581
|
+
input: withCtx(() => [
|
|
8582
|
+
createVNode(unref(NeonTime), {
|
|
8583
|
+
modelValue: unref(values).startedAt,
|
|
8584
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).startedAt = $event),
|
|
8585
|
+
"is-loading": unref(isLoading),
|
|
8586
|
+
class: "mt-2",
|
|
8587
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
8588
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"])
|
|
8589
|
+
]),
|
|
8590
|
+
_: 1
|
|
8591
|
+
/* STABLE */
|
|
8592
|
+
}, 16, ["modelValue"]),
|
|
8593
|
+
createVNode(unref(NeonField), mergeProps({
|
|
8594
|
+
modelValue: unref(values).endedAt,
|
|
8595
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).endedAt = $event)
|
|
8596
|
+
}, {
|
|
8597
|
+
handle: "endedAt",
|
|
8598
|
+
name: "Jam Datang Terlambat",
|
|
8599
|
+
options: {
|
|
8600
|
+
note: "Jam datang terlambat."
|
|
8601
|
+
}
|
|
8602
|
+
}), {
|
|
8603
|
+
input: withCtx(() => [
|
|
8604
|
+
createVNode(unref(NeonTime), {
|
|
8605
|
+
modelValue: unref(values).endedAt,
|
|
8606
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).endedAt = $event),
|
|
8607
|
+
"is-loading": unref(isLoading),
|
|
8608
|
+
class: "mt-2",
|
|
8609
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
8610
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
8611
|
+
createElementVNode(
|
|
8612
|
+
"div",
|
|
8613
|
+
_hoisted_7$2,
|
|
8614
|
+
toDisplayString(duration.value),
|
|
8615
|
+
1
|
|
8616
|
+
/* TEXT */
|
|
8617
|
+
)
|
|
8618
|
+
]),
|
|
8619
|
+
_: 1
|
|
8620
|
+
/* STABLE */
|
|
8621
|
+
}, 16, ["modelValue"])
|
|
8622
|
+
])) : createCommentVNode("v-if", true),
|
|
8623
|
+
createCommentVNode(" TIMEOUT "),
|
|
8624
|
+
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
|
|
8625
|
+
createVNode(unref(NeonField), mergeProps({
|
|
8626
|
+
modelValue: unref(values).startedAt,
|
|
8627
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).startedAt = $event)
|
|
8628
|
+
}, {
|
|
8629
|
+
handle: "startedAt",
|
|
8630
|
+
name: "Mulai",
|
|
8631
|
+
options: {
|
|
8632
|
+
note: "Jam mulai."
|
|
8633
|
+
}
|
|
8634
|
+
}), {
|
|
8635
|
+
input: withCtx(() => [
|
|
8636
|
+
createVNode(unref(NeonTime), {
|
|
8637
|
+
modelValue: unref(values).startedAt,
|
|
8638
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).startedAt = $event),
|
|
8639
|
+
"is-loading": unref(isLoading),
|
|
8640
|
+
class: "mt-2",
|
|
8641
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
8642
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"])
|
|
8643
|
+
]),
|
|
8644
|
+
_: 1
|
|
8645
|
+
/* STABLE */
|
|
8646
|
+
}, 16, ["modelValue"]),
|
|
8647
|
+
createVNode(unref(NeonField), mergeProps({
|
|
8648
|
+
modelValue: unref(values).endedAt,
|
|
8649
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(values).endedAt = $event)
|
|
8650
|
+
}, {
|
|
8651
|
+
handle: "endedAt",
|
|
8652
|
+
name: "Selesai",
|
|
8653
|
+
options: {
|
|
8654
|
+
note: "Jam selesai."
|
|
8655
|
+
}
|
|
8656
|
+
}), {
|
|
8657
|
+
input: withCtx(() => [
|
|
8658
|
+
createVNode(unref(NeonTime), {
|
|
8659
|
+
modelValue: unref(values).endedAt,
|
|
8660
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).endedAt = $event),
|
|
8661
|
+
"is-loading": unref(isLoading),
|
|
8662
|
+
class: "mt-2",
|
|
8663
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
8664
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
8665
|
+
createElementVNode(
|
|
8666
|
+
"div",
|
|
8667
|
+
_hoisted_9$2,
|
|
8668
|
+
toDisplayString(duration.value),
|
|
8669
|
+
1
|
|
8670
|
+
/* TEXT */
|
|
8671
|
+
)
|
|
8672
|
+
]),
|
|
8673
|
+
_: 1
|
|
8674
|
+
/* STABLE */
|
|
8675
|
+
}, 16, ["modelValue"])
|
|
8676
|
+
])) : createCommentVNode("v-if", true)
|
|
8677
|
+
]),
|
|
8678
|
+
_: 1
|
|
8679
|
+
/* STABLE */
|
|
8680
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
8681
|
+
]),
|
|
8682
|
+
_: 1
|
|
8683
|
+
/* STABLE */
|
|
8684
|
+
})
|
|
8685
|
+
]),
|
|
8686
|
+
_: 1
|
|
8687
|
+
/* STABLE */
|
|
8688
|
+
}, 8, ["use-url"])
|
|
8689
|
+
]),
|
|
8690
|
+
_: 1
|
|
8691
|
+
/* STABLE */
|
|
8692
|
+
});
|
|
8693
|
+
};
|
|
8694
|
+
}
|
|
8695
|
+
});
|
|
8696
|
+
const AttendanceStaff_vue_vue_type_style_index_0_scoped_a86e895b_lang = "";
|
|
8697
|
+
const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a86e895b"]]);
|
|
8698
|
+
const _hoisted_1$1 = { class: "flex flex-wrap" };
|
|
8699
|
+
const _hoisted_2$1 = { class: "mt-2" };
|
|
8700
|
+
const _hoisted_3$1 = { class: "mt-2" };
|
|
8701
|
+
const _hoisted_4$1 = {
|
|
8702
|
+
key: 3,
|
|
8703
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
8704
|
+
};
|
|
8705
|
+
const _hoisted_5$1 = { class: "text-right text-fg-subdued text-sm" };
|
|
8706
|
+
const _hoisted_6$1 = {
|
|
8707
|
+
key: 4,
|
|
8708
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
8709
|
+
};
|
|
7697
8710
|
const _hoisted_7$1 = { class: "text-right text-fg-subdued text-sm" };
|
|
7698
8711
|
const _hoisted_8$1 = {
|
|
7699
|
-
key:
|
|
8712
|
+
key: 5,
|
|
7700
8713
|
class: "grid gap-2 sm:grid-cols-2"
|
|
7701
8714
|
};
|
|
7702
8715
|
const _hoisted_9$1 = { class: "text-right text-fg-subdued text-sm" };
|
|
7703
|
-
const _sfc_main$
|
|
7704
|
-
__name: "
|
|
8716
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
8717
|
+
__name: "AttendanceManager",
|
|
7705
8718
|
setup(__props) {
|
|
7706
8719
|
var _a;
|
|
7707
8720
|
const {
|
|
@@ -7729,6 +8742,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7729
8742
|
const duration2 = DateUtil.day.duration(diff.value);
|
|
7730
8743
|
return duration2.format("HH [jam] mm [menit]");
|
|
7731
8744
|
});
|
|
8745
|
+
const reverseDiff = computed(() => {
|
|
8746
|
+
return DateUtil.day(values.value.startedAt).diff(values.value.endedAt);
|
|
8747
|
+
});
|
|
8748
|
+
const reverseDuration = computed(() => {
|
|
8749
|
+
if (isNaN(reverseDiff.value))
|
|
8750
|
+
return "-";
|
|
8751
|
+
const duration2 = DateUtil.day.duration(reverseDiff.value);
|
|
8752
|
+
return duration2.format("HH [jam] mm [menit]");
|
|
8753
|
+
});
|
|
7732
8754
|
function onStartedAtUpdate(date) {
|
|
7733
8755
|
if (!date)
|
|
7734
8756
|
return;
|
|
@@ -7739,7 +8761,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7739
8761
|
endedAt = endedAt.hour(currentEndedendedAt.hour()).minute(currentEndedendedAt.minute()).second(0).millisecond(0);
|
|
7740
8762
|
values.value.startedAt = startedAt.toISOString();
|
|
7741
8763
|
values.value.endedAt = endedAt.toISOString();
|
|
7742
|
-
conflictAtt.value = false;
|
|
7743
8764
|
}
|
|
7744
8765
|
const { staff } = useOperasional();
|
|
7745
8766
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
@@ -7755,34 +8776,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7755
8776
|
immediate: true
|
|
7756
8777
|
}
|
|
7757
8778
|
);
|
|
7758
|
-
const
|
|
7759
|
-
await executeOne("
|
|
8779
|
+
const approvedAbsensi = async () => {
|
|
8780
|
+
await executeOne("approvedAttendance", { attendanceId: id.value });
|
|
7760
8781
|
await syncOne();
|
|
7761
8782
|
};
|
|
7762
|
-
const
|
|
7763
|
-
await executeOne("
|
|
8783
|
+
const deleteAbsensi = async () => {
|
|
8784
|
+
await executeOne("deleteAttendance", { attendanceId: id.value });
|
|
7764
8785
|
await syncOne();
|
|
8786
|
+
window.location.href = "/penugasan/manager-attendances";
|
|
7765
8787
|
};
|
|
7766
|
-
const conflictAtt = ref(false);
|
|
7767
|
-
async function conflictAttendance() {
|
|
7768
|
-
var _a2;
|
|
7769
|
-
const resp = await executeOne("checkAttendance", {
|
|
7770
|
-
staffId: (_a2 = staff.value) == null ? void 0 : _a2.id,
|
|
7771
|
-
startedAt: values.value.startedAt
|
|
7772
|
-
});
|
|
7773
|
-
const countAtt = resp.data.executeAttendance.output.countAttendance;
|
|
7774
|
-
if (values.value.startedAt) {
|
|
7775
|
-
if (countAtt > 1) {
|
|
7776
|
-
conflictAtt.value = true;
|
|
7777
|
-
} else {
|
|
7778
|
-
await submitAbsensi();
|
|
7779
|
-
await syncOne();
|
|
7780
|
-
conflictAtt.value = false;
|
|
7781
|
-
}
|
|
7782
|
-
} else {
|
|
7783
|
-
conflictAtt.value = true;
|
|
7784
|
-
}
|
|
7785
|
-
}
|
|
7786
8788
|
return (_ctx, _cache) => {
|
|
7787
8789
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-attendance-single" }, {
|
|
7788
8790
|
default: withCtx(() => [
|
|
@@ -7804,26 +8806,19 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7804
8806
|
onSubmit: unref(saveOne)
|
|
7805
8807
|
}, {
|
|
7806
8808
|
default: withCtx(() => [
|
|
7807
|
-
|
|
7808
|
-
key: 0,
|
|
7809
|
-
icon: "circle-info",
|
|
7810
|
-
label: "Sudah ada Absensi!. ",
|
|
7811
|
-
description: "Untuk hari ini kamu sudah ada absensi yang diajukan, silahkan cari absensi yang telah diajukan dan ajukan kembali untuk pergantiannya.",
|
|
7812
|
-
color: "#F7CF6D"
|
|
7813
|
-
})) : createCommentVNode("v-if", true),
|
|
7814
|
-
!unref(isNew) && conflictAtt.value == false ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
8809
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
7815
8810
|
createElementVNode("div", _hoisted_2$1, [
|
|
7816
8811
|
createVNode(unref(NeonField), null, {
|
|
7817
8812
|
input: withCtx(() => [
|
|
7818
8813
|
createVNode(unref(NeonButton), {
|
|
7819
8814
|
size: "md",
|
|
7820
8815
|
color: "success",
|
|
7821
|
-
"icon-left": "
|
|
7822
|
-
"is-disabled": unref(values).status == "
|
|
7823
|
-
onClick:
|
|
8816
|
+
"icon-left": "check",
|
|
8817
|
+
"is-disabled": unref(values).status == "approved",
|
|
8818
|
+
onClick: approvedAbsensi
|
|
7824
8819
|
}, {
|
|
7825
8820
|
default: withCtx(() => [
|
|
7826
|
-
createTextVNode("
|
|
8821
|
+
createTextVNode("Disetujui")
|
|
7827
8822
|
]),
|
|
7828
8823
|
_: 1
|
|
7829
8824
|
/* STABLE */
|
|
@@ -7839,23 +8834,22 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7839
8834
|
input: withCtx(() => [
|
|
7840
8835
|
createVNode(unref(NeonButton), {
|
|
7841
8836
|
size: "md",
|
|
7842
|
-
color: "
|
|
7843
|
-
"icon-left": "
|
|
7844
|
-
|
|
7845
|
-
onClick: changeAbsensi
|
|
8837
|
+
color: "danger",
|
|
8838
|
+
"icon-left": "trash-can",
|
|
8839
|
+
onClick: deleteAbsensi
|
|
7846
8840
|
}, {
|
|
7847
8841
|
default: withCtx(() => [
|
|
7848
|
-
createTextVNode("
|
|
8842
|
+
createTextVNode("Dihapus")
|
|
7849
8843
|
]),
|
|
7850
8844
|
_: 1
|
|
7851
8845
|
/* STABLE */
|
|
7852
|
-
}
|
|
8846
|
+
})
|
|
7853
8847
|
]),
|
|
7854
8848
|
_: 1
|
|
7855
8849
|
/* STABLE */
|
|
7856
8850
|
})
|
|
7857
8851
|
])
|
|
7858
|
-
])
|
|
8852
|
+
]),
|
|
7859
8853
|
createVNode(unref(OfficeRelation), {
|
|
7860
8854
|
modelValue: unref(values),
|
|
7861
8855
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
|
|
@@ -7874,33 +8868,33 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7874
8868
|
note: "Tanggal absensi."
|
|
7875
8869
|
}
|
|
7876
8870
|
}, {
|
|
7877
|
-
"is-disabled": unref(values).status == "
|
|
8871
|
+
"is-disabled": unref(values).status == "approved",
|
|
7878
8872
|
"onUpdate:modelValue": onStartedAtUpdate
|
|
7879
8873
|
}), null, 16, ["model-value", "is-disabled"])),
|
|
7880
8874
|
createVNode(unref(NeonField), mergeProps({
|
|
7881
8875
|
modelValue: unref(values).type,
|
|
7882
8876
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
|
|
7883
8877
|
}, unref(fields).type, {
|
|
7884
|
-
"is-disabled": unref(values).status == "
|
|
8878
|
+
"is-disabled": unref(values).status == "approved"
|
|
7885
8879
|
}), null, 16, ["modelValue", "is-disabled"]),
|
|
7886
8880
|
createVNode(unref(OfficeRelation), {
|
|
7887
8881
|
modelValue: unref(values),
|
|
7888
8882
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7889
8883
|
field: unref(fields).decideStaff,
|
|
7890
|
-
"is-disabled": unref(values).status == "
|
|
8884
|
+
"is-disabled": unref(values).status == "approved"
|
|
7891
8885
|
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
7892
8886
|
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7893
|
-
key:
|
|
8887
|
+
key: 0,
|
|
7894
8888
|
modelValue: unref(values).notes,
|
|
7895
8889
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).notes = $event)
|
|
7896
8890
|
}, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
7897
8891
|
unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
|
|
7898
|
-
key:
|
|
8892
|
+
key: 1,
|
|
7899
8893
|
"is-dashed": "",
|
|
7900
8894
|
label: "Keterangan"
|
|
7901
8895
|
})) : createCommentVNode("v-if", true),
|
|
7902
8896
|
unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7903
|
-
key:
|
|
8897
|
+
key: 2,
|
|
7904
8898
|
modelValue: unref(values).submittedAt,
|
|
7905
8899
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).submittedAt = $event)
|
|
7906
8900
|
}, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
@@ -7947,7 +8941,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7947
8941
|
createElementVNode(
|
|
7948
8942
|
"div",
|
|
7949
8943
|
_hoisted_5$1,
|
|
7950
|
-
toDisplayString(
|
|
8944
|
+
toDisplayString(reverseDuration.value),
|
|
7951
8945
|
1
|
|
7952
8946
|
/* TEXT */
|
|
7953
8947
|
)
|
|
@@ -8079,8 +9073,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
8079
9073
|
};
|
|
8080
9074
|
}
|
|
8081
9075
|
});
|
|
8082
|
-
const
|
|
8083
|
-
const
|
|
9076
|
+
const AttendanceManager_vue_vue_type_style_index_0_scoped_643cca03_lang = "";
|
|
9077
|
+
const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-643cca03"]]);
|
|
8084
9078
|
const _hoisted_1 = { class: "flex flex-wrap" };
|
|
8085
9079
|
const _hoisted_2 = { class: "mt-2" };
|
|
8086
9080
|
const _hoisted_3 = { class: "mt-2" };
|
|
@@ -8099,8 +9093,8 @@ const _hoisted_8 = {
|
|
|
8099
9093
|
class: "grid gap-2 sm:grid-cols-2"
|
|
8100
9094
|
};
|
|
8101
9095
|
const _hoisted_9 = { class: "text-right text-fg-subdued text-sm" };
|
|
8102
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8103
|
-
__name: "
|
|
9096
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
9097
|
+
__name: "AttendanceSupervisor",
|
|
8104
9098
|
setup(__props) {
|
|
8105
9099
|
var _a;
|
|
8106
9100
|
const {
|
|
@@ -8169,7 +9163,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8169
9163
|
const deleteAbsensi = async () => {
|
|
8170
9164
|
await executeOne("deleteAttendance", { attendanceId: id.value });
|
|
8171
9165
|
await syncOne();
|
|
8172
|
-
window.location.href = "/
|
|
9166
|
+
window.location.href = "/pengawas/attendances";
|
|
8173
9167
|
};
|
|
8174
9168
|
return (_ctx, _cache) => {
|
|
8175
9169
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-attendance-single" }, {
|
|
@@ -8263,16 +9257,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8263
9257
|
}, unref(fields).type, {
|
|
8264
9258
|
"is-disabled": unref(values).status == "approved"
|
|
8265
9259
|
}), null, 16, ["modelValue", "is-disabled"]),
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
9260
|
+
createCommentVNode(` <OfficeRelation
|
|
9261
|
+
v-model="values"
|
|
9262
|
+
:field="fields.decideStaff"
|
|
9263
|
+
:is-disabled="values.status == 'approved'"
|
|
9264
|
+
/> `),
|
|
8272
9265
|
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
8273
9266
|
key: 0,
|
|
8274
9267
|
modelValue: unref(values).notes,
|
|
8275
|
-
"onUpdate:modelValue": _cache[
|
|
9268
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).notes = $event)
|
|
8276
9269
|
}, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
8277
9270
|
unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
|
|
8278
9271
|
key: 1,
|
|
@@ -8282,13 +9275,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8282
9275
|
unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
8283
9276
|
key: 2,
|
|
8284
9277
|
modelValue: unref(values).submittedAt,
|
|
8285
|
-
"onUpdate:modelValue": _cache[
|
|
9278
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).submittedAt = $event)
|
|
8286
9279
|
}, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
8287
9280
|
createCommentVNode(" EARLY GO HOME "),
|
|
8288
9281
|
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
8289
9282
|
createVNode(unref(NeonField), mergeProps({
|
|
8290
9283
|
modelValue: unref(values).startedAt,
|
|
8291
|
-
"onUpdate:modelValue": _cache[
|
|
9284
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).startedAt = $event)
|
|
8292
9285
|
}, {
|
|
8293
9286
|
handle: "startedAt",
|
|
8294
9287
|
name: "Jam Pulang Kerja",
|
|
@@ -8299,7 +9292,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8299
9292
|
input: withCtx(() => [
|
|
8300
9293
|
createVNode(unref(NeonTime), {
|
|
8301
9294
|
modelValue: unref(values).startedAt,
|
|
8302
|
-
"onUpdate:modelValue": _cache[
|
|
9295
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).startedAt = $event),
|
|
8303
9296
|
"is-loading": unref(isLoading),
|
|
8304
9297
|
class: "mt-2"
|
|
8305
9298
|
}, null, 8, ["modelValue", "is-loading"])
|
|
@@ -8309,7 +9302,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8309
9302
|
}, 16, ["modelValue"]),
|
|
8310
9303
|
createVNode(unref(NeonField), mergeProps({
|
|
8311
9304
|
modelValue: unref(values).endedAt,
|
|
8312
|
-
"onUpdate:modelValue": _cache[
|
|
9305
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).endedAt = $event)
|
|
8313
9306
|
}, {
|
|
8314
9307
|
handle: "endedAt",
|
|
8315
9308
|
name: "Jam Pulang Lebih Awal",
|
|
@@ -8320,7 +9313,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8320
9313
|
input: withCtx(() => [
|
|
8321
9314
|
createVNode(unref(NeonTime), {
|
|
8322
9315
|
modelValue: unref(values).endedAt,
|
|
8323
|
-
"onUpdate:modelValue": _cache[
|
|
9316
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).endedAt = $event),
|
|
8324
9317
|
"is-loading": unref(isLoading),
|
|
8325
9318
|
class: "mt-2"
|
|
8326
9319
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
@@ -8340,7 +9333,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8340
9333
|
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
8341
9334
|
createVNode(unref(NeonField), mergeProps({
|
|
8342
9335
|
modelValue: unref(values).startedAt,
|
|
8343
|
-
"onUpdate:modelValue": _cache[
|
|
9336
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).startedAt = $event)
|
|
8344
9337
|
}, {
|
|
8345
9338
|
handle: "startedAt",
|
|
8346
9339
|
name: "Jam Datang",
|
|
@@ -8351,7 +9344,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8351
9344
|
input: withCtx(() => [
|
|
8352
9345
|
createVNode(unref(NeonTime), {
|
|
8353
9346
|
modelValue: unref(values).startedAt,
|
|
8354
|
-
"onUpdate:modelValue": _cache[
|
|
9347
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).startedAt = $event),
|
|
8355
9348
|
"is-loading": unref(isLoading),
|
|
8356
9349
|
class: "mt-2"
|
|
8357
9350
|
}, null, 8, ["modelValue", "is-loading"])
|
|
@@ -8361,7 +9354,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8361
9354
|
}, 16, ["modelValue"]),
|
|
8362
9355
|
createVNode(unref(NeonField), mergeProps({
|
|
8363
9356
|
modelValue: unref(values).endedAt,
|
|
8364
|
-
"onUpdate:modelValue": _cache[
|
|
9357
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).endedAt = $event)
|
|
8365
9358
|
}, {
|
|
8366
9359
|
handle: "endedAt",
|
|
8367
9360
|
name: "Jam Datang Terlambat",
|
|
@@ -8372,7 +9365,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8372
9365
|
input: withCtx(() => [
|
|
8373
9366
|
createVNode(unref(NeonTime), {
|
|
8374
9367
|
modelValue: unref(values).endedAt,
|
|
8375
|
-
"onUpdate:modelValue": _cache[
|
|
9368
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).endedAt = $event),
|
|
8376
9369
|
"is-loading": unref(isLoading),
|
|
8377
9370
|
class: "mt-2"
|
|
8378
9371
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
@@ -8392,7 +9385,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8392
9385
|
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
8393
9386
|
createVNode(unref(NeonField), mergeProps({
|
|
8394
9387
|
modelValue: unref(values).startedAt,
|
|
8395
|
-
"onUpdate:modelValue": _cache[
|
|
9388
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).startedAt = $event)
|
|
8396
9389
|
}, {
|
|
8397
9390
|
handle: "startedAt",
|
|
8398
9391
|
name: "Mulai",
|
|
@@ -8403,7 +9396,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8403
9396
|
input: withCtx(() => [
|
|
8404
9397
|
createVNode(unref(NeonTime), {
|
|
8405
9398
|
modelValue: unref(values).startedAt,
|
|
8406
|
-
"onUpdate:modelValue": _cache[
|
|
9399
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).startedAt = $event),
|
|
8407
9400
|
"is-loading": unref(isLoading),
|
|
8408
9401
|
class: "mt-2"
|
|
8409
9402
|
}, null, 8, ["modelValue", "is-loading"])
|
|
@@ -8413,7 +9406,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8413
9406
|
}, 16, ["modelValue"]),
|
|
8414
9407
|
createVNode(unref(NeonField), mergeProps({
|
|
8415
9408
|
modelValue: unref(values).endedAt,
|
|
8416
|
-
"onUpdate:modelValue": _cache[
|
|
9409
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).endedAt = $event)
|
|
8417
9410
|
}, {
|
|
8418
9411
|
handle: "endedAt",
|
|
8419
9412
|
name: "Selesai",
|
|
@@ -8424,7 +9417,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8424
9417
|
input: withCtx(() => [
|
|
8425
9418
|
createVNode(unref(NeonTime), {
|
|
8426
9419
|
modelValue: unref(values).endedAt,
|
|
8427
|
-
"onUpdate:modelValue": _cache[
|
|
9420
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).endedAt = $event),
|
|
8428
9421
|
"is-loading": unref(isLoading),
|
|
8429
9422
|
class: "mt-2"
|
|
8430
9423
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
@@ -8459,81 +9452,247 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8459
9452
|
};
|
|
8460
9453
|
}
|
|
8461
9454
|
});
|
|
8462
|
-
const
|
|
8463
|
-
const
|
|
9455
|
+
const AttendanceSupervisor_vue_vue_type_style_index_0_scoped_3b3cd9ef_lang = "";
|
|
9456
|
+
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-3b3cd9ef"]]);
|
|
9457
|
+
const ProgressAccessModel = models$2.ProgressAccessModel;
|
|
9458
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
9459
|
+
...{
|
|
9460
|
+
name: "ProgressAccessCollection"
|
|
9461
|
+
},
|
|
9462
|
+
__name: "ProgressAccessCollection",
|
|
9463
|
+
setup(__props) {
|
|
9464
|
+
useCollection();
|
|
9465
|
+
return (_ctx, _cache) => {
|
|
9466
|
+
return openBlock(), createBlock(unref(NeonCollection), { class: "neu-progress-access-collection" }, {
|
|
9467
|
+
default: withCtx(() => [
|
|
9468
|
+
createVNode(unref(OfficeCollectionTable))
|
|
9469
|
+
]),
|
|
9470
|
+
_: 1
|
|
9471
|
+
/* STABLE */
|
|
9472
|
+
});
|
|
9473
|
+
};
|
|
9474
|
+
}
|
|
9475
|
+
});
|
|
9476
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
9477
|
+
__name: "ProgressAccessSingle",
|
|
9478
|
+
setup(__props) {
|
|
9479
|
+
const {
|
|
9480
|
+
fields,
|
|
9481
|
+
id,
|
|
9482
|
+
initialValues,
|
|
9483
|
+
values,
|
|
9484
|
+
isLoading,
|
|
9485
|
+
isChanged,
|
|
9486
|
+
isReady,
|
|
9487
|
+
isMain,
|
|
9488
|
+
isNew,
|
|
9489
|
+
saveOne,
|
|
9490
|
+
discardChanges
|
|
9491
|
+
} = useSingle();
|
|
9492
|
+
return (_ctx, _cache) => {
|
|
9493
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-access-single" }, {
|
|
9494
|
+
default: withCtx(() => [
|
|
9495
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
9496
|
+
default: withCtx(() => [
|
|
9497
|
+
createVNode(unref(OfficeTab), {
|
|
9498
|
+
handle: "info",
|
|
9499
|
+
icon: "circle-info",
|
|
9500
|
+
title: "Info"
|
|
9501
|
+
}, {
|
|
9502
|
+
default: withCtx(() => [
|
|
9503
|
+
createVNode(unref(NeonForm), {
|
|
9504
|
+
handle: "info",
|
|
9505
|
+
"initial-values": unref(initialValues),
|
|
9506
|
+
"is-loading": unref(isLoading),
|
|
9507
|
+
"is-changed": unref(isChanged),
|
|
9508
|
+
"use-unsaved": "",
|
|
9509
|
+
onCancel: unref(discardChanges),
|
|
9510
|
+
onSubmit: unref(saveOne)
|
|
9511
|
+
}, {
|
|
9512
|
+
default: withCtx(() => [
|
|
9513
|
+
createVNode(unref(OfficeRelation), {
|
|
9514
|
+
modelValue: unref(values),
|
|
9515
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
|
|
9516
|
+
field: unref(fields).superviseStaff
|
|
9517
|
+
}, null, 8, ["modelValue", "field"]),
|
|
9518
|
+
createVNode(unref(OfficeRelation), {
|
|
9519
|
+
modelValue: unref(values),
|
|
9520
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
9521
|
+
field: unref(fields).supervisedStaffs
|
|
9522
|
+
}, null, 8, ["modelValue", "field"])
|
|
9523
|
+
]),
|
|
9524
|
+
_: 1
|
|
9525
|
+
/* STABLE */
|
|
9526
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
9527
|
+
]),
|
|
9528
|
+
_: 1
|
|
9529
|
+
/* STABLE */
|
|
9530
|
+
})
|
|
9531
|
+
]),
|
|
9532
|
+
_: 1
|
|
9533
|
+
/* STABLE */
|
|
9534
|
+
}, 8, ["use-url"])
|
|
9535
|
+
]),
|
|
9536
|
+
_: 1
|
|
9537
|
+
/* STABLE */
|
|
9538
|
+
});
|
|
9539
|
+
};
|
|
9540
|
+
}
|
|
9541
|
+
});
|
|
9542
|
+
const ProgressAccessSingle_vue_vue_type_style_index_0_scoped_60f0e0da_lang = "";
|
|
9543
|
+
const ProgressAccessSingle = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-60f0e0da"]]);
|
|
9544
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9545
|
+
__name: "ProgressAccessSupervisor",
|
|
9546
|
+
setup(__props) {
|
|
9547
|
+
const {
|
|
9548
|
+
fields,
|
|
9549
|
+
id,
|
|
9550
|
+
initialValues,
|
|
9551
|
+
values,
|
|
9552
|
+
isLoading,
|
|
9553
|
+
isChanged,
|
|
9554
|
+
isReady,
|
|
9555
|
+
isMain,
|
|
9556
|
+
isNew,
|
|
9557
|
+
saveOne,
|
|
9558
|
+
discardChanges
|
|
9559
|
+
} = useSingle();
|
|
9560
|
+
return (_ctx, _cache) => {
|
|
9561
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-access-single" }, {
|
|
9562
|
+
default: withCtx(() => [
|
|
9563
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
9564
|
+
default: withCtx(() => [
|
|
9565
|
+
createVNode(unref(OfficeTab), {
|
|
9566
|
+
handle: "info",
|
|
9567
|
+
icon: "circle-info",
|
|
9568
|
+
title: "Info"
|
|
9569
|
+
}, {
|
|
9570
|
+
default: withCtx(() => [
|
|
9571
|
+
createVNode(unref(NeonForm), {
|
|
9572
|
+
handle: "info",
|
|
9573
|
+
"initial-values": unref(initialValues),
|
|
9574
|
+
"is-loading": unref(isLoading),
|
|
9575
|
+
"is-changed": unref(isChanged),
|
|
9576
|
+
"use-unsaved": "",
|
|
9577
|
+
onCancel: unref(discardChanges),
|
|
9578
|
+
onSubmit: unref(saveOne)
|
|
9579
|
+
}, {
|
|
9580
|
+
default: withCtx(() => [
|
|
9581
|
+
createVNode(unref(OfficeRelation), {
|
|
9582
|
+
modelValue: unref(values),
|
|
9583
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
|
|
9584
|
+
field: unref(fields).superviseStaff,
|
|
9585
|
+
"is-disabled": ""
|
|
9586
|
+
}, null, 8, ["modelValue", "field"]),
|
|
9587
|
+
createVNode(unref(OfficeRelation), {
|
|
9588
|
+
modelValue: unref(values),
|
|
9589
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
9590
|
+
field: unref(fields).supervisedStaffs,
|
|
9591
|
+
"is-disabled": ""
|
|
9592
|
+
}, null, 8, ["modelValue", "field"])
|
|
9593
|
+
]),
|
|
9594
|
+
_: 1
|
|
9595
|
+
/* STABLE */
|
|
9596
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
9597
|
+
]),
|
|
9598
|
+
_: 1
|
|
9599
|
+
/* STABLE */
|
|
9600
|
+
})
|
|
9601
|
+
]),
|
|
9602
|
+
_: 1
|
|
9603
|
+
/* STABLE */
|
|
9604
|
+
}, 8, ["use-url"])
|
|
9605
|
+
]),
|
|
9606
|
+
_: 1
|
|
9607
|
+
/* STABLE */
|
|
9608
|
+
});
|
|
9609
|
+
};
|
|
9610
|
+
}
|
|
9611
|
+
});
|
|
9612
|
+
const ProgressAccessSupervisor_vue_vue_type_style_index_0_scoped_54eff340_lang = "";
|
|
9613
|
+
const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-54eff340"]]);
|
|
8464
9614
|
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8465
9615
|
__proto__: null,
|
|
8466
|
-
AttendanceCollection: _sfc_main$
|
|
9616
|
+
AttendanceCollection: _sfc_main$7,
|
|
8467
9617
|
AttendanceManager,
|
|
8468
9618
|
AttendanceModel,
|
|
8469
9619
|
AttendanceSingle,
|
|
8470
9620
|
AttendanceStaff,
|
|
9621
|
+
AttendanceSupervisor,
|
|
8471
9622
|
CheckInAccess,
|
|
8472
|
-
CheckInCollection: _sfc_main$
|
|
9623
|
+
CheckInCollection: _sfc_main$S,
|
|
8473
9624
|
CheckInExternal,
|
|
8474
9625
|
CheckInModel,
|
|
8475
9626
|
CheckInPresenceCollection,
|
|
8476
|
-
CheckInScanError: _sfc_main$
|
|
8477
|
-
CheckInScanSuccess: _sfc_main$
|
|
9627
|
+
CheckInScanError: _sfc_main$V,
|
|
9628
|
+
CheckInScanSuccess: _sfc_main$T,
|
|
8478
9629
|
CheckInScanner,
|
|
8479
9630
|
CheckInSingle,
|
|
9631
|
+
CheckInSupervisor,
|
|
8480
9632
|
NeonTime,
|
|
8481
9633
|
OperasionalIdentitas,
|
|
8482
|
-
PlanCollection: _sfc_main$
|
|
9634
|
+
PlanCollection: _sfc_main$h,
|
|
8483
9635
|
PlanModel,
|
|
8484
9636
|
PlanSingle,
|
|
8485
9637
|
PlanStaff,
|
|
8486
|
-
PlanTypeCollection: _sfc_main$
|
|
9638
|
+
PlanTypeCollection: _sfc_main$j,
|
|
8487
9639
|
PlanTypeModel,
|
|
8488
9640
|
PlanTypeSingle,
|
|
8489
|
-
|
|
9641
|
+
ProgressAccessCollection: _sfc_main$2,
|
|
9642
|
+
ProgressAccessModel,
|
|
9643
|
+
ProgressAccessSingle,
|
|
9644
|
+
ProgressAccessSupervisor,
|
|
9645
|
+
ProgressButton: _sfc_main$e,
|
|
8490
9646
|
ProgressCollection,
|
|
8491
9647
|
ProgressModel,
|
|
8492
9648
|
ProgressNote,
|
|
9649
|
+
ProgressNoteButton: _sfc_main$d,
|
|
8493
9650
|
ProgressSingle,
|
|
8494
9651
|
ProgressTomorrow,
|
|
8495
9652
|
ProgressYesterday,
|
|
8496
|
-
ResponsibilityCollection: _sfc_main$
|
|
9653
|
+
ResponsibilityCollection: _sfc_main$q,
|
|
8497
9654
|
ResponsibilityModel,
|
|
8498
9655
|
ResponsibilitySingle,
|
|
8499
9656
|
ResponsibilityStaff,
|
|
8500
|
-
|
|
9657
|
+
ResponsibilitySupervisor,
|
|
9658
|
+
ResponsibilityTypeCollection: _sfc_main$s,
|
|
8501
9659
|
ResponsibilityTypeModel,
|
|
8502
9660
|
ResponsibilityTypeSingle,
|
|
8503
|
-
SituationCollection: _sfc_main$
|
|
9661
|
+
SituationCollection: _sfc_main$M,
|
|
8504
9662
|
SituationModel,
|
|
8505
|
-
SituationSingle: _sfc_main$
|
|
8506
|
-
SituationSupportive: _sfc_main$
|
|
8507
|
-
SituationTypeCollection: _sfc_main$
|
|
9663
|
+
SituationSingle: _sfc_main$L,
|
|
9664
|
+
SituationSupportive: _sfc_main$J,
|
|
9665
|
+
SituationTypeCollection: _sfc_main$I,
|
|
8508
9666
|
SituationTypeModel,
|
|
8509
|
-
SituationTypeSingle: _sfc_main$
|
|
8510
|
-
SituationWork: _sfc_main$
|
|
8511
|
-
StaffCollection: _sfc_main$
|
|
8512
|
-
StaffIdentity: _sfc_main$
|
|
9667
|
+
SituationTypeSingle: _sfc_main$H,
|
|
9668
|
+
SituationWork: _sfc_main$K,
|
|
9669
|
+
StaffCollection: _sfc_main$Q,
|
|
9670
|
+
StaffIdentity: _sfc_main$N,
|
|
8513
9671
|
StaffModel,
|
|
8514
9672
|
StaffOperasional,
|
|
8515
9673
|
StaffSingle,
|
|
8516
9674
|
SubmissionAudit,
|
|
8517
|
-
SubmissionCollection: _sfc_main$
|
|
9675
|
+
SubmissionCollection: _sfc_main$C,
|
|
8518
9676
|
SubmissionDecision,
|
|
8519
9677
|
SubmissionFollowUp,
|
|
8520
9678
|
SubmissionModel,
|
|
8521
9679
|
SubmissionSingle,
|
|
8522
9680
|
SubmissionStaff,
|
|
8523
|
-
|
|
9681
|
+
SubmissionSupervisor,
|
|
9682
|
+
SubmissionTypeCollection: _sfc_main$u,
|
|
8524
9683
|
SubmissionTypeModel,
|
|
8525
9684
|
SubmissionTypeSingle,
|
|
8526
9685
|
SubmissionWaitingDecision,
|
|
8527
9686
|
TargetBranch,
|
|
8528
|
-
TargetCollection: _sfc_main$
|
|
9687
|
+
TargetCollection: _sfc_main$m,
|
|
8529
9688
|
TargetModel,
|
|
8530
9689
|
TargetSingle,
|
|
8531
|
-
TaskCollection: _sfc_main$
|
|
9690
|
+
TaskCollection: _sfc_main$F,
|
|
8532
9691
|
TaskModel,
|
|
8533
|
-
TaskSingle: _sfc_main$
|
|
8534
|
-
TaskWork: _sfc_main$
|
|
8535
|
-
TaskWorkButton: _sfc_main$
|
|
8536
|
-
XxxButton: _sfc_main$
|
|
9692
|
+
TaskSingle: _sfc_main$E,
|
|
9693
|
+
TaskWork: _sfc_main$D,
|
|
9694
|
+
TaskWorkButton: _sfc_main$G,
|
|
9695
|
+
XxxButton: _sfc_main$10
|
|
8537
9696
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8538
9697
|
function registerComponents(app) {
|
|
8539
9698
|
Object.entries(components).forEach(([name, component]) => {
|
|
@@ -8549,80 +9708,89 @@ const OperasionalInterfacesPlugin = {
|
|
|
8549
9708
|
}
|
|
8550
9709
|
};
|
|
8551
9710
|
export {
|
|
8552
|
-
_sfc_main$
|
|
9711
|
+
_sfc_main$7 as AttendanceCollection,
|
|
8553
9712
|
AttendanceManager,
|
|
8554
9713
|
AttendanceModel,
|
|
8555
9714
|
AttendanceSingle,
|
|
8556
9715
|
AttendanceStaff,
|
|
9716
|
+
AttendanceSupervisor,
|
|
8557
9717
|
CheckInAccess,
|
|
8558
|
-
_sfc_main$
|
|
9718
|
+
_sfc_main$S as CheckInCollection,
|
|
8559
9719
|
CheckInExternal,
|
|
8560
9720
|
CheckInModel,
|
|
8561
9721
|
CheckInPresenceCollection,
|
|
8562
|
-
_sfc_main$
|
|
8563
|
-
_sfc_main$
|
|
9722
|
+
_sfc_main$V as CheckInScanError,
|
|
9723
|
+
_sfc_main$T as CheckInScanSuccess,
|
|
8564
9724
|
CheckInScanner,
|
|
8565
9725
|
CheckInSingle,
|
|
9726
|
+
CheckInSupervisor,
|
|
8566
9727
|
operasional_types as NOperasional,
|
|
8567
9728
|
NeonTime,
|
|
8568
9729
|
OperasionalIdentitas,
|
|
8569
9730
|
OperasionalInterfacesPlugin,
|
|
8570
|
-
_sfc_main$
|
|
9731
|
+
_sfc_main$h as PlanCollection,
|
|
8571
9732
|
PlanModel,
|
|
8572
9733
|
PlanSingle,
|
|
8573
9734
|
PlanStaff,
|
|
8574
|
-
_sfc_main$
|
|
9735
|
+
_sfc_main$j as PlanTypeCollection,
|
|
8575
9736
|
PlanTypeModel,
|
|
8576
9737
|
PlanTypeSingle,
|
|
8577
|
-
_sfc_main$
|
|
9738
|
+
_sfc_main$2 as ProgressAccessCollection,
|
|
9739
|
+
ProgressAccessModel,
|
|
9740
|
+
ProgressAccessSingle,
|
|
9741
|
+
ProgressAccessSupervisor,
|
|
9742
|
+
_sfc_main$e as ProgressButton,
|
|
8578
9743
|
ProgressCollection,
|
|
8579
9744
|
ProgressModel,
|
|
8580
9745
|
ProgressNote,
|
|
9746
|
+
_sfc_main$d as ProgressNoteButton,
|
|
8581
9747
|
ProgressSingle,
|
|
8582
9748
|
ProgressTomorrow,
|
|
8583
9749
|
ProgressYesterday,
|
|
8584
|
-
_sfc_main$
|
|
9750
|
+
_sfc_main$q as ResponsibilityCollection,
|
|
8585
9751
|
ResponsibilityModel,
|
|
8586
9752
|
ResponsibilitySingle,
|
|
8587
9753
|
ResponsibilityStaff,
|
|
8588
|
-
|
|
9754
|
+
ResponsibilitySupervisor,
|
|
9755
|
+
_sfc_main$s as ResponsibilityTypeCollection,
|
|
8589
9756
|
ResponsibilityTypeModel,
|
|
8590
9757
|
ResponsibilityTypeSingle,
|
|
8591
9758
|
graphql as Schema,
|
|
8592
|
-
_sfc_main$
|
|
9759
|
+
_sfc_main$M as SituationCollection,
|
|
8593
9760
|
SituationModel,
|
|
8594
|
-
_sfc_main$
|
|
8595
|
-
_sfc_main$
|
|
8596
|
-
_sfc_main$
|
|
9761
|
+
_sfc_main$L as SituationSingle,
|
|
9762
|
+
_sfc_main$J as SituationSupportive,
|
|
9763
|
+
_sfc_main$I as SituationTypeCollection,
|
|
8597
9764
|
SituationTypeModel,
|
|
8598
|
-
_sfc_main$
|
|
8599
|
-
_sfc_main$
|
|
8600
|
-
_sfc_main$
|
|
8601
|
-
_sfc_main$
|
|
9765
|
+
_sfc_main$H as SituationTypeSingle,
|
|
9766
|
+
_sfc_main$K as SituationWork,
|
|
9767
|
+
_sfc_main$Q as StaffCollection,
|
|
9768
|
+
_sfc_main$N as StaffIdentity,
|
|
8602
9769
|
StaffModel,
|
|
8603
9770
|
StaffOperasional,
|
|
8604
9771
|
StaffSingle,
|
|
8605
9772
|
SubmissionAudit,
|
|
8606
|
-
_sfc_main$
|
|
9773
|
+
_sfc_main$C as SubmissionCollection,
|
|
8607
9774
|
SubmissionDecision,
|
|
8608
9775
|
SubmissionFollowUp,
|
|
8609
9776
|
SubmissionModel,
|
|
8610
9777
|
SubmissionSingle,
|
|
8611
9778
|
SubmissionStaff,
|
|
8612
|
-
|
|
9779
|
+
SubmissionSupervisor,
|
|
9780
|
+
_sfc_main$u as SubmissionTypeCollection,
|
|
8613
9781
|
SubmissionTypeModel,
|
|
8614
9782
|
SubmissionTypeSingle,
|
|
8615
9783
|
SubmissionWaitingDecision,
|
|
8616
9784
|
TargetBranch,
|
|
8617
|
-
_sfc_main$
|
|
9785
|
+
_sfc_main$m as TargetCollection,
|
|
8618
9786
|
TargetModel,
|
|
8619
9787
|
TargetSingle,
|
|
8620
|
-
_sfc_main$
|
|
9788
|
+
_sfc_main$F as TaskCollection,
|
|
8621
9789
|
TaskModel,
|
|
8622
|
-
_sfc_main$
|
|
8623
|
-
_sfc_main$
|
|
8624
|
-
_sfc_main$
|
|
8625
|
-
_sfc_main$
|
|
9790
|
+
_sfc_main$E as TaskSingle,
|
|
9791
|
+
_sfc_main$D as TaskWork,
|
|
9792
|
+
_sfc_main$G as TaskWorkButton,
|
|
9793
|
+
_sfc_main$10 as XxxButton,
|
|
8626
9794
|
bus,
|
|
8627
9795
|
useAttendanceStore,
|
|
8628
9796
|
useOperasional,
|