diff --git a/src/modules/13_salary/views/salaryEmployeeRate.vue b/src/modules/13_salary/views/salaryEmployeeRate.vue index d68e80d64..4879db35f 100644 --- a/src/modules/13_salary/views/salaryEmployeeRate.vue +++ b/src/modules/13_salary/views/salaryEmployeeRate.vue @@ -4,6 +4,7 @@ import { useQuasar } from "quasar"; import { useRouter, useRoute } from "vue-router"; import http from "@/plugins/http"; import config from "@/app.config"; +import genReportXLSX from "@/plugins/genreportxlsx"; /** importType*/ import type { QTableProps } from "quasar"; @@ -181,6 +182,23 @@ function updatePageSize(newPagination: NewPagination) { formFilter.pageSize = newPagination.rowsPerPage; } +/** click download */ +function clickDownload() { + // showLoader(); + // http + // .get(config.API.salaryReportByid(salaryEmployeeId.value)) + // .then((res) => { + // const dataList = res.data.result; + // genReportXLSX(dataList, "อัตราเงินเดือน"); + // }) + // .catch((e) => { + // messageError($q, e); + // }) + // .finally(() => { + // hideLoader(); + // }); +} + watch( () => formFilter.pageSize, () => { @@ -215,7 +233,14 @@ onMounted(() => { เพิ่ม - +