From d04c6f30f5abd088d51226a5a235e25de4bcfe2e Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 26 Apr 2024 10:48:47 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=87=E0=B8=B7=E0=B8=99=E0=B9=80?= =?UTF-8?q?=E0=B8=94=E0=B8=B7=E0=B8=AD=E0=B8=99=E0=B8=84=E0=B9=88=E0=B8=B2?= =?UTF-8?q?=E0=B8=88=E0=B9=89=E0=B9=88=E0=B8=B2=E0=B8=87=20=3D>=20?= =?UTF-8?q?=E0=B9=81=E0=B8=AA=E0=B9=80=E0=B8=94=E0=B8=87=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=A2=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=97=E0=B8=B1=E0=B9=89?= =?UTF-8?q?=E0=B8=87=E0=B8=AB=E0=B8=A1=E0=B8=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../salaryEmployeeChart/TabCriteria.vue | 11 ++++-- .../salaryEmployeeChart/TabStructure.vue | 3 ++ src/modules/13_salary/views/commandSalary.vue | 1 + .../13_salary/views/salaryEmployeeRate.vue | 3 ++ src/modules/13_salary/views/salaryRate.vue | 36 +++++++++++-------- src/modules/13_salary/views/salaryRound.vue | 21 +++++++++-- 6 files changed, 56 insertions(+), 19 deletions(-) diff --git a/src/modules/13_salary/components/salaryEmployeeChart/TabCriteria.vue b/src/modules/13_salary/components/salaryEmployeeChart/TabCriteria.vue index 2ba1b2f2c..941d0be81 100644 --- a/src/modules/13_salary/components/salaryEmployeeChart/TabCriteria.vue +++ b/src/modules/13_salary/components/salaryEmployeeChart/TabCriteria.vue @@ -22,7 +22,6 @@ import config from "@/app.config"; const posTypeOp = ref([]); const posType = ref(""); -const maxPage = ref(1); const $q = useQuasar(); const { date2Thai, @@ -147,6 +146,8 @@ const formFilter = reactive({ pageSize: 10, keyword: "", }); +const maxPage = ref(1); +const totalList = ref(0); function filterFn() { formFilter.page = 1; @@ -171,7 +172,7 @@ function getData() { ) .then((res) => { const data = res.data.result.data; - const total = res.data.result.total; + totalList.value = res.data.result.total; maxPage.value = Math.ceil(res.data.result.total / formFilter.pageSize); rows.value = data.map((item: ResponseData) => ({ id: item.id, @@ -271,7 +272,10 @@ onMounted(() => { @@ -409,6 +413,7 @@ onMounted(() => {