@neutron.co.id/operasional-interfaces 1.17.14 → 1.17.15
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.
|
@@ -127,7 +127,9 @@ async function conflictAttendance() {
|
|
|
127
127
|
staffId: staff.value?.id,
|
|
128
128
|
startedAt: values.value.startedAt,
|
|
129
129
|
})
|
|
130
|
+
// console.log('resp', resp)
|
|
130
131
|
const countAtt = resp.data.executeAttendance.output.countAttendance
|
|
132
|
+
// const countAtt = 2
|
|
131
133
|
if (values.value.startedAt) {
|
|
132
134
|
if (countAtt > 1) {
|
|
133
135
|
conflictAtt.value = true
|
|
@@ -237,6 +239,7 @@ watch(
|
|
|
237
239
|
},
|
|
238
240
|
})
|
|
239
241
|
type.value = response.data[0].code
|
|
242
|
+
// console.log('type', response.data[0])
|
|
240
243
|
showLeaveQuota.value = response.data[0].showLeaveQuota
|
|
241
244
|
// quota.value = response.data[0].leaveQuota
|
|
242
245
|
maxDuration.value = response.data[0].maxDurationDays
|
|
@@ -293,8 +296,6 @@ async function generate() {
|
|
|
293
296
|
const showDurationAlert = ref(false)
|
|
294
297
|
async function saveData() {
|
|
295
298
|
const result = await checkDurationLeave()
|
|
296
|
-
// console.log('showLeaveQuota', showLeaveQuota.value)
|
|
297
|
-
|
|
298
299
|
if (
|
|
299
300
|
(result === true && isLeaveStaff.value === true) ||
|
|
300
301
|
showLeaveQuota.value === false
|
package/build/mock/index.cjs
CHANGED
|
@@ -14534,7 +14534,7 @@ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
|
14534
14534
|
};
|
|
14535
14535
|
}
|
|
14536
14536
|
});
|
|
14537
|
-
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["__scopeId", "data-v-
|
|
14537
|
+
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["__scopeId", "data-v-5a60a33f"]]);
|
|
14538
14538
|
const _hoisted_1$t = { class: "flex flex-wrap" };
|
|
14539
14539
|
const _hoisted_2$k = { class: "mt-2" };
|
|
14540
14540
|
const _hoisted_3$c = { class: "mt-2" };
|
package/build/mock/index.mjs
CHANGED
|
@@ -14515,7 +14515,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
14515
14515
|
};
|
|
14516
14516
|
}
|
|
14517
14517
|
});
|
|
14518
|
-
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["__scopeId", "data-v-
|
|
14518
|
+
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["__scopeId", "data-v-5a60a33f"]]);
|
|
14519
14519
|
const _hoisted_1$t = { class: "flex flex-wrap" };
|
|
14520
14520
|
const _hoisted_2$k = { class: "mt-2" };
|
|
14521
14521
|
const _hoisted_3$c = { class: "mt-2" };
|
package/build/mock/style.css
CHANGED
package/build/module.json
CHANGED
package/build/nuxt.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-interfaces",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.15",
|
|
4
4
|
"description": "Interface library of Neutron Operasional.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@neon.id/nuxt": "^1.5.0",
|
|
79
79
|
"@neon.id/office": "1.46.0",
|
|
80
80
|
"@neon.id/utils": "^1.51.0",
|
|
81
|
-
"@neutron.co.id/operasional-modules": "1.12.
|
|
81
|
+
"@neutron.co.id/operasional-modules": "1.12.19",
|
|
82
82
|
"@neutron.co.id/personalia-models": "1.13.17",
|
|
83
83
|
"@nuxt/kit": "^3.12.3",
|
|
84
84
|
"file-saver": "^2.0.5",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"@neon.id/nuxt": "^1.5.0",
|
|
154
154
|
"@neon.id/office": "1.46.0",
|
|
155
155
|
"@neon.id/utils": "^1.51.0",
|
|
156
|
-
"@neutron.co.id/operasional-modules": "1.12.
|
|
156
|
+
"@neutron.co.id/operasional-modules": "1.12.19",
|
|
157
157
|
"@neutron.co.id/personalia-models": "1.13.17",
|
|
158
158
|
"@nuxt/kit": "^3.12.3",
|
|
159
159
|
"file-saver": "^2.0.5",
|
|
@@ -164,5 +164,5 @@
|
|
|
164
164
|
"publishConfig": {
|
|
165
165
|
"access": "public"
|
|
166
166
|
},
|
|
167
|
-
"build":
|
|
167
|
+
"build": 197
|
|
168
168
|
}
|