@neutron.co.id/operasional-interfaces 1.14.8 → 1.14.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@office/models/personalia/attendance/AttendanceManager.vue +2 -2
- package/build/@office/models/personalia/attendance/AttendanceStaff.vue +2 -2
- package/build/@office/models/personalia/attendance/AttendanceSupervisor.vue +3 -3
- package/build/@office/models/personalia/plan/PlanSingle/PlanSingle.vue +5 -1
- package/build/@office/models/personalia/plan/PlanStaff.vue +5 -1
- package/build/@office/models/personalia/submission/SubmissionAudit.vue +15 -45
- package/build/@office/models/personalia/submission/SubmissionDecision.vue +12 -41
- package/build/@office/models/personalia/submission/SubmissionFollowUp.vue +10 -40
- package/build/@office/models/personalia/submission/SubmissionSingle/SubmissionSingle.vue +10 -40
- package/build/@office/models/personalia/submission/SubmissionStaff.vue +11 -68
- package/build/@office/models/personalia/submission/SubmissionSupervisor.vue +10 -40
- package/build/@office/models/personalia/submission/SubmissionWaitingDecision.vue +12 -42
- package/build/@office/models/personalia/target/TargetBranch.vue +5 -1
- package/build/@office/models/personalia/target/TargetSingle/TargetSingle.vue +5 -1
- package/build/@office/models/personalia/task/TaskSingle/TaskSingle.vue +3 -3
- package/build/mock/index.cjs +105 -284
- package/build/mock/index.mjs +105 -284
- package/build/mock/style.css +14 -14
- package/build/module.json +1 -1
- package/build/nuxt.json +1 -1
- package/package.json +6 -6
package/build/mock/index.mjs
CHANGED
|
@@ -12080,7 +12080,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
12080
12080
|
createVNode(unref(NeonField), null, {
|
|
12081
12081
|
input: withCtx(() => [
|
|
12082
12082
|
createVNode(unref(NeonButton), {
|
|
12083
|
-
size: "
|
|
12083
|
+
size: "sm",
|
|
12084
12084
|
color: "success",
|
|
12085
12085
|
"icon-left": "x",
|
|
12086
12086
|
"is-disabled": unref(values).status == "approved" || unref(values).status == "rejected",
|
|
@@ -12102,7 +12102,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
12102
12102
|
createVNode(unref(NeonField), null, {
|
|
12103
12103
|
input: withCtx(() => [
|
|
12104
12104
|
createVNode(unref(NeonButton), {
|
|
12105
|
-
size: "
|
|
12105
|
+
size: "sm",
|
|
12106
12106
|
color: "warning",
|
|
12107
12107
|
"icon-left": "trash-can",
|
|
12108
12108
|
onClick: deleteAbsensi
|
|
@@ -12349,7 +12349,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
12349
12349
|
};
|
|
12350
12350
|
}
|
|
12351
12351
|
});
|
|
12352
|
-
const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["__scopeId", "data-v-
|
|
12352
|
+
const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["__scopeId", "data-v-f59b58f4"]]);
|
|
12353
12353
|
const _hoisted_1$q = {
|
|
12354
12354
|
key: 1,
|
|
12355
12355
|
class: "flex flex-wrap"
|
|
@@ -12536,7 +12536,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
12536
12536
|
createVNode(unref(NeonField), null, {
|
|
12537
12537
|
input: withCtx(() => [
|
|
12538
12538
|
createVNode(unref(NeonButton), {
|
|
12539
|
-
size: "
|
|
12539
|
+
size: "sm",
|
|
12540
12540
|
color: "success",
|
|
12541
12541
|
"icon-left": "up-from-line",
|
|
12542
12542
|
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved" || unref(values).status == "rejected",
|
|
@@ -12558,7 +12558,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
12558
12558
|
createVNode(unref(NeonField), null, {
|
|
12559
12559
|
input: withCtx(() => [
|
|
12560
12560
|
createVNode(unref(NeonButton), {
|
|
12561
|
-
size: "
|
|
12561
|
+
size: "sm",
|
|
12562
12562
|
color: "warning",
|
|
12563
12563
|
"icon-left": "arrows-retweet",
|
|
12564
12564
|
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "draft",
|
|
@@ -12849,7 +12849,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
12849
12849
|
};
|
|
12850
12850
|
}
|
|
12851
12851
|
});
|
|
12852
|
-
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["__scopeId", "data-v-
|
|
12852
|
+
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["__scopeId", "data-v-ae9c2078"]]);
|
|
12853
12853
|
const _hoisted_1$p = { class: "flex flex-wrap" };
|
|
12854
12854
|
const _hoisted_2$i = { class: "mt-2" };
|
|
12855
12855
|
const _hoisted_3$a = { class: "mt-2" };
|
|
@@ -13006,7 +13006,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
13006
13006
|
createVNode(unref(NeonField), null, {
|
|
13007
13007
|
input: withCtx(() => [
|
|
13008
13008
|
createVNode(unref(NeonButton), {
|
|
13009
|
-
size: "
|
|
13009
|
+
size: "sm",
|
|
13010
13010
|
color: "success",
|
|
13011
13011
|
"icon-left": "check",
|
|
13012
13012
|
"is-disabled": unref(values).status == "approved" || unref(values).status == "rejected",
|
|
@@ -13028,7 +13028,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
13028
13028
|
createVNode(unref(NeonField), null, {
|
|
13029
13029
|
input: withCtx(() => [
|
|
13030
13030
|
createVNode(unref(NeonButton), {
|
|
13031
|
-
size: "
|
|
13031
|
+
size: "sm",
|
|
13032
13032
|
color: "danger",
|
|
13033
13033
|
"icon-left": "x",
|
|
13034
13034
|
"is-disabled": unref(values).status == "approved" || unref(values).status == "rejected",
|
|
@@ -13050,7 +13050,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
13050
13050
|
createVNode(unref(NeonField), null, {
|
|
13051
13051
|
input: withCtx(() => [
|
|
13052
13052
|
createVNode(unref(NeonButton), {
|
|
13053
|
-
size: "
|
|
13053
|
+
size: "sm",
|
|
13054
13054
|
color: "warning",
|
|
13055
13055
|
"icon-left": "trash-can",
|
|
13056
13056
|
onClick: deleteAbsensi
|
|
@@ -13334,7 +13334,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
13334
13334
|
};
|
|
13335
13335
|
}
|
|
13336
13336
|
});
|
|
13337
|
-
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["__scopeId", "data-v-
|
|
13337
|
+
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["__scopeId", "data-v-0aaa56b0"]]);
|
|
13338
13338
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-04009998"), n = n(), popScopeId(), n);
|
|
13339
13339
|
const _hoisted_1$o = { id: "view-checkIns" };
|
|
13340
13340
|
const _hoisted_2$h = { class: "summary" };
|
|
@@ -14924,7 +14924,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14924
14924
|
createVNode(unref(OfficeRelation), {
|
|
14925
14925
|
modelValue: unref(values),
|
|
14926
14926
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
14927
|
-
field: unref(fields).stages
|
|
14927
|
+
field: unref(fields).stages,
|
|
14928
|
+
filter: { status: "published" }
|
|
14928
14929
|
}, null, 8, ["modelValue", "field"]),
|
|
14929
14930
|
createVNode(unref(OfficeRelation), {
|
|
14930
14931
|
modelValue: unref(values),
|
|
@@ -15019,7 +15020,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15019
15020
|
};
|
|
15020
15021
|
}
|
|
15021
15022
|
});
|
|
15022
|
-
const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["__scopeId", "data-v-
|
|
15023
|
+
const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["__scopeId", "data-v-19b1f97b"]]);
|
|
15023
15024
|
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
15024
15025
|
...{
|
|
15025
15026
|
name: "PlanCollection"
|
|
@@ -15138,7 +15139,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
15138
15139
|
createVNode(unref(OfficeRelation), {
|
|
15139
15140
|
modelValue: unref(values),
|
|
15140
15141
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
15141
|
-
field: unref(fields).stages
|
|
15142
|
+
field: unref(fields).stages,
|
|
15143
|
+
filter: { status: "published" }
|
|
15142
15144
|
}, null, 8, ["modelValue", "field"]),
|
|
15143
15145
|
createVNode(unref(OfficeRelation), {
|
|
15144
15146
|
modelValue: unref(values),
|
|
@@ -15233,7 +15235,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
15233
15235
|
};
|
|
15234
15236
|
}
|
|
15235
15237
|
});
|
|
15236
|
-
const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["__scopeId", "data-v-
|
|
15238
|
+
const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["__scopeId", "data-v-ebc684f0"]]);
|
|
15237
15239
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
15238
15240
|
...{
|
|
15239
15241
|
name: "PlanTypeCollection"
|
|
@@ -19155,7 +19157,6 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19155
19157
|
});
|
|
19156
19158
|
const branchIds = ((_a = staff.value) == null ? void 0 : _a.branchIds) || [];
|
|
19157
19159
|
const branchDisplay = ((_b = staff.value) == null ? void 0 : _b.branches) || [];
|
|
19158
|
-
console.log("staff :", staff.value);
|
|
19159
19160
|
watch(
|
|
19160
19161
|
isNew,
|
|
19161
19162
|
async (isNew2) => {
|
|
@@ -19181,37 +19182,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19181
19182
|
await syncOne();
|
|
19182
19183
|
await refreshOne();
|
|
19183
19184
|
};
|
|
19184
|
-
const
|
|
19185
|
-
|
|
19186
|
-
|
|
19187
|
-
|
|
19188
|
-
|
|
19189
|
-
linkStaff
|
|
19190
|
-
};
|
|
19191
|
-
});
|
|
19192
|
-
const copyDecision = computed(() => {
|
|
19193
|
-
executeOne("", { submissionId: id.value });
|
|
19194
|
-
const linkDecision = `${window.location.origin}/pengajuan/decision-submission/${id.value}`;
|
|
19195
|
-
return {
|
|
19196
|
-
icon: "brands:link",
|
|
19197
|
-
linkDecision
|
|
19198
|
-
};
|
|
19199
|
-
});
|
|
19200
|
-
const copyRaise = computed(() => {
|
|
19201
|
-
executeOne("", { submissionId: id.value });
|
|
19202
|
-
const linkAudit = `${window.location.origin}/pengajuan/audit-submission/${id.value}`;
|
|
19203
|
-
return {
|
|
19204
|
-
icon: "brands:link",
|
|
19205
|
-
linkAudit
|
|
19206
|
-
};
|
|
19207
|
-
});
|
|
19208
|
-
const copyFollowup = computed(() => {
|
|
19209
|
-
executeOne("", { submissionId: id.value });
|
|
19210
|
-
const linkFollowup = `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`;
|
|
19211
|
-
return {
|
|
19212
|
-
icon: "brands:link",
|
|
19213
|
-
linkFollowup
|
|
19214
|
-
};
|
|
19185
|
+
const copy = ref({
|
|
19186
|
+
staff: `${window.location.origin}/pengajuan/staff-submission/${id.value}`,
|
|
19187
|
+
decision: `${window.location.origin}/pengajuan/decision-submission/${id.value}`,
|
|
19188
|
+
raise: `${window.location.origin}/pengajuan/audit-submission/${id.value}`,
|
|
19189
|
+
followUp: `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`
|
|
19215
19190
|
});
|
|
19216
19191
|
return (_ctx, _cache) => {
|
|
19217
19192
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-single" }, {
|
|
@@ -19239,7 +19214,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19239
19214
|
var _a2, _b2;
|
|
19240
19215
|
return [
|
|
19241
19216
|
createVNode(unref(NeonButton), {
|
|
19242
|
-
size: "
|
|
19217
|
+
size: "sm",
|
|
19243
19218
|
color: "dark",
|
|
19244
19219
|
"icon-left": "arrow-up-from-line",
|
|
19245
19220
|
"is-disabled": unref(isNew) || unref(isChanged) || 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 || ((_b2 = unref(values).hasRaiseStaffIds) == null ? void 0 : _b2.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
|
|
@@ -19310,7 +19285,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19310
19285
|
createElementVNode("div", _hoisted_3$7, [
|
|
19311
19286
|
createVNode(unref(NeonCopy), {
|
|
19312
19287
|
size: "sm",
|
|
19313
|
-
value:
|
|
19288
|
+
value: copy.value.staff
|
|
19314
19289
|
}, null, 8, ["value"])
|
|
19315
19290
|
])
|
|
19316
19291
|
]),
|
|
@@ -19333,7 +19308,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19333
19308
|
createElementVNode("div", _hoisted_6$6, [
|
|
19334
19309
|
createVNode(unref(NeonCopy), {
|
|
19335
19310
|
size: "sm",
|
|
19336
|
-
value:
|
|
19311
|
+
value: copy.value.raise
|
|
19337
19312
|
}, null, 8, ["value"])
|
|
19338
19313
|
])
|
|
19339
19314
|
]),
|
|
@@ -19356,7 +19331,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19356
19331
|
createElementVNode("div", _hoisted_9$6, [
|
|
19357
19332
|
createVNode(unref(NeonCopy), {
|
|
19358
19333
|
size: "sm",
|
|
19359
|
-
value:
|
|
19334
|
+
value: copy.value.decision
|
|
19360
19335
|
}, null, 8, ["value"])
|
|
19361
19336
|
])
|
|
19362
19337
|
]),
|
|
@@ -19377,7 +19352,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19377
19352
|
createElementVNode("div", _hoisted_12$6, [
|
|
19378
19353
|
createVNode(unref(NeonCopy), {
|
|
19379
19354
|
size: "sm",
|
|
19380
|
-
value:
|
|
19355
|
+
value: copy.value.followUp
|
|
19381
19356
|
}, null, 8, ["value"])
|
|
19382
19357
|
])
|
|
19383
19358
|
]),
|
|
@@ -19508,7 +19483,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19508
19483
|
};
|
|
19509
19484
|
}
|
|
19510
19485
|
});
|
|
19511
|
-
const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-
|
|
19486
|
+
const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-237ebb7a"]]);
|
|
19512
19487
|
const _hoisted_1$7 = { class: "flex items-right" };
|
|
19513
19488
|
const _hoisted_2$7 = { class: "flex-grow" };
|
|
19514
19489
|
const _hoisted_3$6 = { class: "ml-2 flex items-end pb-1" };
|
|
@@ -19536,37 +19511,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19536
19511
|
discardChanges,
|
|
19537
19512
|
executeOne
|
|
19538
19513
|
} = useSingle();
|
|
19539
|
-
const
|
|
19540
|
-
|
|
19541
|
-
|
|
19542
|
-
|
|
19543
|
-
|
|
19544
|
-
linkStaff
|
|
19545
|
-
};
|
|
19546
|
-
});
|
|
19547
|
-
const copyDecision = computed(() => {
|
|
19548
|
-
executeOne("", { submissionId: id.value });
|
|
19549
|
-
const linkDecision = `${window.location.origin}/pengajuan/decision-submission/${id.value}`;
|
|
19550
|
-
return {
|
|
19551
|
-
icon: "brands:link",
|
|
19552
|
-
linkDecision
|
|
19553
|
-
};
|
|
19554
|
-
});
|
|
19555
|
-
const copyRaise = computed(() => {
|
|
19556
|
-
executeOne("", { submissionId: id.value });
|
|
19557
|
-
const linkAudit = `${window.location.origin}/pengajuan/audit-submission/${id.value}`;
|
|
19558
|
-
return {
|
|
19559
|
-
icon: "brands:link",
|
|
19560
|
-
linkAudit
|
|
19561
|
-
};
|
|
19562
|
-
});
|
|
19563
|
-
const copyFollowup = computed(() => {
|
|
19564
|
-
executeOne("", { submissionId: id.value });
|
|
19565
|
-
const linkFollowup = `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`;
|
|
19566
|
-
return {
|
|
19567
|
-
icon: "brands:link",
|
|
19568
|
-
linkFollowup
|
|
19569
|
-
};
|
|
19514
|
+
const copy = ref({
|
|
19515
|
+
staff: `${window.location.origin}/pengajuan/staff-submission/${id.value}`,
|
|
19516
|
+
decision: `${window.location.origin}/pengajuan/decision-submission/${id.value}`,
|
|
19517
|
+
raise: `${window.location.origin}/pengajuan/audit-submission/${id.value}`,
|
|
19518
|
+
followUp: `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`
|
|
19570
19519
|
});
|
|
19571
19520
|
return (_ctx, _cache) => {
|
|
19572
19521
|
const _component_NeonCopy = resolveComponent("NeonCopy");
|
|
@@ -19634,7 +19583,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19634
19583
|
createElementVNode("div", _hoisted_3$6, [
|
|
19635
19584
|
createVNode(_component_NeonCopy, {
|
|
19636
19585
|
size: "sm",
|
|
19637
|
-
value:
|
|
19586
|
+
value: copy.value.staff
|
|
19638
19587
|
}, null, 8, ["value"])
|
|
19639
19588
|
])
|
|
19640
19589
|
]),
|
|
@@ -19656,7 +19605,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19656
19605
|
createElementVNode("div", _hoisted_6$5, [
|
|
19657
19606
|
createVNode(_component_NeonCopy, {
|
|
19658
19607
|
size: "sm",
|
|
19659
|
-
value:
|
|
19608
|
+
value: copy.value.raise
|
|
19660
19609
|
}, null, 8, ["value"])
|
|
19661
19610
|
])
|
|
19662
19611
|
]),
|
|
@@ -19678,7 +19627,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19678
19627
|
createElementVNode("div", _hoisted_9$5, [
|
|
19679
19628
|
createVNode(_component_NeonCopy, {
|
|
19680
19629
|
size: "sm",
|
|
19681
|
-
value:
|
|
19630
|
+
value: copy.value.decision
|
|
19682
19631
|
}, null, 8, ["value"])
|
|
19683
19632
|
])
|
|
19684
19633
|
]),
|
|
@@ -19699,7 +19648,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19699
19648
|
createElementVNode("div", _hoisted_12$5, [
|
|
19700
19649
|
createVNode(_component_NeonCopy, {
|
|
19701
19650
|
size: "sm",
|
|
19702
|
-
value:
|
|
19651
|
+
value: copy.value.followUp
|
|
19703
19652
|
}, null, 8, ["value"])
|
|
19704
19653
|
])
|
|
19705
19654
|
]),
|
|
@@ -19816,7 +19765,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19816
19765
|
};
|
|
19817
19766
|
}
|
|
19818
19767
|
});
|
|
19819
|
-
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-
|
|
19768
|
+
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-b87c6266"]]);
|
|
19820
19769
|
const _hoisted_1$6 = { class: "flex flex-wrap" };
|
|
19821
19770
|
const _hoisted_2$6 = { class: "mt-2" };
|
|
19822
19771
|
const _hoisted_3$5 = { class: "mt-2" };
|
|
@@ -19971,37 +19920,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
19971
19920
|
await syncOne();
|
|
19972
19921
|
await refreshOne();
|
|
19973
19922
|
};
|
|
19974
|
-
const
|
|
19975
|
-
|
|
19976
|
-
|
|
19977
|
-
|
|
19978
|
-
|
|
19979
|
-
linkStaff
|
|
19980
|
-
};
|
|
19981
|
-
});
|
|
19982
|
-
const copyDecision = computed(() => {
|
|
19983
|
-
executeOne("", { submissionId: id.value });
|
|
19984
|
-
const linkDecision = `${window.location.origin}/pengajuan/decision-submission/${id.value}`;
|
|
19985
|
-
return {
|
|
19986
|
-
icon: "brands:link",
|
|
19987
|
-
linkDecision
|
|
19988
|
-
};
|
|
19989
|
-
});
|
|
19990
|
-
const copyRaise = computed(() => {
|
|
19991
|
-
executeOne("", { submissionId: id.value });
|
|
19992
|
-
const linkAudit = `${window.location.origin}/pengajuan/audit-submission/${id.value}`;
|
|
19993
|
-
return {
|
|
19994
|
-
icon: "brands:link",
|
|
19995
|
-
linkAudit
|
|
19996
|
-
};
|
|
19997
|
-
});
|
|
19998
|
-
const copyFollowup = computed(() => {
|
|
19999
|
-
executeOne("", { submissionId: id.value });
|
|
20000
|
-
const linkFollowup = `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`;
|
|
20001
|
-
return {
|
|
20002
|
-
icon: "brands:link",
|
|
20003
|
-
linkFollowup
|
|
20004
|
-
};
|
|
19923
|
+
const copy = ref({
|
|
19924
|
+
staff: `${window.location.origin}/pengajuan/staff-submission/${id.value}`,
|
|
19925
|
+
decision: `${window.location.origin}/pengajuan/decision-submission/${id.value}`,
|
|
19926
|
+
raise: `${window.location.origin}/pengajuan/audit-submission/${id.value}`,
|
|
19927
|
+
followUp: `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`
|
|
20005
19928
|
});
|
|
20006
19929
|
return (_ctx, _cache) => {
|
|
20007
19930
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-single" }, {
|
|
@@ -20029,7 +19952,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20029
19952
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
20030
19953
|
input: withCtx(() => [
|
|
20031
19954
|
createVNode(unref(NeonButton), {
|
|
20032
|
-
size: "
|
|
19955
|
+
size: "sm",
|
|
20033
19956
|
color: "success",
|
|
20034
19957
|
"icon-left": "file-check",
|
|
20035
19958
|
"is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "prepared" || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "resolved",
|
|
@@ -20051,7 +19974,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20051
19974
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
20052
19975
|
input: withCtx(() => [
|
|
20053
19976
|
createVNode(unref(NeonButton), {
|
|
20054
|
-
size: "
|
|
19977
|
+
size: "sm",
|
|
20055
19978
|
color: "danger",
|
|
20056
19979
|
"icon-left": "ban",
|
|
20057
19980
|
"is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "prepared" || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "discontinued",
|
|
@@ -20073,7 +19996,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20073
19996
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
20074
19997
|
input: withCtx(() => [
|
|
20075
19998
|
createVNode(unref(NeonButton), {
|
|
20076
|
-
size: "
|
|
19999
|
+
size: "sm",
|
|
20077
20000
|
color: "info",
|
|
20078
20001
|
"icon-left": "binoculars",
|
|
20079
20002
|
"is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "prepared" || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "monitored",
|
|
@@ -20097,7 +20020,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20097
20020
|
var _a2, _b2;
|
|
20098
20021
|
return [
|
|
20099
20022
|
createVNode(unref(NeonButton), {
|
|
20100
|
-
size: "
|
|
20023
|
+
size: "sm",
|
|
20101
20024
|
color: "warning",
|
|
20102
20025
|
"icon-left": "spinner",
|
|
20103
20026
|
"is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "prepared" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || unref(values).status !== "delay" && ((_b2 = unref(values).hasProcessStaffIds) == null ? void 0 : _b2.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
|
|
@@ -20120,7 +20043,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20120
20043
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
20121
20044
|
input: withCtx(() => [
|
|
20122
20045
|
createVNode(unref(NeonButton), {
|
|
20123
|
-
size: "
|
|
20046
|
+
size: "sm",
|
|
20124
20047
|
color: "#DD9F00",
|
|
20125
20048
|
"icon-left": "turn-down",
|
|
20126
20049
|
"is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "prepared" || unref(values).status === "resolved",
|
|
@@ -20192,7 +20115,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20192
20115
|
createElementVNode("div", _hoisted_9$4, [
|
|
20193
20116
|
createVNode(unref(NeonCopy), {
|
|
20194
20117
|
size: "sm",
|
|
20195
|
-
value:
|
|
20118
|
+
value: copy.value.staff
|
|
20196
20119
|
}, null, 8, ["value"])
|
|
20197
20120
|
])
|
|
20198
20121
|
]),
|
|
@@ -20218,7 +20141,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20218
20141
|
createElementVNode("div", _hoisted_12$4, [
|
|
20219
20142
|
createVNode(unref(NeonCopy), {
|
|
20220
20143
|
size: "sm",
|
|
20221
|
-
value:
|
|
20144
|
+
value: copy.value.raise
|
|
20222
20145
|
}, null, 8, ["value"])
|
|
20223
20146
|
])
|
|
20224
20147
|
]),
|
|
@@ -20241,7 +20164,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20241
20164
|
createElementVNode("div", _hoisted_15$2, [
|
|
20242
20165
|
createVNode(unref(NeonCopy), {
|
|
20243
20166
|
size: "sm",
|
|
20244
|
-
value:
|
|
20167
|
+
value: copy.value.decision
|
|
20245
20168
|
}, null, 8, ["value"])
|
|
20246
20169
|
])
|
|
20247
20170
|
]),
|
|
@@ -20262,7 +20185,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20262
20185
|
createElementVNode("div", _hoisted_18, [
|
|
20263
20186
|
createVNode(unref(NeonCopy), {
|
|
20264
20187
|
size: "sm",
|
|
20265
|
-
value:
|
|
20188
|
+
value: copy.value.followUp
|
|
20266
20189
|
}, null, 8, ["value"])
|
|
20267
20190
|
])
|
|
20268
20191
|
]),
|
|
@@ -20423,7 +20346,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20423
20346
|
};
|
|
20424
20347
|
}
|
|
20425
20348
|
});
|
|
20426
|
-
const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-
|
|
20349
|
+
const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-add3d843"]]);
|
|
20427
20350
|
const _hoisted_1$5 = { class: "flex flex-wrap" };
|
|
20428
20351
|
const _hoisted_2$5 = { class: "mt-2" };
|
|
20429
20352
|
const _hoisted_3$4 = { class: "mt-2" };
|
|
@@ -20559,37 +20482,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20559
20482
|
await syncOne();
|
|
20560
20483
|
await refreshOne();
|
|
20561
20484
|
};
|
|
20562
|
-
const
|
|
20563
|
-
|
|
20564
|
-
|
|
20565
|
-
|
|
20566
|
-
|
|
20567
|
-
linkStaff
|
|
20568
|
-
};
|
|
20569
|
-
});
|
|
20570
|
-
const copyDecision = computed(() => {
|
|
20571
|
-
executeOne("", { submissionId: id.value });
|
|
20572
|
-
const linkDecision = `${window.location.origin}/pengajuan/decision-submission/${id.value}`;
|
|
20573
|
-
return {
|
|
20574
|
-
icon: "brands:link",
|
|
20575
|
-
linkDecision
|
|
20576
|
-
};
|
|
20577
|
-
});
|
|
20578
|
-
const copyRaise = computed(() => {
|
|
20579
|
-
executeOne("", { submissionId: id.value });
|
|
20580
|
-
const linkAudit = `${window.location.origin}/pengajuan/audit-submission/${id.value}`;
|
|
20581
|
-
return {
|
|
20582
|
-
icon: "brands:link",
|
|
20583
|
-
linkAudit
|
|
20584
|
-
};
|
|
20585
|
-
});
|
|
20586
|
-
const copyFollowup = computed(() => {
|
|
20587
|
-
executeOne("", { submissionId: id.value });
|
|
20588
|
-
const linkFollowup = `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`;
|
|
20589
|
-
return {
|
|
20590
|
-
icon: "brands:link",
|
|
20591
|
-
linkFollowup
|
|
20592
|
-
};
|
|
20485
|
+
const copy = ref({
|
|
20486
|
+
staff: `${window.location.origin}/pengajuan/staff-submission/${id.value}`,
|
|
20487
|
+
decision: `${window.location.origin}/pengajuan/decision-submission/${id.value}`,
|
|
20488
|
+
raise: `${window.location.origin}/pengajuan/audit-submission/${id.value}`,
|
|
20489
|
+
followUp: `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`
|
|
20593
20490
|
});
|
|
20594
20491
|
return (_ctx, _cache) => {
|
|
20595
20492
|
const _component_NeonCopy = resolveComponent("NeonCopy");
|
|
@@ -20620,7 +20517,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20620
20517
|
var _a2, _b2;
|
|
20621
20518
|
return [
|
|
20622
20519
|
createVNode(unref(NeonButton), {
|
|
20623
|
-
size: "
|
|
20520
|
+
size: "sm",
|
|
20624
20521
|
color: "danger",
|
|
20625
20522
|
"icon-left": "circle-stop",
|
|
20626
20523
|
"is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "prepared" || unref(values).status === "raised" || ((_b2 = unref(values).delayStaffIds) == null ? void 0 : _b2.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
|
|
@@ -20645,7 +20542,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20645
20542
|
var _a2, _b2;
|
|
20646
20543
|
return [
|
|
20647
20544
|
createVNode(unref(NeonButton), {
|
|
20648
|
-
size: "
|
|
20545
|
+
size: "sm",
|
|
20649
20546
|
color: "success",
|
|
20650
20547
|
"icon-left": "list-check",
|
|
20651
20548
|
"is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "prepared" || unref(values).status === "raised" || ((_b2 = unref(values).agreedStaffIds) == null ? void 0 : _b2.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
|
|
@@ -20715,7 +20612,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20715
20612
|
createElementVNode("div", _hoisted_6$3, [
|
|
20716
20613
|
createVNode(_component_NeonCopy, {
|
|
20717
20614
|
size: "sm",
|
|
20718
|
-
value:
|
|
20615
|
+
value: copy.value.staff
|
|
20719
20616
|
}, null, 8, ["value"])
|
|
20720
20617
|
])
|
|
20721
20618
|
]),
|
|
@@ -20738,7 +20635,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20738
20635
|
createElementVNode("div", _hoisted_9$3, [
|
|
20739
20636
|
createVNode(_component_NeonCopy, {
|
|
20740
20637
|
size: "sm",
|
|
20741
|
-
value:
|
|
20638
|
+
value: copy.value.raise
|
|
20742
20639
|
}, null, 8, ["value"])
|
|
20743
20640
|
])
|
|
20744
20641
|
]),
|
|
@@ -20761,7 +20658,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20761
20658
|
createElementVNode("div", _hoisted_12$3, [
|
|
20762
20659
|
createVNode(_component_NeonCopy, {
|
|
20763
20660
|
size: "sm",
|
|
20764
|
-
value:
|
|
20661
|
+
value: copy.value.decision
|
|
20765
20662
|
}, null, 8, ["value"])
|
|
20766
20663
|
])
|
|
20767
20664
|
]),
|
|
@@ -20782,7 +20679,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20782
20679
|
createElementVNode("div", _hoisted_15$1, [
|
|
20783
20680
|
createVNode(_component_NeonCopy, {
|
|
20784
20681
|
size: "sm",
|
|
20785
|
-
value:
|
|
20682
|
+
value: copy.value.followUp
|
|
20786
20683
|
}, null, 8, ["value"])
|
|
20787
20684
|
])
|
|
20788
20685
|
]),
|
|
@@ -20957,7 +20854,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20957
20854
|
};
|
|
20958
20855
|
}
|
|
20959
20856
|
});
|
|
20960
|
-
const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-
|
|
20857
|
+
const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-dcf2399c"]]);
|
|
20961
20858
|
const _hoisted_1$4 = { class: "flex flex-wrap" };
|
|
20962
20859
|
const _hoisted_2$4 = { class: "mt-2" };
|
|
20963
20860
|
const _hoisted_3$3 = { class: "mt-2" };
|
|
@@ -21092,37 +20989,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21092
20989
|
await syncOne();
|
|
21093
20990
|
window.location.href = "/pengajuan/waiting-decision-submission";
|
|
21094
20991
|
};
|
|
21095
|
-
const
|
|
21096
|
-
|
|
21097
|
-
|
|
21098
|
-
|
|
21099
|
-
|
|
21100
|
-
linkStaff
|
|
21101
|
-
};
|
|
21102
|
-
});
|
|
21103
|
-
const copyDecision = computed(() => {
|
|
21104
|
-
executeOne("", { submissionId: id.value });
|
|
21105
|
-
const linkDecision = `${window.location.origin}/pengajuan/decision-submission/${id.value}`;
|
|
21106
|
-
return {
|
|
21107
|
-
icon: "brands:link",
|
|
21108
|
-
linkDecision
|
|
21109
|
-
};
|
|
21110
|
-
});
|
|
21111
|
-
const copyRaise = computed(() => {
|
|
21112
|
-
executeOne("", { submissionId: id.value });
|
|
21113
|
-
const linkAudit = `${window.location.origin}/pengajuan/audit-submission/${id.value}`;
|
|
21114
|
-
return {
|
|
21115
|
-
icon: "brands:link",
|
|
21116
|
-
linkAudit
|
|
21117
|
-
};
|
|
21118
|
-
});
|
|
21119
|
-
const copyFollowup = computed(() => {
|
|
21120
|
-
executeOne("", { submissionId: id.value });
|
|
21121
|
-
const linkFollowup = `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`;
|
|
21122
|
-
return {
|
|
21123
|
-
icon: "brands:link",
|
|
21124
|
-
linkFollowup
|
|
21125
|
-
};
|
|
20992
|
+
const copy = ref({
|
|
20993
|
+
staff: `${window.location.origin}/pengajuan/staff-submission/${id.value}`,
|
|
20994
|
+
decision: `${window.location.origin}/pengajuan/decision-submission/${id.value}`,
|
|
20995
|
+
raise: `${window.location.origin}/pengajuan/audit-submission/${id.value}`,
|
|
20996
|
+
followUp: `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`
|
|
21126
20997
|
});
|
|
21127
20998
|
return (_ctx, _cache) => {
|
|
21128
20999
|
const _component_NeonCopy = resolveComponent("NeonCopy");
|
|
@@ -21153,7 +21024,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21153
21024
|
var _a2, _b2;
|
|
21154
21025
|
return [
|
|
21155
21026
|
createVNode(unref(NeonButton), {
|
|
21156
|
-
size: "
|
|
21027
|
+
size: "sm",
|
|
21157
21028
|
color: "danger",
|
|
21158
21029
|
"icon-left": "circle-stop",
|
|
21159
21030
|
"is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "prepared" || unref(values).status === "raised" || ((_b2 = unref(values).delayStaffIds) == null ? void 0 : _b2.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
|
|
@@ -21178,7 +21049,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21178
21049
|
var _a2, _b2;
|
|
21179
21050
|
return [
|
|
21180
21051
|
createVNode(unref(NeonButton), {
|
|
21181
|
-
size: "
|
|
21052
|
+
size: "sm",
|
|
21182
21053
|
color: "success",
|
|
21183
21054
|
"icon-left": "list-check",
|
|
21184
21055
|
"is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "prepared" || unref(values).status === "raised" || ((_b2 = unref(values).agreedStaffIds) == null ? void 0 : _b2.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
|
|
@@ -21248,7 +21119,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21248
21119
|
createElementVNode("div", _hoisted_6$2, [
|
|
21249
21120
|
createVNode(_component_NeonCopy, {
|
|
21250
21121
|
size: "sm",
|
|
21251
|
-
value:
|
|
21122
|
+
value: copy.value.staff
|
|
21252
21123
|
}, null, 8, ["value"])
|
|
21253
21124
|
])
|
|
21254
21125
|
]),
|
|
@@ -21271,7 +21142,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21271
21142
|
createElementVNode("div", _hoisted_9$2, [
|
|
21272
21143
|
createVNode(_component_NeonCopy, {
|
|
21273
21144
|
size: "sm",
|
|
21274
|
-
value:
|
|
21145
|
+
value: copy.value.raise
|
|
21275
21146
|
}, null, 8, ["value"])
|
|
21276
21147
|
])
|
|
21277
21148
|
]),
|
|
@@ -21294,7 +21165,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21294
21165
|
createElementVNode("div", _hoisted_12$2, [
|
|
21295
21166
|
createVNode(_component_NeonCopy, {
|
|
21296
21167
|
size: "sm",
|
|
21297
|
-
value:
|
|
21168
|
+
value: copy.value.decision
|
|
21298
21169
|
}, null, 8, ["value"])
|
|
21299
21170
|
])
|
|
21300
21171
|
]),
|
|
@@ -21315,7 +21186,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21315
21186
|
createElementVNode("div", _hoisted_15, [
|
|
21316
21187
|
createVNode(_component_NeonCopy, {
|
|
21317
21188
|
size: "sm",
|
|
21318
|
-
value:
|
|
21189
|
+
value: copy.value.followUp
|
|
21319
21190
|
}, null, 8, ["value"])
|
|
21320
21191
|
])
|
|
21321
21192
|
]),
|
|
@@ -21446,7 +21317,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21446
21317
|
};
|
|
21447
21318
|
}
|
|
21448
21319
|
});
|
|
21449
|
-
const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-
|
|
21320
|
+
const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-11d31cbb"]]);
|
|
21450
21321
|
const _hoisted_1$3 = { class: "flex items-right" };
|
|
21451
21322
|
const _hoisted_2$3 = { class: "flex-grow" };
|
|
21452
21323
|
const _hoisted_3$2 = { class: "ml-2 flex items-end pb-1" };
|
|
@@ -21474,37 +21345,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21474
21345
|
discardChanges,
|
|
21475
21346
|
executeOne
|
|
21476
21347
|
} = useSingle();
|
|
21477
|
-
const
|
|
21478
|
-
|
|
21479
|
-
|
|
21480
|
-
|
|
21481
|
-
|
|
21482
|
-
linkStaff
|
|
21483
|
-
};
|
|
21484
|
-
});
|
|
21485
|
-
const copyDecision = computed(() => {
|
|
21486
|
-
executeOne("", { submissionId: id.value });
|
|
21487
|
-
const linkDecision = `${window.location.origin}/pengajuan/decision-submission/${id.value}`;
|
|
21488
|
-
return {
|
|
21489
|
-
icon: "brands:link",
|
|
21490
|
-
linkDecision
|
|
21491
|
-
};
|
|
21492
|
-
});
|
|
21493
|
-
const copyRaise = computed(() => {
|
|
21494
|
-
executeOne("", { submissionId: id.value });
|
|
21495
|
-
const linkAudit = `${window.location.origin}/pengajuan/audit-submission/${id.value}`;
|
|
21496
|
-
return {
|
|
21497
|
-
icon: "brands:link",
|
|
21498
|
-
linkAudit
|
|
21499
|
-
};
|
|
21500
|
-
});
|
|
21501
|
-
const copyFollowup = computed(() => {
|
|
21502
|
-
executeOne("", { submissionId: id.value });
|
|
21503
|
-
const linkFollowup = `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`;
|
|
21504
|
-
return {
|
|
21505
|
-
icon: "brands:link",
|
|
21506
|
-
linkFollowup
|
|
21507
|
-
};
|
|
21348
|
+
const copy = ref({
|
|
21349
|
+
staff: `${window.location.origin}/pengajuan/staff-submission/${id.value}`,
|
|
21350
|
+
decision: `${window.location.origin}/pengajuan/decision-submission/${id.value}`,
|
|
21351
|
+
raise: `${window.location.origin}/pengajuan/audit-submission/${id.value}`,
|
|
21352
|
+
followUp: `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`
|
|
21508
21353
|
});
|
|
21509
21354
|
return (_ctx, _cache) => {
|
|
21510
21355
|
const _component_NeonCopy = resolveComponent("NeonCopy");
|
|
@@ -21572,7 +21417,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21572
21417
|
createElementVNode("div", _hoisted_3$2, [
|
|
21573
21418
|
createVNode(_component_NeonCopy, {
|
|
21574
21419
|
size: "sm",
|
|
21575
|
-
value:
|
|
21420
|
+
value: copy.value.staff
|
|
21576
21421
|
}, null, 8, ["value"])
|
|
21577
21422
|
])
|
|
21578
21423
|
]),
|
|
@@ -21594,7 +21439,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21594
21439
|
createElementVNode("div", _hoisted_6$1, [
|
|
21595
21440
|
createVNode(_component_NeonCopy, {
|
|
21596
21441
|
size: "sm",
|
|
21597
|
-
value:
|
|
21442
|
+
value: copy.value.raise
|
|
21598
21443
|
}, null, 8, ["value"])
|
|
21599
21444
|
])
|
|
21600
21445
|
]),
|
|
@@ -21616,7 +21461,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21616
21461
|
createElementVNode("div", _hoisted_9$1, [
|
|
21617
21462
|
createVNode(_component_NeonCopy, {
|
|
21618
21463
|
size: "sm",
|
|
21619
|
-
value:
|
|
21464
|
+
value: copy.value.decision
|
|
21620
21465
|
}, null, 8, ["value"])
|
|
21621
21466
|
])
|
|
21622
21467
|
]),
|
|
@@ -21637,7 +21482,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21637
21482
|
createElementVNode("div", _hoisted_12$1, [
|
|
21638
21483
|
createVNode(_component_NeonCopy, {
|
|
21639
21484
|
size: "sm",
|
|
21640
|
-
value:
|
|
21485
|
+
value: copy.value.followUp
|
|
21641
21486
|
}, null, 8, ["value"])
|
|
21642
21487
|
])
|
|
21643
21488
|
]),
|
|
@@ -21754,7 +21599,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21754
21599
|
};
|
|
21755
21600
|
}
|
|
21756
21601
|
});
|
|
21757
|
-
const SubmissionSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-
|
|
21602
|
+
const SubmissionSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-eab8a880"]]);
|
|
21758
21603
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
21759
21604
|
...{
|
|
21760
21605
|
name: "SubmissionCollection"
|
|
@@ -21800,37 +21645,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
21800
21645
|
discardChanges,
|
|
21801
21646
|
executeOne
|
|
21802
21647
|
} = useSingle();
|
|
21803
|
-
const
|
|
21804
|
-
|
|
21805
|
-
|
|
21806
|
-
|
|
21807
|
-
|
|
21808
|
-
linkStaff
|
|
21809
|
-
};
|
|
21810
|
-
});
|
|
21811
|
-
const copyDecision = computed(() => {
|
|
21812
|
-
executeOne("", { submissionId: id.value });
|
|
21813
|
-
const linkDecision = `${window.location.origin}/pengajuan/decision-submission/${id.value}`;
|
|
21814
|
-
return {
|
|
21815
|
-
icon: "brands:link",
|
|
21816
|
-
linkDecision
|
|
21817
|
-
};
|
|
21818
|
-
});
|
|
21819
|
-
const copyRaise = computed(() => {
|
|
21820
|
-
executeOne("", { submissionId: id.value });
|
|
21821
|
-
const linkAudit = `${window.location.origin}/pengajuan/audit-submission/${id.value}`;
|
|
21822
|
-
return {
|
|
21823
|
-
icon: "brands:link",
|
|
21824
|
-
linkAudit
|
|
21825
|
-
};
|
|
21826
|
-
});
|
|
21827
|
-
const copyFollowup = computed(() => {
|
|
21828
|
-
executeOne("", { submissionId: id.value });
|
|
21829
|
-
const linkFollowup = `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`;
|
|
21830
|
-
return {
|
|
21831
|
-
icon: "brands:link",
|
|
21832
|
-
linkFollowup
|
|
21833
|
-
};
|
|
21648
|
+
const copy = ref({
|
|
21649
|
+
staff: `${window.location.origin}/pengajuan/staff-submission/${id.value}`,
|
|
21650
|
+
decision: `${window.location.origin}/pengajuan/decision-submission/${id.value}`,
|
|
21651
|
+
raise: `${window.location.origin}/pengajuan/audit-submission/${id.value}`,
|
|
21652
|
+
followUp: `${window.location.origin}/pengajuan/follow-up-submission/${id.value}`
|
|
21834
21653
|
});
|
|
21835
21654
|
return (_ctx, _cache) => {
|
|
21836
21655
|
const _component_NeonCopy = resolveComponent("NeonCopy");
|
|
@@ -21899,7 +21718,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
21899
21718
|
createElementVNode("div", _hoisted_3$1, [
|
|
21900
21719
|
createVNode(_component_NeonCopy, {
|
|
21901
21720
|
size: "sm",
|
|
21902
|
-
value:
|
|
21721
|
+
value: copy.value.staff
|
|
21903
21722
|
}, null, 8, ["value"])
|
|
21904
21723
|
])
|
|
21905
21724
|
]),
|
|
@@ -21920,7 +21739,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
21920
21739
|
createElementVNode("div", _hoisted_6, [
|
|
21921
21740
|
createVNode(_component_NeonCopy, {
|
|
21922
21741
|
size: "sm",
|
|
21923
|
-
value:
|
|
21742
|
+
value: copy.value.raise
|
|
21924
21743
|
}, null, 8, ["value"])
|
|
21925
21744
|
])
|
|
21926
21745
|
]),
|
|
@@ -21941,7 +21760,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
21941
21760
|
createElementVNode("div", _hoisted_9, [
|
|
21942
21761
|
createVNode(_component_NeonCopy, {
|
|
21943
21762
|
size: "sm",
|
|
21944
|
-
value:
|
|
21763
|
+
value: copy.value.decision
|
|
21945
21764
|
}, null, 8, ["value"])
|
|
21946
21765
|
])
|
|
21947
21766
|
]),
|
|
@@ -21962,7 +21781,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
21962
21781
|
createElementVNode("div", _hoisted_12, [
|
|
21963
21782
|
createVNode(_component_NeonCopy, {
|
|
21964
21783
|
size: "sm",
|
|
21965
|
-
value:
|
|
21784
|
+
value: copy.value.followUp
|
|
21966
21785
|
}, null, 8, ["value"])
|
|
21967
21786
|
])
|
|
21968
21787
|
]),
|
|
@@ -22086,7 +21905,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22086
21905
|
};
|
|
22087
21906
|
}
|
|
22088
21907
|
});
|
|
22089
|
-
const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-
|
|
21908
|
+
const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-61e0e09a"]]);
|
|
22090
21909
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
22091
21910
|
...{
|
|
22092
21911
|
name: "SubmissionTypeCollection"
|
|
@@ -22233,7 +22052,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22233
22052
|
createVNode(unref(OfficeRelation), {
|
|
22234
22053
|
modelValue: unref(values),
|
|
22235
22054
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
22236
|
-
field: unref(fields).stages
|
|
22055
|
+
field: unref(fields).stages,
|
|
22056
|
+
filter: { status: "published" }
|
|
22237
22057
|
}, null, 8, ["modelValue", "field"])
|
|
22238
22058
|
];
|
|
22239
22059
|
}),
|
|
@@ -22329,7 +22149,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22329
22149
|
};
|
|
22330
22150
|
}
|
|
22331
22151
|
});
|
|
22332
|
-
const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-
|
|
22152
|
+
const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-9a3ab4b4"]]);
|
|
22333
22153
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
22334
22154
|
...{
|
|
22335
22155
|
name: "TargetCollection"
|
|
@@ -22413,7 +22233,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22413
22233
|
createVNode(unref(OfficeRelation), {
|
|
22414
22234
|
modelValue: unref(values),
|
|
22415
22235
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
22416
|
-
field: unref(fields).stages
|
|
22236
|
+
field: unref(fields).stages,
|
|
22237
|
+
filter: { status: "published" }
|
|
22417
22238
|
}, null, 8, ["modelValue", "field"])
|
|
22418
22239
|
];
|
|
22419
22240
|
}),
|
|
@@ -22509,7 +22330,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22509
22330
|
};
|
|
22510
22331
|
}
|
|
22511
22332
|
});
|
|
22512
|
-
const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-
|
|
22333
|
+
const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-7bb85044"]]);
|
|
22513
22334
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
22514
22335
|
__name: "TaskWork",
|
|
22515
22336
|
setup(__props) {
|
|
@@ -22881,7 +22702,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22881
22702
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
22882
22703
|
input: withCtx(() => [
|
|
22883
22704
|
createVNode(unref(NeonButton), {
|
|
22884
|
-
size: "
|
|
22705
|
+
size: "sm",
|
|
22885
22706
|
color: "success",
|
|
22886
22707
|
"icon-left": "check",
|
|
22887
22708
|
"is-disabled": unref(isNew) || unref(isChanged),
|
|
@@ -22902,7 +22723,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22902
22723
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
22903
22724
|
input: withCtx(() => [
|
|
22904
22725
|
createVNode(unref(NeonButton), {
|
|
22905
|
-
size: "
|
|
22726
|
+
size: "sm",
|
|
22906
22727
|
color: "warning",
|
|
22907
22728
|
"icon-left": "ban",
|
|
22908
22729
|
"is-disabled": unref(isNew) || unref(isChanged),
|
|
@@ -22923,7 +22744,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22923
22744
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
22924
22745
|
input: withCtx(() => [
|
|
22925
22746
|
createVNode(unref(NeonButton), {
|
|
22926
|
-
size: "
|
|
22747
|
+
size: "sm",
|
|
22927
22748
|
color: "info",
|
|
22928
22749
|
"icon-left": "file-pen",
|
|
22929
22750
|
"is-disabled": unref(isNew) || unref(isChanged),
|