@neutron.co.id/operasional-interfaces 1.8.2 → 1.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.cjs +894 -288
- package/build/index.mjs +895 -289
- package/build/style.css +42 -13
- package/build/types/components/index.d.ts +1 -0
- package/build/types/components/plan/plan.types.d.ts +1 -1
- package/build/types/components/progress/progress.types.d.ts +1 -1
- package/build/types/components/progress/sheets/ProgressNote.vue.d.ts +2 -0
- package/build/types/components/progress/sheets/index.d.ts +1 -0
- package/build/types/components/progressAccess/index.d.ts +2 -0
- package/build/types/components/progressAccess/progressAccess.types.d.ts +2 -0
- package/build/types/components/progressAccess/sheets/ProgressAccessCollection.vue.d.ts +2 -0
- package/build/types/components/progressAccess/sheets/ProgressAccessSingle.vue.d.ts +2 -0
- package/build/types/components/progressAccess/sheets/ProgressAccessSupervisor.vue.d.ts +2 -0
- package/build/types/components/progressAccess/sheets/index.d.ts +3 -0
- package/build/types/components/submission/submission.types.d.ts +1 -1
- package/build/types/components/target/target.types.d.ts +1 -1
- package/build/types/components/task/task.types.d.ts +1 -1
- package/build/types/gql/graphql.d.ts +308 -9
- package/build/types/providers/operasional/operasional.types.d.ts +3 -1
- package/build/types/providers/operasional/useOperasional.d.ts +2 -0
- package/package.json +4 -4
package/build/index.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import isoWeek from "dayjs/esm/plugin/isoWeek/index.js";
|
|
|
22
22
|
import relativeTimePlugin from "dayjs/esm/plugin/relativeTime/index.js";
|
|
23
23
|
import { models as models$1 } from "@neutron.co.id/tempat-models";
|
|
24
24
|
import { useEventBus, useIntervalFn, useThrottleFn } from "@vueuse/core";
|
|
25
|
-
import { OfficeContent, OfficeCollectionQuery, OfficeCollectionOperation, OfficeTabs, OfficeTab, OfficeRelation, OfficeCollectionTable, OfficeCollectionRelated, OfficeCollectionCalendar
|
|
25
|
+
import { OfficeContent, OfficeCollectionQuery, OfficeCollectionOperation, OfficeTabs, OfficeTab, OfficeRelation, OfficeCollectionTable, OfficeCollectionRelated, OfficeCollectionCalendar } from "@neon.id/office";
|
|
26
26
|
import { defineStore, storeToRefs } from "pinia";
|
|
27
27
|
import { useRouter, useRoute } from "vue-router";
|
|
28
28
|
import { ComponentUtil } from "@neon.id/utils/component";
|
|
@@ -31,7 +31,7 @@ import mitt from "mitt";
|
|
|
31
31
|
import { models as models$2 } from "@neutron.co.id/personalia-models";
|
|
32
32
|
import { CatatSketchPad, CatatPaperPad } from "@neon.id/catat-interfaces";
|
|
33
33
|
const _hoisted_1$m = { class: "xxx-button" };
|
|
34
|
-
const _sfc_main$
|
|
34
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
35
35
|
...{ name: "XxxButton" },
|
|
36
36
|
__name: "XxxButton",
|
|
37
37
|
props: {
|
|
@@ -53,7 +53,7 @@ const _hoisted_2$g = {
|
|
|
53
53
|
key: 2,
|
|
54
54
|
class: "section"
|
|
55
55
|
};
|
|
56
|
-
const _sfc_main$
|
|
56
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
57
57
|
...{ name: "OperasionalIdentitas" },
|
|
58
58
|
__name: "OperasionalIdentitas",
|
|
59
59
|
props: {
|
|
@@ -409,7 +409,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
409
409
|
}
|
|
410
410
|
return target;
|
|
411
411
|
};
|
|
412
|
-
const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
412
|
+
const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-355c8370"]]);
|
|
413
413
|
dayjs.extend(durationPlugin);
|
|
414
414
|
dayjs.extend(relativeTimePlugin);
|
|
415
415
|
dayjs.extend(advancedFormat);
|
|
@@ -435,7 +435,7 @@ const _hoisted_2$f = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ create
|
|
|
435
435
|
const _hoisted_3$7 = [
|
|
436
436
|
_hoisted_2$f
|
|
437
437
|
];
|
|
438
|
-
const _sfc_main$
|
|
438
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
439
439
|
__name: "NeonTime",
|
|
440
440
|
props: {
|
|
441
441
|
modelValue: {
|
|
@@ -496,14 +496,16 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
496
496
|
});
|
|
497
497
|
const NeonTime_vue_vue_type_style_index_0_scoped_805321b9_lang = "";
|
|
498
498
|
const NeonTime_vue_vue_type_style_index_1_lang = "";
|
|
499
|
-
const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
499
|
+
const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-805321b9"]]);
|
|
500
500
|
const CheckInModel = models$1.CheckInModel;
|
|
501
501
|
const useOperasionalStore = defineStore("neu:operasional", () => {
|
|
502
502
|
const isLoading = ref(false);
|
|
503
503
|
const staff = ref(null);
|
|
504
|
+
const accesses = ref([]);
|
|
504
505
|
return {
|
|
505
506
|
isLoading,
|
|
506
507
|
staff,
|
|
508
|
+
accesses,
|
|
507
509
|
setStaff
|
|
508
510
|
};
|
|
509
511
|
function setStaff(data) {
|
|
@@ -575,11 +577,21 @@ function withOperasional() {
|
|
|
575
577
|
const authStore = useAuthStore();
|
|
576
578
|
const { userId } = storeToRefs(authStore);
|
|
577
579
|
const store = useOperasionalStore();
|
|
578
|
-
const { isLoading, staff } = storeToRefs(store);
|
|
580
|
+
const { isLoading, staff, accesses } = storeToRefs(store);
|
|
581
|
+
const supervisedStaffIds = computed(() => {
|
|
582
|
+
return accesses.value.reduce(
|
|
583
|
+
(ids, access) => {
|
|
584
|
+
return ids.concat(access.supervisedStaffIds || []);
|
|
585
|
+
},
|
|
586
|
+
[]
|
|
587
|
+
);
|
|
588
|
+
});
|
|
579
589
|
const { client } = useClientHandle();
|
|
580
590
|
const context = {
|
|
581
591
|
isLoading,
|
|
582
592
|
staff,
|
|
593
|
+
accesses,
|
|
594
|
+
supervisedStaffIds,
|
|
583
595
|
setStaff: store.setStaff,
|
|
584
596
|
getStaff,
|
|
585
597
|
init
|
|
@@ -606,7 +618,11 @@ function withOperasional() {
|
|
|
606
618
|
userId: 1,
|
|
607
619
|
branch: { id: 1, name: 1 },
|
|
608
620
|
branches: { id: 1, name: 1 },
|
|
609
|
-
note: 1
|
|
621
|
+
note: 1,
|
|
622
|
+
superviseStaffProgressAccesses: {
|
|
623
|
+
id: 1,
|
|
624
|
+
supervisedStaffIds: 1
|
|
625
|
+
}
|
|
610
626
|
}),
|
|
611
627
|
{
|
|
612
628
|
filter: { userId: userId.value },
|
|
@@ -617,7 +633,9 @@ function withOperasional() {
|
|
|
617
633
|
).toPromise();
|
|
618
634
|
const wrapper = (_a = resp.data) == null ? void 0 : _a[StaffModel$1.plural];
|
|
619
635
|
const items = (wrapper == null ? void 0 : wrapper.items) || [];
|
|
620
|
-
|
|
636
|
+
const _staff = items[0];
|
|
637
|
+
staff.value = _staff;
|
|
638
|
+
accesses.value = _staff.superviseStaffProgressAccesses || [];
|
|
621
639
|
}
|
|
622
640
|
}
|
|
623
641
|
const bus = mitt();
|
|
@@ -637,7 +655,7 @@ const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
|
|
|
637
655
|
/* HOISTED */
|
|
638
656
|
));
|
|
639
657
|
const _hoisted_6$2 = { class: "end" };
|
|
640
|
-
const _sfc_main$
|
|
658
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
641
659
|
...{
|
|
642
660
|
name: "CheckInPresenceCollection"
|
|
643
661
|
},
|
|
@@ -990,9 +1008,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
990
1008
|
}
|
|
991
1009
|
});
|
|
992
1010
|
const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_ee60c24a_lang = "";
|
|
993
|
-
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1011
|
+
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-ee60c24a"]]);
|
|
994
1012
|
const _hoisted_1$i = { class: "grid gap-4 sm:grid-cols-2" };
|
|
995
|
-
const _sfc_main$
|
|
1013
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
996
1014
|
__name: "CheckInSingle",
|
|
997
1015
|
setup(__props) {
|
|
998
1016
|
const {
|
|
@@ -1090,9 +1108,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
1090
1108
|
}
|
|
1091
1109
|
});
|
|
1092
1110
|
const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
|
|
1093
|
-
const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1111
|
+
const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-2e2803fb"]]);
|
|
1094
1112
|
const _hoisted_1$h = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1095
|
-
const _sfc_main$
|
|
1113
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
1096
1114
|
__name: "CheckInExternal",
|
|
1097
1115
|
setup(__props) {
|
|
1098
1116
|
const {
|
|
@@ -1205,7 +1223,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
1205
1223
|
}
|
|
1206
1224
|
});
|
|
1207
1225
|
const CheckInExternal_vue_vue_type_style_index_0_scoped_dcdbc71a_lang = "";
|
|
1208
|
-
const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1226
|
+
const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-dcdbc71a"]]);
|
|
1209
1227
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-d23b6de5"), n = n(), popScopeId(), n);
|
|
1210
1228
|
const _hoisted_1$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
|
|
1211
1229
|
"h4",
|
|
@@ -1225,7 +1243,7 @@ const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
|
|
|
1225
1243
|
-1
|
|
1226
1244
|
/* HOISTED */
|
|
1227
1245
|
));
|
|
1228
|
-
const _sfc_main$
|
|
1246
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
1229
1247
|
__name: "CheckInAccess",
|
|
1230
1248
|
emits: ["close"],
|
|
1231
1249
|
setup(__props) {
|
|
@@ -1278,9 +1296,9 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
1278
1296
|
}
|
|
1279
1297
|
});
|
|
1280
1298
|
const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
|
|
1281
|
-
const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1299
|
+
const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-d23b6de5"]]);
|
|
1282
1300
|
const _hoisted_1$f = { class: "buttons" };
|
|
1283
|
-
const _sfc_main$
|
|
1301
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
1284
1302
|
__name: "CheckInScanError",
|
|
1285
1303
|
setup(__props) {
|
|
1286
1304
|
const attendanceStore = useAttendanceStore();
|
|
@@ -1344,7 +1362,7 @@ const _hoisted_2$c = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1344
1362
|
));
|
|
1345
1363
|
const _hoisted_3$5 = ["onClick"];
|
|
1346
1364
|
const _hoisted_4$3 = { class: "mr-2 text-sm" };
|
|
1347
|
-
const _sfc_main$
|
|
1365
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
1348
1366
|
__name: "CheckInScanner",
|
|
1349
1367
|
emits: ["start", "stop", "scanned", "close"],
|
|
1350
1368
|
setup(__props, { emit }) {
|
|
@@ -1526,7 +1544,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
1526
1544
|
}
|
|
1527
1545
|
});
|
|
1528
1546
|
const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
|
|
1529
|
-
const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1547
|
+
const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-ef426ef3"]]);
|
|
1530
1548
|
const _hoisted_1$d = /* @__PURE__ */ createElementVNode(
|
|
1531
1549
|
"h3",
|
|
1532
1550
|
{ align: "center" },
|
|
@@ -1534,7 +1552,7 @@ const _hoisted_1$d = /* @__PURE__ */ createElementVNode(
|
|
|
1534
1552
|
-1
|
|
1535
1553
|
/* HOISTED */
|
|
1536
1554
|
);
|
|
1537
|
-
const _sfc_main$
|
|
1555
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
1538
1556
|
__name: "CheckInScanSuccess",
|
|
1539
1557
|
emits: ["close"],
|
|
1540
1558
|
setup(__props) {
|
|
@@ -1566,7 +1584,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1566
1584
|
};
|
|
1567
1585
|
}
|
|
1568
1586
|
});
|
|
1569
|
-
const _sfc_main$
|
|
1587
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
1570
1588
|
...{
|
|
1571
1589
|
name: "CheckInCollection"
|
|
1572
1590
|
},
|
|
@@ -1585,7 +1603,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
1585
1603
|
}
|
|
1586
1604
|
});
|
|
1587
1605
|
const StaffModel = models$2.StaffModel;
|
|
1588
|
-
const _sfc_main$
|
|
1606
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
1589
1607
|
...{
|
|
1590
1608
|
name: "StaffCollection"
|
|
1591
1609
|
},
|
|
@@ -1605,7 +1623,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1605
1623
|
});
|
|
1606
1624
|
const _hoisted_1$c = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
|
|
1607
1625
|
const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1608
|
-
const _sfc_main$
|
|
1626
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
1609
1627
|
__name: "StaffSingle",
|
|
1610
1628
|
setup(__props) {
|
|
1611
1629
|
const {
|
|
@@ -1685,7 +1703,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1685
1703
|
title: "Identitas"
|
|
1686
1704
|
}, {
|
|
1687
1705
|
default: withCtx(() => [
|
|
1688
|
-
createVNode(unref(_sfc_main$
|
|
1706
|
+
createVNode(unref(_sfc_main$J))
|
|
1689
1707
|
]),
|
|
1690
1708
|
_: 1
|
|
1691
1709
|
/* STABLE */
|
|
@@ -1756,10 +1774,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1756
1774
|
}
|
|
1757
1775
|
});
|
|
1758
1776
|
const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
|
|
1759
|
-
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1777
|
+
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-0cf4cd99"]]);
|
|
1760
1778
|
const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
|
|
1761
1779
|
const _hoisted_2$a = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1762
|
-
const _sfc_main$
|
|
1780
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
1763
1781
|
__name: "StaffOperasional",
|
|
1764
1782
|
setup(__props) {
|
|
1765
1783
|
const {
|
|
@@ -1839,7 +1857,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
1839
1857
|
title: "Identitas"
|
|
1840
1858
|
}, {
|
|
1841
1859
|
default: withCtx(() => [
|
|
1842
|
-
createVNode(unref(_sfc_main$
|
|
1860
|
+
createVNode(unref(_sfc_main$J))
|
|
1843
1861
|
]),
|
|
1844
1862
|
_: 1
|
|
1845
1863
|
/* STABLE */
|
|
@@ -1917,8 +1935,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
1917
1935
|
}
|
|
1918
1936
|
});
|
|
1919
1937
|
const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
|
|
1920
|
-
const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1921
|
-
const _sfc_main$
|
|
1938
|
+
const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-c62cf70a"]]);
|
|
1939
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
1922
1940
|
__name: "StaffIdentity",
|
|
1923
1941
|
setup(__props) {
|
|
1924
1942
|
const { values, saveOne, executeOne, syncOne } = useSingle();
|
|
@@ -2003,6 +2021,24 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
2003
2021
|
{ id: "6309c3c2e64a1324b8663dab", name: "Karyawan" },
|
|
2004
2022
|
{ id: "646a42976af710fe3618af9a", name: "Pengawas Pengajuan" },
|
|
2005
2023
|
{ id: "646a43106af710fe3618afca", name: "Pengambil Keputusan" },
|
|
2024
|
+
// OPERASIONAL
|
|
2025
|
+
{
|
|
2026
|
+
id: "64a686ba3fe0bb481faa0f8b",
|
|
2027
|
+
name: "Pengelola Tanggungjawab"
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
id: "64a687823fe0bb481faa0fba",
|
|
2031
|
+
name: "Penanggungjawab Cabang"
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
id: "64a687b93fe0bb481faa0fd6",
|
|
2035
|
+
name: "Pengawas Progress"
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
id: "64a687ed3fe0bb481faa0ff2",
|
|
2039
|
+
name: "Pengelola Absensi"
|
|
2040
|
+
},
|
|
2041
|
+
// END OPERASIONAL
|
|
2006
2042
|
{ id: "63e1734b78ae4f8388b1b313", name: "Cabang Pendidikan" },
|
|
2007
2043
|
// { id: '6309c2aae64a1324b8663d96', name: 'Admin Pendidikan' },
|
|
2008
2044
|
{ id: "643f6c0bd760fc7b529d4a5d", name: "Pengelola Pengajar" },
|
|
@@ -2074,7 +2110,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
2074
2110
|
}
|
|
2075
2111
|
});
|
|
2076
2112
|
const SituationModel = models$2.SituationModel;
|
|
2077
|
-
const _sfc_main$
|
|
2113
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
2078
2114
|
...{ name: "SituationCollection" },
|
|
2079
2115
|
__name: "SituationCollection",
|
|
2080
2116
|
setup(__props) {
|
|
@@ -2090,7 +2126,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
2090
2126
|
};
|
|
2091
2127
|
}
|
|
2092
2128
|
});
|
|
2093
|
-
const _sfc_main$
|
|
2129
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
2094
2130
|
__name: "SituationSingle",
|
|
2095
2131
|
setup(__props) {
|
|
2096
2132
|
const {
|
|
@@ -2228,7 +2264,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
2228
2264
|
};
|
|
2229
2265
|
}
|
|
2230
2266
|
});
|
|
2231
|
-
const _sfc_main$
|
|
2267
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
2232
2268
|
__name: "SituationWork",
|
|
2233
2269
|
setup(__props) {
|
|
2234
2270
|
const {
|
|
@@ -2409,7 +2445,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2409
2445
|
};
|
|
2410
2446
|
}
|
|
2411
2447
|
});
|
|
2412
|
-
const _sfc_main$
|
|
2448
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
2413
2449
|
...{ name: "SituationSupportive" },
|
|
2414
2450
|
__name: "SituationSupportive",
|
|
2415
2451
|
setup(__props) {
|
|
@@ -2548,7 +2584,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2548
2584
|
}
|
|
2549
2585
|
});
|
|
2550
2586
|
const SituationTypeModel = models$2.SituationTypeModel;
|
|
2551
|
-
const _sfc_main$
|
|
2587
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
2552
2588
|
...{ name: "SituationTypeCollection" },
|
|
2553
2589
|
__name: "SituationTypeCollection",
|
|
2554
2590
|
setup(__props) {
|
|
@@ -2564,7 +2600,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
2564
2600
|
};
|
|
2565
2601
|
}
|
|
2566
2602
|
});
|
|
2567
|
-
const _sfc_main$
|
|
2603
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
2568
2604
|
__name: "SituationTypeSingle",
|
|
2569
2605
|
setup(__props) {
|
|
2570
2606
|
const {
|
|
@@ -2639,7 +2675,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
2639
2675
|
const TaskModel = models$2.TaskModel;
|
|
2640
2676
|
const _hoisted_1$a = { key: 0 };
|
|
2641
2677
|
const _hoisted_2$9 = { key: 1 };
|
|
2642
|
-
const _sfc_main$
|
|
2678
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
2643
2679
|
...{ name: "TaskWorkButton" },
|
|
2644
2680
|
__name: "TaskWorkButton",
|
|
2645
2681
|
setup(__props) {
|
|
@@ -2760,7 +2796,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
2760
2796
|
};
|
|
2761
2797
|
}
|
|
2762
2798
|
});
|
|
2763
|
-
const _sfc_main$
|
|
2799
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
2764
2800
|
...{ name: "TaskCollection" },
|
|
2765
2801
|
__name: "TaskCollection",
|
|
2766
2802
|
setup(__props) {
|
|
@@ -2776,7 +2812,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
2776
2812
|
};
|
|
2777
2813
|
}
|
|
2778
2814
|
});
|
|
2779
|
-
const _sfc_main$
|
|
2815
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
2780
2816
|
__name: "TaskSingle",
|
|
2781
2817
|
setup(__props) {
|
|
2782
2818
|
const {
|
|
@@ -2999,7 +3035,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
2999
3035
|
};
|
|
3000
3036
|
}
|
|
3001
3037
|
});
|
|
3002
|
-
const _sfc_main$
|
|
3038
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
3003
3039
|
__name: "TaskWork",
|
|
3004
3040
|
setup(__props) {
|
|
3005
3041
|
const {
|
|
@@ -3222,7 +3258,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3222
3258
|
}
|
|
3223
3259
|
});
|
|
3224
3260
|
const SubmissionModel = models$2.SubmissionModel;
|
|
3225
|
-
const _sfc_main$
|
|
3261
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
3226
3262
|
...{
|
|
3227
3263
|
name: "SubmissionCollection"
|
|
3228
3264
|
},
|
|
@@ -3240,7 +3276,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
3240
3276
|
};
|
|
3241
3277
|
}
|
|
3242
3278
|
});
|
|
3243
|
-
const _sfc_main$
|
|
3279
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
3244
3280
|
__name: "SubmissionSingle",
|
|
3245
3281
|
setup(__props) {
|
|
3246
3282
|
const {
|
|
@@ -3337,25 +3373,22 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
3337
3373
|
_: 1
|
|
3338
3374
|
/* STABLE */
|
|
3339
3375
|
}),
|
|
3340
|
-
|
|
3341
|
-
modelValue: unref(values).specifications,
|
|
3342
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).specifications = $event)
|
|
3343
|
-
}, unref(fields).specifications), null, 16, ["modelValue"]),
|
|
3376
|
+
createCommentVNode(' <NeonField\n v-model="values.specifications"\n v-bind="fields.specifications"\n /> '),
|
|
3344
3377
|
createVNode(unref(NeonField), mergeProps({
|
|
3345
3378
|
modelValue: unref(values).preparedAt,
|
|
3346
|
-
"onUpdate:modelValue": _cache[
|
|
3379
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).preparedAt = $event)
|
|
3347
3380
|
}, unref(fields).preparedAt), null, 16, ["modelValue"]),
|
|
3348
3381
|
createVNode(unref(NeonField), mergeProps({
|
|
3349
3382
|
modelValue: unref(values).raisedAt,
|
|
3350
|
-
"onUpdate:modelValue": _cache[
|
|
3383
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).raisedAt = $event)
|
|
3351
3384
|
}, unref(fields).raisedAt), null, 16, ["modelValue"]),
|
|
3352
3385
|
createVNode(unref(NeonField), mergeProps({
|
|
3353
3386
|
modelValue: unref(values).processedAt,
|
|
3354
|
-
"onUpdate:modelValue": _cache[
|
|
3387
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).processedAt = $event)
|
|
3355
3388
|
}, unref(fields).processedAt), null, 16, ["modelValue"]),
|
|
3356
3389
|
createVNode(unref(NeonField), mergeProps({
|
|
3357
3390
|
modelValue: unref(values).updatedAt,
|
|
3358
|
-
"onUpdate:modelValue": _cache[
|
|
3391
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).updatedAt = $event)
|
|
3359
3392
|
}, {
|
|
3360
3393
|
handle: "updatedAt",
|
|
3361
3394
|
name: "Tanggal Diupdate",
|
|
@@ -3367,12 +3400,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
3367
3400
|
}, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
3368
3401
|
createVNode(unref(NeonDivider), {
|
|
3369
3402
|
"is-dashed": "",
|
|
3370
|
-
label: "
|
|
3403
|
+
label: "Spesifikasi"
|
|
3371
3404
|
}),
|
|
3372
3405
|
createVNode(unref(NeonField), mergeProps({
|
|
3373
3406
|
modelValue: unref(values).nominal,
|
|
3374
|
-
"onUpdate:modelValue": _cache[
|
|
3407
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).nominal = $event)
|
|
3375
3408
|
}, unref(fields).nominal), null, 16, ["modelValue"]),
|
|
3409
|
+
createVNode(unref(NeonField), mergeProps({
|
|
3410
|
+
modelValue: unref(values).workingHours,
|
|
3411
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).workingHours = $event)
|
|
3412
|
+
}, unref(fields).workingHours), null, 16, ["modelValue"]),
|
|
3376
3413
|
createVNode(unref(NeonDivider), {
|
|
3377
3414
|
"is-dashed": "",
|
|
3378
3415
|
label: "Keputusan"
|
|
@@ -3436,9 +3473,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
3436
3473
|
};
|
|
3437
3474
|
}
|
|
3438
3475
|
});
|
|
3439
|
-
const
|
|
3440
|
-
const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3441
|
-
const _sfc_main$
|
|
3476
|
+
const SubmissionSingle_vue_vue_type_style_index_0_scoped_db121b49_lang = "";
|
|
3477
|
+
const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-db121b49"]]);
|
|
3478
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
3442
3479
|
__name: "SubmissionStaff",
|
|
3443
3480
|
setup(__props) {
|
|
3444
3481
|
var _a;
|
|
@@ -3536,7 +3573,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
3536
3573
|
size: "md",
|
|
3537
3574
|
color: "dark",
|
|
3538
3575
|
"icon-left": "arrow-up-from-line",
|
|
3539
|
-
"is-disabled": unref(isNew) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).
|
|
3576
|
+
"is-disabled": unref(isNew) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).submissionStaffs || !unref(values).title || !unref(values).type,
|
|
3540
3577
|
onClick: syncRaise
|
|
3541
3578
|
}, {
|
|
3542
3579
|
default: withCtx(() => [
|
|
@@ -3615,34 +3652,46 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
3615
3652
|
_: 1
|
|
3616
3653
|
/* STABLE */
|
|
3617
3654
|
}),
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3655
|
+
createCommentVNode(` <NeonField
|
|
3656
|
+
v-model="values.specifications"
|
|
3657
|
+
v-bind="fields.specifications"
|
|
3658
|
+
:is-disabled="
|
|
3659
|
+
values.status === 'raised' ||
|
|
3660
|
+
values.status === 'processed' ||
|
|
3661
|
+
values.status === 'approved' ||
|
|
3662
|
+
values.status === 'monitored' ||
|
|
3663
|
+
values.status === 'discontinued' ||
|
|
3664
|
+
values.status === 'resolved'
|
|
3665
|
+
"
|
|
3666
|
+
/> `),
|
|
3624
3667
|
createVNode(unref(NeonField), mergeProps({
|
|
3625
3668
|
modelValue: unref(values).preparedAt,
|
|
3626
|
-
"onUpdate:modelValue": _cache[
|
|
3669
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).preparedAt = $event)
|
|
3627
3670
|
}, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
3628
3671
|
createVNode(unref(NeonField), mergeProps({
|
|
3629
3672
|
modelValue: unref(values).raisedAt,
|
|
3630
|
-
"onUpdate:modelValue": _cache[
|
|
3673
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).raisedAt = $event)
|
|
3631
3674
|
}, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
3632
3675
|
createVNode(unref(NeonField), mergeProps({
|
|
3633
3676
|
modelValue: unref(values).processedAt,
|
|
3634
|
-
"onUpdate:modelValue": _cache[
|
|
3677
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).processedAt = $event)
|
|
3635
3678
|
}, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
3636
3679
|
createVNode(unref(NeonDivider), {
|
|
3637
3680
|
"is-dashed": "",
|
|
3638
|
-
label: "
|
|
3681
|
+
label: "Spesifikasi"
|
|
3639
3682
|
}),
|
|
3640
3683
|
createVNode(unref(NeonField), mergeProps({
|
|
3641
3684
|
modelValue: unref(values).nominal,
|
|
3642
|
-
"onUpdate:modelValue": _cache[
|
|
3685
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).nominal = $event)
|
|
3643
3686
|
}, unref(fields).nominal, {
|
|
3644
3687
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
3645
3688
|
}), null, 16, ["modelValue", "is-disabled"]),
|
|
3689
|
+
createVNode(unref(NeonField), mergeProps({
|
|
3690
|
+
modelValue: unref(values).workingHours,
|
|
3691
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).workingHours = $event)
|
|
3692
|
+
}, unref(fields).workingHours, {
|
|
3693
|
+
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
3694
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
3646
3695
|
createVNode(unref(NeonDivider), {
|
|
3647
3696
|
"is-dashed": "",
|
|
3648
3697
|
label: "Keputusan"
|
|
@@ -3709,9 +3758,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
3709
3758
|
};
|
|
3710
3759
|
}
|
|
3711
3760
|
});
|
|
3712
|
-
const
|
|
3713
|
-
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3714
|
-
const _sfc_main$
|
|
3761
|
+
const SubmissionStaff_vue_vue_type_style_index_0_scoped_c971a3c0_lang = "";
|
|
3762
|
+
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-c971a3c0"]]);
|
|
3763
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
3715
3764
|
__name: "SubmissionFollowUp",
|
|
3716
3765
|
setup(__props) {
|
|
3717
3766
|
const {
|
|
@@ -3811,13 +3860,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3811
3860
|
_: 1
|
|
3812
3861
|
/* STABLE */
|
|
3813
3862
|
}),
|
|
3814
|
-
|
|
3815
|
-
modelValue: unref(values).specifications,
|
|
3816
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).specifications = $event)
|
|
3817
|
-
}, unref(fields).specifications, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
3863
|
+
createCommentVNode(' <NeonField\n v-model="values.specifications"\n v-bind="fields.specifications"\n is-disabled\n /> '),
|
|
3818
3864
|
createVNode(unref(NeonField), mergeProps({
|
|
3819
3865
|
modelValue: unref(values).updatedAt,
|
|
3820
|
-
"onUpdate:modelValue": _cache[
|
|
3866
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).updatedAt = $event)
|
|
3821
3867
|
}, {
|
|
3822
3868
|
handle: "updatedAt",
|
|
3823
3869
|
name: "Tanggal Diupdate",
|
|
@@ -3829,12 +3875,16 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3829
3875
|
}, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
3830
3876
|
createVNode(unref(NeonDivider), {
|
|
3831
3877
|
"is-dashed": "",
|
|
3832
|
-
label: "
|
|
3878
|
+
label: "Spesifikasi"
|
|
3833
3879
|
}),
|
|
3834
3880
|
createVNode(unref(NeonField), mergeProps({
|
|
3835
3881
|
modelValue: unref(values).nominal,
|
|
3836
|
-
"onUpdate:modelValue": _cache[
|
|
3882
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).nominal = $event)
|
|
3837
3883
|
}, unref(fields).nominal, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
3884
|
+
createVNode(unref(NeonField), mergeProps({
|
|
3885
|
+
modelValue: unref(values).workingHours,
|
|
3886
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).workingHours = $event)
|
|
3887
|
+
}, unref(fields).workingHours, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
3838
3888
|
createVNode(unref(NeonDivider), {
|
|
3839
3889
|
"is-dashed": "",
|
|
3840
3890
|
label: "Keputusan"
|
|
@@ -3901,14 +3951,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3901
3951
|
};
|
|
3902
3952
|
}
|
|
3903
3953
|
});
|
|
3904
|
-
const
|
|
3905
|
-
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3954
|
+
const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_890dfdf2_lang = "";
|
|
3955
|
+
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-890dfdf2"]]);
|
|
3906
3956
|
const _hoisted_1$9 = { class: "flex flex-wrap" };
|
|
3907
3957
|
const _hoisted_2$8 = { class: "mt-2" };
|
|
3908
3958
|
const _hoisted_3$4 = { class: "mt-2" };
|
|
3909
3959
|
const _hoisted_4$2 = { class: "mt-2" };
|
|
3910
3960
|
const _hoisted_5$2 = { class: "mt-2" };
|
|
3911
|
-
const _sfc_main$
|
|
3961
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
3912
3962
|
__name: "SubmissionAudit",
|
|
3913
3963
|
setup(__props) {
|
|
3914
3964
|
var _a;
|
|
@@ -4162,34 +4212,45 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
4162
4212
|
_: 1
|
|
4163
4213
|
/* STABLE */
|
|
4164
4214
|
}),
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4215
|
+
createCommentVNode(` <NeonField
|
|
4216
|
+
v-model="values.specifications"
|
|
4217
|
+
v-bind="fields.specifications"
|
|
4218
|
+
:is-disabled="
|
|
4219
|
+
values.status === 'processed' ||
|
|
4220
|
+
values.status === 'approved' ||
|
|
4221
|
+
values.status === 'monitored' ||
|
|
4222
|
+
values.status === 'discontinued' ||
|
|
4223
|
+
values.status === 'resolved'
|
|
4224
|
+
"
|
|
4225
|
+
/> `),
|
|
4171
4226
|
createVNode(unref(NeonField), mergeProps({
|
|
4172
4227
|
modelValue: unref(values).preparedAt,
|
|
4173
|
-
"onUpdate:modelValue": _cache[
|
|
4228
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).preparedAt = $event)
|
|
4174
4229
|
}, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
4175
4230
|
createVNode(unref(NeonField), mergeProps({
|
|
4176
4231
|
modelValue: unref(values).raisedAt,
|
|
4177
|
-
"onUpdate:modelValue": _cache[
|
|
4232
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).raisedAt = $event)
|
|
4178
4233
|
}, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
4179
4234
|
createVNode(unref(NeonField), mergeProps({
|
|
4180
4235
|
modelValue: unref(values).processedAt,
|
|
4181
|
-
"onUpdate:modelValue": _cache[
|
|
4236
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).processedAt = $event)
|
|
4182
4237
|
}, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
4183
4238
|
createVNode(unref(NeonDivider), {
|
|
4184
4239
|
"is-dashed": "",
|
|
4185
|
-
label: "
|
|
4240
|
+
label: "Spesifikasi"
|
|
4186
4241
|
}),
|
|
4187
4242
|
createVNode(unref(NeonField), mergeProps({
|
|
4188
4243
|
modelValue: unref(values).nominal,
|
|
4189
|
-
"onUpdate:modelValue": _cache[
|
|
4244
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).nominal = $event)
|
|
4190
4245
|
}, unref(fields).nominal, {
|
|
4191
4246
|
"is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
4192
4247
|
}), null, 16, ["modelValue", "is-disabled"]),
|
|
4248
|
+
createVNode(unref(NeonField), mergeProps({
|
|
4249
|
+
modelValue: unref(values).workingHours,
|
|
4250
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).workingHours = $event)
|
|
4251
|
+
}, unref(fields).workingHours, {
|
|
4252
|
+
"is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
4253
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
4193
4254
|
createVNode(unref(NeonDivider), {
|
|
4194
4255
|
"is-dashed": "",
|
|
4195
4256
|
label: "Keputusan"
|
|
@@ -4244,6 +4305,50 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
4244
4305
|
]),
|
|
4245
4306
|
_: 1
|
|
4246
4307
|
/* STABLE */
|
|
4308
|
+
})) : createCommentVNode("v-if", true),
|
|
4309
|
+
createCommentVNode(" PROGRESS "),
|
|
4310
|
+
!unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
4311
|
+
key: 1,
|
|
4312
|
+
handle: "progress",
|
|
4313
|
+
icon: "info-circle",
|
|
4314
|
+
title: "Progress"
|
|
4315
|
+
}, {
|
|
4316
|
+
default: withCtx(() => [
|
|
4317
|
+
createVNode(unref(OfficeCollectionRelated), {
|
|
4318
|
+
definition: "neu:personalia:progress",
|
|
4319
|
+
title: "Progress",
|
|
4320
|
+
description: "Progress dari tindaklanjut.",
|
|
4321
|
+
query: unref(Query).define({
|
|
4322
|
+
filter: [
|
|
4323
|
+
{
|
|
4324
|
+
submissionIds: unref(id)
|
|
4325
|
+
}
|
|
4326
|
+
],
|
|
4327
|
+
sort: {
|
|
4328
|
+
handle: "startedAt",
|
|
4329
|
+
direction: "ascending"
|
|
4330
|
+
}
|
|
4331
|
+
}),
|
|
4332
|
+
"is-ready": unref(isReady),
|
|
4333
|
+
columns: [
|
|
4334
|
+
"startedAt",
|
|
4335
|
+
"endedAt",
|
|
4336
|
+
"detail",
|
|
4337
|
+
"staffs",
|
|
4338
|
+
"virtualIsNotes",
|
|
4339
|
+
"accessStaffs"
|
|
4340
|
+
],
|
|
4341
|
+
sorts: ["startedAt", "startedAt", "createdAt", "updatedAt"],
|
|
4342
|
+
filters: ["staff"],
|
|
4343
|
+
"initial-values": {
|
|
4344
|
+
submissionIds: unref(id),
|
|
4345
|
+
submissions: unref(values)
|
|
4346
|
+
},
|
|
4347
|
+
excludes: ["create"]
|
|
4348
|
+
}, null, 8, ["query", "is-ready", "initial-values"])
|
|
4349
|
+
]),
|
|
4350
|
+
_: 1
|
|
4351
|
+
/* STABLE */
|
|
4247
4352
|
})) : createCommentVNode("v-if", true)
|
|
4248
4353
|
]),
|
|
4249
4354
|
_: 1
|
|
@@ -4256,12 +4361,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
4256
4361
|
};
|
|
4257
4362
|
}
|
|
4258
4363
|
});
|
|
4259
|
-
const
|
|
4260
|
-
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4364
|
+
const SubmissionAudit_vue_vue_type_style_index_0_scoped_0478202c_lang = "";
|
|
4365
|
+
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-0478202c"]]);
|
|
4261
4366
|
const _hoisted_1$8 = { class: "flex flex-wrap" };
|
|
4262
4367
|
const _hoisted_2$7 = { class: "mt-2" };
|
|
4263
4368
|
const _hoisted_3$3 = { class: "mt-2" };
|
|
4264
|
-
const _sfc_main$
|
|
4369
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
4265
4370
|
__name: "SubmissionDecision",
|
|
4266
4371
|
setup(__props) {
|
|
4267
4372
|
var _a;
|
|
@@ -4477,34 +4582,47 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
4477
4582
|
_: 1
|
|
4478
4583
|
/* STABLE */
|
|
4479
4584
|
}),
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4585
|
+
createCommentVNode(` <NeonField
|
|
4586
|
+
v-model="values.specifications"
|
|
4587
|
+
v-bind="fields.specifications"
|
|
4588
|
+
:is-disabled="
|
|
4589
|
+
values.status === 'raised' ||
|
|
4590
|
+
values.status === 'processed' ||
|
|
4591
|
+
values.status === 'delay' ||
|
|
4592
|
+
values.status === 'approved' ||
|
|
4593
|
+
values.status === 'monitored' ||
|
|
4594
|
+
values.status === 'discontinued' ||
|
|
4595
|
+
values.status === 'resolved'
|
|
4596
|
+
"
|
|
4597
|
+
/> `),
|
|
4486
4598
|
createVNode(unref(NeonField), mergeProps({
|
|
4487
4599
|
modelValue: unref(values).preparedAt,
|
|
4488
|
-
"onUpdate:modelValue": _cache[
|
|
4600
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).preparedAt = $event)
|
|
4489
4601
|
}, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
4490
4602
|
createVNode(unref(NeonField), mergeProps({
|
|
4491
4603
|
modelValue: unref(values).raisedAt,
|
|
4492
|
-
"onUpdate:modelValue": _cache[
|
|
4604
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).raisedAt = $event)
|
|
4493
4605
|
}, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
4494
4606
|
createVNode(unref(NeonField), mergeProps({
|
|
4495
4607
|
modelValue: unref(values).processedAt,
|
|
4496
|
-
"onUpdate:modelValue": _cache[
|
|
4608
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).processedAt = $event)
|
|
4497
4609
|
}, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
4498
4610
|
createVNode(unref(NeonDivider), {
|
|
4499
4611
|
"is-dashed": "",
|
|
4500
|
-
label: "
|
|
4612
|
+
label: "Spesifikasi"
|
|
4501
4613
|
}),
|
|
4502
4614
|
createVNode(unref(NeonField), mergeProps({
|
|
4503
4615
|
modelValue: unref(values).nominal,
|
|
4504
|
-
"onUpdate:modelValue": _cache[
|
|
4616
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).nominal = $event)
|
|
4505
4617
|
}, unref(fields).nominal, {
|
|
4506
4618
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
4507
4619
|
}), null, 16, ["modelValue", "is-disabled"]),
|
|
4620
|
+
createVNode(unref(NeonField), mergeProps({
|
|
4621
|
+
modelValue: unref(values).workingHours,
|
|
4622
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).workingHours = $event)
|
|
4623
|
+
}, unref(fields).workingHours, {
|
|
4624
|
+
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
4625
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
4508
4626
|
createVNode(unref(NeonDivider), {
|
|
4509
4627
|
"is-dashed": "",
|
|
4510
4628
|
label: "Keputusan"
|
|
@@ -4559,6 +4677,50 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
4559
4677
|
]),
|
|
4560
4678
|
_: 1
|
|
4561
4679
|
/* STABLE */
|
|
4680
|
+
})) : createCommentVNode("v-if", true),
|
|
4681
|
+
createCommentVNode(" PROGRESS "),
|
|
4682
|
+
!unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
4683
|
+
key: 1,
|
|
4684
|
+
handle: "progress",
|
|
4685
|
+
icon: "info-circle",
|
|
4686
|
+
title: "Progress"
|
|
4687
|
+
}, {
|
|
4688
|
+
default: withCtx(() => [
|
|
4689
|
+
createVNode(unref(OfficeCollectionRelated), {
|
|
4690
|
+
definition: "neu:personalia:progress",
|
|
4691
|
+
title: "Progress",
|
|
4692
|
+
description: "Progress dari tindaklanjut.",
|
|
4693
|
+
query: unref(Query).define({
|
|
4694
|
+
filter: [
|
|
4695
|
+
{
|
|
4696
|
+
submissionIds: unref(id)
|
|
4697
|
+
}
|
|
4698
|
+
],
|
|
4699
|
+
sort: {
|
|
4700
|
+
handle: "startedAt",
|
|
4701
|
+
direction: "ascending"
|
|
4702
|
+
}
|
|
4703
|
+
}),
|
|
4704
|
+
"is-ready": unref(isReady),
|
|
4705
|
+
columns: [
|
|
4706
|
+
"startedAt",
|
|
4707
|
+
"endedAt",
|
|
4708
|
+
"detail",
|
|
4709
|
+
"staffs",
|
|
4710
|
+
"virtualIsNotes",
|
|
4711
|
+
"accessStaffs"
|
|
4712
|
+
],
|
|
4713
|
+
sorts: ["startedAt", "startedAt", "createdAt", "updatedAt"],
|
|
4714
|
+
filters: ["staff"],
|
|
4715
|
+
"initial-values": {
|
|
4716
|
+
submissionIds: unref(id),
|
|
4717
|
+
submissions: unref(values)
|
|
4718
|
+
},
|
|
4719
|
+
excludes: ["create"]
|
|
4720
|
+
}, null, 8, ["query", "is-ready", "initial-values"])
|
|
4721
|
+
]),
|
|
4722
|
+
_: 1
|
|
4723
|
+
/* STABLE */
|
|
4562
4724
|
})) : createCommentVNode("v-if", true)
|
|
4563
4725
|
]),
|
|
4564
4726
|
_: 1
|
|
@@ -4571,12 +4733,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
4571
4733
|
};
|
|
4572
4734
|
}
|
|
4573
4735
|
});
|
|
4574
|
-
const
|
|
4575
|
-
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4736
|
+
const SubmissionDecision_vue_vue_type_style_index_0_scoped_59b0701c_lang = "";
|
|
4737
|
+
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-59b0701c"]]);
|
|
4576
4738
|
const _hoisted_1$7 = { class: "flex flex-wrap" };
|
|
4577
4739
|
const _hoisted_2$6 = { class: "mt-2" };
|
|
4578
4740
|
const _hoisted_3$2 = { class: "mt-2" };
|
|
4579
|
-
const _sfc_main$
|
|
4741
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
4580
4742
|
__name: "SubmissionWaitingDecision",
|
|
4581
4743
|
setup(__props) {
|
|
4582
4744
|
var _a;
|
|
@@ -4794,34 +4956,47 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
4794
4956
|
_: 1
|
|
4795
4957
|
/* STABLE */
|
|
4796
4958
|
}),
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4959
|
+
createCommentVNode(` <NeonField
|
|
4960
|
+
v-model="values.specifications"
|
|
4961
|
+
v-bind="fields.specifications"
|
|
4962
|
+
:is-disabled="
|
|
4963
|
+
values.status === 'raised' ||
|
|
4964
|
+
values.status === 'processed' ||
|
|
4965
|
+
values.status === 'delay' ||
|
|
4966
|
+
values.status === 'approved' ||
|
|
4967
|
+
values.status === 'monitored' ||
|
|
4968
|
+
values.status === 'discontinued' ||
|
|
4969
|
+
values.status === 'resolved'
|
|
4970
|
+
"
|
|
4971
|
+
/> `),
|
|
4803
4972
|
createVNode(unref(NeonField), mergeProps({
|
|
4804
4973
|
modelValue: unref(values).preparedAt,
|
|
4805
|
-
"onUpdate:modelValue": _cache[
|
|
4974
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).preparedAt = $event)
|
|
4806
4975
|
}, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
4807
4976
|
createVNode(unref(NeonField), mergeProps({
|
|
4808
4977
|
modelValue: unref(values).raisedAt,
|
|
4809
|
-
"onUpdate:modelValue": _cache[
|
|
4978
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).raisedAt = $event)
|
|
4810
4979
|
}, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
4811
4980
|
createVNode(unref(NeonField), mergeProps({
|
|
4812
4981
|
modelValue: unref(values).processedAt,
|
|
4813
|
-
"onUpdate:modelValue": _cache[
|
|
4982
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).processedAt = $event)
|
|
4814
4983
|
}, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
4815
4984
|
createVNode(unref(NeonDivider), {
|
|
4816
4985
|
"is-dashed": "",
|
|
4817
|
-
label: "
|
|
4986
|
+
label: "Spesifikasi"
|
|
4818
4987
|
}),
|
|
4819
4988
|
createVNode(unref(NeonField), mergeProps({
|
|
4820
4989
|
modelValue: unref(values).nominal,
|
|
4821
|
-
"onUpdate:modelValue": _cache[
|
|
4990
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).nominal = $event)
|
|
4822
4991
|
}, unref(fields).nominal, {
|
|
4823
4992
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
4824
4993
|
}), null, 16, ["modelValue", "is-disabled"]),
|
|
4994
|
+
createVNode(unref(NeonField), mergeProps({
|
|
4995
|
+
modelValue: unref(values).workingHours,
|
|
4996
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).workingHours = $event)
|
|
4997
|
+
}, unref(fields).workingHours, {
|
|
4998
|
+
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
4999
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
4825
5000
|
createVNode(unref(NeonDivider), {
|
|
4826
5001
|
"is-dashed": "",
|
|
4827
5002
|
label: "Keputusan"
|
|
@@ -4888,10 +5063,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
4888
5063
|
};
|
|
4889
5064
|
}
|
|
4890
5065
|
});
|
|
4891
|
-
const
|
|
4892
|
-
const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5066
|
+
const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_1f81ee74_lang = "";
|
|
5067
|
+
const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-1f81ee74"]]);
|
|
4893
5068
|
const SubmissionTypeModel = models$2.SubmissionTypeModel;
|
|
4894
|
-
const _sfc_main$
|
|
5069
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
4895
5070
|
...{
|
|
4896
5071
|
name: "SubmissionTypeCollection"
|
|
4897
5072
|
},
|
|
@@ -4909,7 +5084,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
4909
5084
|
};
|
|
4910
5085
|
}
|
|
4911
5086
|
});
|
|
4912
|
-
const _sfc_main$
|
|
5087
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
4913
5088
|
__name: "SubmissionTypeSingle",
|
|
4914
5089
|
setup(__props) {
|
|
4915
5090
|
const {
|
|
@@ -4975,9 +5150,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
4975
5150
|
}
|
|
4976
5151
|
});
|
|
4977
5152
|
const SubmissionTypeSingle_vue_vue_type_style_index_0_scoped_2b7e18ba_lang = "";
|
|
4978
|
-
const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5153
|
+
const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2b7e18ba"]]);
|
|
4979
5154
|
const ResponsibilityTypeModel = models$2.ResponsibilityTypeModel;
|
|
4980
|
-
const _sfc_main$
|
|
5155
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
4981
5156
|
...{
|
|
4982
5157
|
name: "ResponsibilityTypeCollection"
|
|
4983
5158
|
},
|
|
@@ -4995,7 +5170,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
4995
5170
|
};
|
|
4996
5171
|
}
|
|
4997
5172
|
});
|
|
4998
|
-
const _sfc_main$
|
|
5173
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
4999
5174
|
__name: "ResponsibilityTypeSingle",
|
|
5000
5175
|
setup(__props) {
|
|
5001
5176
|
const {
|
|
@@ -5061,9 +5236,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
5061
5236
|
}
|
|
5062
5237
|
});
|
|
5063
5238
|
const ResponsibilityTypeSingle_vue_vue_type_style_index_0_scoped_3df9fac1_lang = "";
|
|
5064
|
-
const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5239
|
+
const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-3df9fac1"]]);
|
|
5065
5240
|
const ResponsibilityModel = models$2.ResponsibilityModel;
|
|
5066
|
-
const _sfc_main$
|
|
5241
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
5067
5242
|
...{
|
|
5068
5243
|
name: "ResponsibilityCollection"
|
|
5069
5244
|
},
|
|
@@ -5081,7 +5256,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5081
5256
|
};
|
|
5082
5257
|
}
|
|
5083
5258
|
});
|
|
5084
|
-
const _sfc_main$
|
|
5259
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
5085
5260
|
__name: "ResponsibilitySingle",
|
|
5086
5261
|
setup(__props) {
|
|
5087
5262
|
const {
|
|
@@ -5098,6 +5273,17 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
5098
5273
|
discardChanges
|
|
5099
5274
|
} = useSingle();
|
|
5100
5275
|
const { staff } = useOperasional();
|
|
5276
|
+
const responsibilityTypeOptions = computed(() => {
|
|
5277
|
+
return {
|
|
5278
|
+
filter: [
|
|
5279
|
+
{
|
|
5280
|
+
handle: "branchIds",
|
|
5281
|
+
operator: "in",
|
|
5282
|
+
value: values.value.branchId
|
|
5283
|
+
}
|
|
5284
|
+
]
|
|
5285
|
+
};
|
|
5286
|
+
});
|
|
5101
5287
|
return (_ctx, _cache) => {
|
|
5102
5288
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-responsibility-single" }, {
|
|
5103
5289
|
default: withCtx(() => [
|
|
@@ -5141,8 +5327,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
5141
5327
|
createVNode(unref(OfficeRelation), {
|
|
5142
5328
|
modelValue: unref(values),
|
|
5143
5329
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5144
|
-
field: unref(fields).responsibilityType
|
|
5145
|
-
|
|
5330
|
+
field: unref(fields).responsibilityType,
|
|
5331
|
+
query: unref(Query).define(responsibilityTypeOptions.value)
|
|
5332
|
+
}, null, 8, ["modelValue", "field", "query"])
|
|
5146
5333
|
]),
|
|
5147
5334
|
_: 1
|
|
5148
5335
|
/* STABLE */
|
|
@@ -5207,7 +5394,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
5207
5394
|
}
|
|
5208
5395
|
}),
|
|
5209
5396
|
"is-ready": unref(isReady),
|
|
5210
|
-
columns: [
|
|
5397
|
+
columns: [
|
|
5398
|
+
"startedAt",
|
|
5399
|
+
"endedAt",
|
|
5400
|
+
"detail",
|
|
5401
|
+
"staffs",
|
|
5402
|
+
"virtualIsNotes",
|
|
5403
|
+
"accessStaffs"
|
|
5404
|
+
],
|
|
5211
5405
|
sorts: ["startedAt", "createdAt", "updatedAt"],
|
|
5212
5406
|
"initial-values": {
|
|
5213
5407
|
responsibilityIds: unref(id),
|
|
@@ -5232,9 +5426,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
5232
5426
|
};
|
|
5233
5427
|
}
|
|
5234
5428
|
});
|
|
5235
|
-
const
|
|
5236
|
-
const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5237
|
-
const _sfc_main$
|
|
5429
|
+
const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_3ec4a018_lang = "";
|
|
5430
|
+
const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-3ec4a018"]]);
|
|
5431
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
5238
5432
|
__name: "ResponsibilityStaff",
|
|
5239
5433
|
setup(__props) {
|
|
5240
5434
|
const {
|
|
@@ -5364,7 +5558,14 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
5364
5558
|
}
|
|
5365
5559
|
}),
|
|
5366
5560
|
"is-ready": unref(isReady),
|
|
5367
|
-
columns: [
|
|
5561
|
+
columns: [
|
|
5562
|
+
"startedAt",
|
|
5563
|
+
"endedAt",
|
|
5564
|
+
"detail",
|
|
5565
|
+
"staffs",
|
|
5566
|
+
"virtualIsNotes",
|
|
5567
|
+
"accessStaffs"
|
|
5568
|
+
],
|
|
5368
5569
|
sorts: ["startedAt", "createdAt", "updatedAt"],
|
|
5369
5570
|
"initial-values": {
|
|
5370
5571
|
responsibilityIds: unref(id),
|
|
@@ -5389,10 +5590,10 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
5389
5590
|
};
|
|
5390
5591
|
}
|
|
5391
5592
|
});
|
|
5392
|
-
const
|
|
5393
|
-
const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5593
|
+
const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_a1ec66a6_lang = "";
|
|
5594
|
+
const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-a1ec66a6"]]);
|
|
5394
5595
|
const TargetModel = models$2.TargetModel;
|
|
5395
|
-
const _sfc_main$
|
|
5596
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
5396
5597
|
...{
|
|
5397
5598
|
name: "TargetCollection"
|
|
5398
5599
|
},
|
|
@@ -5410,7 +5611,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
5410
5611
|
};
|
|
5411
5612
|
}
|
|
5412
5613
|
});
|
|
5413
|
-
const _sfc_main$
|
|
5614
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
5414
5615
|
__name: "TargetSingle",
|
|
5415
5616
|
setup(__props) {
|
|
5416
5617
|
const {
|
|
@@ -5563,8 +5764,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
5563
5764
|
}
|
|
5564
5765
|
});
|
|
5565
5766
|
const TargetSingle_vue_vue_type_style_index_0_scoped_c12b8df8_lang = "";
|
|
5566
|
-
const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5567
|
-
const _sfc_main$
|
|
5767
|
+
const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-c12b8df8"]]);
|
|
5768
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
5568
5769
|
__name: "TargetBranch",
|
|
5569
5770
|
setup(__props) {
|
|
5570
5771
|
const {
|
|
@@ -5717,9 +5918,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
5717
5918
|
}
|
|
5718
5919
|
});
|
|
5719
5920
|
const TargetBranch_vue_vue_type_style_index_0_scoped_6a5a6e80_lang = "";
|
|
5720
|
-
const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5921
|
+
const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6a5a6e80"]]);
|
|
5721
5922
|
const PlanTypeModel = models$2.PlanTypeModel;
|
|
5722
|
-
const _sfc_main$
|
|
5923
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
5723
5924
|
...{
|
|
5724
5925
|
name: "PlanTypeCollection"
|
|
5725
5926
|
},
|
|
@@ -5737,7 +5938,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
5737
5938
|
};
|
|
5738
5939
|
}
|
|
5739
5940
|
});
|
|
5740
|
-
const _sfc_main$
|
|
5941
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
5741
5942
|
__name: "PlanTypeSingle",
|
|
5742
5943
|
setup(__props) {
|
|
5743
5944
|
const {
|
|
@@ -5858,9 +6059,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
5858
6059
|
}
|
|
5859
6060
|
});
|
|
5860
6061
|
const PlanTypeSingle_vue_vue_type_style_index_0_scoped_80d2e1d3_lang = "";
|
|
5861
|
-
const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6062
|
+
const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-80d2e1d3"]]);
|
|
5862
6063
|
const PlanModel = models$2.PlanModel;
|
|
5863
|
-
const _sfc_main$
|
|
6064
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
5864
6065
|
...{
|
|
5865
6066
|
name: "PlanCollection"
|
|
5866
6067
|
},
|
|
@@ -5878,7 +6079,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
5878
6079
|
};
|
|
5879
6080
|
}
|
|
5880
6081
|
});
|
|
5881
|
-
const _sfc_main$
|
|
6082
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
5882
6083
|
__name: "PlanSingle",
|
|
5883
6084
|
setup(__props) {
|
|
5884
6085
|
const {
|
|
@@ -6030,7 +6231,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
6030
6231
|
}
|
|
6031
6232
|
}),
|
|
6032
6233
|
"is-ready": unref(isReady),
|
|
6033
|
-
columns: [
|
|
6234
|
+
columns: [
|
|
6235
|
+
"startedAt",
|
|
6236
|
+
"endedAt",
|
|
6237
|
+
"detail",
|
|
6238
|
+
"staffs",
|
|
6239
|
+
"virtualIsNotes",
|
|
6240
|
+
"accessStaffs"
|
|
6241
|
+
],
|
|
6034
6242
|
sorts: ["startedAt", "startedAt", "createdAt", "updatedAt"],
|
|
6035
6243
|
filters: ["staff"],
|
|
6036
6244
|
"initial-values": {
|
|
@@ -6053,9 +6261,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
6053
6261
|
};
|
|
6054
6262
|
}
|
|
6055
6263
|
});
|
|
6056
|
-
const
|
|
6057
|
-
const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6058
|
-
const _sfc_main$
|
|
6264
|
+
const PlanSingle_vue_vue_type_style_index_0_scoped_a39127c2_lang = "";
|
|
6265
|
+
const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-a39127c2"]]);
|
|
6266
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
6059
6267
|
__name: "PlanStaff",
|
|
6060
6268
|
setup(__props) {
|
|
6061
6269
|
const {
|
|
@@ -6207,10 +6415,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
6207
6415
|
}
|
|
6208
6416
|
});
|
|
6209
6417
|
const PlanStaff_vue_vue_type_style_index_0_scoped_aa8de6da_lang = "";
|
|
6210
|
-
const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6418
|
+
const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-aa8de6da"]]);
|
|
6211
6419
|
const ProgressModel = models$2.ProgressModel;
|
|
6212
6420
|
const _hoisted_1$6 = { class: "flex flex-wrap" };
|
|
6213
|
-
const _sfc_main$
|
|
6421
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
6214
6422
|
...{ name: "ProgressButton" },
|
|
6215
6423
|
__name: "ProgressButton",
|
|
6216
6424
|
setup(__props) {
|
|
@@ -6256,7 +6464,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
6256
6464
|
};
|
|
6257
6465
|
}
|
|
6258
6466
|
});
|
|
6259
|
-
const _sfc_main$
|
|
6467
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
6260
6468
|
...{
|
|
6261
6469
|
name: "ProgressCollection"
|
|
6262
6470
|
},
|
|
@@ -6319,12 +6527,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
6319
6527
|
}
|
|
6320
6528
|
});
|
|
6321
6529
|
const ProgressCollection_vue_vue_type_style_index_0_scoped_2634660f_lang = "";
|
|
6322
|
-
const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6530
|
+
const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-2634660f"]]);
|
|
6323
6531
|
const _hoisted_1$5 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
6324
6532
|
const _hoisted_2$5 = { class: "text-right text-fg-subdued text-sm" };
|
|
6325
|
-
const _sfc_main$
|
|
6533
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
6326
6534
|
__name: "ProgressSingle",
|
|
6327
6535
|
setup(__props) {
|
|
6536
|
+
var _a;
|
|
6328
6537
|
const {
|
|
6329
6538
|
fields,
|
|
6330
6539
|
id,
|
|
@@ -6340,7 +6549,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6340
6549
|
} = useSingle();
|
|
6341
6550
|
const { staff } = useOperasional();
|
|
6342
6551
|
const responsibilityOptions = computed(() => {
|
|
6343
|
-
var
|
|
6552
|
+
var _a2, _b;
|
|
6344
6553
|
return {
|
|
6345
6554
|
filter: [
|
|
6346
6555
|
{
|
|
@@ -6353,7 +6562,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6353
6562
|
{
|
|
6354
6563
|
handle: "staffWorkIds",
|
|
6355
6564
|
operator: "in",
|
|
6356
|
-
value: (
|
|
6565
|
+
value: (_a2 = staff.value) == null ? void 0 : _a2.id
|
|
6357
6566
|
},
|
|
6358
6567
|
{
|
|
6359
6568
|
handle: "staffSuperviseIds",
|
|
@@ -6388,14 +6597,20 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6388
6597
|
}
|
|
6389
6598
|
const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
|
|
6390
6599
|
const besok = sekarang;
|
|
6600
|
+
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
6391
6601
|
watch(
|
|
6392
6602
|
isNew,
|
|
6393
6603
|
(isNew2) => {
|
|
6394
|
-
var
|
|
6604
|
+
var _a2;
|
|
6395
6605
|
if (!isNew2)
|
|
6396
6606
|
return;
|
|
6397
|
-
values.value.staffIds =
|
|
6398
|
-
values.value.staffs =
|
|
6607
|
+
values.value.staffIds = [staffId];
|
|
6608
|
+
values.value.staffs = [
|
|
6609
|
+
{
|
|
6610
|
+
id: staffId,
|
|
6611
|
+
flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
|
|
6612
|
+
}
|
|
6613
|
+
];
|
|
6399
6614
|
values.value.startedAt = besok.second(0).millisecond(0).toISOString();
|
|
6400
6615
|
values.value.endedAt = besok.add(90, "m").toISOString();
|
|
6401
6616
|
},
|
|
@@ -6424,45 +6639,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6424
6639
|
() => `neu:operasional:progress:${id.value}`
|
|
6425
6640
|
);
|
|
6426
6641
|
const display = ref();
|
|
6427
|
-
const pads = {
|
|
6428
|
-
comments: {
|
|
6429
|
-
handle: "comments",
|
|
6430
|
-
title: "Comments",
|
|
6431
|
-
icon: "comments"
|
|
6432
|
-
},
|
|
6433
|
-
note: {
|
|
6434
|
-
handle: "note",
|
|
6435
|
-
title: "Note",
|
|
6436
|
-
icon: "notes"
|
|
6437
|
-
},
|
|
6438
|
-
sketch: {
|
|
6439
|
-
handle: "sketch",
|
|
6440
|
-
title: "Sketch",
|
|
6441
|
-
icon: "pen-swirl"
|
|
6442
|
-
}
|
|
6443
|
-
};
|
|
6444
6642
|
return (_ctx, _cache) => {
|
|
6445
6643
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
|
|
6446
|
-
sketch: withCtx(({ close }) => [
|
|
6447
|
-
createVNode(unref(OfficePad), mergeProps(pads.sketch, { onClose: close }), {
|
|
6448
|
-
default: withCtx(() => [
|
|
6449
|
-
createVNode(
|
|
6450
|
-
unref(CatatSketchPad),
|
|
6451
|
-
normalizeProps(guardReactiveProps({
|
|
6452
|
-
applicationId: unref(appStore).appId,
|
|
6453
|
-
object: `${objectDef.value}:office`,
|
|
6454
|
-
isReady: unref(isReady),
|
|
6455
|
-
isLoading: unref(isLoading)
|
|
6456
|
-
})),
|
|
6457
|
-
null,
|
|
6458
|
-
16
|
|
6459
|
-
/* FULL_PROPS */
|
|
6460
|
-
)
|
|
6461
|
-
]),
|
|
6462
|
-
_: 2
|
|
6463
|
-
/* DYNAMIC */
|
|
6464
|
-
}, 1040, ["onClose"])
|
|
6465
|
-
]),
|
|
6466
6644
|
default: withCtx(() => [
|
|
6467
6645
|
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
6468
6646
|
default: withCtx(() => [
|
|
@@ -6575,20 +6753,25 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6575
6753
|
_: 1
|
|
6576
6754
|
/* STABLE */
|
|
6577
6755
|
}, 16, ["modelValue"]),
|
|
6756
|
+
createVNode(unref(OfficeRelation), {
|
|
6757
|
+
modelValue: unref(values),
|
|
6758
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6759
|
+
field: unref(fields).accessStaffs
|
|
6760
|
+
}, null, 8, ["modelValue", "field"]),
|
|
6578
6761
|
createVNode(unref(NeonDivider), {
|
|
6579
6762
|
"is-dashed": "",
|
|
6580
6763
|
label: "Referensi"
|
|
6581
6764
|
}),
|
|
6582
6765
|
createVNode(unref(OfficeRelation), {
|
|
6583
6766
|
modelValue: unref(values),
|
|
6584
|
-
"onUpdate:modelValue": _cache[
|
|
6767
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6585
6768
|
field: unref(fields).responsibilities,
|
|
6586
6769
|
query: unref(Query).define(responsibilityOptions.value)
|
|
6587
6770
|
}, null, 8, ["modelValue", "field", "query"]),
|
|
6588
6771
|
createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
|
|
6589
6772
|
createVNode(unref(OfficeRelation), {
|
|
6590
6773
|
modelValue: unref(values),
|
|
6591
|
-
"onUpdate:modelValue": _cache[
|
|
6774
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6592
6775
|
field: unref(fields).submissions,
|
|
6593
6776
|
query: unref(Query).define(submissionOptions.value)
|
|
6594
6777
|
}, null, 8, ["modelValue", "field", "query"])
|
|
@@ -6629,13 +6812,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6629
6812
|
};
|
|
6630
6813
|
}
|
|
6631
6814
|
});
|
|
6632
|
-
const
|
|
6633
|
-
const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6815
|
+
const ProgressSingle_vue_vue_type_style_index_0_scoped_ca99d46c_lang = "";
|
|
6816
|
+
const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-ca99d46c"]]);
|
|
6634
6817
|
const _hoisted_1$4 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
6635
6818
|
const _hoisted_2$4 = { class: "text-right text-fg-subdued text-sm" };
|
|
6636
|
-
const _sfc_main$
|
|
6819
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
6637
6820
|
__name: "ProgressTomorrow",
|
|
6638
6821
|
setup(__props) {
|
|
6822
|
+
var _a;
|
|
6639
6823
|
const {
|
|
6640
6824
|
fields,
|
|
6641
6825
|
id,
|
|
@@ -6651,7 +6835,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6651
6835
|
} = useSingle();
|
|
6652
6836
|
const { staff } = useOperasional();
|
|
6653
6837
|
const responsibilityOptions = computed(() => {
|
|
6654
|
-
var
|
|
6838
|
+
var _a2, _b;
|
|
6655
6839
|
return {
|
|
6656
6840
|
filter: [
|
|
6657
6841
|
{
|
|
@@ -6664,7 +6848,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6664
6848
|
{
|
|
6665
6849
|
handle: "staffWorkIds",
|
|
6666
6850
|
operator: "in",
|
|
6667
|
-
value: (
|
|
6851
|
+
value: (_a2 = staff.value) == null ? void 0 : _a2.id
|
|
6668
6852
|
},
|
|
6669
6853
|
{
|
|
6670
6854
|
handle: "staffSuperviseIds",
|
|
@@ -6699,14 +6883,20 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6699
6883
|
}
|
|
6700
6884
|
const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
|
|
6701
6885
|
const besok = sekarang.add(1, "day");
|
|
6886
|
+
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
6702
6887
|
watch(
|
|
6703
6888
|
isNew,
|
|
6704
6889
|
(isNew2) => {
|
|
6705
|
-
var
|
|
6890
|
+
var _a2;
|
|
6706
6891
|
if (!isNew2)
|
|
6707
6892
|
return;
|
|
6708
|
-
values.value.staffIds =
|
|
6709
|
-
values.value.staffs =
|
|
6893
|
+
values.value.staffIds = [staffId];
|
|
6894
|
+
values.value.staffs = [
|
|
6895
|
+
{
|
|
6896
|
+
id: staffId,
|
|
6897
|
+
flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
|
|
6898
|
+
}
|
|
6899
|
+
];
|
|
6710
6900
|
values.value.startedAt = besok.second(0).millisecond(0).toISOString();
|
|
6711
6901
|
values.value.endedAt = besok.add(90, "m").toISOString();
|
|
6712
6902
|
},
|
|
@@ -6730,6 +6920,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6730
6920
|
]
|
|
6731
6921
|
};
|
|
6732
6922
|
});
|
|
6923
|
+
const appStore = useAppStore();
|
|
6924
|
+
const objectDef = computed(
|
|
6925
|
+
() => `neu:operasional:progress:${id.value}`
|
|
6926
|
+
);
|
|
6927
|
+
const display = ref();
|
|
6733
6928
|
return (_ctx, _cache) => {
|
|
6734
6929
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
|
|
6735
6930
|
default: withCtx(() => [
|
|
@@ -6829,23 +7024,43 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6829
7024
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6830
7025
|
field: unref(fields).staffs
|
|
6831
7026
|
}, null, 8, ["modelValue", "field"]),
|
|
7027
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7028
|
+
modelValue: unref(values).isNotes,
|
|
7029
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).isNotes = $event)
|
|
7030
|
+
}, unref(fields).isNotes), {
|
|
7031
|
+
input: withCtx(() => [
|
|
7032
|
+
createVNode(unref(NeonCheck), {
|
|
7033
|
+
modelValue: unref(values).isNotes,
|
|
7034
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event),
|
|
7035
|
+
label: "Catatan",
|
|
7036
|
+
class: "mt-2"
|
|
7037
|
+
}, null, 8, ["modelValue"])
|
|
7038
|
+
]),
|
|
7039
|
+
_: 1
|
|
7040
|
+
/* STABLE */
|
|
7041
|
+
}, 16, ["modelValue"]),
|
|
7042
|
+
createVNode(unref(OfficeRelation), {
|
|
7043
|
+
modelValue: unref(values),
|
|
7044
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7045
|
+
field: unref(fields).accessStaffs
|
|
7046
|
+
}, null, 8, ["modelValue", "field"]),
|
|
6832
7047
|
createVNode(unref(NeonDivider), {
|
|
6833
7048
|
"is-dashed": "",
|
|
6834
7049
|
label: "Referensi"
|
|
6835
7050
|
}),
|
|
6836
7051
|
createVNode(unref(OfficeRelation), {
|
|
6837
7052
|
modelValue: unref(values),
|
|
6838
|
-
"onUpdate:modelValue": _cache[
|
|
7053
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6839
7054
|
field: unref(fields).responsibilities,
|
|
6840
7055
|
query: unref(Query).define(responsibilityOptions.value)
|
|
6841
7056
|
}, null, 8, ["modelValue", "field", "query"]),
|
|
7057
|
+
createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
|
|
6842
7058
|
createVNode(unref(OfficeRelation), {
|
|
6843
7059
|
modelValue: unref(values),
|
|
6844
|
-
"onUpdate:modelValue": _cache[
|
|
7060
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6845
7061
|
field: unref(fields).submissions,
|
|
6846
7062
|
query: unref(Query).define(submissionOptions.value)
|
|
6847
|
-
}, null, 8, ["modelValue", "field", "query"])
|
|
6848
|
-
createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> ')
|
|
7063
|
+
}, null, 8, ["modelValue", "field", "query"])
|
|
6849
7064
|
]),
|
|
6850
7065
|
_: 1
|
|
6851
7066
|
/* STABLE */
|
|
@@ -6853,7 +7068,25 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6853
7068
|
]),
|
|
6854
7069
|
_: 1
|
|
6855
7070
|
/* STABLE */
|
|
6856
|
-
})
|
|
7071
|
+
}),
|
|
7072
|
+
createCommentVNode(" Catatan "),
|
|
7073
|
+
!unref(isNew) && unref(values).isNotes === true ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
7074
|
+
key: 0,
|
|
7075
|
+
handle: "catatan",
|
|
7076
|
+
icon: "circle-info",
|
|
7077
|
+
title: "Catatan"
|
|
7078
|
+
}, {
|
|
7079
|
+
default: withCtx(({ isTouched }) => [
|
|
7080
|
+
createVNode(unref(CatatPaperPad), mergeProps({
|
|
7081
|
+
applicationId: unref(appStore).appId,
|
|
7082
|
+
object: `${objectDef.value}:office`,
|
|
7083
|
+
isReady: unref(isReady) && isTouched,
|
|
7084
|
+
isLoading: unref(isLoading)
|
|
7085
|
+
}, { display: display.value }), null, 16, ["display"])
|
|
7086
|
+
]),
|
|
7087
|
+
_: 1
|
|
7088
|
+
/* STABLE */
|
|
7089
|
+
})) : createCommentVNode("v-if", true)
|
|
6857
7090
|
]),
|
|
6858
7091
|
_: 1
|
|
6859
7092
|
/* STABLE */
|
|
@@ -6865,13 +7098,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6865
7098
|
};
|
|
6866
7099
|
}
|
|
6867
7100
|
});
|
|
6868
|
-
const
|
|
6869
|
-
const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7101
|
+
const ProgressTomorrow_vue_vue_type_style_index_0_scoped_41302f2e_lang = "";
|
|
7102
|
+
const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-41302f2e"]]);
|
|
6870
7103
|
const _hoisted_1$3 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
6871
7104
|
const _hoisted_2$3 = { class: "text-right text-fg-subdued text-sm" };
|
|
6872
|
-
const _sfc_main$
|
|
7105
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
6873
7106
|
__name: "ProgressYesterday",
|
|
6874
7107
|
setup(__props) {
|
|
7108
|
+
var _a;
|
|
6875
7109
|
const {
|
|
6876
7110
|
fields,
|
|
6877
7111
|
id,
|
|
@@ -6887,7 +7121,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6887
7121
|
} = useSingle();
|
|
6888
7122
|
const { staff } = useOperasional();
|
|
6889
7123
|
const responsibilityOptions = computed(() => {
|
|
6890
|
-
var
|
|
7124
|
+
var _a2, _b;
|
|
6891
7125
|
return {
|
|
6892
7126
|
filter: [
|
|
6893
7127
|
{
|
|
@@ -6900,7 +7134,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6900
7134
|
{
|
|
6901
7135
|
handle: "staffWorkIds",
|
|
6902
7136
|
operator: "in",
|
|
6903
|
-
value: (
|
|
7137
|
+
value: (_a2 = staff.value) == null ? void 0 : _a2.id
|
|
6904
7138
|
},
|
|
6905
7139
|
{
|
|
6906
7140
|
handle: "staffSuperviseIds",
|
|
@@ -6935,14 +7169,20 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6935
7169
|
}
|
|
6936
7170
|
const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
|
|
6937
7171
|
const besok = sekarang.add(-1, "day");
|
|
7172
|
+
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
6938
7173
|
watch(
|
|
6939
7174
|
isNew,
|
|
6940
7175
|
(isNew2) => {
|
|
6941
|
-
var
|
|
7176
|
+
var _a2;
|
|
6942
7177
|
if (!isNew2)
|
|
6943
7178
|
return;
|
|
6944
|
-
values.value.staffIds =
|
|
6945
|
-
values.value.staffs =
|
|
7179
|
+
values.value.staffIds = [staffId];
|
|
7180
|
+
values.value.staffs = [
|
|
7181
|
+
{
|
|
7182
|
+
id: staffId,
|
|
7183
|
+
flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
|
|
7184
|
+
}
|
|
7185
|
+
];
|
|
6946
7186
|
values.value.startedAt = besok.second(0).millisecond(0).toISOString();
|
|
6947
7187
|
values.value.endedAt = besok.add(90, "m").toISOString();
|
|
6948
7188
|
},
|
|
@@ -6966,6 +7206,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6966
7206
|
]
|
|
6967
7207
|
};
|
|
6968
7208
|
});
|
|
7209
|
+
const appStore = useAppStore();
|
|
7210
|
+
const objectDef = computed(
|
|
7211
|
+
() => `neu:operasional:progress:${id.value}`
|
|
7212
|
+
);
|
|
7213
|
+
const display = ref();
|
|
6969
7214
|
return (_ctx, _cache) => {
|
|
6970
7215
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
|
|
6971
7216
|
default: withCtx(() => [
|
|
@@ -7065,24 +7310,40 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
7065
7310
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7066
7311
|
field: unref(fields).staffs
|
|
7067
7312
|
}, null, 8, ["modelValue", "field"]),
|
|
7313
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7314
|
+
modelValue: unref(values).isNotes,
|
|
7315
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).isNotes = $event)
|
|
7316
|
+
}, unref(fields).isNotes), {
|
|
7317
|
+
input: withCtx(() => [
|
|
7318
|
+
createVNode(unref(NeonCheck), {
|
|
7319
|
+
modelValue: unref(values).isNotes,
|
|
7320
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event),
|
|
7321
|
+
label: "Catatan",
|
|
7322
|
+
class: "mt-2"
|
|
7323
|
+
}, null, 8, ["modelValue"])
|
|
7324
|
+
]),
|
|
7325
|
+
_: 1
|
|
7326
|
+
/* STABLE */
|
|
7327
|
+
}, 16, ["modelValue"]),
|
|
7328
|
+
createVNode(unref(OfficeRelation), {
|
|
7329
|
+
modelValue: unref(values),
|
|
7330
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7331
|
+
field: unref(fields).accessStaffs
|
|
7332
|
+
}, null, 8, ["modelValue", "field"]),
|
|
7068
7333
|
createVNode(unref(NeonDivider), {
|
|
7069
7334
|
"is-dashed": "",
|
|
7070
7335
|
label: "Referensi"
|
|
7071
7336
|
}),
|
|
7072
7337
|
createVNode(unref(OfficeRelation), {
|
|
7073
7338
|
modelValue: unref(values),
|
|
7074
|
-
"onUpdate:modelValue": _cache[
|
|
7339
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7075
7340
|
field: unref(fields).responsibilities,
|
|
7076
7341
|
query: unref(Query).define(responsibilityOptions.value)
|
|
7077
7342
|
}, null, 8, ["modelValue", "field", "query"]),
|
|
7343
|
+
createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
|
|
7078
7344
|
createVNode(unref(OfficeRelation), {
|
|
7079
7345
|
modelValue: unref(values),
|
|
7080
|
-
"onUpdate:modelValue": _cache[
|
|
7081
|
-
field: unref(fields).plans
|
|
7082
|
-
}, null, 8, ["modelValue", "field"]),
|
|
7083
|
-
createVNode(unref(OfficeRelation), {
|
|
7084
|
-
modelValue: unref(values),
|
|
7085
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7346
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7086
7347
|
field: unref(fields).submissions,
|
|
7087
7348
|
query: unref(Query).define(submissionOptions.value)
|
|
7088
7349
|
}, null, 8, ["modelValue", "field", "query"])
|
|
@@ -7093,7 +7354,185 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
7093
7354
|
]),
|
|
7094
7355
|
_: 1
|
|
7095
7356
|
/* STABLE */
|
|
7096
|
-
})
|
|
7357
|
+
}),
|
|
7358
|
+
createCommentVNode(" Catatan "),
|
|
7359
|
+
!unref(isNew) && unref(values).isNotes === true ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
7360
|
+
key: 0,
|
|
7361
|
+
handle: "catatan",
|
|
7362
|
+
icon: "circle-info",
|
|
7363
|
+
title: "Catatan"
|
|
7364
|
+
}, {
|
|
7365
|
+
default: withCtx(({ isTouched }) => [
|
|
7366
|
+
createVNode(unref(CatatPaperPad), mergeProps({
|
|
7367
|
+
applicationId: unref(appStore).appId,
|
|
7368
|
+
object: `${objectDef.value}:office`,
|
|
7369
|
+
isReady: unref(isReady) && isTouched,
|
|
7370
|
+
isLoading: unref(isLoading)
|
|
7371
|
+
}, { display: display.value }), null, 16, ["display"])
|
|
7372
|
+
]),
|
|
7373
|
+
_: 1
|
|
7374
|
+
/* STABLE */
|
|
7375
|
+
})) : createCommentVNode("v-if", true)
|
|
7376
|
+
]),
|
|
7377
|
+
_: 1
|
|
7378
|
+
/* STABLE */
|
|
7379
|
+
}, 8, ["use-url"])
|
|
7380
|
+
]),
|
|
7381
|
+
_: 1
|
|
7382
|
+
/* STABLE */
|
|
7383
|
+
});
|
|
7384
|
+
};
|
|
7385
|
+
}
|
|
7386
|
+
});
|
|
7387
|
+
const ProgressYesterday_vue_vue_type_style_index_0_scoped_78de8f41_lang = "";
|
|
7388
|
+
const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-78de8f41"]]);
|
|
7389
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
7390
|
+
__name: "ProgressNote",
|
|
7391
|
+
setup(__props) {
|
|
7392
|
+
var _a;
|
|
7393
|
+
const {
|
|
7394
|
+
fields,
|
|
7395
|
+
id,
|
|
7396
|
+
initialValues,
|
|
7397
|
+
values,
|
|
7398
|
+
isLoading,
|
|
7399
|
+
isChanged,
|
|
7400
|
+
isReady,
|
|
7401
|
+
isMain,
|
|
7402
|
+
isNew,
|
|
7403
|
+
saveOne,
|
|
7404
|
+
discardChanges
|
|
7405
|
+
} = useSingle();
|
|
7406
|
+
const { staff } = useOperasional();
|
|
7407
|
+
const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
|
|
7408
|
+
const besok = sekarang;
|
|
7409
|
+
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
7410
|
+
watch(
|
|
7411
|
+
isNew,
|
|
7412
|
+
(isNew2) => {
|
|
7413
|
+
var _a2, _b;
|
|
7414
|
+
if (!isNew2)
|
|
7415
|
+
return;
|
|
7416
|
+
values.value.staffIds = [staffId];
|
|
7417
|
+
values.value.staffs = [
|
|
7418
|
+
{
|
|
7419
|
+
id: staffId,
|
|
7420
|
+
flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
|
|
7421
|
+
}
|
|
7422
|
+
];
|
|
7423
|
+
values.value.accessStaffIds = [staffId];
|
|
7424
|
+
values.value.accessStaffs = [
|
|
7425
|
+
{
|
|
7426
|
+
id: staffId,
|
|
7427
|
+
flag: (_b = staff.value) == null ? void 0 : _b.flag
|
|
7428
|
+
}
|
|
7429
|
+
];
|
|
7430
|
+
values.value.startedAt = besok.second(0).millisecond(0).toISOString();
|
|
7431
|
+
values.value.endedAt = besok.add(90, "m").toISOString();
|
|
7432
|
+
values.value.isNotes = true;
|
|
7433
|
+
values.value.virtualIsNotes = "active";
|
|
7434
|
+
},
|
|
7435
|
+
{
|
|
7436
|
+
immediate: true
|
|
7437
|
+
}
|
|
7438
|
+
);
|
|
7439
|
+
const appStore = useAppStore();
|
|
7440
|
+
const objectDef = computed(
|
|
7441
|
+
() => `neu:operasional:progress:${id.value}`
|
|
7442
|
+
);
|
|
7443
|
+
const display = ref();
|
|
7444
|
+
return (_ctx, _cache) => {
|
|
7445
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
|
|
7446
|
+
default: withCtx(() => [
|
|
7447
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
7448
|
+
default: withCtx(() => [
|
|
7449
|
+
createVNode(unref(OfficeTab), {
|
|
7450
|
+
handle: "info",
|
|
7451
|
+
icon: "circle-info",
|
|
7452
|
+
title: "Info"
|
|
7453
|
+
}, {
|
|
7454
|
+
default: withCtx(() => [
|
|
7455
|
+
createVNode(unref(NeonForm), {
|
|
7456
|
+
handle: "info",
|
|
7457
|
+
"initial-values": unref(initialValues),
|
|
7458
|
+
"is-loading": unref(isLoading),
|
|
7459
|
+
"is-changed": unref(isChanged),
|
|
7460
|
+
"use-unsaved": "",
|
|
7461
|
+
onCancel: unref(discardChanges),
|
|
7462
|
+
onSubmit: unref(saveOne)
|
|
7463
|
+
}, {
|
|
7464
|
+
default: withCtx(() => [
|
|
7465
|
+
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
7466
|
+
default: withCtx(() => [
|
|
7467
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7468
|
+
modelValue: unref(values).startedAt,
|
|
7469
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).startedAt = $event)
|
|
7470
|
+
}, unref(fields).startedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
7471
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7472
|
+
modelValue: unref(values).detail,
|
|
7473
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).detail = $event)
|
|
7474
|
+
}, unref(fields).detail), null, 16, ["modelValue"])
|
|
7475
|
+
]),
|
|
7476
|
+
_: 1
|
|
7477
|
+
/* STABLE */
|
|
7478
|
+
}),
|
|
7479
|
+
unref(isNew) ? (openBlock(), createBlock(unref(OfficeRelation), {
|
|
7480
|
+
key: 0,
|
|
7481
|
+
modelValue: unref(values),
|
|
7482
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7483
|
+
field: unref(fields).staffs
|
|
7484
|
+
}, null, 8, ["modelValue", "field"])) : createCommentVNode("v-if", true),
|
|
7485
|
+
createVNode(unref(OfficeRelation), {
|
|
7486
|
+
modelValue: unref(values),
|
|
7487
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7488
|
+
field: unref(fields).accessStaffs
|
|
7489
|
+
}, null, 8, ["modelValue", "field"]),
|
|
7490
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7491
|
+
modelValue: unref(values).priority,
|
|
7492
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).priority = $event)
|
|
7493
|
+
}, unref(fields).priority), null, 16, ["modelValue"]),
|
|
7494
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7495
|
+
modelValue: unref(values).isNotes,
|
|
7496
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event)
|
|
7497
|
+
}, unref(fields).isNotes), {
|
|
7498
|
+
input: withCtx(() => [
|
|
7499
|
+
createVNode(unref(NeonCheck), {
|
|
7500
|
+
modelValue: unref(values).isNotes,
|
|
7501
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).isNotes = $event),
|
|
7502
|
+
label: "Catatan",
|
|
7503
|
+
class: "mt-2",
|
|
7504
|
+
"is-disabled": ""
|
|
7505
|
+
}, null, 8, ["modelValue"])
|
|
7506
|
+
]),
|
|
7507
|
+
_: 1
|
|
7508
|
+
/* STABLE */
|
|
7509
|
+
}, 16, ["modelValue"])
|
|
7510
|
+
]),
|
|
7511
|
+
_: 1
|
|
7512
|
+
/* STABLE */
|
|
7513
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
7514
|
+
]),
|
|
7515
|
+
_: 1
|
|
7516
|
+
/* STABLE */
|
|
7517
|
+
}),
|
|
7518
|
+
createCommentVNode(" Catatan "),
|
|
7519
|
+
!unref(isNew) && unref(values).isNotes === true ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
7520
|
+
key: 0,
|
|
7521
|
+
handle: "catatan",
|
|
7522
|
+
icon: "circle-info",
|
|
7523
|
+
title: "Catatan"
|
|
7524
|
+
}, {
|
|
7525
|
+
default: withCtx(({ isTouched }) => [
|
|
7526
|
+
createVNode(unref(CatatPaperPad), mergeProps({
|
|
7527
|
+
applicationId: unref(appStore).appId,
|
|
7528
|
+
object: `${objectDef.value}:office`,
|
|
7529
|
+
isReady: unref(isReady) && isTouched,
|
|
7530
|
+
isLoading: unref(isLoading)
|
|
7531
|
+
}, { display: display.value }), null, 16, ["display"])
|
|
7532
|
+
]),
|
|
7533
|
+
_: 1
|
|
7534
|
+
/* STABLE */
|
|
7535
|
+
})) : createCommentVNode("v-if", true)
|
|
7097
7536
|
]),
|
|
7098
7537
|
_: 1
|
|
7099
7538
|
/* STABLE */
|
|
@@ -7105,10 +7544,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
7105
7544
|
};
|
|
7106
7545
|
}
|
|
7107
7546
|
});
|
|
7108
|
-
const
|
|
7109
|
-
const
|
|
7547
|
+
const ProgressNote_vue_vue_type_style_index_0_scoped_cee18889_lang = "";
|
|
7548
|
+
const ProgressNote = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-cee18889"]]);
|
|
7110
7549
|
const AttendanceModel = models$2.AttendanceModel;
|
|
7111
|
-
const _sfc_main$
|
|
7550
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
7112
7551
|
...{
|
|
7113
7552
|
name: "AttendanceCollection"
|
|
7114
7553
|
},
|
|
@@ -7128,7 +7567,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
7128
7567
|
});
|
|
7129
7568
|
const _hoisted_1$2 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
7130
7569
|
const _hoisted_2$2 = { class: "text-right text-fg-subdued text-sm" };
|
|
7131
|
-
const _sfc_main$
|
|
7570
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
7132
7571
|
__name: "AttendanceSingle",
|
|
7133
7572
|
setup(__props) {
|
|
7134
7573
|
const {
|
|
@@ -7310,7 +7749,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
7310
7749
|
}
|
|
7311
7750
|
});
|
|
7312
7751
|
const AttendanceSingle_vue_vue_type_style_index_0_scoped_0c3c6187_lang = "";
|
|
7313
|
-
const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7752
|
+
const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-0c3c6187"]]);
|
|
7314
7753
|
const _hoisted_1$1 = {
|
|
7315
7754
|
key: 1,
|
|
7316
7755
|
class: "flex flex-wrap"
|
|
@@ -7332,7 +7771,7 @@ const _hoisted_8$1 = {
|
|
|
7332
7771
|
class: "grid gap-2 sm:grid-cols-2"
|
|
7333
7772
|
};
|
|
7334
7773
|
const _hoisted_9$1 = { class: "text-right text-fg-subdued text-sm" };
|
|
7335
|
-
const _sfc_main$
|
|
7774
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
7336
7775
|
__name: "AttendanceStaff",
|
|
7337
7776
|
setup(__props) {
|
|
7338
7777
|
var _a;
|
|
@@ -7712,7 +8151,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7712
8151
|
}
|
|
7713
8152
|
});
|
|
7714
8153
|
const AttendanceStaff_vue_vue_type_style_index_0_scoped_724535b0_lang = "";
|
|
7715
|
-
const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8154
|
+
const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-724535b0"]]);
|
|
7716
8155
|
const _hoisted_1 = { class: "flex flex-wrap" };
|
|
7717
8156
|
const _hoisted_2 = { class: "mt-2" };
|
|
7718
8157
|
const _hoisted_3 = { class: "mt-2" };
|
|
@@ -7731,7 +8170,7 @@ const _hoisted_8 = {
|
|
|
7731
8170
|
class: "grid gap-2 sm:grid-cols-2"
|
|
7732
8171
|
};
|
|
7733
8172
|
const _hoisted_9 = { class: "text-right text-fg-subdued text-sm" };
|
|
7734
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8173
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
7735
8174
|
__name: "AttendanceManager",
|
|
7736
8175
|
setup(__props) {
|
|
7737
8176
|
var _a;
|
|
@@ -8092,79 +8531,241 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8092
8531
|
}
|
|
8093
8532
|
});
|
|
8094
8533
|
const AttendanceManager_vue_vue_type_style_index_0_scoped_643cca03_lang = "";
|
|
8095
|
-
const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-643cca03"]]);
|
|
8534
|
+
const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-643cca03"]]);
|
|
8535
|
+
const ProgressAccessModel = models$2.ProgressAccessModel;
|
|
8536
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
8537
|
+
...{
|
|
8538
|
+
name: "ProgressAccessCollection"
|
|
8539
|
+
},
|
|
8540
|
+
__name: "ProgressAccessCollection",
|
|
8541
|
+
setup(__props) {
|
|
8542
|
+
useCollection();
|
|
8543
|
+
return (_ctx, _cache) => {
|
|
8544
|
+
return openBlock(), createBlock(unref(NeonCollection), { class: "neu-progress-access-collection" }, {
|
|
8545
|
+
default: withCtx(() => [
|
|
8546
|
+
createVNode(unref(OfficeCollectionTable))
|
|
8547
|
+
]),
|
|
8548
|
+
_: 1
|
|
8549
|
+
/* STABLE */
|
|
8550
|
+
});
|
|
8551
|
+
};
|
|
8552
|
+
}
|
|
8553
|
+
});
|
|
8554
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
8555
|
+
__name: "ProgressAccessSingle",
|
|
8556
|
+
setup(__props) {
|
|
8557
|
+
const {
|
|
8558
|
+
fields,
|
|
8559
|
+
id,
|
|
8560
|
+
initialValues,
|
|
8561
|
+
values,
|
|
8562
|
+
isLoading,
|
|
8563
|
+
isChanged,
|
|
8564
|
+
isReady,
|
|
8565
|
+
isMain,
|
|
8566
|
+
isNew,
|
|
8567
|
+
saveOne,
|
|
8568
|
+
discardChanges
|
|
8569
|
+
} = useSingle();
|
|
8570
|
+
return (_ctx, _cache) => {
|
|
8571
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-access-single" }, {
|
|
8572
|
+
default: withCtx(() => [
|
|
8573
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
8574
|
+
default: withCtx(() => [
|
|
8575
|
+
createVNode(unref(OfficeTab), {
|
|
8576
|
+
handle: "info",
|
|
8577
|
+
icon: "circle-info",
|
|
8578
|
+
title: "Info"
|
|
8579
|
+
}, {
|
|
8580
|
+
default: withCtx(() => [
|
|
8581
|
+
createVNode(unref(NeonForm), {
|
|
8582
|
+
handle: "info",
|
|
8583
|
+
"initial-values": unref(initialValues),
|
|
8584
|
+
"is-loading": unref(isLoading),
|
|
8585
|
+
"is-changed": unref(isChanged),
|
|
8586
|
+
"use-unsaved": "",
|
|
8587
|
+
onCancel: unref(discardChanges),
|
|
8588
|
+
onSubmit: unref(saveOne)
|
|
8589
|
+
}, {
|
|
8590
|
+
default: withCtx(() => [
|
|
8591
|
+
createVNode(unref(OfficeRelation), {
|
|
8592
|
+
modelValue: unref(values),
|
|
8593
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
|
|
8594
|
+
field: unref(fields).superviseStaff
|
|
8595
|
+
}, null, 8, ["modelValue", "field"]),
|
|
8596
|
+
createVNode(unref(OfficeRelation), {
|
|
8597
|
+
modelValue: unref(values),
|
|
8598
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
8599
|
+
field: unref(fields).supervisedStaffs
|
|
8600
|
+
}, null, 8, ["modelValue", "field"])
|
|
8601
|
+
]),
|
|
8602
|
+
_: 1
|
|
8603
|
+
/* STABLE */
|
|
8604
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
8605
|
+
]),
|
|
8606
|
+
_: 1
|
|
8607
|
+
/* STABLE */
|
|
8608
|
+
})
|
|
8609
|
+
]),
|
|
8610
|
+
_: 1
|
|
8611
|
+
/* STABLE */
|
|
8612
|
+
}, 8, ["use-url"])
|
|
8613
|
+
]),
|
|
8614
|
+
_: 1
|
|
8615
|
+
/* STABLE */
|
|
8616
|
+
});
|
|
8617
|
+
};
|
|
8618
|
+
}
|
|
8619
|
+
});
|
|
8620
|
+
const ProgressAccessSingle_vue_vue_type_style_index_0_scoped_60f0e0da_lang = "";
|
|
8621
|
+
const ProgressAccessSingle = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-60f0e0da"]]);
|
|
8622
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8623
|
+
__name: "ProgressAccessSupervisor",
|
|
8624
|
+
setup(__props) {
|
|
8625
|
+
const {
|
|
8626
|
+
fields,
|
|
8627
|
+
id,
|
|
8628
|
+
initialValues,
|
|
8629
|
+
values,
|
|
8630
|
+
isLoading,
|
|
8631
|
+
isChanged,
|
|
8632
|
+
isReady,
|
|
8633
|
+
isMain,
|
|
8634
|
+
isNew,
|
|
8635
|
+
saveOne,
|
|
8636
|
+
discardChanges
|
|
8637
|
+
} = useSingle();
|
|
8638
|
+
return (_ctx, _cache) => {
|
|
8639
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-access-single" }, {
|
|
8640
|
+
default: withCtx(() => [
|
|
8641
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
8642
|
+
default: withCtx(() => [
|
|
8643
|
+
createVNode(unref(OfficeTab), {
|
|
8644
|
+
handle: "info",
|
|
8645
|
+
icon: "circle-info",
|
|
8646
|
+
title: "Info"
|
|
8647
|
+
}, {
|
|
8648
|
+
default: withCtx(() => [
|
|
8649
|
+
createVNode(unref(NeonForm), {
|
|
8650
|
+
handle: "info",
|
|
8651
|
+
"initial-values": unref(initialValues),
|
|
8652
|
+
"is-loading": unref(isLoading),
|
|
8653
|
+
"is-changed": unref(isChanged),
|
|
8654
|
+
"use-unsaved": "",
|
|
8655
|
+
onCancel: unref(discardChanges),
|
|
8656
|
+
onSubmit: unref(saveOne)
|
|
8657
|
+
}, {
|
|
8658
|
+
default: withCtx(() => [
|
|
8659
|
+
createVNode(unref(OfficeRelation), {
|
|
8660
|
+
modelValue: unref(values),
|
|
8661
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
|
|
8662
|
+
field: unref(fields).superviseStaff,
|
|
8663
|
+
"is-disabled": ""
|
|
8664
|
+
}, null, 8, ["modelValue", "field"]),
|
|
8665
|
+
createVNode(unref(OfficeRelation), {
|
|
8666
|
+
modelValue: unref(values),
|
|
8667
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
8668
|
+
field: unref(fields).supervisedStaffs,
|
|
8669
|
+
"is-disabled": ""
|
|
8670
|
+
}, null, 8, ["modelValue", "field"])
|
|
8671
|
+
]),
|
|
8672
|
+
_: 1
|
|
8673
|
+
/* STABLE */
|
|
8674
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
8675
|
+
]),
|
|
8676
|
+
_: 1
|
|
8677
|
+
/* STABLE */
|
|
8678
|
+
})
|
|
8679
|
+
]),
|
|
8680
|
+
_: 1
|
|
8681
|
+
/* STABLE */
|
|
8682
|
+
}, 8, ["use-url"])
|
|
8683
|
+
]),
|
|
8684
|
+
_: 1
|
|
8685
|
+
/* STABLE */
|
|
8686
|
+
});
|
|
8687
|
+
};
|
|
8688
|
+
}
|
|
8689
|
+
});
|
|
8690
|
+
const ProgressAccessSupervisor_vue_vue_type_style_index_0_scoped_54eff340_lang = "";
|
|
8691
|
+
const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-54eff340"]]);
|
|
8096
8692
|
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8097
8693
|
__proto__: null,
|
|
8098
|
-
AttendanceCollection: _sfc_main$
|
|
8694
|
+
AttendanceCollection: _sfc_main$6,
|
|
8099
8695
|
AttendanceManager,
|
|
8100
8696
|
AttendanceModel,
|
|
8101
8697
|
AttendanceSingle,
|
|
8102
8698
|
AttendanceStaff,
|
|
8103
8699
|
CheckInAccess,
|
|
8104
|
-
CheckInCollection: _sfc_main$
|
|
8700
|
+
CheckInCollection: _sfc_main$N,
|
|
8105
8701
|
CheckInExternal,
|
|
8106
8702
|
CheckInModel,
|
|
8107
8703
|
CheckInPresenceCollection,
|
|
8108
|
-
CheckInScanError: _sfc_main$
|
|
8109
|
-
CheckInScanSuccess: _sfc_main$
|
|
8704
|
+
CheckInScanError: _sfc_main$Q,
|
|
8705
|
+
CheckInScanSuccess: _sfc_main$O,
|
|
8110
8706
|
CheckInScanner,
|
|
8111
8707
|
CheckInSingle,
|
|
8112
8708
|
NeonTime,
|
|
8113
8709
|
OperasionalIdentitas,
|
|
8114
|
-
PlanCollection: _sfc_main$
|
|
8710
|
+
PlanCollection: _sfc_main$f,
|
|
8115
8711
|
PlanModel,
|
|
8116
8712
|
PlanSingle,
|
|
8117
8713
|
PlanStaff,
|
|
8118
|
-
PlanTypeCollection: _sfc_main$
|
|
8714
|
+
PlanTypeCollection: _sfc_main$h,
|
|
8119
8715
|
PlanTypeModel,
|
|
8120
8716
|
PlanTypeSingle,
|
|
8121
|
-
|
|
8717
|
+
ProgressAccessCollection: _sfc_main$2,
|
|
8718
|
+
ProgressAccessModel,
|
|
8719
|
+
ProgressAccessSingle,
|
|
8720
|
+
ProgressAccessSupervisor,
|
|
8721
|
+
ProgressButton: _sfc_main$c,
|
|
8122
8722
|
ProgressCollection,
|
|
8123
8723
|
ProgressModel,
|
|
8724
|
+
ProgressNote,
|
|
8124
8725
|
ProgressSingle,
|
|
8125
8726
|
ProgressTomorrow,
|
|
8126
8727
|
ProgressYesterday,
|
|
8127
|
-
ResponsibilityCollection: _sfc_main$
|
|
8728
|
+
ResponsibilityCollection: _sfc_main$n,
|
|
8128
8729
|
ResponsibilityModel,
|
|
8129
8730
|
ResponsibilitySingle,
|
|
8130
8731
|
ResponsibilityStaff,
|
|
8131
|
-
ResponsibilityTypeCollection: _sfc_main$
|
|
8732
|
+
ResponsibilityTypeCollection: _sfc_main$p,
|
|
8132
8733
|
ResponsibilityTypeModel,
|
|
8133
8734
|
ResponsibilityTypeSingle,
|
|
8134
|
-
SituationCollection: _sfc_main$
|
|
8735
|
+
SituationCollection: _sfc_main$I,
|
|
8135
8736
|
SituationModel,
|
|
8136
|
-
SituationSingle: _sfc_main$
|
|
8137
|
-
SituationSupportive: _sfc_main$
|
|
8138
|
-
SituationTypeCollection: _sfc_main$
|
|
8737
|
+
SituationSingle: _sfc_main$H,
|
|
8738
|
+
SituationSupportive: _sfc_main$F,
|
|
8739
|
+
SituationTypeCollection: _sfc_main$E,
|
|
8139
8740
|
SituationTypeModel,
|
|
8140
|
-
SituationTypeSingle: _sfc_main$
|
|
8141
|
-
SituationWork: _sfc_main$
|
|
8142
|
-
StaffCollection: _sfc_main$
|
|
8143
|
-
StaffIdentity: _sfc_main$
|
|
8741
|
+
SituationTypeSingle: _sfc_main$D,
|
|
8742
|
+
SituationWork: _sfc_main$G,
|
|
8743
|
+
StaffCollection: _sfc_main$M,
|
|
8744
|
+
StaffIdentity: _sfc_main$J,
|
|
8144
8745
|
StaffModel,
|
|
8145
8746
|
StaffOperasional,
|
|
8146
8747
|
StaffSingle,
|
|
8147
8748
|
SubmissionAudit,
|
|
8148
|
-
SubmissionCollection: _sfc_main$
|
|
8749
|
+
SubmissionCollection: _sfc_main$y,
|
|
8149
8750
|
SubmissionDecision,
|
|
8150
8751
|
SubmissionFollowUp,
|
|
8151
8752
|
SubmissionModel,
|
|
8152
8753
|
SubmissionSingle,
|
|
8153
8754
|
SubmissionStaff,
|
|
8154
|
-
SubmissionTypeCollection: _sfc_main$
|
|
8755
|
+
SubmissionTypeCollection: _sfc_main$r,
|
|
8155
8756
|
SubmissionTypeModel,
|
|
8156
8757
|
SubmissionTypeSingle,
|
|
8157
8758
|
SubmissionWaitingDecision,
|
|
8158
8759
|
TargetBranch,
|
|
8159
|
-
TargetCollection: _sfc_main$
|
|
8760
|
+
TargetCollection: _sfc_main$k,
|
|
8160
8761
|
TargetModel,
|
|
8161
8762
|
TargetSingle,
|
|
8162
|
-
TaskCollection: _sfc_main$
|
|
8763
|
+
TaskCollection: _sfc_main$B,
|
|
8163
8764
|
TaskModel,
|
|
8164
|
-
TaskSingle: _sfc_main$
|
|
8165
|
-
TaskWork: _sfc_main$
|
|
8166
|
-
TaskWorkButton: _sfc_main$
|
|
8167
|
-
XxxButton: _sfc_main$
|
|
8765
|
+
TaskSingle: _sfc_main$A,
|
|
8766
|
+
TaskWork: _sfc_main$z,
|
|
8767
|
+
TaskWorkButton: _sfc_main$C,
|
|
8768
|
+
XxxButton: _sfc_main$X
|
|
8168
8769
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8169
8770
|
function registerComponents(app) {
|
|
8170
8771
|
Object.entries(components).forEach(([name, component]) => {
|
|
@@ -8180,79 +8781,84 @@ const OperasionalInterfacesPlugin = {
|
|
|
8180
8781
|
}
|
|
8181
8782
|
};
|
|
8182
8783
|
export {
|
|
8183
|
-
_sfc_main$
|
|
8784
|
+
_sfc_main$6 as AttendanceCollection,
|
|
8184
8785
|
AttendanceManager,
|
|
8185
8786
|
AttendanceModel,
|
|
8186
8787
|
AttendanceSingle,
|
|
8187
8788
|
AttendanceStaff,
|
|
8188
8789
|
CheckInAccess,
|
|
8189
|
-
_sfc_main$
|
|
8790
|
+
_sfc_main$N as CheckInCollection,
|
|
8190
8791
|
CheckInExternal,
|
|
8191
8792
|
CheckInModel,
|
|
8192
8793
|
CheckInPresenceCollection,
|
|
8193
|
-
_sfc_main$
|
|
8194
|
-
_sfc_main$
|
|
8794
|
+
_sfc_main$Q as CheckInScanError,
|
|
8795
|
+
_sfc_main$O as CheckInScanSuccess,
|
|
8195
8796
|
CheckInScanner,
|
|
8196
8797
|
CheckInSingle,
|
|
8197
8798
|
operasional_types as NOperasional,
|
|
8198
8799
|
NeonTime,
|
|
8199
8800
|
OperasionalIdentitas,
|
|
8200
8801
|
OperasionalInterfacesPlugin,
|
|
8201
|
-
_sfc_main$
|
|
8802
|
+
_sfc_main$f as PlanCollection,
|
|
8202
8803
|
PlanModel,
|
|
8203
8804
|
PlanSingle,
|
|
8204
8805
|
PlanStaff,
|
|
8205
|
-
_sfc_main$
|
|
8806
|
+
_sfc_main$h as PlanTypeCollection,
|
|
8206
8807
|
PlanTypeModel,
|
|
8207
8808
|
PlanTypeSingle,
|
|
8208
|
-
_sfc_main$
|
|
8809
|
+
_sfc_main$2 as ProgressAccessCollection,
|
|
8810
|
+
ProgressAccessModel,
|
|
8811
|
+
ProgressAccessSingle,
|
|
8812
|
+
ProgressAccessSupervisor,
|
|
8813
|
+
_sfc_main$c as ProgressButton,
|
|
8209
8814
|
ProgressCollection,
|
|
8210
8815
|
ProgressModel,
|
|
8816
|
+
ProgressNote,
|
|
8211
8817
|
ProgressSingle,
|
|
8212
8818
|
ProgressTomorrow,
|
|
8213
8819
|
ProgressYesterday,
|
|
8214
|
-
_sfc_main$
|
|
8820
|
+
_sfc_main$n as ResponsibilityCollection,
|
|
8215
8821
|
ResponsibilityModel,
|
|
8216
8822
|
ResponsibilitySingle,
|
|
8217
8823
|
ResponsibilityStaff,
|
|
8218
|
-
_sfc_main$
|
|
8824
|
+
_sfc_main$p as ResponsibilityTypeCollection,
|
|
8219
8825
|
ResponsibilityTypeModel,
|
|
8220
8826
|
ResponsibilityTypeSingle,
|
|
8221
8827
|
graphql as Schema,
|
|
8222
|
-
_sfc_main$
|
|
8828
|
+
_sfc_main$I as SituationCollection,
|
|
8223
8829
|
SituationModel,
|
|
8224
|
-
_sfc_main$
|
|
8225
|
-
_sfc_main$
|
|
8226
|
-
_sfc_main$
|
|
8830
|
+
_sfc_main$H as SituationSingle,
|
|
8831
|
+
_sfc_main$F as SituationSupportive,
|
|
8832
|
+
_sfc_main$E as SituationTypeCollection,
|
|
8227
8833
|
SituationTypeModel,
|
|
8228
|
-
_sfc_main$
|
|
8229
|
-
_sfc_main$
|
|
8230
|
-
_sfc_main$
|
|
8231
|
-
_sfc_main$
|
|
8834
|
+
_sfc_main$D as SituationTypeSingle,
|
|
8835
|
+
_sfc_main$G as SituationWork,
|
|
8836
|
+
_sfc_main$M as StaffCollection,
|
|
8837
|
+
_sfc_main$J as StaffIdentity,
|
|
8232
8838
|
StaffModel,
|
|
8233
8839
|
StaffOperasional,
|
|
8234
8840
|
StaffSingle,
|
|
8235
8841
|
SubmissionAudit,
|
|
8236
|
-
_sfc_main$
|
|
8842
|
+
_sfc_main$y as SubmissionCollection,
|
|
8237
8843
|
SubmissionDecision,
|
|
8238
8844
|
SubmissionFollowUp,
|
|
8239
8845
|
SubmissionModel,
|
|
8240
8846
|
SubmissionSingle,
|
|
8241
8847
|
SubmissionStaff,
|
|
8242
|
-
_sfc_main$
|
|
8848
|
+
_sfc_main$r as SubmissionTypeCollection,
|
|
8243
8849
|
SubmissionTypeModel,
|
|
8244
8850
|
SubmissionTypeSingle,
|
|
8245
8851
|
SubmissionWaitingDecision,
|
|
8246
8852
|
TargetBranch,
|
|
8247
|
-
_sfc_main$
|
|
8853
|
+
_sfc_main$k as TargetCollection,
|
|
8248
8854
|
TargetModel,
|
|
8249
8855
|
TargetSingle,
|
|
8250
|
-
_sfc_main$
|
|
8856
|
+
_sfc_main$B as TaskCollection,
|
|
8251
8857
|
TaskModel,
|
|
8252
|
-
_sfc_main$
|
|
8253
|
-
_sfc_main$
|
|
8254
|
-
_sfc_main$
|
|
8255
|
-
_sfc_main$
|
|
8858
|
+
_sfc_main$A as TaskSingle,
|
|
8859
|
+
_sfc_main$z as TaskWork,
|
|
8860
|
+
_sfc_main$C as TaskWorkButton,
|
|
8861
|
+
_sfc_main$X as XxxButton,
|
|
8256
8862
|
bus,
|
|
8257
8863
|
useAttendanceStore,
|
|
8258
8864
|
useOperasional,
|