updated config
This commit is contained in:
parent
8a609fa120
commit
0536a76a17
2 changed files with 4 additions and 10 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue