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