updated config
This commit is contained in:
parent
8a609fa120
commit
0536a76a17
2 changed files with 4 additions and 10 deletions
|
|
@ -4,9 +4,5 @@ VITE_QUALIFY_EXAM_PANEL=VITE_QUALIFY_EXAM_PANEL
|
||||||
VITE_S3CLUSTER_PUBLIC_URL=VITE_S3CLUSTER_PUBLIC_URL
|
VITE_S3CLUSTER_PUBLIC_URL=VITE_S3CLUSTER_PUBLIC_URL
|
||||||
VITE_API_PUBLISH_URL=VITE_API_PUBLISH_URL
|
VITE_API_PUBLISH_URL=VITE_API_PUBLISH_URL
|
||||||
VITE_API_REPORT_URL=VITE_API_REPORT_URL
|
VITE_API_REPORT_URL=VITE_API_REPORT_URL
|
||||||
VITE_URL_KEYCLOAK: VITE_URL_KEYCLOAK
|
|
||||||
VITE_REALM_KEYCLOAK: VITE_REALM_KEYCLOAK
|
|
||||||
VITE_CLIENTID_KEYCLOAK: VITE_CLIENTID_KEYCLOAK
|
|
||||||
VITE_CLIENTSECRET_KEYCLOAK: VITE_CLIENTSECRET_KEYCLOAK
|
|
||||||
VITE_MANUAL_URL: VITE_MANUAL_URL
|
VITE_MANUAL_URL: VITE_MANUAL_URL
|
||||||
VITE_URL_SSO: VITE_URL_SSO
|
VITE_URL_SSO: VITE_URL_SSO
|
||||||
|
|
@ -16,9 +16,6 @@ const mixin = useCounterMixin();
|
||||||
const $q = useQuasar();
|
const $q = useQuasar();
|
||||||
const { showLoader, hideLoader, date2Thai, dateToISO, messageError } = mixin;
|
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 year = ref<number>(new Date().getFullYear());
|
||||||
|
|
||||||
const reportSelect = ref<string>("report1");
|
const reportSelect = ref<string>("report1");
|
||||||
|
|
@ -47,8 +44,7 @@ async function getReportRecruit() {
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.get(
|
.get(
|
||||||
config.API.reportRecruit(reportSelect.value) +
|
config.API.reportRecruit(reportSelect.value) + `?year=${year.value + 543}`
|
||||||
`?year=${year.value+543}`
|
|
||||||
)
|
)
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
const data = res.data.result;
|
const data = res.data.result;
|
||||||
|
|
@ -177,7 +173,9 @@ onMounted(() => {
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<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">
|
<q-card flat bordered class="col-12 q-mt-sm q-pa-md">
|
||||||
<div class="q-pa-md q-gutter-y-sm">
|
<div class="q-pa-md q-gutter-y-sm">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue