@neutron.co.id/operasional-interfaces 1.11.2 → 1.11.3
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/@package/components/attendance/attendance.types.d.ts +1 -1
- package/build/@package/components/checkIn/checkIn.types.d.ts +1 -1
- package/build/@package/components/checkIn/sheets/CheckInScanner.vue.d.ts +1 -1
- package/build/@package/components/progress/progress.types.d.ts +1 -1
- package/build/@package/components/responsibility/responsibility.types.d.ts +1 -1
- package/build/@package/components/staff/staff.types.d.ts +1 -1
- package/build/index.cjs +953 -558
- package/build/index.mjs +953 -558
- package/build/module.json +1 -1
- package/build/nuxt.json +1 -1
- package/build/nuxt.mjs +9 -5
- package/build/style.css +27 -27
- package/package.json +48 -48
package/build/index.mjs
CHANGED
|
@@ -10124,8 +10124,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
10124
10124
|
}
|
|
10125
10125
|
},
|
|
10126
10126
|
emits: ["update:modelValue"],
|
|
10127
|
-
setup(__props, { emit }) {
|
|
10127
|
+
setup(__props, { emit: __emit }) {
|
|
10128
10128
|
const props = __props;
|
|
10129
|
+
const emit = __emit;
|
|
10129
10130
|
const internalValue = computed(() => {
|
|
10130
10131
|
const newDate = DateUtil.day(props.modelValue || void 0);
|
|
10131
10132
|
return newDate.second(0).millisecond(0).toISOString();
|
|
@@ -10180,17 +10181,17 @@ const _hoisted_1$o = { class: "flex flex-wrap" };
|
|
|
10180
10181
|
const _hoisted_2$h = { class: "mt-2" };
|
|
10181
10182
|
const _hoisted_3$8 = { class: "mt-2" };
|
|
10182
10183
|
const _hoisted_4$6 = {
|
|
10183
|
-
key:
|
|
10184
|
+
key: 4,
|
|
10184
10185
|
class: "grid gap-2 sm:grid-cols-2"
|
|
10185
10186
|
};
|
|
10186
10187
|
const _hoisted_5$4 = { class: "text-right text-fg-subdued text-sm" };
|
|
10187
10188
|
const _hoisted_6$3 = {
|
|
10188
|
-
key:
|
|
10189
|
+
key: 5,
|
|
10189
10190
|
class: "grid gap-2 sm:grid-cols-2"
|
|
10190
10191
|
};
|
|
10191
10192
|
const _hoisted_7$2 = { class: "text-right text-fg-subdued text-sm" };
|
|
10192
10193
|
const _hoisted_8$2 = {
|
|
10193
|
-
key:
|
|
10194
|
+
key: 6,
|
|
10194
10195
|
class: "grid gap-2 sm:grid-cols-2"
|
|
10195
10196
|
};
|
|
10196
10197
|
const _hoisted_9$2 = { class: "text-right text-fg-subdued text-sm" };
|
|
@@ -10364,26 +10365,33 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10364
10365
|
field: unref(fields).decideStaff,
|
|
10365
10366
|
"is-disabled": unref(values).status == "approved"
|
|
10366
10367
|
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
10367
|
-
unref(
|
|
10368
|
+
unref(values).type == "leave" ? (openBlock(), createBlock(unref(OfficeRelation), {
|
|
10368
10369
|
key: 0,
|
|
10370
|
+
modelValue: unref(values),
|
|
10371
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
10372
|
+
field: unref(fields).delegateStaffs,
|
|
10373
|
+
"is-disabled": unref(values).status == "approved"
|
|
10374
|
+
}, null, 8, ["modelValue", "field", "is-disabled"])) : createCommentVNode("v-if", true),
|
|
10375
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
10376
|
+
key: 1,
|
|
10369
10377
|
modelValue: unref(values).notes,
|
|
10370
|
-
"onUpdate:modelValue": _cache[
|
|
10378
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).notes = $event)
|
|
10371
10379
|
}, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
10372
10380
|
unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
|
|
10373
|
-
key:
|
|
10381
|
+
key: 2,
|
|
10374
10382
|
"is-dashed": "",
|
|
10375
10383
|
label: "Keterangan"
|
|
10376
10384
|
})) : createCommentVNode("v-if", true),
|
|
10377
10385
|
unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
10378
|
-
key:
|
|
10386
|
+
key: 3,
|
|
10379
10387
|
modelValue: unref(values).submittedAt,
|
|
10380
|
-
"onUpdate:modelValue": _cache[
|
|
10388
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).submittedAt = $event)
|
|
10381
10389
|
}, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
10382
10390
|
createCommentVNode(" EARLY GO HOME "),
|
|
10383
10391
|
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
10384
10392
|
createVNode(unref(NeonField), mergeProps({
|
|
10385
10393
|
modelValue: unref(values).startedAt,
|
|
10386
|
-
"onUpdate:modelValue": _cache[
|
|
10394
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).startedAt = $event)
|
|
10387
10395
|
}, {
|
|
10388
10396
|
handle: "startedAt",
|
|
10389
10397
|
name: "Jam Pulang Kerja",
|
|
@@ -10394,7 +10402,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10394
10402
|
input: withCtx(() => [
|
|
10395
10403
|
createVNode(unref(NeonTime), {
|
|
10396
10404
|
modelValue: unref(values).startedAt,
|
|
10397
|
-
"onUpdate:modelValue": _cache[
|
|
10405
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).startedAt = $event),
|
|
10398
10406
|
"is-loading": unref(isLoading),
|
|
10399
10407
|
class: "mt-2"
|
|
10400
10408
|
}, null, 8, ["modelValue", "is-loading"])
|
|
@@ -10404,7 +10412,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10404
10412
|
}, 16, ["modelValue"]),
|
|
10405
10413
|
createVNode(unref(NeonField), mergeProps({
|
|
10406
10414
|
modelValue: unref(values).endedAt,
|
|
10407
|
-
"onUpdate:modelValue": _cache[
|
|
10415
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).endedAt = $event)
|
|
10408
10416
|
}, {
|
|
10409
10417
|
handle: "endedAt",
|
|
10410
10418
|
name: "Jam Pulang Lebih Awal",
|
|
@@ -10415,7 +10423,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10415
10423
|
input: withCtx(() => [
|
|
10416
10424
|
createVNode(unref(NeonTime), {
|
|
10417
10425
|
modelValue: unref(values).endedAt,
|
|
10418
|
-
"onUpdate:modelValue": _cache[
|
|
10426
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).endedAt = $event),
|
|
10419
10427
|
"is-loading": unref(isLoading),
|
|
10420
10428
|
class: "mt-2"
|
|
10421
10429
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
@@ -10435,7 +10443,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10435
10443
|
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
|
|
10436
10444
|
createVNode(unref(NeonField), mergeProps({
|
|
10437
10445
|
modelValue: unref(values).startedAt,
|
|
10438
|
-
"onUpdate:modelValue": _cache[
|
|
10446
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).startedAt = $event)
|
|
10439
10447
|
}, {
|
|
10440
10448
|
handle: "startedAt",
|
|
10441
10449
|
name: "Jam Datang",
|
|
@@ -10446,7 +10454,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10446
10454
|
input: withCtx(() => [
|
|
10447
10455
|
createVNode(unref(NeonTime), {
|
|
10448
10456
|
modelValue: unref(values).startedAt,
|
|
10449
|
-
"onUpdate:modelValue": _cache[
|
|
10457
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).startedAt = $event),
|
|
10450
10458
|
"is-loading": unref(isLoading),
|
|
10451
10459
|
class: "mt-2"
|
|
10452
10460
|
}, null, 8, ["modelValue", "is-loading"])
|
|
@@ -10456,7 +10464,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10456
10464
|
}, 16, ["modelValue"]),
|
|
10457
10465
|
createVNode(unref(NeonField), mergeProps({
|
|
10458
10466
|
modelValue: unref(values).endedAt,
|
|
10459
|
-
"onUpdate:modelValue": _cache[
|
|
10467
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).endedAt = $event)
|
|
10460
10468
|
}, {
|
|
10461
10469
|
handle: "endedAt",
|
|
10462
10470
|
name: "Jam Datang Terlambat",
|
|
@@ -10467,7 +10475,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10467
10475
|
input: withCtx(() => [
|
|
10468
10476
|
createVNode(unref(NeonTime), {
|
|
10469
10477
|
modelValue: unref(values).endedAt,
|
|
10470
|
-
"onUpdate:modelValue": _cache[
|
|
10478
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).endedAt = $event),
|
|
10471
10479
|
"is-loading": unref(isLoading),
|
|
10472
10480
|
class: "mt-2"
|
|
10473
10481
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
@@ -10487,7 +10495,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10487
10495
|
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
|
|
10488
10496
|
createVNode(unref(NeonField), mergeProps({
|
|
10489
10497
|
modelValue: unref(values).startedAt,
|
|
10490
|
-
"onUpdate:modelValue": _cache[
|
|
10498
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).startedAt = $event)
|
|
10491
10499
|
}, {
|
|
10492
10500
|
handle: "startedAt",
|
|
10493
10501
|
name: "Mulai",
|
|
@@ -10498,7 +10506,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10498
10506
|
input: withCtx(() => [
|
|
10499
10507
|
createVNode(unref(NeonTime), {
|
|
10500
10508
|
modelValue: unref(values).startedAt,
|
|
10501
|
-
"onUpdate:modelValue": _cache[
|
|
10509
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).startedAt = $event),
|
|
10502
10510
|
"is-loading": unref(isLoading),
|
|
10503
10511
|
class: "mt-2"
|
|
10504
10512
|
}, null, 8, ["modelValue", "is-loading"])
|
|
@@ -10508,7 +10516,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10508
10516
|
}, 16, ["modelValue"]),
|
|
10509
10517
|
createVNode(unref(NeonField), mergeProps({
|
|
10510
10518
|
modelValue: unref(values).endedAt,
|
|
10511
|
-
"onUpdate:modelValue": _cache[
|
|
10519
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(values).endedAt = $event)
|
|
10512
10520
|
}, {
|
|
10513
10521
|
handle: "endedAt",
|
|
10514
10522
|
name: "Selesai",
|
|
@@ -10519,7 +10527,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10519
10527
|
input: withCtx(() => [
|
|
10520
10528
|
createVNode(unref(NeonTime), {
|
|
10521
10529
|
modelValue: unref(values).endedAt,
|
|
10522
|
-
"onUpdate:modelValue": _cache[
|
|
10530
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(values).endedAt = $event),
|
|
10523
10531
|
"is-loading": unref(isLoading),
|
|
10524
10532
|
class: "mt-2"
|
|
10525
10533
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
@@ -10554,8 +10562,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
10554
10562
|
};
|
|
10555
10563
|
}
|
|
10556
10564
|
});
|
|
10557
|
-
const
|
|
10558
|
-
const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-
|
|
10565
|
+
const AttendanceManager_vue_vue_type_style_index_0_scoped_4da92bf5_lang = "";
|
|
10566
|
+
const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-4da92bf5"]]);
|
|
10559
10567
|
const _hoisted_1$n = { class: "grid gap-2 sm:grid-cols-2" };
|
|
10560
10568
|
const _hoisted_2$g = { class: "text-right text-fg-subdued text-sm" };
|
|
10561
10569
|
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
@@ -10656,10 +10664,16 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
10656
10664
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
10657
10665
|
field: unref(fields).decideStaff
|
|
10658
10666
|
}, null, 8, ["modelValue", "field"]),
|
|
10659
|
-
unref(
|
|
10667
|
+
unref(values).type == "leave" ? (openBlock(), createBlock(unref(OfficeRelation), {
|
|
10660
10668
|
key: 0,
|
|
10669
|
+
modelValue: unref(values),
|
|
10670
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
|
|
10671
|
+
field: unref(fields).delegateStaffs
|
|
10672
|
+
}, null, 8, ["modelValue", "field"])) : createCommentVNode("v-if", true),
|
|
10673
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
10674
|
+
key: 1,
|
|
10661
10675
|
modelValue: unref(values).notes,
|
|
10662
|
-
"onUpdate:modelValue": _cache[
|
|
10676
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).notes = $event)
|
|
10663
10677
|
}, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
10664
10678
|
createVNode(unref(NeonDivider), {
|
|
10665
10679
|
"is-dashed": "",
|
|
@@ -10667,12 +10681,12 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
10667
10681
|
}),
|
|
10668
10682
|
createVNode(unref(NeonField), mergeProps({
|
|
10669
10683
|
modelValue: unref(values).submittedAt,
|
|
10670
|
-
"onUpdate:modelValue": _cache[
|
|
10684
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).submittedAt = $event)
|
|
10671
10685
|
}, unref(fields).submittedAt), null, 16, ["modelValue"]),
|
|
10672
10686
|
createElementVNode("div", _hoisted_1$n, [
|
|
10673
10687
|
createVNode(unref(NeonField), mergeProps({
|
|
10674
10688
|
modelValue: unref(values).startedAt,
|
|
10675
|
-
"onUpdate:modelValue": _cache[
|
|
10689
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).startedAt = $event)
|
|
10676
10690
|
}, {
|
|
10677
10691
|
handle: "startedAt",
|
|
10678
10692
|
name: "Mulai",
|
|
@@ -10683,7 +10697,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
10683
10697
|
input: withCtx(() => [
|
|
10684
10698
|
createVNode(unref(NeonTime), {
|
|
10685
10699
|
modelValue: unref(values).startedAt,
|
|
10686
|
-
"onUpdate:modelValue": _cache[
|
|
10700
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).startedAt = $event),
|
|
10687
10701
|
"is-loading": unref(isLoading),
|
|
10688
10702
|
class: "mt-2"
|
|
10689
10703
|
}, null, 8, ["modelValue", "is-loading"])
|
|
@@ -10693,7 +10707,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
10693
10707
|
}, 16, ["modelValue"]),
|
|
10694
10708
|
createVNode(unref(NeonField), mergeProps({
|
|
10695
10709
|
modelValue: unref(values).endedAt,
|
|
10696
|
-
"onUpdate:modelValue": _cache[
|
|
10710
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).endedAt = $event)
|
|
10697
10711
|
}, {
|
|
10698
10712
|
handle: "endedAt",
|
|
10699
10713
|
name: "Selesai",
|
|
@@ -10704,7 +10718,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
10704
10718
|
input: withCtx(() => [
|
|
10705
10719
|
createVNode(unref(NeonTime), {
|
|
10706
10720
|
modelValue: unref(values).endedAt,
|
|
10707
|
-
"onUpdate:modelValue": _cache[
|
|
10721
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).endedAt = $event),
|
|
10708
10722
|
"is-loading": unref(isLoading),
|
|
10709
10723
|
class: "mt-2"
|
|
10710
10724
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
@@ -10739,8 +10753,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
10739
10753
|
};
|
|
10740
10754
|
}
|
|
10741
10755
|
});
|
|
10742
|
-
const
|
|
10743
|
-
const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-
|
|
10756
|
+
const AttendanceSingle_vue_vue_type_style_index_0_scoped_7fdc9043_lang = "";
|
|
10757
|
+
const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-7fdc9043"]]);
|
|
10744
10758
|
const _hoisted_1$m = {
|
|
10745
10759
|
key: 1,
|
|
10746
10760
|
class: "flex flex-wrap"
|
|
@@ -10748,17 +10762,17 @@ const _hoisted_1$m = {
|
|
|
10748
10762
|
const _hoisted_2$f = { class: "mt-2" };
|
|
10749
10763
|
const _hoisted_3$7 = { class: "mt-2" };
|
|
10750
10764
|
const _hoisted_4$5 = {
|
|
10751
|
-
key:
|
|
10765
|
+
key: 6,
|
|
10752
10766
|
class: "grid gap-2 sm:grid-cols-2"
|
|
10753
10767
|
};
|
|
10754
10768
|
const _hoisted_5$3 = { class: "text-right text-fg-subdued text-sm" };
|
|
10755
10769
|
const _hoisted_6$2 = {
|
|
10756
|
-
key:
|
|
10770
|
+
key: 7,
|
|
10757
10771
|
class: "grid gap-2 sm:grid-cols-2"
|
|
10758
10772
|
};
|
|
10759
10773
|
const _hoisted_7$1 = { class: "text-right text-fg-subdued text-sm" };
|
|
10760
10774
|
const _hoisted_8$1 = {
|
|
10761
|
-
key:
|
|
10775
|
+
key: 8,
|
|
10762
10776
|
class: "grid gap-2 sm:grid-cols-2"
|
|
10763
10777
|
};
|
|
10764
10778
|
const _hoisted_9$1 = { class: "text-right text-fg-subdued text-sm" };
|
|
@@ -10964,26 +10978,33 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
10964
10978
|
query: unref(Query).define(staffOptions.value),
|
|
10965
10979
|
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
10966
10980
|
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
10967
|
-
unref(
|
|
10981
|
+
unref(values).type == "leave" ? (openBlock(), createBlock(unref(OfficeRelation), {
|
|
10968
10982
|
key: 2,
|
|
10983
|
+
modelValue: unref(values),
|
|
10984
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
10985
|
+
field: unref(fields).delegateStaffs,
|
|
10986
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
10987
|
+
}, null, 8, ["modelValue", "field", "is-disabled"])) : createCommentVNode("v-if", true),
|
|
10988
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
10989
|
+
key: 3,
|
|
10969
10990
|
modelValue: unref(values).notes,
|
|
10970
|
-
"onUpdate:modelValue": _cache[
|
|
10991
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).notes = $event)
|
|
10971
10992
|
}, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
10972
10993
|
unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
|
|
10973
|
-
key:
|
|
10994
|
+
key: 4,
|
|
10974
10995
|
"is-dashed": "",
|
|
10975
10996
|
label: "Keterangan"
|
|
10976
10997
|
})) : createCommentVNode("v-if", true),
|
|
10977
10998
|
unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
10978
|
-
key:
|
|
10999
|
+
key: 5,
|
|
10979
11000
|
modelValue: unref(values).submittedAt,
|
|
10980
|
-
"onUpdate:modelValue": _cache[
|
|
11001
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).submittedAt = $event)
|
|
10981
11002
|
}, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
10982
11003
|
createCommentVNode(" EARLY GO HOME "),
|
|
10983
11004
|
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
|
|
10984
11005
|
createVNode(unref(NeonField), mergeProps({
|
|
10985
11006
|
modelValue: unref(values).startedAt,
|
|
10986
|
-
"onUpdate:modelValue": _cache[
|
|
11007
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).startedAt = $event)
|
|
10987
11008
|
}, {
|
|
10988
11009
|
handle: "startedAt",
|
|
10989
11010
|
name: "Jam Pulang Kerja",
|
|
@@ -10994,7 +11015,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
10994
11015
|
input: withCtx(() => [
|
|
10995
11016
|
createVNode(unref(NeonTime), {
|
|
10996
11017
|
modelValue: unref(values).startedAt,
|
|
10997
|
-
"onUpdate:modelValue": _cache[
|
|
11018
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).startedAt = $event),
|
|
10998
11019
|
"is-loading": unref(isLoading),
|
|
10999
11020
|
class: "mt-2",
|
|
11000
11021
|
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
@@ -11005,7 +11026,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11005
11026
|
}, 16, ["modelValue"]),
|
|
11006
11027
|
createVNode(unref(NeonField), mergeProps({
|
|
11007
11028
|
modelValue: unref(values).endedAt,
|
|
11008
|
-
"onUpdate:modelValue": _cache[
|
|
11029
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).endedAt = $event)
|
|
11009
11030
|
}, {
|
|
11010
11031
|
handle: "endedAt",
|
|
11011
11032
|
name: "Jam Pulang Lebih Awal",
|
|
@@ -11016,7 +11037,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11016
11037
|
input: withCtx(() => [
|
|
11017
11038
|
createVNode(unref(NeonTime), {
|
|
11018
11039
|
modelValue: unref(values).endedAt,
|
|
11019
|
-
"onUpdate:modelValue": _cache[
|
|
11040
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).endedAt = $event),
|
|
11020
11041
|
"is-loading": unref(isLoading),
|
|
11021
11042
|
class: "mt-2",
|
|
11022
11043
|
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
@@ -11037,7 +11058,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11037
11058
|
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
11038
11059
|
createVNode(unref(NeonField), mergeProps({
|
|
11039
11060
|
modelValue: unref(values).startedAt,
|
|
11040
|
-
"onUpdate:modelValue": _cache[
|
|
11061
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).startedAt = $event)
|
|
11041
11062
|
}, {
|
|
11042
11063
|
handle: "startedAt",
|
|
11043
11064
|
name: "Jam Datang",
|
|
@@ -11048,7 +11069,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11048
11069
|
input: withCtx(() => [
|
|
11049
11070
|
createVNode(unref(NeonTime), {
|
|
11050
11071
|
modelValue: unref(values).startedAt,
|
|
11051
|
-
"onUpdate:modelValue": _cache[
|
|
11072
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).startedAt = $event),
|
|
11052
11073
|
"is-loading": unref(isLoading),
|
|
11053
11074
|
class: "mt-2",
|
|
11054
11075
|
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
@@ -11059,7 +11080,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11059
11080
|
}, 16, ["modelValue"]),
|
|
11060
11081
|
createVNode(unref(NeonField), mergeProps({
|
|
11061
11082
|
modelValue: unref(values).endedAt,
|
|
11062
|
-
"onUpdate:modelValue": _cache[
|
|
11083
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).endedAt = $event)
|
|
11063
11084
|
}, {
|
|
11064
11085
|
handle: "endedAt",
|
|
11065
11086
|
name: "Jam Datang Terlambat",
|
|
@@ -11070,7 +11091,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11070
11091
|
input: withCtx(() => [
|
|
11071
11092
|
createVNode(unref(NeonTime), {
|
|
11072
11093
|
modelValue: unref(values).endedAt,
|
|
11073
|
-
"onUpdate:modelValue": _cache[
|
|
11094
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).endedAt = $event),
|
|
11074
11095
|
"is-loading": unref(isLoading),
|
|
11075
11096
|
class: "mt-2",
|
|
11076
11097
|
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
@@ -11091,7 +11112,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11091
11112
|
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_8$1, [
|
|
11092
11113
|
createVNode(unref(NeonField), mergeProps({
|
|
11093
11114
|
modelValue: unref(values).startedAt,
|
|
11094
|
-
"onUpdate:modelValue": _cache[
|
|
11115
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).startedAt = $event)
|
|
11095
11116
|
}, {
|
|
11096
11117
|
handle: "startedAt",
|
|
11097
11118
|
name: "Mulai",
|
|
@@ -11102,7 +11123,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11102
11123
|
input: withCtx(() => [
|
|
11103
11124
|
createVNode(unref(NeonTime), {
|
|
11104
11125
|
modelValue: unref(values).startedAt,
|
|
11105
|
-
"onUpdate:modelValue": _cache[
|
|
11126
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).startedAt = $event),
|
|
11106
11127
|
"is-loading": unref(isLoading),
|
|
11107
11128
|
class: "mt-2",
|
|
11108
11129
|
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
@@ -11113,7 +11134,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11113
11134
|
}, 16, ["modelValue"]),
|
|
11114
11135
|
createVNode(unref(NeonField), mergeProps({
|
|
11115
11136
|
modelValue: unref(values).endedAt,
|
|
11116
|
-
"onUpdate:modelValue": _cache[
|
|
11137
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(values).endedAt = $event)
|
|
11117
11138
|
}, {
|
|
11118
11139
|
handle: "endedAt",
|
|
11119
11140
|
name: "Selesai",
|
|
@@ -11124,7 +11145,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11124
11145
|
input: withCtx(() => [
|
|
11125
11146
|
createVNode(unref(NeonTime), {
|
|
11126
11147
|
modelValue: unref(values).endedAt,
|
|
11127
|
-
"onUpdate:modelValue": _cache[
|
|
11148
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(values).endedAt = $event),
|
|
11128
11149
|
"is-loading": unref(isLoading),
|
|
11129
11150
|
class: "mt-2",
|
|
11130
11151
|
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
@@ -11160,23 +11181,23 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
11160
11181
|
};
|
|
11161
11182
|
}
|
|
11162
11183
|
});
|
|
11163
|
-
const
|
|
11164
|
-
const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-
|
|
11184
|
+
const AttendanceStaff_vue_vue_type_style_index_0_scoped_d541d5ab_lang = "";
|
|
11185
|
+
const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-d541d5ab"]]);
|
|
11165
11186
|
const _hoisted_1$l = { class: "flex flex-wrap" };
|
|
11166
11187
|
const _hoisted_2$e = { class: "mt-2" };
|
|
11167
11188
|
const _hoisted_3$6 = { class: "mt-2" };
|
|
11168
11189
|
const _hoisted_4$4 = {
|
|
11169
|
-
key:
|
|
11190
|
+
key: 4,
|
|
11170
11191
|
class: "grid gap-2 sm:grid-cols-2"
|
|
11171
11192
|
};
|
|
11172
11193
|
const _hoisted_5$2 = { class: "text-right text-fg-subdued text-sm" };
|
|
11173
11194
|
const _hoisted_6$1 = {
|
|
11174
|
-
key:
|
|
11195
|
+
key: 5,
|
|
11175
11196
|
class: "grid gap-2 sm:grid-cols-2"
|
|
11176
11197
|
};
|
|
11177
11198
|
const _hoisted_7 = { class: "text-right text-fg-subdued text-sm" };
|
|
11178
11199
|
const _hoisted_8 = {
|
|
11179
|
-
key:
|
|
11200
|
+
key: 6,
|
|
11180
11201
|
class: "grid gap-2 sm:grid-cols-2"
|
|
11181
11202
|
};
|
|
11182
11203
|
const _hoisted_9 = { class: "text-right text-fg-subdued text-sm" };
|
|
@@ -11349,26 +11370,33 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11349
11370
|
:field="fields.decideStaff"
|
|
11350
11371
|
:is-disabled="values.status == 'approved'"
|
|
11351
11372
|
/> `),
|
|
11352
|
-
unref(
|
|
11373
|
+
unref(values).type == "leave" ? (openBlock(), createBlock(unref(OfficeRelation), {
|
|
11353
11374
|
key: 0,
|
|
11375
|
+
modelValue: unref(values),
|
|
11376
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
11377
|
+
field: unref(fields).delegateStaffs,
|
|
11378
|
+
"is-disabled": unref(values).status == "approved"
|
|
11379
|
+
}, null, 8, ["modelValue", "field", "is-disabled"])) : createCommentVNode("v-if", true),
|
|
11380
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
11381
|
+
key: 1,
|
|
11354
11382
|
modelValue: unref(values).notes,
|
|
11355
|
-
"onUpdate:modelValue": _cache[
|
|
11383
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).notes = $event)
|
|
11356
11384
|
}, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
11357
11385
|
unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
|
|
11358
|
-
key:
|
|
11386
|
+
key: 2,
|
|
11359
11387
|
"is-dashed": "",
|
|
11360
11388
|
label: "Keterangan"
|
|
11361
11389
|
})) : createCommentVNode("v-if", true),
|
|
11362
11390
|
unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
11363
|
-
key:
|
|
11391
|
+
key: 3,
|
|
11364
11392
|
modelValue: unref(values).submittedAt,
|
|
11365
|
-
"onUpdate:modelValue": _cache[
|
|
11393
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).submittedAt = $event)
|
|
11366
11394
|
}, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
11367
11395
|
createCommentVNode(" EARLY GO HOME "),
|
|
11368
11396
|
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
11369
11397
|
createVNode(unref(NeonField), mergeProps({
|
|
11370
11398
|
modelValue: unref(values).startedAt,
|
|
11371
|
-
"onUpdate:modelValue": _cache[
|
|
11399
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).startedAt = $event)
|
|
11372
11400
|
}, {
|
|
11373
11401
|
handle: "startedAt",
|
|
11374
11402
|
name: "Jam Pulang Kerja",
|
|
@@ -11379,7 +11407,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11379
11407
|
input: withCtx(() => [
|
|
11380
11408
|
createVNode(unref(NeonTime), {
|
|
11381
11409
|
modelValue: unref(values).startedAt,
|
|
11382
|
-
"onUpdate:modelValue": _cache[
|
|
11410
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).startedAt = $event),
|
|
11383
11411
|
"is-loading": unref(isLoading),
|
|
11384
11412
|
class: "mt-2"
|
|
11385
11413
|
}, null, 8, ["modelValue", "is-loading"])
|
|
@@ -11389,7 +11417,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11389
11417
|
}, 16, ["modelValue"]),
|
|
11390
11418
|
createVNode(unref(NeonField), mergeProps({
|
|
11391
11419
|
modelValue: unref(values).endedAt,
|
|
11392
|
-
"onUpdate:modelValue": _cache[
|
|
11420
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).endedAt = $event)
|
|
11393
11421
|
}, {
|
|
11394
11422
|
handle: "endedAt",
|
|
11395
11423
|
name: "Jam Pulang Lebih Awal",
|
|
@@ -11400,7 +11428,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11400
11428
|
input: withCtx(() => [
|
|
11401
11429
|
createVNode(unref(NeonTime), {
|
|
11402
11430
|
modelValue: unref(values).endedAt,
|
|
11403
|
-
"onUpdate:modelValue": _cache[
|
|
11431
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).endedAt = $event),
|
|
11404
11432
|
"is-loading": unref(isLoading),
|
|
11405
11433
|
class: "mt-2"
|
|
11406
11434
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
@@ -11420,7 +11448,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11420
11448
|
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
11421
11449
|
createVNode(unref(NeonField), mergeProps({
|
|
11422
11450
|
modelValue: unref(values).startedAt,
|
|
11423
|
-
"onUpdate:modelValue": _cache[
|
|
11451
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).startedAt = $event)
|
|
11424
11452
|
}, {
|
|
11425
11453
|
handle: "startedAt",
|
|
11426
11454
|
name: "Jam Datang",
|
|
@@ -11431,7 +11459,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11431
11459
|
input: withCtx(() => [
|
|
11432
11460
|
createVNode(unref(NeonTime), {
|
|
11433
11461
|
modelValue: unref(values).startedAt,
|
|
11434
|
-
"onUpdate:modelValue": _cache[
|
|
11462
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).startedAt = $event),
|
|
11435
11463
|
"is-loading": unref(isLoading),
|
|
11436
11464
|
class: "mt-2"
|
|
11437
11465
|
}, null, 8, ["modelValue", "is-loading"])
|
|
@@ -11441,7 +11469,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11441
11469
|
}, 16, ["modelValue"]),
|
|
11442
11470
|
createVNode(unref(NeonField), mergeProps({
|
|
11443
11471
|
modelValue: unref(values).endedAt,
|
|
11444
|
-
"onUpdate:modelValue": _cache[
|
|
11472
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).endedAt = $event)
|
|
11445
11473
|
}, {
|
|
11446
11474
|
handle: "endedAt",
|
|
11447
11475
|
name: "Jam Datang Terlambat",
|
|
@@ -11452,7 +11480,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11452
11480
|
input: withCtx(() => [
|
|
11453
11481
|
createVNode(unref(NeonTime), {
|
|
11454
11482
|
modelValue: unref(values).endedAt,
|
|
11455
|
-
"onUpdate:modelValue": _cache[
|
|
11483
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).endedAt = $event),
|
|
11456
11484
|
"is-loading": unref(isLoading),
|
|
11457
11485
|
class: "mt-2"
|
|
11458
11486
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
@@ -11472,7 +11500,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11472
11500
|
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
11473
11501
|
createVNode(unref(NeonField), mergeProps({
|
|
11474
11502
|
modelValue: unref(values).startedAt,
|
|
11475
|
-
"onUpdate:modelValue": _cache[
|
|
11503
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).startedAt = $event)
|
|
11476
11504
|
}, {
|
|
11477
11505
|
handle: "startedAt",
|
|
11478
11506
|
name: "Mulai",
|
|
@@ -11483,7 +11511,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11483
11511
|
input: withCtx(() => [
|
|
11484
11512
|
createVNode(unref(NeonTime), {
|
|
11485
11513
|
modelValue: unref(values).startedAt,
|
|
11486
|
-
"onUpdate:modelValue": _cache[
|
|
11514
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).startedAt = $event),
|
|
11487
11515
|
"is-loading": unref(isLoading),
|
|
11488
11516
|
class: "mt-2"
|
|
11489
11517
|
}, null, 8, ["modelValue", "is-loading"])
|
|
@@ -11493,7 +11521,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11493
11521
|
}, 16, ["modelValue"]),
|
|
11494
11522
|
createVNode(unref(NeonField), mergeProps({
|
|
11495
11523
|
modelValue: unref(values).endedAt,
|
|
11496
|
-
"onUpdate:modelValue": _cache[
|
|
11524
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(values).endedAt = $event)
|
|
11497
11525
|
}, {
|
|
11498
11526
|
handle: "endedAt",
|
|
11499
11527
|
name: "Selesai",
|
|
@@ -11504,7 +11532,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11504
11532
|
input: withCtx(() => [
|
|
11505
11533
|
createVNode(unref(NeonTime), {
|
|
11506
11534
|
modelValue: unref(values).endedAt,
|
|
11507
|
-
"onUpdate:modelValue": _cache[
|
|
11535
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).endedAt = $event),
|
|
11508
11536
|
"is-loading": unref(isLoading),
|
|
11509
11537
|
class: "mt-2"
|
|
11510
11538
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
@@ -11539,8 +11567,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11539
11567
|
};
|
|
11540
11568
|
}
|
|
11541
11569
|
});
|
|
11542
|
-
const
|
|
11543
|
-
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-
|
|
11570
|
+
const AttendanceSupervisor_vue_vue_type_style_index_0_scoped_8eefa083_lang = "";
|
|
11571
|
+
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-8eefa083"]]);
|
|
11544
11572
|
const CheckInModel = models$1.CheckInModel;
|
|
11545
11573
|
function _typeof(o) {
|
|
11546
11574
|
"@babel/helpers - typeof";
|
|
@@ -13077,7 +13105,7 @@ function cleanEscapedString(input2) {
|
|
|
13077
13105
|
function startOfToday() {
|
|
13078
13106
|
return startOfDay(Date.now());
|
|
13079
13107
|
}
|
|
13080
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
13108
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-3c4aa352"), n = n(), popScopeId(), n);
|
|
13081
13109
|
const _hoisted_1$k = { id: "view-checkIns" };
|
|
13082
13110
|
const _hoisted_2$d = { class: "summary" };
|
|
13083
13111
|
const _hoisted_3$5 = { class: "wrapper" };
|
|
@@ -13426,7 +13454,14 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
13426
13454
|
query: query.value,
|
|
13427
13455
|
peeks: ["modal"],
|
|
13428
13456
|
excludes: ["create"],
|
|
13429
|
-
columns: [
|
|
13457
|
+
columns: [
|
|
13458
|
+
"statusGPS",
|
|
13459
|
+
"display",
|
|
13460
|
+
"type",
|
|
13461
|
+
"checkInAt",
|
|
13462
|
+
"staff",
|
|
13463
|
+
"building"
|
|
13464
|
+
],
|
|
13430
13465
|
filters: ["type", "building"],
|
|
13431
13466
|
sorts: ["checkInAt"],
|
|
13432
13467
|
"is-ready": "",
|
|
@@ -13460,8 +13495,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
13460
13495
|
};
|
|
13461
13496
|
}
|
|
13462
13497
|
});
|
|
13463
|
-
const
|
|
13464
|
-
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-
|
|
13498
|
+
const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_3c4aa352_lang = "";
|
|
13499
|
+
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-3c4aa352"]]);
|
|
13465
13500
|
const _hoisted_1$j = { class: "grid gap-4 sm:grid-cols-2" };
|
|
13466
13501
|
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
13467
13502
|
__name: "CheckInSingle",
|
|
@@ -14232,7 +14267,8 @@ const _hoisted_4$2 = { class: "mr-2 text-sm" };
|
|
|
14232
14267
|
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
14233
14268
|
__name: "CheckInScanner",
|
|
14234
14269
|
emits: ["start", "stop", "scanned", "close"],
|
|
14235
|
-
setup(__props, { emit }) {
|
|
14270
|
+
setup(__props, { emit: __emit }) {
|
|
14271
|
+
const emit = __emit;
|
|
14236
14272
|
const attendanceStore = useAttendanceStore();
|
|
14237
14273
|
const { isScanning } = storeToRefs(attendanceStore);
|
|
14238
14274
|
const frameEl = ref();
|
|
@@ -14636,8 +14672,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
14636
14672
|
}
|
|
14637
14673
|
},
|
|
14638
14674
|
emits: ["no-conflict"],
|
|
14639
|
-
setup(__props, { emit }) {
|
|
14675
|
+
setup(__props, { emit: __emit }) {
|
|
14640
14676
|
const props = __props;
|
|
14677
|
+
const emit = __emit;
|
|
14641
14678
|
const fullNameField = {
|
|
14642
14679
|
handle: "name",
|
|
14643
14680
|
name: "Nama Lengkap",
|
|
@@ -15566,8 +15603,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
15566
15603
|
}
|
|
15567
15604
|
},
|
|
15568
15605
|
emits: ["update:period"],
|
|
15569
|
-
setup(__props, { emit }) {
|
|
15606
|
+
setup(__props, { emit: __emit }) {
|
|
15570
15607
|
const { resource, display, items, userQuery } = useCollection();
|
|
15608
|
+
const emit = __emit;
|
|
15571
15609
|
function onCalendarPeriodUpdate(period) {
|
|
15572
15610
|
console.log("calendar", period);
|
|
15573
15611
|
emit("update:period", period);
|
|
@@ -15625,7 +15663,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15625
15663
|
isMain,
|
|
15626
15664
|
isNew,
|
|
15627
15665
|
saveOne,
|
|
15628
|
-
discardChanges
|
|
15666
|
+
discardChanges,
|
|
15667
|
+
syncOne,
|
|
15668
|
+
executeOne
|
|
15629
15669
|
} = useSingle();
|
|
15630
15670
|
usePermit();
|
|
15631
15671
|
const path = useRoute().path;
|
|
@@ -15739,186 +15779,245 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15739
15779
|
sort: [{ handle: "estimatedStartDate", direction: "ascending" }]
|
|
15740
15780
|
});
|
|
15741
15781
|
});
|
|
15782
|
+
const handleSyncReport = async () => {
|
|
15783
|
+
await executeOne("syncProgressReport", {
|
|
15784
|
+
progressId: id.value,
|
|
15785
|
+
responsibilityIds: values.value.responsibilityIds
|
|
15786
|
+
});
|
|
15787
|
+
await syncOne();
|
|
15788
|
+
};
|
|
15742
15789
|
return (_ctx, _cache) => {
|
|
15743
15790
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
|
|
15744
15791
|
default: withCtx(() => [
|
|
15745
15792
|
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
15746
|
-
default: withCtx(() =>
|
|
15747
|
-
|
|
15748
|
-
|
|
15749
|
-
|
|
15750
|
-
|
|
15751
|
-
|
|
15752
|
-
|
|
15753
|
-
|
|
15754
|
-
|
|
15755
|
-
|
|
15756
|
-
|
|
15757
|
-
|
|
15758
|
-
|
|
15759
|
-
|
|
15760
|
-
|
|
15761
|
-
|
|
15762
|
-
|
|
15763
|
-
|
|
15764
|
-
|
|
15765
|
-
|
|
15766
|
-
|
|
15767
|
-
|
|
15768
|
-
|
|
15769
|
-
|
|
15793
|
+
default: withCtx(() => {
|
|
15794
|
+
var _a2;
|
|
15795
|
+
return [
|
|
15796
|
+
createVNode(unref(OfficeTab), {
|
|
15797
|
+
handle: "info",
|
|
15798
|
+
icon: "circle-info",
|
|
15799
|
+
title: "Info"
|
|
15800
|
+
}, {
|
|
15801
|
+
default: withCtx(() => [
|
|
15802
|
+
createVNode(unref(NeonForm), {
|
|
15803
|
+
handle: "info",
|
|
15804
|
+
"initial-values": unref(initialValues),
|
|
15805
|
+
"is-loading": unref(isLoading),
|
|
15806
|
+
"is-changed": unref(isChanged),
|
|
15807
|
+
"use-unsaved": "",
|
|
15808
|
+
onCancel: unref(discardChanges),
|
|
15809
|
+
onSubmit: unref(saveOne)
|
|
15810
|
+
}, {
|
|
15811
|
+
default: withCtx(() => {
|
|
15812
|
+
var _a3, _b;
|
|
15813
|
+
return [
|
|
15814
|
+
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
15815
|
+
default: withCtx(() => [
|
|
15816
|
+
(openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
15817
|
+
key: key.value,
|
|
15818
|
+
"model-value": unref(values).startedAt
|
|
15819
|
+
}, {
|
|
15820
|
+
handle: "startedAt",
|
|
15821
|
+
name: "Tanggal",
|
|
15822
|
+
type: "date",
|
|
15823
|
+
input: "date2",
|
|
15824
|
+
options: {
|
|
15825
|
+
note: "Tanggal progress."
|
|
15826
|
+
}
|
|
15827
|
+
}, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
|
|
15828
|
+
createVNode(unref(NeonField), mergeProps({
|
|
15829
|
+
modelValue: unref(values).detail,
|
|
15830
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).detail = $event)
|
|
15831
|
+
}, unref(fields).detail), null, 16, ["modelValue"])
|
|
15832
|
+
]),
|
|
15833
|
+
_: 1
|
|
15834
|
+
/* STABLE */
|
|
15835
|
+
}),
|
|
15836
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
15837
|
+
createVNode(unref(NeonField), mergeProps({
|
|
15838
|
+
modelValue: unref(values).startedAt,
|
|
15839
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedAt = $event)
|
|
15770
15840
|
}, {
|
|
15771
15841
|
handle: "startedAt",
|
|
15772
|
-
name: "
|
|
15773
|
-
type: "date",
|
|
15774
|
-
input: "date2",
|
|
15842
|
+
name: "Mulai",
|
|
15775
15843
|
options: {
|
|
15776
|
-
note: "
|
|
15844
|
+
note: "Jam mulai."
|
|
15777
15845
|
}
|
|
15778
|
-
}, {
|
|
15846
|
+
}), {
|
|
15847
|
+
input: withCtx(() => [
|
|
15848
|
+
createVNode(unref(NeonTime), {
|
|
15849
|
+
modelValue: unref(values).startedAt,
|
|
15850
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).startedAt = $event),
|
|
15851
|
+
"is-loading": unref(isLoading),
|
|
15852
|
+
class: "mt-2"
|
|
15853
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
15854
|
+
]),
|
|
15855
|
+
_: 1
|
|
15856
|
+
/* STABLE */
|
|
15857
|
+
}, 16, ["modelValue"]),
|
|
15779
15858
|
createVNode(unref(NeonField), mergeProps({
|
|
15780
|
-
modelValue: unref(values).
|
|
15781
|
-
"onUpdate:modelValue": _cache[
|
|
15782
|
-
},
|
|
15859
|
+
modelValue: unref(values).endedAt,
|
|
15860
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).endedAt = $event)
|
|
15861
|
+
}, {
|
|
15862
|
+
handle: "endedAt",
|
|
15863
|
+
name: "Selesai",
|
|
15864
|
+
options: {
|
|
15865
|
+
note: "Jam selesai."
|
|
15866
|
+
}
|
|
15867
|
+
}), {
|
|
15868
|
+
input: withCtx(() => [
|
|
15869
|
+
createVNode(unref(NeonTime), {
|
|
15870
|
+
modelValue: unref(values).endedAt,
|
|
15871
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).endedAt = $event),
|
|
15872
|
+
"is-loading": unref(isLoading),
|
|
15873
|
+
class: "mt-2"
|
|
15874
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
15875
|
+
createElementVNode(
|
|
15876
|
+
"div",
|
|
15877
|
+
_hoisted_2$9,
|
|
15878
|
+
toDisplayString(duration.value),
|
|
15879
|
+
1
|
|
15880
|
+
/* TEXT */
|
|
15881
|
+
)
|
|
15882
|
+
]),
|
|
15883
|
+
_: 1
|
|
15884
|
+
/* STABLE */
|
|
15885
|
+
}, 16, ["modelValue"])
|
|
15783
15886
|
]),
|
|
15784
|
-
|
|
15785
|
-
|
|
15786
|
-
|
|
15787
|
-
|
|
15887
|
+
createVNode(unref(OfficeRelation), {
|
|
15888
|
+
modelValue: unref(values),
|
|
15889
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
15890
|
+
field: unref(fields).staffs
|
|
15891
|
+
}, null, 8, ["modelValue", "field"]),
|
|
15788
15892
|
createVNode(unref(NeonField), mergeProps({
|
|
15789
|
-
modelValue: unref(values).
|
|
15790
|
-
"onUpdate:modelValue": _cache[
|
|
15791
|
-
}, {
|
|
15792
|
-
handle: "startedAt",
|
|
15793
|
-
name: "Mulai",
|
|
15794
|
-
options: {
|
|
15795
|
-
note: "Jam mulai."
|
|
15796
|
-
}
|
|
15797
|
-
}), {
|
|
15893
|
+
modelValue: unref(values).isNotes,
|
|
15894
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).isNotes = $event)
|
|
15895
|
+
}, unref(fields).isNotes), {
|
|
15798
15896
|
input: withCtx(() => [
|
|
15799
|
-
createVNode(unref(
|
|
15800
|
-
modelValue: unref(values).
|
|
15801
|
-
"onUpdate:modelValue": _cache[
|
|
15802
|
-
"
|
|
15897
|
+
createVNode(unref(NeonCheck), {
|
|
15898
|
+
modelValue: unref(values).isNotes,
|
|
15899
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event),
|
|
15900
|
+
label: "Catatan",
|
|
15803
15901
|
class: "mt-2"
|
|
15804
|
-
}, null, 8, ["modelValue"
|
|
15902
|
+
}, null, 8, ["modelValue"])
|
|
15805
15903
|
]),
|
|
15806
15904
|
_: 1
|
|
15807
15905
|
/* STABLE */
|
|
15808
15906
|
}, 16, ["modelValue"]),
|
|
15809
|
-
createVNode(unref(
|
|
15810
|
-
modelValue: unref(values)
|
|
15811
|
-
"onUpdate:modelValue": _cache[
|
|
15812
|
-
|
|
15813
|
-
|
|
15814
|
-
|
|
15815
|
-
|
|
15816
|
-
|
|
15817
|
-
|
|
15818
|
-
|
|
15819
|
-
|
|
15820
|
-
|
|
15821
|
-
|
|
15822
|
-
|
|
15823
|
-
|
|
15824
|
-
|
|
15825
|
-
|
|
15826
|
-
|
|
15827
|
-
|
|
15828
|
-
|
|
15829
|
-
|
|
15830
|
-
|
|
15831
|
-
|
|
15832
|
-
|
|
15833
|
-
|
|
15834
|
-
|
|
15835
|
-
|
|
15836
|
-
|
|
15837
|
-
|
|
15838
|
-
|
|
15839
|
-
|
|
15840
|
-
|
|
15841
|
-
|
|
15842
|
-
|
|
15843
|
-
|
|
15844
|
-
|
|
15845
|
-
|
|
15846
|
-
|
|
15907
|
+
createVNode(unref(OfficeRelation), {
|
|
15908
|
+
modelValue: unref(values),
|
|
15909
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
15910
|
+
field: unref(fields).accessStaffs
|
|
15911
|
+
}, null, 8, ["modelValue", "field"]),
|
|
15912
|
+
createVNode(unref(NeonDivider), {
|
|
15913
|
+
"is-dashed": "",
|
|
15914
|
+
label: "Referensi"
|
|
15915
|
+
}),
|
|
15916
|
+
createVNode(unref(OfficeRelation), {
|
|
15917
|
+
modelValue: unref(values),
|
|
15918
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
|
|
15919
|
+
field: unref(fields).responsibilities,
|
|
15920
|
+
query: unref(Query).define({
|
|
15921
|
+
filter: [
|
|
15922
|
+
{
|
|
15923
|
+
handle: "condition",
|
|
15924
|
+
operator: "eq",
|
|
15925
|
+
value: "active"
|
|
15926
|
+
},
|
|
15927
|
+
{
|
|
15928
|
+
$or: [
|
|
15929
|
+
{
|
|
15930
|
+
handle: "staffWorkIds",
|
|
15931
|
+
operator: "in",
|
|
15932
|
+
value: (_a3 = unref(staff)) == null ? void 0 : _a3.id
|
|
15933
|
+
},
|
|
15934
|
+
{
|
|
15935
|
+
handle: "staffSuperviseIds",
|
|
15936
|
+
operator: "in",
|
|
15937
|
+
value: (_b = unref(staff)) == null ? void 0 : _b.id
|
|
15938
|
+
}
|
|
15939
|
+
]
|
|
15940
|
+
}
|
|
15941
|
+
],
|
|
15942
|
+
sort: [{ handle: "title", direction: "ascending" }]
|
|
15943
|
+
})
|
|
15944
|
+
}, null, 8, ["modelValue", "field", "query"]),
|
|
15945
|
+
createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
|
|
15946
|
+
createVNode(unref(OfficeRelation), {
|
|
15947
|
+
modelValue: unref(values),
|
|
15948
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
|
|
15949
|
+
field: unref(fields).submissions,
|
|
15950
|
+
query: unref(Query).define(submissionOptions.value)
|
|
15951
|
+
}, null, 8, ["modelValue", "field", "query"]),
|
|
15952
|
+
unref(path) !== "/pengawas/progresses" ? (openBlock(), createBlock(unref(OfficeRelation), {
|
|
15953
|
+
key: 0,
|
|
15954
|
+
modelValue: unref(values),
|
|
15955
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => isRef(values) ? values.value = $event : null),
|
|
15956
|
+
field: unref(fields).tasks,
|
|
15957
|
+
query: taskOptions.value
|
|
15958
|
+
}, null, 8, ["modelValue", "field", "query"])) : createCommentVNode("v-if", true),
|
|
15959
|
+
createCommentVNode(` v-if="!permit.isAny(['neu:pengawasSDM'])" `)
|
|
15960
|
+
];
|
|
15961
|
+
}),
|
|
15962
|
+
_: 1
|
|
15963
|
+
/* STABLE */
|
|
15964
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
15965
|
+
]),
|
|
15966
|
+
_: 1
|
|
15967
|
+
/* STABLE */
|
|
15968
|
+
}),
|
|
15969
|
+
createCommentVNode(" LAPORAN "),
|
|
15970
|
+
unref(isReady) && ((_a2 = unref(values).responsibilityIds) == null ? void 0 : _a2.length) == 1 ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
15971
|
+
key: 0,
|
|
15972
|
+
handle: "report",
|
|
15973
|
+
icon: "info-circle",
|
|
15974
|
+
title: "Laporan"
|
|
15975
|
+
}, {
|
|
15976
|
+
default: withCtx(() => [
|
|
15977
|
+
createVNode(unref(NeonForm), {
|
|
15978
|
+
handle: "report",
|
|
15979
|
+
"initial-values": unref(initialValues),
|
|
15980
|
+
"is-loading": unref(isLoading),
|
|
15981
|
+
"is-changed": unref(isChanged),
|
|
15982
|
+
"use-unsaved": "",
|
|
15983
|
+
onCancel: unref(discardChanges),
|
|
15984
|
+
onSubmit: unref(saveOne)
|
|
15985
|
+
}, {
|
|
15986
|
+
default: withCtx(() => [
|
|
15987
|
+
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
15847
15988
|
input: withCtx(() => [
|
|
15848
|
-
createVNode(unref(
|
|
15849
|
-
|
|
15850
|
-
|
|
15851
|
-
|
|
15852
|
-
|
|
15853
|
-
},
|
|
15989
|
+
createVNode(unref(NeonButton), {
|
|
15990
|
+
size: "md",
|
|
15991
|
+
color: "dark",
|
|
15992
|
+
"icon-left": "sync",
|
|
15993
|
+
onClick: handleSyncReport
|
|
15994
|
+
}, {
|
|
15995
|
+
default: withCtx(() => [
|
|
15996
|
+
createTextVNode("Laporan")
|
|
15997
|
+
]),
|
|
15998
|
+
_: 1
|
|
15999
|
+
/* STABLE */
|
|
16000
|
+
})
|
|
15854
16001
|
]),
|
|
15855
16002
|
_: 1
|
|
15856
16003
|
/* STABLE */
|
|
15857
|
-
}
|
|
15858
|
-
|
|
15859
|
-
|
|
15860
|
-
|
|
15861
|
-
|
|
15862
|
-
}, null,
|
|
15863
|
-
|
|
15864
|
-
|
|
15865
|
-
|
|
15866
|
-
|
|
15867
|
-
|
|
15868
|
-
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
15872
|
-
|
|
15873
|
-
|
|
15874
|
-
handle: "condition",
|
|
15875
|
-
operator: "eq",
|
|
15876
|
-
value: "active"
|
|
15877
|
-
},
|
|
15878
|
-
{
|
|
15879
|
-
$or: [
|
|
15880
|
-
{
|
|
15881
|
-
handle: "staffWorkIds",
|
|
15882
|
-
operator: "in",
|
|
15883
|
-
value: (_a2 = unref(staff)) == null ? void 0 : _a2.id
|
|
15884
|
-
},
|
|
15885
|
-
{
|
|
15886
|
-
handle: "staffSuperviseIds",
|
|
15887
|
-
operator: "in",
|
|
15888
|
-
value: (_b = unref(staff)) == null ? void 0 : _b.id
|
|
15889
|
-
}
|
|
15890
|
-
]
|
|
15891
|
-
}
|
|
15892
|
-
],
|
|
15893
|
-
sort: [{ handle: "title", direction: "ascending" }]
|
|
15894
|
-
})
|
|
15895
|
-
}, null, 8, ["modelValue", "field", "query"]),
|
|
15896
|
-
createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
|
|
15897
|
-
createVNode(unref(OfficeRelation), {
|
|
15898
|
-
modelValue: unref(values),
|
|
15899
|
-
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
|
|
15900
|
-
field: unref(fields).submissions,
|
|
15901
|
-
query: unref(Query).define(submissionOptions.value)
|
|
15902
|
-
}, null, 8, ["modelValue", "field", "query"]),
|
|
15903
|
-
unref(path) !== "/pengawas/progresses" ? (openBlock(), createBlock(unref(OfficeRelation), {
|
|
15904
|
-
key: 0,
|
|
15905
|
-
modelValue: unref(values),
|
|
15906
|
-
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => isRef(values) ? values.value = $event : null),
|
|
15907
|
-
field: unref(fields).tasks,
|
|
15908
|
-
query: taskOptions.value
|
|
15909
|
-
}, null, 8, ["modelValue", "field", "query"])) : createCommentVNode("v-if", true),
|
|
15910
|
-
createCommentVNode(` v-if="!permit.isAny(['neu:pengawasSDM'])" `)
|
|
15911
|
-
];
|
|
15912
|
-
}),
|
|
15913
|
-
_: 1
|
|
15914
|
-
/* STABLE */
|
|
15915
|
-
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
15916
|
-
]),
|
|
15917
|
-
_: 1
|
|
15918
|
-
/* STABLE */
|
|
15919
|
-
}),
|
|
15920
|
-
createVNode(unref(_sfc_main$G))
|
|
15921
|
-
]),
|
|
16004
|
+
})) : createCommentVNode("v-if", true),
|
|
16005
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
16006
|
+
key: 1,
|
|
16007
|
+
modelValue: unref(values).reports,
|
|
16008
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).reports = $event)
|
|
16009
|
+
}, unref(fields).reports), null, 16, ["modelValue"])) : createCommentVNode("v-if", true)
|
|
16010
|
+
]),
|
|
16011
|
+
_: 1
|
|
16012
|
+
/* STABLE */
|
|
16013
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
16014
|
+
]),
|
|
16015
|
+
_: 1
|
|
16016
|
+
/* STABLE */
|
|
16017
|
+
})) : createCommentVNode("v-if", true),
|
|
16018
|
+
createVNode(unref(_sfc_main$G))
|
|
16019
|
+
];
|
|
16020
|
+
}),
|
|
15922
16021
|
_: 1
|
|
15923
16022
|
/* STABLE */
|
|
15924
16023
|
}, 8, ["use-url"])
|
|
@@ -15929,8 +16028,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15929
16028
|
};
|
|
15930
16029
|
}
|
|
15931
16030
|
});
|
|
15932
|
-
const
|
|
15933
|
-
const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-
|
|
16031
|
+
const ProgressSingle_vue_vue_type_style_index_0_scoped_ba369d9e_lang = "";
|
|
16032
|
+
const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-ba369d9e"]]);
|
|
15934
16033
|
const _hoisted_1$8 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
15935
16034
|
const _hoisted_2$8 = { class: "text-right text-fg-subdued text-sm" };
|
|
15936
16035
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
@@ -16041,148 +16140,182 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
16041
16140
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
|
|
16042
16141
|
default: withCtx(() => [
|
|
16043
16142
|
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
16044
|
-
default: withCtx(() =>
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
|
|
16048
|
-
|
|
16049
|
-
|
|
16050
|
-
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
|
|
16056
|
-
|
|
16057
|
-
|
|
16058
|
-
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
|
|
16062
|
-
|
|
16063
|
-
|
|
16064
|
-
|
|
16065
|
-
|
|
16143
|
+
default: withCtx(() => {
|
|
16144
|
+
var _a2;
|
|
16145
|
+
return [
|
|
16146
|
+
createVNode(unref(OfficeTab), {
|
|
16147
|
+
handle: "info",
|
|
16148
|
+
icon: "circle-info",
|
|
16149
|
+
title: "Info"
|
|
16150
|
+
}, {
|
|
16151
|
+
default: withCtx(() => [
|
|
16152
|
+
createVNode(unref(NeonForm), {
|
|
16153
|
+
handle: "info",
|
|
16154
|
+
"initial-values": unref(initialValues),
|
|
16155
|
+
"is-loading": unref(isLoading),
|
|
16156
|
+
"is-changed": unref(isChanged),
|
|
16157
|
+
"use-unsaved": "",
|
|
16158
|
+
onCancel: unref(discardChanges),
|
|
16159
|
+
onSubmit: unref(saveOne)
|
|
16160
|
+
}, {
|
|
16161
|
+
default: withCtx(() => [
|
|
16162
|
+
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
16163
|
+
default: withCtx(() => [
|
|
16164
|
+
(openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
16165
|
+
key: key.value,
|
|
16166
|
+
"model-value": unref(values).startedAt
|
|
16167
|
+
}, {
|
|
16168
|
+
handle: "startedAt",
|
|
16169
|
+
name: "Tanggal",
|
|
16170
|
+
type: "date",
|
|
16171
|
+
input: "date2",
|
|
16172
|
+
options: {
|
|
16173
|
+
note: "Tanggal progress."
|
|
16174
|
+
}
|
|
16175
|
+
}, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
|
|
16176
|
+
createVNode(unref(NeonField), mergeProps({
|
|
16177
|
+
modelValue: unref(values).detail,
|
|
16178
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).detail = $event)
|
|
16179
|
+
}, unref(fields).detail), null, 16, ["modelValue"])
|
|
16180
|
+
]),
|
|
16181
|
+
_: 1
|
|
16182
|
+
/* STABLE */
|
|
16183
|
+
}),
|
|
16184
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
16185
|
+
createVNode(unref(NeonField), mergeProps({
|
|
16186
|
+
modelValue: unref(values).startedAt,
|
|
16187
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedAt = $event)
|
|
16066
16188
|
}, {
|
|
16067
16189
|
handle: "startedAt",
|
|
16068
|
-
name: "
|
|
16069
|
-
type: "date",
|
|
16070
|
-
input: "date2",
|
|
16190
|
+
name: "Mulai",
|
|
16071
16191
|
options: {
|
|
16072
|
-
note: "
|
|
16192
|
+
note: "Jam mulai."
|
|
16073
16193
|
}
|
|
16074
|
-
}, {
|
|
16194
|
+
}), {
|
|
16195
|
+
input: withCtx(() => [
|
|
16196
|
+
createVNode(unref(NeonTime), {
|
|
16197
|
+
modelValue: unref(values).startedAt,
|
|
16198
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).startedAt = $event),
|
|
16199
|
+
"is-loading": unref(isLoading),
|
|
16200
|
+
class: "mt-2"
|
|
16201
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
16202
|
+
]),
|
|
16203
|
+
_: 1
|
|
16204
|
+
/* STABLE */
|
|
16205
|
+
}, 16, ["modelValue"]),
|
|
16075
16206
|
createVNode(unref(NeonField), mergeProps({
|
|
16076
|
-
modelValue: unref(values).
|
|
16077
|
-
"onUpdate:modelValue": _cache[
|
|
16078
|
-
},
|
|
16207
|
+
modelValue: unref(values).endedAt,
|
|
16208
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).endedAt = $event)
|
|
16209
|
+
}, {
|
|
16210
|
+
handle: "endedAt",
|
|
16211
|
+
name: "Selesai",
|
|
16212
|
+
options: {
|
|
16213
|
+
note: "Jam selesai."
|
|
16214
|
+
}
|
|
16215
|
+
}), {
|
|
16216
|
+
input: withCtx(() => [
|
|
16217
|
+
createVNode(unref(NeonTime), {
|
|
16218
|
+
modelValue: unref(values).endedAt,
|
|
16219
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).endedAt = $event),
|
|
16220
|
+
"is-loading": unref(isLoading),
|
|
16221
|
+
class: "mt-2"
|
|
16222
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
16223
|
+
createElementVNode(
|
|
16224
|
+
"div",
|
|
16225
|
+
_hoisted_2$8,
|
|
16226
|
+
toDisplayString(duration.value),
|
|
16227
|
+
1
|
|
16228
|
+
/* TEXT */
|
|
16229
|
+
)
|
|
16230
|
+
]),
|
|
16231
|
+
_: 1
|
|
16232
|
+
/* STABLE */
|
|
16233
|
+
}, 16, ["modelValue"])
|
|
16079
16234
|
]),
|
|
16080
|
-
|
|
16081
|
-
|
|
16082
|
-
|
|
16083
|
-
|
|
16235
|
+
createVNode(unref(OfficeRelation), {
|
|
16236
|
+
modelValue: unref(values),
|
|
16237
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16238
|
+
field: unref(fields).staffs
|
|
16239
|
+
}, null, 8, ["modelValue", "field"]),
|
|
16084
16240
|
createVNode(unref(NeonField), mergeProps({
|
|
16085
|
-
modelValue: unref(values).
|
|
16086
|
-
"onUpdate:modelValue": _cache[
|
|
16087
|
-
}, {
|
|
16088
|
-
handle: "startedAt",
|
|
16089
|
-
name: "Mulai",
|
|
16090
|
-
options: {
|
|
16091
|
-
note: "Jam mulai."
|
|
16092
|
-
}
|
|
16093
|
-
}), {
|
|
16241
|
+
modelValue: unref(values).isNotes,
|
|
16242
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).isNotes = $event)
|
|
16243
|
+
}, unref(fields).isNotes), {
|
|
16094
16244
|
input: withCtx(() => [
|
|
16095
|
-
createVNode(unref(
|
|
16096
|
-
modelValue: unref(values).
|
|
16097
|
-
"onUpdate:modelValue": _cache[
|
|
16098
|
-
"
|
|
16245
|
+
createVNode(unref(NeonCheck), {
|
|
16246
|
+
modelValue: unref(values).isNotes,
|
|
16247
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event),
|
|
16248
|
+
label: "Catatan",
|
|
16099
16249
|
class: "mt-2"
|
|
16100
|
-
}, null, 8, ["modelValue"
|
|
16250
|
+
}, null, 8, ["modelValue"])
|
|
16101
16251
|
]),
|
|
16102
16252
|
_: 1
|
|
16103
16253
|
/* STABLE */
|
|
16104
16254
|
}, 16, ["modelValue"]),
|
|
16105
|
-
createVNode(unref(
|
|
16106
|
-
modelValue: unref(values)
|
|
16107
|
-
"onUpdate:modelValue": _cache[
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
|
|
16111
|
-
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
|
-
|
|
16117
|
-
|
|
16118
|
-
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
|
|
16127
|
-
/* TEXT */
|
|
16128
|
-
)
|
|
16129
|
-
]),
|
|
16130
|
-
_: 1
|
|
16131
|
-
/* STABLE */
|
|
16132
|
-
}, 16, ["modelValue"])
|
|
16255
|
+
createVNode(unref(OfficeRelation), {
|
|
16256
|
+
modelValue: unref(values),
|
|
16257
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16258
|
+
field: unref(fields).accessStaffs
|
|
16259
|
+
}, null, 8, ["modelValue", "field"]),
|
|
16260
|
+
createVNode(unref(NeonDivider), {
|
|
16261
|
+
"is-dashed": "",
|
|
16262
|
+
label: "Referensi"
|
|
16263
|
+
}),
|
|
16264
|
+
createVNode(unref(OfficeRelation), {
|
|
16265
|
+
modelValue: unref(values),
|
|
16266
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16267
|
+
field: unref(fields).responsibilities,
|
|
16268
|
+
query: unref(Query).define(responsibilityOptions.value)
|
|
16269
|
+
}, null, 8, ["modelValue", "field", "query"]),
|
|
16270
|
+
createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
|
|
16271
|
+
createVNode(unref(OfficeRelation), {
|
|
16272
|
+
modelValue: unref(values),
|
|
16273
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16274
|
+
field: unref(fields).submissions,
|
|
16275
|
+
query: unref(Query).define(submissionOptions.value)
|
|
16276
|
+
}, null, 8, ["modelValue", "field", "query"])
|
|
16133
16277
|
]),
|
|
16134
|
-
|
|
16135
|
-
|
|
16136
|
-
|
|
16137
|
-
|
|
16138
|
-
|
|
16139
|
-
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
|
|
16154
|
-
|
|
16155
|
-
|
|
16156
|
-
|
|
16157
|
-
|
|
16158
|
-
|
|
16159
|
-
|
|
16160
|
-
|
|
16161
|
-
|
|
16162
|
-
|
|
16163
|
-
|
|
16164
|
-
|
|
16165
|
-
|
|
16166
|
-
|
|
16167
|
-
|
|
16168
|
-
|
|
16169
|
-
|
|
16170
|
-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
|
|
16175
|
-
}, null, 8, ["modelValue", "field", "query"])
|
|
16176
|
-
]),
|
|
16177
|
-
_: 1
|
|
16178
|
-
/* STABLE */
|
|
16179
|
-
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
16180
|
-
]),
|
|
16181
|
-
_: 1
|
|
16182
|
-
/* STABLE */
|
|
16183
|
-
}),
|
|
16184
|
-
createVNode(unref(_sfc_main$G))
|
|
16185
|
-
]),
|
|
16278
|
+
_: 1
|
|
16279
|
+
/* STABLE */
|
|
16280
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
16281
|
+
]),
|
|
16282
|
+
_: 1
|
|
16283
|
+
/* STABLE */
|
|
16284
|
+
}),
|
|
16285
|
+
createCommentVNode(" LAPORAN "),
|
|
16286
|
+
unref(isReady) && ((_a2 = unref(values).responsibilityIds) == null ? void 0 : _a2.length) == 1 ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
16287
|
+
key: 0,
|
|
16288
|
+
handle: "report",
|
|
16289
|
+
icon: "info-circle",
|
|
16290
|
+
title: "Laporan"
|
|
16291
|
+
}, {
|
|
16292
|
+
default: withCtx(() => [
|
|
16293
|
+
createVNode(unref(NeonForm), {
|
|
16294
|
+
handle: "report",
|
|
16295
|
+
"initial-values": unref(initialValues),
|
|
16296
|
+
"is-loading": unref(isLoading),
|
|
16297
|
+
"is-changed": unref(isChanged),
|
|
16298
|
+
"use-unsaved": "",
|
|
16299
|
+
onCancel: unref(discardChanges),
|
|
16300
|
+
onSubmit: unref(saveOne)
|
|
16301
|
+
}, {
|
|
16302
|
+
default: withCtx(() => [
|
|
16303
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
16304
|
+
key: 0,
|
|
16305
|
+
modelValue: unref(values).reports,
|
|
16306
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).reports = $event)
|
|
16307
|
+
}, unref(fields).reports), null, 16, ["modelValue"])) : createCommentVNode("v-if", true)
|
|
16308
|
+
]),
|
|
16309
|
+
_: 1
|
|
16310
|
+
/* STABLE */
|
|
16311
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
16312
|
+
]),
|
|
16313
|
+
_: 1
|
|
16314
|
+
/* STABLE */
|
|
16315
|
+
})) : createCommentVNode("v-if", true),
|
|
16316
|
+
createVNode(unref(_sfc_main$G))
|
|
16317
|
+
];
|
|
16318
|
+
}),
|
|
16186
16319
|
_: 1
|
|
16187
16320
|
/* STABLE */
|
|
16188
16321
|
}, 8, ["use-url"])
|
|
@@ -16193,8 +16326,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
16193
16326
|
};
|
|
16194
16327
|
}
|
|
16195
16328
|
});
|
|
16196
|
-
const
|
|
16197
|
-
const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
16329
|
+
const ProgressTomorrow_vue_vue_type_style_index_0_scoped_0c5dc3d7_lang = "";
|
|
16330
|
+
const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-0c5dc3d7"]]);
|
|
16198
16331
|
const _hoisted_1$7 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
16199
16332
|
const _hoisted_2$7 = { class: "text-right text-fg-subdued text-sm" };
|
|
16200
16333
|
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
@@ -16305,148 +16438,182 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
16305
16438
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
|
|
16306
16439
|
default: withCtx(() => [
|
|
16307
16440
|
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
16308
|
-
default: withCtx(() =>
|
|
16309
|
-
|
|
16310
|
-
|
|
16311
|
-
|
|
16312
|
-
|
|
16313
|
-
|
|
16314
|
-
|
|
16315
|
-
|
|
16316
|
-
|
|
16317
|
-
|
|
16318
|
-
|
|
16319
|
-
|
|
16320
|
-
|
|
16321
|
-
|
|
16322
|
-
|
|
16323
|
-
|
|
16324
|
-
|
|
16325
|
-
|
|
16326
|
-
|
|
16327
|
-
|
|
16328
|
-
|
|
16329
|
-
|
|
16441
|
+
default: withCtx(() => {
|
|
16442
|
+
var _a2;
|
|
16443
|
+
return [
|
|
16444
|
+
createVNode(unref(OfficeTab), {
|
|
16445
|
+
handle: "info",
|
|
16446
|
+
icon: "circle-info",
|
|
16447
|
+
title: "Info"
|
|
16448
|
+
}, {
|
|
16449
|
+
default: withCtx(() => [
|
|
16450
|
+
createVNode(unref(NeonForm), {
|
|
16451
|
+
handle: "info",
|
|
16452
|
+
"initial-values": unref(initialValues),
|
|
16453
|
+
"is-loading": unref(isLoading),
|
|
16454
|
+
"is-changed": unref(isChanged),
|
|
16455
|
+
"use-unsaved": "",
|
|
16456
|
+
onCancel: unref(discardChanges),
|
|
16457
|
+
onSubmit: unref(saveOne)
|
|
16458
|
+
}, {
|
|
16459
|
+
default: withCtx(() => [
|
|
16460
|
+
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
16461
|
+
default: withCtx(() => [
|
|
16462
|
+
(openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
16463
|
+
key: key.value,
|
|
16464
|
+
"model-value": unref(values).startedAt
|
|
16465
|
+
}, {
|
|
16466
|
+
handle: "startedAt",
|
|
16467
|
+
name: "Tanggal",
|
|
16468
|
+
type: "date",
|
|
16469
|
+
input: "date2",
|
|
16470
|
+
options: {
|
|
16471
|
+
note: "Tanggal progress."
|
|
16472
|
+
}
|
|
16473
|
+
}, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
|
|
16474
|
+
createVNode(unref(NeonField), mergeProps({
|
|
16475
|
+
modelValue: unref(values).detail,
|
|
16476
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).detail = $event)
|
|
16477
|
+
}, unref(fields).detail), null, 16, ["modelValue"])
|
|
16478
|
+
]),
|
|
16479
|
+
_: 1
|
|
16480
|
+
/* STABLE */
|
|
16481
|
+
}),
|
|
16482
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
16483
|
+
createVNode(unref(NeonField), mergeProps({
|
|
16484
|
+
modelValue: unref(values).startedAt,
|
|
16485
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedAt = $event)
|
|
16330
16486
|
}, {
|
|
16331
16487
|
handle: "startedAt",
|
|
16332
|
-
name: "
|
|
16333
|
-
type: "date",
|
|
16334
|
-
input: "date2",
|
|
16488
|
+
name: "Mulai",
|
|
16335
16489
|
options: {
|
|
16336
|
-
note: "
|
|
16490
|
+
note: "Jam mulai."
|
|
16337
16491
|
}
|
|
16338
|
-
}, {
|
|
16492
|
+
}), {
|
|
16493
|
+
input: withCtx(() => [
|
|
16494
|
+
createVNode(unref(NeonTime), {
|
|
16495
|
+
modelValue: unref(values).startedAt,
|
|
16496
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).startedAt = $event),
|
|
16497
|
+
"is-loading": unref(isLoading),
|
|
16498
|
+
class: "mt-2"
|
|
16499
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
16500
|
+
]),
|
|
16501
|
+
_: 1
|
|
16502
|
+
/* STABLE */
|
|
16503
|
+
}, 16, ["modelValue"]),
|
|
16339
16504
|
createVNode(unref(NeonField), mergeProps({
|
|
16340
|
-
modelValue: unref(values).
|
|
16341
|
-
"onUpdate:modelValue": _cache[
|
|
16342
|
-
},
|
|
16505
|
+
modelValue: unref(values).endedAt,
|
|
16506
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).endedAt = $event)
|
|
16507
|
+
}, {
|
|
16508
|
+
handle: "endedAt",
|
|
16509
|
+
name: "Selesai",
|
|
16510
|
+
options: {
|
|
16511
|
+
note: "Jam selesai."
|
|
16512
|
+
}
|
|
16513
|
+
}), {
|
|
16514
|
+
input: withCtx(() => [
|
|
16515
|
+
createVNode(unref(NeonTime), {
|
|
16516
|
+
modelValue: unref(values).endedAt,
|
|
16517
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).endedAt = $event),
|
|
16518
|
+
"is-loading": unref(isLoading),
|
|
16519
|
+
class: "mt-2"
|
|
16520
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
16521
|
+
createElementVNode(
|
|
16522
|
+
"div",
|
|
16523
|
+
_hoisted_2$7,
|
|
16524
|
+
toDisplayString(duration.value),
|
|
16525
|
+
1
|
|
16526
|
+
/* TEXT */
|
|
16527
|
+
)
|
|
16528
|
+
]),
|
|
16529
|
+
_: 1
|
|
16530
|
+
/* STABLE */
|
|
16531
|
+
}, 16, ["modelValue"])
|
|
16343
16532
|
]),
|
|
16344
|
-
|
|
16345
|
-
|
|
16346
|
-
|
|
16347
|
-
|
|
16533
|
+
createVNode(unref(OfficeRelation), {
|
|
16534
|
+
modelValue: unref(values),
|
|
16535
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16536
|
+
field: unref(fields).staffs
|
|
16537
|
+
}, null, 8, ["modelValue", "field"]),
|
|
16348
16538
|
createVNode(unref(NeonField), mergeProps({
|
|
16349
|
-
modelValue: unref(values).
|
|
16350
|
-
"onUpdate:modelValue": _cache[
|
|
16351
|
-
}, {
|
|
16352
|
-
handle: "startedAt",
|
|
16353
|
-
name: "Mulai",
|
|
16354
|
-
options: {
|
|
16355
|
-
note: "Jam mulai."
|
|
16356
|
-
}
|
|
16357
|
-
}), {
|
|
16539
|
+
modelValue: unref(values).isNotes,
|
|
16540
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).isNotes = $event)
|
|
16541
|
+
}, unref(fields).isNotes), {
|
|
16358
16542
|
input: withCtx(() => [
|
|
16359
|
-
createVNode(unref(
|
|
16360
|
-
modelValue: unref(values).
|
|
16361
|
-
"onUpdate:modelValue": _cache[
|
|
16362
|
-
"
|
|
16543
|
+
createVNode(unref(NeonCheck), {
|
|
16544
|
+
modelValue: unref(values).isNotes,
|
|
16545
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event),
|
|
16546
|
+
label: "Catatan",
|
|
16363
16547
|
class: "mt-2"
|
|
16364
|
-
}, null, 8, ["modelValue"
|
|
16548
|
+
}, null, 8, ["modelValue"])
|
|
16365
16549
|
]),
|
|
16366
16550
|
_: 1
|
|
16367
16551
|
/* STABLE */
|
|
16368
16552
|
}, 16, ["modelValue"]),
|
|
16369
|
-
createVNode(unref(
|
|
16370
|
-
modelValue: unref(values)
|
|
16371
|
-
"onUpdate:modelValue": _cache[
|
|
16372
|
-
|
|
16373
|
-
|
|
16374
|
-
|
|
16375
|
-
|
|
16376
|
-
|
|
16377
|
-
|
|
16378
|
-
|
|
16379
|
-
|
|
16380
|
-
|
|
16381
|
-
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
|
|
16390
|
-
|
|
16391
|
-
|
|
16392
|
-
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16396
|
-
|
|
16553
|
+
createVNode(unref(OfficeRelation), {
|
|
16554
|
+
modelValue: unref(values),
|
|
16555
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16556
|
+
field: unref(fields).accessStaffs
|
|
16557
|
+
}, null, 8, ["modelValue", "field"]),
|
|
16558
|
+
createVNode(unref(NeonDivider), {
|
|
16559
|
+
"is-dashed": "",
|
|
16560
|
+
label: "Referensi"
|
|
16561
|
+
}),
|
|
16562
|
+
createVNode(unref(OfficeRelation), {
|
|
16563
|
+
modelValue: unref(values),
|
|
16564
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16565
|
+
field: unref(fields).responsibilities,
|
|
16566
|
+
query: unref(Query).define(responsibilityOptions.value)
|
|
16567
|
+
}, null, 8, ["modelValue", "field", "query"]),
|
|
16568
|
+
createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
|
|
16569
|
+
createVNode(unref(OfficeRelation), {
|
|
16570
|
+
modelValue: unref(values),
|
|
16571
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16572
|
+
field: unref(fields).submissions,
|
|
16573
|
+
query: unref(Query).define(submissionOptions.value)
|
|
16574
|
+
}, null, 8, ["modelValue", "field", "query"])
|
|
16575
|
+
]),
|
|
16576
|
+
_: 1
|
|
16577
|
+
/* STABLE */
|
|
16578
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
16579
|
+
]),
|
|
16580
|
+
_: 1
|
|
16581
|
+
/* STABLE */
|
|
16582
|
+
}),
|
|
16583
|
+
createCommentVNode(" LAPORAN "),
|
|
16584
|
+
unref(isReady) && ((_a2 = unref(values).responsibilityIds) == null ? void 0 : _a2.length) == 1 ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
16585
|
+
key: 0,
|
|
16586
|
+
handle: "report",
|
|
16587
|
+
icon: "info-circle",
|
|
16588
|
+
title: "Laporan"
|
|
16589
|
+
}, {
|
|
16590
|
+
default: withCtx(() => [
|
|
16591
|
+
createVNode(unref(NeonForm), {
|
|
16592
|
+
handle: "report",
|
|
16593
|
+
"initial-values": unref(initialValues),
|
|
16594
|
+
"is-loading": unref(isLoading),
|
|
16595
|
+
"is-changed": unref(isChanged),
|
|
16596
|
+
"use-unsaved": "",
|
|
16597
|
+
onCancel: unref(discardChanges),
|
|
16598
|
+
onSubmit: unref(saveOne)
|
|
16599
|
+
}, {
|
|
16600
|
+
default: withCtx(() => [
|
|
16601
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
16602
|
+
key: 0,
|
|
16603
|
+
modelValue: unref(values).reports,
|
|
16604
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).reports = $event)
|
|
16605
|
+
}, unref(fields).reports), null, 16, ["modelValue"])) : createCommentVNode("v-if", true)
|
|
16397
16606
|
]),
|
|
16398
|
-
|
|
16399
|
-
|
|
16400
|
-
|
|
16401
|
-
|
|
16402
|
-
|
|
16403
|
-
|
|
16404
|
-
|
|
16405
|
-
|
|
16406
|
-
|
|
16407
|
-
|
|
16408
|
-
createVNode(unref(NeonCheck), {
|
|
16409
|
-
modelValue: unref(values).isNotes,
|
|
16410
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event),
|
|
16411
|
-
label: "Catatan",
|
|
16412
|
-
class: "mt-2"
|
|
16413
|
-
}, null, 8, ["modelValue"])
|
|
16414
|
-
]),
|
|
16415
|
-
_: 1
|
|
16416
|
-
/* STABLE */
|
|
16417
|
-
}, 16, ["modelValue"]),
|
|
16418
|
-
createVNode(unref(OfficeRelation), {
|
|
16419
|
-
modelValue: unref(values),
|
|
16420
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16421
|
-
field: unref(fields).accessStaffs
|
|
16422
|
-
}, null, 8, ["modelValue", "field"]),
|
|
16423
|
-
createVNode(unref(NeonDivider), {
|
|
16424
|
-
"is-dashed": "",
|
|
16425
|
-
label: "Referensi"
|
|
16426
|
-
}),
|
|
16427
|
-
createVNode(unref(OfficeRelation), {
|
|
16428
|
-
modelValue: unref(values),
|
|
16429
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16430
|
-
field: unref(fields).responsibilities,
|
|
16431
|
-
query: unref(Query).define(responsibilityOptions.value)
|
|
16432
|
-
}, null, 8, ["modelValue", "field", "query"]),
|
|
16433
|
-
createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
|
|
16434
|
-
createVNode(unref(OfficeRelation), {
|
|
16435
|
-
modelValue: unref(values),
|
|
16436
|
-
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
|
|
16437
|
-
field: unref(fields).submissions,
|
|
16438
|
-
query: unref(Query).define(submissionOptions.value)
|
|
16439
|
-
}, null, 8, ["modelValue", "field", "query"])
|
|
16440
|
-
]),
|
|
16441
|
-
_: 1
|
|
16442
|
-
/* STABLE */
|
|
16443
|
-
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
16444
|
-
]),
|
|
16445
|
-
_: 1
|
|
16446
|
-
/* STABLE */
|
|
16447
|
-
}),
|
|
16448
|
-
createVNode(unref(_sfc_main$G))
|
|
16449
|
-
]),
|
|
16607
|
+
_: 1
|
|
16608
|
+
/* STABLE */
|
|
16609
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
16610
|
+
]),
|
|
16611
|
+
_: 1
|
|
16612
|
+
/* STABLE */
|
|
16613
|
+
})) : createCommentVNode("v-if", true),
|
|
16614
|
+
createVNode(unref(_sfc_main$G))
|
|
16615
|
+
];
|
|
16616
|
+
}),
|
|
16450
16617
|
_: 1
|
|
16451
16618
|
/* STABLE */
|
|
16452
16619
|
}, 8, ["use-url"])
|
|
@@ -16457,8 +16624,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
16457
16624
|
};
|
|
16458
16625
|
}
|
|
16459
16626
|
});
|
|
16460
|
-
const
|
|
16461
|
-
const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
16627
|
+
const ProgressYesterday_vue_vue_type_style_index_0_scoped_84ac6152_lang = "";
|
|
16628
|
+
const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-84ac6152"]]);
|
|
16462
16629
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
16463
16630
|
__name: "ProgressNote",
|
|
16464
16631
|
setup(__props) {
|
|
@@ -16895,9 +17062,40 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
16895
17062
|
_: 1
|
|
16896
17063
|
/* STABLE */
|
|
16897
17064
|
}),
|
|
16898
|
-
createCommentVNode("
|
|
17065
|
+
createCommentVNode(" LAPORAN "),
|
|
16899
17066
|
!unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
16900
17067
|
key: 0,
|
|
17068
|
+
handle: "report",
|
|
17069
|
+
icon: "info-circle",
|
|
17070
|
+
title: "Laporan"
|
|
17071
|
+
}, {
|
|
17072
|
+
default: withCtx(() => [
|
|
17073
|
+
createVNode(unref(NeonForm), {
|
|
17074
|
+
handle: "report",
|
|
17075
|
+
"initial-values": unref(initialValues),
|
|
17076
|
+
"is-loading": unref(isLoading),
|
|
17077
|
+
"is-changed": unref(isChanged),
|
|
17078
|
+
"use-unsaved": "",
|
|
17079
|
+
onCancel: unref(discardChanges),
|
|
17080
|
+
onSubmit: unref(saveOne)
|
|
17081
|
+
}, {
|
|
17082
|
+
default: withCtx(() => [
|
|
17083
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
17084
|
+
key: 0,
|
|
17085
|
+
modelValue: unref(values).reports,
|
|
17086
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).reports = $event)
|
|
17087
|
+
}, unref(fields).reports), null, 16, ["modelValue"])) : createCommentVNode("v-if", true)
|
|
17088
|
+
]),
|
|
17089
|
+
_: 1
|
|
17090
|
+
/* STABLE */
|
|
17091
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
17092
|
+
]),
|
|
17093
|
+
_: 1
|
|
17094
|
+
/* STABLE */
|
|
17095
|
+
})) : createCommentVNode("v-if", true),
|
|
17096
|
+
createCommentVNode(" PROGRESS "),
|
|
17097
|
+
!unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
17098
|
+
key: 1,
|
|
16901
17099
|
handle: "progress",
|
|
16902
17100
|
icon: "info-circle",
|
|
16903
17101
|
title: "Progress"
|
|
@@ -16953,8 +17151,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
16953
17151
|
};
|
|
16954
17152
|
}
|
|
16955
17153
|
});
|
|
16956
|
-
const
|
|
16957
|
-
const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-
|
|
17154
|
+
const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_5c8b04ca_lang = "";
|
|
17155
|
+
const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-5c8b04ca"]]);
|
|
16958
17156
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
16959
17157
|
__name: "ResponsibilityStaff",
|
|
16960
17158
|
setup(__props) {
|
|
@@ -17059,9 +17257,40 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17059
17257
|
_: 1
|
|
17060
17258
|
/* STABLE */
|
|
17061
17259
|
}),
|
|
17062
|
-
createCommentVNode("
|
|
17260
|
+
createCommentVNode(" LAPORAN "),
|
|
17063
17261
|
!unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
17064
17262
|
key: 0,
|
|
17263
|
+
handle: "report",
|
|
17264
|
+
icon: "info-circle",
|
|
17265
|
+
title: "Laporan"
|
|
17266
|
+
}, {
|
|
17267
|
+
default: withCtx(() => [
|
|
17268
|
+
createVNode(unref(NeonForm), {
|
|
17269
|
+
handle: "report",
|
|
17270
|
+
"initial-values": unref(initialValues),
|
|
17271
|
+
"is-loading": unref(isLoading),
|
|
17272
|
+
"is-changed": unref(isChanged),
|
|
17273
|
+
"use-unsaved": "",
|
|
17274
|
+
onCancel: unref(discardChanges),
|
|
17275
|
+
onSubmit: unref(saveOne)
|
|
17276
|
+
}, {
|
|
17277
|
+
default: withCtx(() => [
|
|
17278
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
17279
|
+
key: 0,
|
|
17280
|
+
modelValue: unref(values).reports,
|
|
17281
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).reports = $event)
|
|
17282
|
+
}, unref(fields).reports), null, 16, ["modelValue"])) : createCommentVNode("v-if", true)
|
|
17283
|
+
]),
|
|
17284
|
+
_: 1
|
|
17285
|
+
/* STABLE */
|
|
17286
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
17287
|
+
]),
|
|
17288
|
+
_: 1
|
|
17289
|
+
/* STABLE */
|
|
17290
|
+
})) : createCommentVNode("v-if", true),
|
|
17291
|
+
createCommentVNode(" PROGRESS "),
|
|
17292
|
+
!unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
17293
|
+
key: 1,
|
|
17065
17294
|
handle: "progress",
|
|
17066
17295
|
icon: "info-circle",
|
|
17067
17296
|
title: "Progress"
|
|
@@ -17117,8 +17346,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17117
17346
|
};
|
|
17118
17347
|
}
|
|
17119
17348
|
});
|
|
17120
|
-
const
|
|
17121
|
-
const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
17349
|
+
const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_6c8c000f_lang = "";
|
|
17350
|
+
const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-6c8c000f"]]);
|
|
17122
17351
|
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
17123
17352
|
__name: "ResponsibilitySupervisor",
|
|
17124
17353
|
setup(__props) {
|
|
@@ -17223,9 +17452,40 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17223
17452
|
_: 1
|
|
17224
17453
|
/* STABLE */
|
|
17225
17454
|
}),
|
|
17226
|
-
createCommentVNode("
|
|
17455
|
+
createCommentVNode(" LAPORAN "),
|
|
17227
17456
|
!unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
17228
17457
|
key: 0,
|
|
17458
|
+
handle: "report",
|
|
17459
|
+
icon: "info-circle",
|
|
17460
|
+
title: "Laporan"
|
|
17461
|
+
}, {
|
|
17462
|
+
default: withCtx(() => [
|
|
17463
|
+
createVNode(unref(NeonForm), {
|
|
17464
|
+
handle: "report",
|
|
17465
|
+
"initial-values": unref(initialValues),
|
|
17466
|
+
"is-loading": unref(isLoading),
|
|
17467
|
+
"is-changed": unref(isChanged),
|
|
17468
|
+
"use-unsaved": "",
|
|
17469
|
+
onCancel: unref(discardChanges),
|
|
17470
|
+
onSubmit: unref(saveOne)
|
|
17471
|
+
}, {
|
|
17472
|
+
default: withCtx(() => [
|
|
17473
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
17474
|
+
key: 0,
|
|
17475
|
+
modelValue: unref(values).reports,
|
|
17476
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).reports = $event)
|
|
17477
|
+
}, unref(fields).reports), null, 16, ["modelValue"])) : createCommentVNode("v-if", true)
|
|
17478
|
+
]),
|
|
17479
|
+
_: 1
|
|
17480
|
+
/* STABLE */
|
|
17481
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
17482
|
+
]),
|
|
17483
|
+
_: 1
|
|
17484
|
+
/* STABLE */
|
|
17485
|
+
})) : createCommentVNode("v-if", true),
|
|
17486
|
+
createCommentVNode(" PROGRESS "),
|
|
17487
|
+
!unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
17488
|
+
key: 1,
|
|
17229
17489
|
handle: "progress",
|
|
17230
17490
|
icon: "info-circle",
|
|
17231
17491
|
title: "Progress"
|
|
@@ -17281,8 +17541,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17281
17541
|
};
|
|
17282
17542
|
}
|
|
17283
17543
|
});
|
|
17284
|
-
const
|
|
17285
|
-
const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
17544
|
+
const ResponsibilitySupervisor_vue_vue_type_style_index_0_scoped_291d61f5_lang = "";
|
|
17545
|
+
const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-291d61f5"]]);
|
|
17286
17546
|
const ResponsibilityTypeModel = models.ResponsibilityTypeModel;
|
|
17287
17547
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
17288
17548
|
...{
|
|
@@ -17439,8 +17699,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
17439
17699
|
createVNode(unref(OfficeRelation), {
|
|
17440
17700
|
modelValue: unref(values),
|
|
17441
17701
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
17442
|
-
field: unref(fields).branches
|
|
17443
|
-
fragment: { id: 1, display: 1, name: 1 }
|
|
17702
|
+
field: unref(fields).branches
|
|
17444
17703
|
}, null, 8, ["modelValue", "field"]),
|
|
17445
17704
|
createVNode(unref(OfficeRelation), {
|
|
17446
17705
|
modelValue: unref(values),
|
|
@@ -17617,7 +17876,6 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17617
17876
|
modelValue: unref(values),
|
|
17618
17877
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
17619
17878
|
field: unref(fields).branches,
|
|
17620
|
-
fragment: { id: 1, display: 1, name: 1 },
|
|
17621
17879
|
query: onBranchState.value
|
|
17622
17880
|
}, null, 8, ["modelValue", "field", "query"]),
|
|
17623
17881
|
createVNode(unref(OfficeRelation), {
|
|
@@ -17630,7 +17888,6 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17630
17888
|
modelValue: unref(values),
|
|
17631
17889
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
17632
17890
|
field: unref(fields).situationReportedBy,
|
|
17633
|
-
fragment: { id: 1, display: 1, name: 1 },
|
|
17634
17891
|
"is-disabled": ""
|
|
17635
17892
|
}, null, 8, ["modelValue", "field"]),
|
|
17636
17893
|
createVNode(unref(NeonFields), { md: "grid-cols-4" }, {
|
|
@@ -17910,8 +18167,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17910
18167
|
createVNode(unref(OfficeRelation), {
|
|
17911
18168
|
modelValue: unref(values),
|
|
17912
18169
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
17913
|
-
field: unref(fields).branches
|
|
17914
|
-
fragment: { id: 1, display: 1, name: 1 }
|
|
18170
|
+
field: unref(fields).branches
|
|
17915
18171
|
}, null, 8, ["modelValue", "field"])
|
|
17916
18172
|
]),
|
|
17917
18173
|
_: 1
|
|
@@ -18062,14 +18318,12 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18062
18318
|
createVNode(unref(OfficeRelation), {
|
|
18063
18319
|
modelValue: unref(values),
|
|
18064
18320
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(values) ? values.value = $event : null),
|
|
18065
|
-
field: unref(fields).branch
|
|
18066
|
-
fragment: { id: 1, display: 1, name: 1 }
|
|
18321
|
+
field: unref(fields).branch
|
|
18067
18322
|
}, null, 8, ["modelValue", "field"]),
|
|
18068
18323
|
createVNode(unref(OfficeRelation), {
|
|
18069
18324
|
modelValue: unref(values),
|
|
18070
18325
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
18071
|
-
field: unref(fields).branches
|
|
18072
|
-
fragment: { id: 1, display: 1, name: 1 }
|
|
18326
|
+
field: unref(fields).branches
|
|
18073
18327
|
}, null, 8, ["modelValue", "field"])
|
|
18074
18328
|
]),
|
|
18075
18329
|
_: 1
|
|
@@ -18107,8 +18361,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18107
18361
|
};
|
|
18108
18362
|
}
|
|
18109
18363
|
});
|
|
18110
|
-
const
|
|
18111
|
-
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
18364
|
+
const StaffSingle_vue_vue_type_style_index_0_scoped_be2a1aa4_lang = "";
|
|
18365
|
+
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-be2a1aa4"]]);
|
|
18112
18366
|
const _hoisted_1$5 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
|
|
18113
18367
|
const _hoisted_2$5 = { class: "grid gap-4 sm:grid-cols-2" };
|
|
18114
18368
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
@@ -18220,14 +18474,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18220
18474
|
createVNode(unref(OfficeRelation), {
|
|
18221
18475
|
modelValue: unref(values),
|
|
18222
18476
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(values) ? values.value = $event : null),
|
|
18223
|
-
field: unref(fields).branch
|
|
18224
|
-
fragment: { id: 1, display: 1, name: 1 }
|
|
18477
|
+
field: unref(fields).branch
|
|
18225
18478
|
}, null, 8, ["modelValue", "field"]),
|
|
18226
18479
|
createVNode(unref(OfficeRelation), {
|
|
18227
18480
|
modelValue: unref(values),
|
|
18228
18481
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
18229
|
-
field: unref(fields).branches
|
|
18230
|
-
fragment: { id: 1, display: 1, name: 1 }
|
|
18482
|
+
field: unref(fields).branches
|
|
18231
18483
|
}, null, 8, ["modelValue", "field"])
|
|
18232
18484
|
]),
|
|
18233
18485
|
_: 1
|
|
@@ -18272,8 +18524,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18272
18524
|
};
|
|
18273
18525
|
}
|
|
18274
18526
|
});
|
|
18275
|
-
const
|
|
18276
|
-
const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
18527
|
+
const StaffOperasional_vue_vue_type_style_index_0_scoped_759338da_lang = "";
|
|
18528
|
+
const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-759338da"]]);
|
|
18277
18529
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
18278
18530
|
__name: "StaffIdentity",
|
|
18279
18531
|
setup(__props) {
|
|
@@ -18359,6 +18611,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18359
18611
|
{ id: "6309c3c2e64a1324b8663dab", name: "Karyawan" },
|
|
18360
18612
|
{ id: "646a42976af710fe3618af9a", name: "Pengawas Pengajuan" },
|
|
18361
18613
|
{ id: "646a43106af710fe3618afca", name: "Pengambil Keputusan" },
|
|
18614
|
+
{ id: "654a0b3fb487f9f1087347aa", name: "Karyawan Poin" },
|
|
18615
|
+
{ id: "654ad81bb487f9f1087347e7", name: "Pengelola Poin" },
|
|
18616
|
+
{ id: "6555a130fdd768dbbb18d717", name: "Intelijen" },
|
|
18362
18617
|
// OPERASIONAL
|
|
18363
18618
|
{
|
|
18364
18619
|
id: "64a686ba3fe0bb481faa0f8b",
|
|
@@ -18771,6 +19026,39 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18771
19026
|
]
|
|
18772
19027
|
};
|
|
18773
19028
|
});
|
|
19029
|
+
const submissionStaffOptions = computed(() => {
|
|
19030
|
+
return {
|
|
19031
|
+
filter: [
|
|
19032
|
+
{
|
|
19033
|
+
handle: "branchIds",
|
|
19034
|
+
operator: "in",
|
|
19035
|
+
value: values.value.branchIds
|
|
19036
|
+
}
|
|
19037
|
+
]
|
|
19038
|
+
};
|
|
19039
|
+
});
|
|
19040
|
+
const roleStaffOptions = computed(() => {
|
|
19041
|
+
return {
|
|
19042
|
+
filter: [
|
|
19043
|
+
{
|
|
19044
|
+
handle: "virtualRoleIds",
|
|
19045
|
+
operator: "eq",
|
|
19046
|
+
value: "646a42976af710fe3618af9a"
|
|
19047
|
+
}
|
|
19048
|
+
]
|
|
19049
|
+
};
|
|
19050
|
+
});
|
|
19051
|
+
const roleDecideStaffOptions = computed(() => {
|
|
19052
|
+
return {
|
|
19053
|
+
filter: [
|
|
19054
|
+
{
|
|
19055
|
+
handle: "virtualRoleIds",
|
|
19056
|
+
operator: "eq",
|
|
19057
|
+
value: "646a43106af710fe3618afca"
|
|
19058
|
+
}
|
|
19059
|
+
]
|
|
19060
|
+
};
|
|
19061
|
+
});
|
|
18774
19062
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
18775
19063
|
watch(isNew, setDefaultValues, { immediate: true });
|
|
18776
19064
|
async function setDefaultValues() {
|
|
@@ -18863,19 +19151,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18863
19151
|
modelValue: unref(values),
|
|
18864
19152
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
18865
19153
|
field: unref(fields).submissionStaffs,
|
|
18866
|
-
|
|
18867
|
-
|
|
18868
|
-
|
|
18869
|
-
name: 1,
|
|
18870
|
-
display: 1
|
|
18871
|
-
}
|
|
18872
|
-
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
19154
|
+
query: unref(Query).define(submissionStaffOptions.value),
|
|
19155
|
+
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
19156
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
18873
19157
|
createVNode(unref(OfficeRelation), {
|
|
18874
19158
|
modelValue: unref(values),
|
|
18875
19159
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
|
|
18876
19160
|
field: unref(fields).raiseStaffs,
|
|
19161
|
+
query: unref(Query).define(roleStaffOptions.value),
|
|
18877
19162
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
18878
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])
|
|
19163
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"])
|
|
18879
19164
|
]),
|
|
18880
19165
|
_: 1
|
|
18881
19166
|
/* STABLE */
|
|
@@ -18886,8 +19171,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18886
19171
|
modelValue: unref(values),
|
|
18887
19172
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
18888
19173
|
field: unref(fields).decideStaffs,
|
|
19174
|
+
query: unref(Query).define(roleDecideStaffOptions.value),
|
|
18889
19175
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
18890
|
-
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
19176
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
18891
19177
|
createVNode(unref(OfficeRelation), {
|
|
18892
19178
|
modelValue: unref(values),
|
|
18893
19179
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
@@ -18982,8 +19268,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18982
19268
|
};
|
|
18983
19269
|
}
|
|
18984
19270
|
});
|
|
18985
|
-
const
|
|
18986
|
-
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
19271
|
+
const SubmissionStaff_vue_vue_type_style_index_0_scoped_6cccc9bb_lang = "";
|
|
19272
|
+
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-6cccc9bb"]]);
|
|
18987
19273
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
18988
19274
|
__name: "SubmissionFollowUp",
|
|
18989
19275
|
setup(__props) {
|
|
@@ -19170,6 +19456,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19170
19456
|
executeOne
|
|
19171
19457
|
} = useSingle();
|
|
19172
19458
|
const { staff } = useOperasional();
|
|
19459
|
+
usePermit();
|
|
19173
19460
|
const branchOptions = computed(() => {
|
|
19174
19461
|
var _a2;
|
|
19175
19462
|
return {
|
|
@@ -19193,6 +19480,39 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19193
19480
|
]
|
|
19194
19481
|
};
|
|
19195
19482
|
});
|
|
19483
|
+
const submissionStaffOptions = computed(() => {
|
|
19484
|
+
return {
|
|
19485
|
+
filter: [
|
|
19486
|
+
{
|
|
19487
|
+
handle: "branchIds",
|
|
19488
|
+
operator: "in",
|
|
19489
|
+
value: values.value.branchIds
|
|
19490
|
+
}
|
|
19491
|
+
]
|
|
19492
|
+
};
|
|
19493
|
+
});
|
|
19494
|
+
const roleStaffOptions = computed(() => {
|
|
19495
|
+
return {
|
|
19496
|
+
filter: [
|
|
19497
|
+
{
|
|
19498
|
+
handle: "virtualRoleIds",
|
|
19499
|
+
operator: "eq",
|
|
19500
|
+
value: "646a42976af710fe3618af9a"
|
|
19501
|
+
}
|
|
19502
|
+
]
|
|
19503
|
+
};
|
|
19504
|
+
});
|
|
19505
|
+
const roleDecideStaffOptions = computed(() => {
|
|
19506
|
+
return {
|
|
19507
|
+
filter: [
|
|
19508
|
+
{
|
|
19509
|
+
handle: "virtualRoleIds",
|
|
19510
|
+
operator: "eq",
|
|
19511
|
+
value: "646a43106af710fe3618afca"
|
|
19512
|
+
}
|
|
19513
|
+
]
|
|
19514
|
+
};
|
|
19515
|
+
});
|
|
19196
19516
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
19197
19517
|
watch(isNew, setDefaultValues, { immediate: true });
|
|
19198
19518
|
async function setDefaultValues() {
|
|
@@ -19367,14 +19687,16 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19367
19687
|
modelValue: unref(values),
|
|
19368
19688
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
19369
19689
|
field: unref(fields).submissionStaffs,
|
|
19690
|
+
query: unref(Query).define(submissionStaffOptions.value),
|
|
19370
19691
|
"is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
19371
|
-
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
19692
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
19372
19693
|
createVNode(unref(OfficeRelation), {
|
|
19373
19694
|
modelValue: unref(values),
|
|
19374
19695
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
|
|
19375
19696
|
field: unref(fields).raiseStaffs,
|
|
19697
|
+
query: unref(Query).define(roleStaffOptions.value),
|
|
19376
19698
|
"is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
19377
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])
|
|
19699
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"])
|
|
19378
19700
|
]),
|
|
19379
19701
|
_: 1
|
|
19380
19702
|
/* STABLE */
|
|
@@ -19385,8 +19707,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19385
19707
|
modelValue: unref(values),
|
|
19386
19708
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
19387
19709
|
field: unref(fields).decideStaffs,
|
|
19710
|
+
query: unref(Query).define(roleDecideStaffOptions.value),
|
|
19388
19711
|
"is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
19389
|
-
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
19712
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
19390
19713
|
createVNode(unref(OfficeRelation), {
|
|
19391
19714
|
modelValue: unref(values),
|
|
19392
19715
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
@@ -19524,8 +19847,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19524
19847
|
};
|
|
19525
19848
|
}
|
|
19526
19849
|
});
|
|
19527
|
-
const
|
|
19528
|
-
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
19850
|
+
const SubmissionAudit_vue_vue_type_style_index_0_scoped_7e1af8a3_lang = "";
|
|
19851
|
+
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-7e1af8a3"]]);
|
|
19529
19852
|
const _hoisted_1$3 = { class: "flex flex-wrap" };
|
|
19530
19853
|
const _hoisted_2$3 = { class: "mt-2" };
|
|
19531
19854
|
const _hoisted_3$2 = { class: "mt-2" };
|
|
@@ -19572,6 +19895,39 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
19572
19895
|
]
|
|
19573
19896
|
};
|
|
19574
19897
|
});
|
|
19898
|
+
const submissionStaffOptions = computed(() => {
|
|
19899
|
+
return {
|
|
19900
|
+
filter: [
|
|
19901
|
+
{
|
|
19902
|
+
handle: "branchIds",
|
|
19903
|
+
operator: "in",
|
|
19904
|
+
value: values.value.branchIds
|
|
19905
|
+
}
|
|
19906
|
+
]
|
|
19907
|
+
};
|
|
19908
|
+
});
|
|
19909
|
+
const roleStaffOptions = computed(() => {
|
|
19910
|
+
return {
|
|
19911
|
+
filter: [
|
|
19912
|
+
{
|
|
19913
|
+
handle: "virtualRoleIds",
|
|
19914
|
+
operator: "eq",
|
|
19915
|
+
value: "646a42976af710fe3618af9a"
|
|
19916
|
+
}
|
|
19917
|
+
]
|
|
19918
|
+
};
|
|
19919
|
+
});
|
|
19920
|
+
const roleDecideStaffOptions = computed(() => {
|
|
19921
|
+
return {
|
|
19922
|
+
filter: [
|
|
19923
|
+
{
|
|
19924
|
+
handle: "virtualRoleIds",
|
|
19925
|
+
operator: "eq",
|
|
19926
|
+
value: "646a43106af710fe3618afca"
|
|
19927
|
+
}
|
|
19928
|
+
]
|
|
19929
|
+
};
|
|
19930
|
+
});
|
|
19575
19931
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
19576
19932
|
watch(isNew, setDefaultValues, { immediate: true });
|
|
19577
19933
|
async function setDefaultValues() {
|
|
@@ -19708,14 +20064,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
19708
20064
|
modelValue: unref(values),
|
|
19709
20065
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
19710
20066
|
field: unref(fields).submissionStaffs,
|
|
20067
|
+
query: unref(Query).define(submissionStaffOptions.value),
|
|
19711
20068
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
19712
|
-
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
20069
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
19713
20070
|
createVNode(unref(OfficeRelation), {
|
|
19714
20071
|
modelValue: unref(values),
|
|
19715
20072
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
|
|
19716
20073
|
field: unref(fields).raiseStaffs,
|
|
20074
|
+
query: unref(Query).define(roleStaffOptions.value),
|
|
19717
20075
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
19718
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])
|
|
20076
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"])
|
|
19719
20077
|
]),
|
|
19720
20078
|
_: 1
|
|
19721
20079
|
/* STABLE */
|
|
@@ -19726,8 +20084,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
19726
20084
|
modelValue: unref(values),
|
|
19727
20085
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
19728
20086
|
field: unref(fields).decideStaffs,
|
|
20087
|
+
query: unref(Query).define(roleDecideStaffOptions.value),
|
|
19729
20088
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
19730
|
-
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
20089
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
19731
20090
|
createVNode(unref(OfficeRelation), {
|
|
19732
20091
|
modelValue: unref(values),
|
|
19733
20092
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
@@ -19867,8 +20226,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
19867
20226
|
};
|
|
19868
20227
|
}
|
|
19869
20228
|
});
|
|
19870
|
-
const
|
|
19871
|
-
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
20229
|
+
const SubmissionDecision_vue_vue_type_style_index_0_scoped_68341f72_lang = "";
|
|
20230
|
+
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-68341f72"]]);
|
|
19872
20231
|
const _hoisted_1$2 = { class: "flex flex-wrap" };
|
|
19873
20232
|
const _hoisted_2$2 = { class: "mt-2" };
|
|
19874
20233
|
const _hoisted_3$1 = { class: "mt-2" };
|
|
@@ -19915,6 +20274,39 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19915
20274
|
]
|
|
19916
20275
|
};
|
|
19917
20276
|
});
|
|
20277
|
+
const submissionStaffOptions = computed(() => {
|
|
20278
|
+
return {
|
|
20279
|
+
filter: [
|
|
20280
|
+
{
|
|
20281
|
+
handle: "branchIds",
|
|
20282
|
+
operator: "in",
|
|
20283
|
+
value: values.value.branchIds
|
|
20284
|
+
}
|
|
20285
|
+
]
|
|
20286
|
+
};
|
|
20287
|
+
});
|
|
20288
|
+
const roleRaiseStaffOptions = computed(() => {
|
|
20289
|
+
return {
|
|
20290
|
+
filter: [
|
|
20291
|
+
{
|
|
20292
|
+
handle: "virtualRoleIds",
|
|
20293
|
+
operator: "eq",
|
|
20294
|
+
value: "646a42976af710fe3618af9a"
|
|
20295
|
+
}
|
|
20296
|
+
]
|
|
20297
|
+
};
|
|
20298
|
+
});
|
|
20299
|
+
const roleDecideStaffOptions = computed(() => {
|
|
20300
|
+
return {
|
|
20301
|
+
filter: [
|
|
20302
|
+
{
|
|
20303
|
+
handle: "virtualRoleIds",
|
|
20304
|
+
operator: "eq",
|
|
20305
|
+
value: "646a43106af710fe3618afca"
|
|
20306
|
+
}
|
|
20307
|
+
]
|
|
20308
|
+
};
|
|
20309
|
+
});
|
|
19918
20310
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
19919
20311
|
watch(isNew, setDefaultValues, { immediate: true });
|
|
19920
20312
|
async function setDefaultValues() {
|
|
@@ -20053,14 +20445,16 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
20053
20445
|
modelValue: unref(values),
|
|
20054
20446
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
20055
20447
|
field: unref(fields).submissionStaffs,
|
|
20448
|
+
query: unref(Query).define(submissionStaffOptions.value),
|
|
20056
20449
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
20057
|
-
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
20450
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
20058
20451
|
createVNode(unref(OfficeRelation), {
|
|
20059
20452
|
modelValue: unref(values),
|
|
20060
20453
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
|
|
20061
20454
|
field: unref(fields).raiseStaffs,
|
|
20455
|
+
query: unref(Query).define(roleRaiseStaffOptions.value),
|
|
20062
20456
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
20063
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])
|
|
20457
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"])
|
|
20064
20458
|
]),
|
|
20065
20459
|
_: 1
|
|
20066
20460
|
/* STABLE */
|
|
@@ -20071,8 +20465,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
20071
20465
|
modelValue: unref(values),
|
|
20072
20466
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
20073
20467
|
field: unref(fields).decideStaffs,
|
|
20468
|
+
query: unref(Query).define(roleDecideStaffOptions.value),
|
|
20074
20469
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
20075
|
-
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
20470
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
20076
20471
|
createVNode(unref(OfficeRelation), {
|
|
20077
20472
|
modelValue: unref(values),
|
|
20078
20473
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
@@ -20168,8 +20563,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
20168
20563
|
};
|
|
20169
20564
|
}
|
|
20170
20565
|
});
|
|
20171
|
-
const
|
|
20172
|
-
const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
20566
|
+
const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_60c09582_lang = "";
|
|
20567
|
+
const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-60c09582"]]);
|
|
20173
20568
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
20174
20569
|
__name: "SubmissionSupervisor",
|
|
20175
20570
|
setup(__props) {
|