updated config

This commit is contained in:
Warunee Tamkoo 2024-12-10 10:54:25 +07:00
parent 8a609fa120
commit 0536a76a17
2 changed files with 4 additions and 10 deletions

View file

@ -16,9 +16,6 @@ const mixin = useCounterMixin();
const $q = useQuasar();
const { showLoader, hideLoader, date2Thai, dateToISO, messageError } = mixin;
const apiGenReport =
"https://report-server.frappet.synology.me/api/v1/report-template/xlsx";
const year = ref<number>(new Date().getFullYear());
const reportSelect = ref<string>("report1");
@ -47,8 +44,7 @@ async function getReportRecruit() {
showLoader();
await http
.get(
config.API.reportRecruit(reportSelect.value) +
`?year=${year.value+543}`
config.API.reportRecruit(reportSelect.value) + `?year=${year.value + 543}`
)
.then(async (res) => {
const data = res.data.result;
@ -177,7 +173,9 @@ onMounted(() => {
});
</script>
<template>
<div class="toptitle text-dark col-12 row items-center">รายงานระบบการสรรหาบคคล</div>
<div class="toptitle text-dark col-12 row items-center">
รายงานระบบการสรรหาบคคล
</div>
<q-card flat bordered class="col-12 q-mt-sm q-pa-md">
<div class="q-pa-md q-gutter-y-sm">